Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-12 Thread Takao Indoh
(2012/10/12 2:28), Khalid Aziz wrote: On Thu, 2012-10-11 at 15:16 +0900, Takao Indoh wrote: (2012/10/11 5:08), Khalid Aziz wrote: . +static void __init do_reset(u8 bus, u8 slot, u8 func) +{ + u16 ctrl; + + printk(KERN_INFO "pci :%02x:%02x.%d reset\n", bus, slot, func); + +

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-11 Thread Khalid Aziz
On Thu, 2012-10-11 at 15:16 +0900, Takao Indoh wrote: > (2012/10/11 5:08), Khalid Aziz wrote: . > >> +static void __init do_reset(u8 bus, u8 slot, u8 func) > >> +{ > >> + u16 ctrl; > >> + > >> + printk(KERN_INFO "pci :%02x:%02x.%d reset\n", bus, slot, func); > >> + > >> + /* Assert Secon

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-10 Thread Takao Indoh
(2012/10/11 5:08), Khalid Aziz wrote: Please see comments inline: On Wed, 2012-10-10 at 16:51 +0900, Takao Indoh wrote: This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. Signed-off-by: Takao Indoh --- arch/x86/include/asm/pci-direct.h |1 arch

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-10 Thread Khalid Aziz
Please see comments inline: On Wed, 2012-10-10 at 16:51 +0900, Takao Indoh wrote: > This patch resets PCIe devices at boot time by hot reset when > "reset_devices" is specified. > > > Signed-off-by: Takao Indoh > --- > arch/x86/include/asm/pci-direct.h |1 > arch/x86/kernel/setup.c

[PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-10 Thread Takao Indoh
This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. Signed-off-by: Takao Indoh --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 299 drivers/pci/pci