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

2018-07-06 Thread He, Shaopeng
> -Original Message- > From: Guo, Jia > Sent: Thursday, July 5, 2018 3:39 PM > > 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 failur

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

2018-07-05 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 that each kind of bus can implement its own logic case by case