[dpdk-dev] [PATCH v6 1/7] bus: add hotplug failure handler

2018-07-08 Thread Jeff Guo
When device be hotplug out, if app still continue to access device by mmio, it will cause of memory failure and result the system crash. This patch introduces a bus ops to handle device hotplug failure, it is a bus specific behavior, so each kind of bus can implement its own logic case by case. S

[dpdk-dev] [PATCH v6 1/7] bus: add hotplug failure handler

2018-07-08 Thread Jeff Guo
When device be hotplug out, if app still continue to access device by mmio, it will cause of memory failure and result the system crash. This patch introduces a bus ops to handle device hotplug failure, it is a bus specific behavior, so each kind of bus can implement its own logic case by case. S