Re: [PATCH 0/6] fix aer_inject bug while doing pci hot-plug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 19, 2012 at 10:40:36AM +0800, Yijing Wang wrote:
> Date: Wed, 19 Sep 2012 10:40:36 +0800
> From: Yijing Wang <wangyijing@xxxxxxxxxx>
> To: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>, Huang Ying <ying.huang@xxxxxxxxx>,
>  Chen Gong <gong.chen@xxxxxxxxxxxxxxx>
> CC: jiang.liu@xxxxxxxxxx, Hanjun Guo <guohanjun@xxxxxxxxxx>,
>  linux-pci@xxxxxxxxxxxxxxx, Yijing Wang <wangyijing@xxxxxxxxxx>
> Subject: [PATCH 0/6] fix aer_inject bug while doing pci hot-plug
> X-Mailer: git-send-email 1.7.11.msysgit.1
> 
> v2--->v3
> 1??find the pci_ops of nearest parent bus in patch 1;
> 2??introduce pci_bus_ops_get to avoid race condition window in aer_inject_exit;
> 3??scan the root bus for cleaning untracked pci_ops_aer instead of scan all pci bus as Huang Ying suggestion;
> 4??remove unused code pci_bus_ops_pop;
> 
> Yijing Wang (6):
>   PCI/AER: fix pci_ops return NULL when hotplug a pci bus doing aer
>     error inject
>   PCI/AER: introduce pci_bus_ops_get() function to avoid a small race
>     condition window
>   PCI/AER: clean all untracked pci_ops_aer when rmmod aer_inject
>   PCI/AER: clean pci_bus_ops when related pci bus was removed
>   PCI/AER: introduce pci_bus_ops_free to free pci_bus_ops
>   PCI/AER: clean unused code pci_bus_ops_pop
> 
>  drivers/pci/pcie/aer/aer_inject.c |  149 ++++++++++++++++++++++++++++++++-----
>  1 files changed, 131 insertions(+), 18 deletions(-)
> 
After reviewing the whole patch series, I hava a feeling that you don't
desrcibe the whole usage model very clearly. I suggest you update the
description and express it more clearly and in detail, so other guys never touch
aer-inject can understand it well. You patch is good but it doesn't mean
others will like it because it is obscure to others never touching these codes.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux