RE: [RFC PATCH V2 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-09-20 Thread Gabriele Paoloni
sh.an...@gmail.com; linux- > p...@vger.kernel.org; linux-a...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@redhat.com; Gabriele Paoloni; Chenxin > (Charles); hanjun@linaro.org; Linuxarm > Subject: Re: [RFC PATCH V2 1/3] PCI: hisi: re-architect Hip05/Hip06 > controllers dr

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-21 Thread Gabriele Paoloni
Hi Bjorn [...] > > If future hardware is completely ECAM-compliant and we don't need any > more MCFG quirks, that would be great. > > But we'll still need to describe that memory-mapped config space > somewhere. If that's done with PNP0C02 or similar devices (as is done > on my x86 laptop), w

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-21 Thread Gabriele Paoloni
Hi Zhichang > -Original Message- > From: zhichang [mailto:zhichang.yua...@gmail.com] > Sent: 21 September 2016 11:09 > To: Arnd Bergmann; linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; devicet...@vger.kernel.org; > lorenzo.pieral...@arm.com; miny

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Gabriele Paoloni
un Guo; Sinan Kaya; > Jayachandran C; Christopher Covington; Duc Dang; Robert Richter; Marcin > Wojtas; Liviu Dudau; Wangyijing; Mark Salter; linux- > p...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Linaro ACPI > Mailman List; Jon Masters; Andrea Gallo; Jeremy Linton; liudo

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 September 2016 19:59 > To: Gabriele Paoloni > Cc: Ard Biesheuvel; Tomasz Nowicki; David Daney; Will Deacon; Catalin > Marinas; Rafael Wysocki; Lorenzo Pieralisi; Arnd Bergmann; H

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 21 September 2016 21:18 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 22 September 2016 13:15 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 22 September 2016 15:59 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-23 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 23 September 2016 10:52 > To: zhichang.yuan > Cc: Gabriele Paoloni; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linu

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-23 Thread Gabriele Paoloni
Hi Lorenzo > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Lorenzo Pieralisi > Sent: 23 September 2016 11:12 > To: Bjorn Helgaas > Cc: Gabriele Paoloni; Ard Biesheuvel; Tomasz Nowicki; David Da

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-23 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 23 September 2016 14:43 > To: Gabriele Paoloni > Cc: zhichang.yuan; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linu

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-26 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 23 September 2016 14:43 > To: Gabriele Paoloni > Cc: zhichang.yuan; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linu

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-15 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 14 September 2016 22:32 > To: linux-arm-ker...@lists.infradead.org > Cc: Yuanzhichang; devicet...@vger.kernel.org; > lorenzo.pieral...@arm.com; Gabriele Paoloni; miny...@acm.org; > gre..

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-15 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 15 September 2016 09:22 > To: Gabriele Paoloni > Cc: linux-arm-ker...@lists.infradead.org; Yuanzhichang; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > gre..

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-15 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 15 September 2016 13:25 > To: linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; devicet...@vger.kernel.org; > lorenzo.pieral...@arm.com; miny...@acm.org; linux-...@vger

[PATCH v2] PCIe AER: report uncorrectable errors only to the functions that logged the errors

2017-08-18 Thread Gabriele Paoloni
r for non fatal errors. Signed-off-by: Gabriele Paoloni Signed-off-by: Dongdong Liu --- Changes from v1: - now errors are reported only to the fucntions that logged the error instead of all the functions in the same device. - the patch subject has changed to match the new implementation ---

RE: [PATCH v9 6/7] LPC: Add the ACPI LPC support

2017-05-26 Thread Gabriele Paoloni
[...] > Hi zhichang.yuan, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.12-rc2 next-20170525] > [if your patch is applied to the wrong git tree, please drop us a note > to help improve the system] > > url:https://github.com/0day-ci/linux/

RE: [PATCH v9 2/7] PCI: Apply the new generic I/O management on PCI IO hosts

2017-05-30 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 26 May 2017 22:20 > To: Gabriele Paoloni > Cc: catalin.mari...@arm.com; will.dea...@arm.com; robh...@kernel.org; > frowand.l...@gmail.com; bhelg...@google.com; raf...@kernel.org; >

RE: [PATCH v9 1/7] LIB: Introduce a generic PIO mapping method

2017-05-30 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 26 May 2017 21:58 > To: Gabriele Paoloni > Cc: catalin.mari...@arm.com; will.dea...@arm.com; robh...@kernel.org; > frowand.l...@gmail.com; bhelg...@google.com; raf...@kernel.org; >

[PATCH v10 1/9] LIB: Introduce a generic PIO mapping method

2017-10-27 Thread Gabriele Paoloni
s to either PCI MMIO devices or host-local I/O peripherals can be unified into the existing I/O accessors defined in asm-generic/io.h and be redirected to the right device-specific hooks based on the input logical PIO. Signed-off-by: zhichang.yuan Signed-off-by: Gabriele Paoloni --- include/asm

[PATCH v10 0/9] LPC: legacy ISA I/O support

2017-10-27 Thread Gabriele Paoloni
From: gabriele paoloni This patchset supports the IPMI-bt device attached to the Low-Pin-Count interface implemented on Hisilicon Hip06/Hip07 SoC. --- | LPC host

[PATCH v10 6/9] LPC: Support the LPC host on Hip06/Hip07 with DT bindings

2017-10-27 Thread Gabriele Paoloni
ff-by: zhichang.yuan Signed-off-by: Gabriele Paoloni Acked-by: Rob Herring #dts part --- .../arm/hisilicon/hisilicon-low-pin-count.txt | 33 ++ drivers/bus/Kconfig| 9 + drivers/bus/Makefile | 1 + dr

[PATCH v10 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-10-27 Thread Gabriele Paoloni
From: gabriele paoloni On some platforms(such as Hip06/Hip07), the legacy ISA/LPC devices access I/O with some special host-local I/O ports known on x86. As their I/O space are not memory mapped like PCI/PCIE MMIO host bridges, this patch is meant to support a new class of I/O host controllers

[PATCH v10 5/9] OF: Add missing I/O range exception for indirect-IO devices

2017-10-27 Thread Gabriele Paoloni
on will be done in a different way from that one of PCI MMIO. In this way, the I/O 'reg' property of the special ISA/LPC devices will be parsed correctly. Signed-off-by: zhichang.yuan Signed-off-by: Gabriele Paoloni Signed-off-by: Arnd Bergmann #earlier draft Acked-by: Rob

[PATCH v10 4/9] PCI: Apply the new generic I/O management on PCI IO hosts

2017-10-27 Thread Gabriele Paoloni
From: gabriele paoloni After introducing the new generic I/O space management(LOGIC_PIO), the original PCI MMIO relevant helpers need to be updated based on the new interfaces defined in LOGIC_PIO. This patch adapts the corresponding code to match the changes introduced by LOGIC_PIO. Signed-off

[PATCH v10 8/9] LPC: Add the ACPI LPC support

2017-10-27 Thread Gabriele Paoloni
From: "zhichang.yuan" Based on the provious patches, this patch supports the ACPI LPC host on Hip06/Hip07. Signed-off-by: zhichang.yuan Signed-off-by: John Garry Signed-off-by: Gabriele Paoloni Tested-by: dann frazier --- drivers/acpi/arm64/acpi_indirectio.c | 3 + drivers/

[PATCH v10 2/9] PCI: remove unused __weak attribute in pci_register_io_range()

2017-10-27 Thread Gabriele Paoloni
From: gabriele paoloni Currently pci_register_io_range() has only one definition; therefore there is no use of the __weak attribute. Signed-off-by: Gabriele Paoloni Acked-by: Bjorn Helgaas --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci

[PATCH v10 3/9] PCI: add fwnode handler as input param of pci_register_io_range()

2017-10-27 Thread Gabriele Paoloni
From: gabriele paoloni In preparation for having the PCI MMIO helpers to use the new generic I/O space management(LOGIC_PIO) we need to add the fwnode handler as extra input parameter. This patch changes the signature of pci_register_io_range() and of its callers as needed. Signed-off-by

[PATCH v10 9/9] MANTAINERS: Add maintainer for HiSilicon LPC driver

2017-10-27 Thread Gabriele Paoloni
Added maintainer for drivers/bus/hisi_lpc.c Signed-off-by: Gabriele Paoloni --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f66488d..b49d4c0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6130,6 +6130,13 @@ F: include/uapi/linux

RE: [PATCH v10 0/9] LPC: legacy ISA I/O support

2017-10-30 Thread Gabriele Paoloni
Hi David [...] > FWIW my thoughts on this are WTF! > > Looks to me horribly over complicated and over generalised. > > Surely is it could be done the same way that x86 does IO cycles? No > So you encode the information into the 'address' the driver passes > to ioread16() (etc) to allow it to

RE: [PATCH v10 1/9] LIB: Introduce a generic PIO mapping method

2017-10-30 Thread Gabriele Paoloni
Hi Corey Many Thanks for your comments [...] > > #define IO_SPACE_LIMIT 0x > > #endif > > > > +#include > > This whole thing would be a lot simpler if you had: > > #ifdef CONFIG_INDIRECT_PIO > #define inb logic_inb > #define outb logic outb > . > . > #endif /* CONFIG_INDIRECT_PIO */ >

RE: [PATCH v10 6/9] LPC: Support the LPC host on Hip06/Hip07 with DT bindings

2017-10-30 Thread Gabriele Paoloni
Hi Randy > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: 27 October 2017 17:44 > To: Gabriele Paoloni; catalin.mari...@arm.com; will.dea...@arm.com; > robh...@kernel.org; frowand.l...@gmail.com; bhelg...@google.com; > raf...@kernel.

RE: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-13 Thread Gabriele Paoloni
> >> + > >> +static int __init hisi_pcie_init(void) > >> +{ > >> + return platform_driver_probe(&hisi_pcie_driver, hisi_pcie_probe); > >> +} > >> +subsys_initcall(hisi_pcie_init); > > > > Can you use module_platform_driver() or module_platform_driver_probe() > > here instead of the subsys_initcal

RE: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-13 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, October 13, 2015 12:12 PM > To: Bjorn Helgaas > Cc: Wangzhou (B); Bjorn Helgaas; jingooh...@gmail.com; > pratyush.an...@gmail.com; li...@arm.linux.org.uk; > thomas.petazz...@free-el

RE: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-14 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, October 13, 2015 12:19 PM > To: Gabriele Paoloni > Cc: Wangzhou (B); Bjorn Helgaas; Bjorn Helgaas; jingooh...@gmail.com; > pratyush.an...@gmail.com; li...@arm.linux.org.uk; >

RE: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-14 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, October 14, 2015 10:04 AM > To: Gabriele Paoloni > Cc: Wangzhou (B); Bjorn Helgaas; Bjorn Helgaas; jingooh...@gmail.com; > pratyush.an...@gmail.com; li...@arm.linux.org.uk; >

RE: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-14 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, October 14, 2015 10:42 AM > To: Gabriele Paoloni > Cc: Wangzhou (B); Bjorn Helgaas; Bjorn Helgaas; jingooh...@gmail.com; > pratyush.an...@gmail.com; li...@arm.linux.org.uk; >

RE: [PATCH RFC 4/7] genirq/msi: Make the .prepare callback reusable

2015-10-15 Thread Gabriele Paoloni
Hi Marc It looks like this patch fails to apply to 4.3-rc5 Gab > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Marc Zyngier > Sent: Thursday, October 15, 2015 4:39 PM > To: Thomas Gleixner; Jiang Liu; Jason Cooper

RE: [PATCH RFC 4/7] genirq/msi: Make the .prepare callback reusable

2015-10-16 Thread Gabriele Paoloni
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Marc Zyngier > Sent: Thursday, October 15, 2015 6:39 PM > To: Gabriele Paoloni; Thomas Gleixner; Jiang Liu; Jason Cooper > Cc: majun

RE: [PATCH v11 1/6] PCI: designware: move calculation of bus addresses to DRA7xx

2015-10-22 Thread Gabriele Paoloni
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 October 2015 23:15 > To: Wangzhou (B) > Cc: Bjorn Helgaas; jingooh...@gmail.com; pratyush.an...@gmail.com; Arnd > Bergmann; li...@arm.linux.org.uk; thomas.petazz...@free-electrons.com;

RE: [PATCH v11 1/6] PCI: designware: move calculation of bus addresses to DRA7xx

2015-10-22 Thread Gabriele Paoloni
> -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Bjorn Helgaas > Sent: Thursday, October 22, 2015 5:36 PM > To: Gabriele Paoloni > Cc: Wangzhou (B); Bjorn Helgaas; jingooh...@gmail.com; > pratyush.

[PATCH 3/4] x86/mce: for LMCE panic only if mca_cfg.tolerant < 3

2020-11-18 Thread Gabriele Paoloni
Right now for LMCE if no_way_out is set mce_panic() is called regardless of mca_cfg.tolerant. This is not correct as if mca_cfg.tolerant = 3 we should never panic. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 2 +- 1 file changed, 1 insertion

[PATCH 4/4] x86/mce: remove redundant call to irq_work_queue()

2020-11-18 Thread Gabriele Paoloni
Right now in do_machine_check() we have: __mc_scan_banks()->mce_log()->irq_work_queue(&mce_irq_work) hence the call of irq_work_queue() below after __mc_scan_banks() seems redundant. Just remove it. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/

[PATCH 2/4] x86/mce: move the mce_panic() call and kill_it assignments at the right places

2020-11-18 Thread Gabriele Paoloni
statement where mce_end() fails Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c index b990892c6766

[PATCH 0/4] x86/MCE: some minor fixes

2020-11-18 Thread Gabriele Paoloni
During the safety analysis that was done in the context of the ELISA project by the safety architecture working group some incorrectnesses were spotted. This patchset proposes some fixes. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck Gabriele Paoloni (4): x86/mce: do not overwrite

[PATCH 1/4] x86/mce: do not overwrite no_way_out if mce_end() fails

2020-11-18 Thread Gabriele Paoloni
mce_end() fails we first check if no_way_out is already set and if so we stick to it, otherwise we use the local worst value Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86

[PATCH v2 0/5] x86/MCE: some minor fixes

2020-11-27 Thread Gabriele Paoloni
named to kill_current_task Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck Gabriele Paoloni (5): x86/mce: do not overwrite no_way_out if mce_end() fails x86/mce: move the mce_panic() call and 'kill_it' assignments to the right places x86/mce: for LMCE panic only if m

[PATCH v2 2/5] x86/mce: move the mce_panic() call and 'kill_it' assignments to the right places

2020-11-27 Thread Gabriele Paoloni
where mce_end() fails. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c index 32b7099e3511..50e9b0893a92

[PATCH v2 3/5] x86/mce: for LMCE panic only if mca_cfg.tolerant < 3

2020-11-27 Thread Gabriele Paoloni
Right now for LMCE if no_way_out is set mce_panic() is called regardless of mca_cfg.tolerant. This is not correct as, if mca_cfg.tolerant = 3, the code should never panic. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 2 +- 1 file changed, 1

[PATCH v2 5/5] x86/mce: rename kill_it as kill_current_task

2020-11-27 Thread Gabriele Paoloni
Currently if an MCE happens in user-mode or while the kernel is copying data from user space, 'kill_it' is used to check if we can recover the execution of the interrupted task or not; the flag name however is not much meaningful, hence rename it to match its goal. Signed-off-by: Gabrie

[PATCH v2 4/5] x86/mce: remove redundant call to irq_work_queue()

2020-11-27 Thread Gabriele Paoloni
Right now in do_machine_check() __mc_scan_banks() triggers the following call tree: __mc_scan_banks()->mce_log()->irq_work_queue(&mce_irq_work). Hence the call of irq_work_queue() below after __mc_scan_banks() seems redundant. Just remove it. Signed-off-by: Gabriele Paoloni Reviewe

[PATCH v2 1/5] x86/mce: do not overwrite no_way_out if mce_end() fails

2020-11-27 Thread Gabriele Paoloni
all severities of all CPUs that entered the MCE handler. If mce_end() fails, check first if no_way_out is already set and, if so, stick to it, otherwise use the local worst value. Cc: Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/mce/core.c | 6 -- 1 fi

RE: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-14 Thread Gabriele Paoloni
Hi Pratyush thanks for you reply > -Original Message- > From: Pratyush Anand [mailto:pratyush.an...@gmail.com] > Sent: 14 April 2016 14:08 > To: Jingoo Han; Gabriele Paoloni > Cc: Bjorn Helgaas; Jisheng Zhang; Bjorn Helgaas; linux- > p...@vger.kernel.org; linux-kern

[PATCH] PCI: Designware: remove wrong RC memory base/limit configuration

2016-04-15 Thread Gabriele Paoloni
From: gabriele paoloni Currently dw_pcie_setup_rc configures memory base and memory limit in the type1 configuration header for the root complex. In doing so it uses the cpu address (pp->mem_base) rather than the bus address (pp->mem_bus_addr): this is wrong and it is useless sin

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-11 Thread Gabriele Paoloni
Hi Tomasz > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Tomasz Nowicki > Sent: 10 May 2016 16:20 > To: helg...@kernel.org; a...@arndb.de; will.dea...@arm.com; > catalin.mari...@arm.com; raf...@kernel.org; hanjun.

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-11 Thread Gabriele Paoloni
Hi Tomasz > -Original Message- > From: Tomasz Nowicki [mailto:t...@semihalf.com] > Sent: 11 May 2016 12:08 > To: Gabriele Paoloni; helg...@kernel.org; a...@arndb.de; > will.dea...@arm.com; catalin.mari...@arm.com; raf...@kernel.org; > hanjun@linaro.org; lorenzo.pie

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-23 Thread Gabriele Paoloni
Hi Lorenzo > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: 23 May 2016 11:57 > To: Ard Biesheuvel > Cc: Gabriele Paoloni; Jon Masters; Tomasz Nowicki; helg...@kernel.org; > a...@arndb.de; will.dea...@arm.com; catalin.mari

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-24 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 24 May 2016 00:39 > To: Gabriele Paoloni > Cc: Lorenzo Pieralisi; Ard Biesheuvel; Jon Masters; Tomasz Nowicki; > a...@arndb.de; will.dea...@arm.com; catalin.mari...@arm.com; > raf.

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-24 Thread Gabriele Paoloni
Hi Jon > -Original Message- > From: Jon Masters [mailto:j...@redhat.com] > Sent: 24 May 2016 02:11 > To: Bjorn Helgaas > Cc: Gabriele Paoloni; Lorenzo Pieralisi; Ard Biesheuvel; Tomasz > Nowicki; a...@arndb.de; will.dea...@arm.com; catalin.mari...@arm.com; > raf.

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-24 Thread Gabriele Paoloni
Hi Lorenzo > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: 24 May 2016 18:24 > To: Bjorn Helgaas > Cc: Gabriele Paoloni; Ard Biesheuvel; Jon Masters; Tomasz Nowicki; > a...@arndb.de; will.dea...@arm.com; catalin.mari

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-20 Thread Gabriele Paoloni
Hi Ard, Jon > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: 20 May 2016 08:38 > To: Jon Masters > Cc: Tomasz Nowicki; Gabriele Paoloni; helg...@kernel.org; a...@arndb.de; > will.dea...@arm.com; catalin.mari...@arm.com; raf...@ke

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-20 Thread Gabriele Paoloni
Hi Ard > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: 20 May 2016 09:29 > To: Jon Masters > Cc: Tomasz Nowicki; Gabriele Paoloni; helg...@kernel.org; > a...@arndb.de; will.dea...@arm.com; catalin.mari...@arm.com; > raf.

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-26 Thread Gabriele Paoloni
Hi Bjorn many thanks for your suggestions > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 24 May 2016 20:01 > To: Lorenzo Pieralisi > Cc: Gabriele Paoloni; Ard Biesheuvel; Jon Masters; Tomasz Nowicki; > a...@arndb.de; will.dea...@arm

RE: [PATCH] PCI: hisi: fix deferred probing

2015-11-12 Thread Gabriele Paoloni
Thanks Arnd, this looks ok to me Zhou Wang can you please Ack? > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Arnd Bergmann > Sent: 12 November 2015 12:22 > To: linux-arm-ker...@lists.infradead.org > Cc: Jisheng

RE: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers

2015-12-04 Thread Gabriele Paoloni
Hi Lorenzo, many thanks for your review. > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: 03 December 2015 17:58 > To: Gabriele Paoloni > Cc: bhelg...@google.com; a...@arndb.de; will.dea...@arm.com; > catalin.mari...@arm.com; han

RE: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers

2015-12-04 Thread Gabriele Paoloni
Hi Lorenzo, Arnd (thanks to you both for looking at this) > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 04 December 2015 13:57 > To: Lorenzo Pieralisi > Cc: linux-arm-ker...@lists.infradead.org; Gabriele Paoloni; linux- > a...@vger

[PATCH] PCI: hisi: Add support for HiSilicon Hip06 PCIe host bridge controllers

2015-11-18 Thread Gabriele Paoloni
From: gabriele paoloni This patch adds support for HiSilicon Hip06 SoC that implements v2 HW IP of the PCIe Host Bridge controller. Hip05 SoC references have been replaced with v1-Hip05 and references to v2-Hip06 have been added. Documentation has been updated to include Hip06 and the DT example

[RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers

2015-12-03 Thread Gabriele Paoloni
and the global pointer "vendor_specific_ops" should be set to them accordingly. Signed-off-by: Gabriele Paoloni Signed-off-by: Liudongdong --- arch/arm64/kernel/pci.c| 41 + arch/arm64/kernel/pci_quirks.h | 24 +++

[RFC PATCH 2/2] PCI/ACPI: HiSi: Add ACPI support for HiSi PCIe Host Bridge

2015-12-03 Thread Gabriele Paoloni
This patch adds ACPI support for HiSilicon PCIe Host Bridge controller Signed-off-by: Liudongdong Signed-off-by: Gabriele Paoloni --- MAINTAINERS | 8 ++ arch/arm64/kernel/Makefile| 1 + arch/arm64/kernel/pci.c | 1 + arch/arm64/kernel

[RFC PATCH 0/2] PCI/ACPI: HiSi: Add ACPI support for Hip05 PCIe Host Bridge Controller

2015-12-03 Thread Gabriele Paoloni
This patchset is based on Nowicki patchset: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI This patchset: 1) adds ACPI support for non ECAM PCI Host Bridge Controllers 2) adds ACPI support for Hip05 PCIe Host Bridge Controller Gabriele Paoloni (1): PCI/ACPI

RE: [PATCH] PCI: hisi: Add support for HiSilicon Hip06 PCIe host bridge controllers

2015-11-26 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 25 November 2015 22:09 > To: Gabriele Paoloni > Cc: Wangzhou (B); linux-...@vger.kernel.org; xuwei (O); zhangjukuo; > qiuzhenfa; qiujiang; liudongdong (C); Liguozhu (Kenn

[PATCH v2] PCI: hisi: Add support for HiSilicon Hip06 PCIe host bridge controllers

2015-11-26 Thread Gabriele Paoloni
This patch adds support for HiSilicon Hip06 SoC. Documentation has been updated to include Hip06. Gabriele Paoloni has been added as maintainer of the driver Signed-off-by: Gabriele Paoloni Reviewed-by: Zhou Wang --- This patch is based on top of Arnd Bergmann patch [PATCH] PCI: hisi: fix

[RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-08 Thread Gabriele Paoloni
From: gabriele paoloni This patch modifies the current Hip05/Hip06 PCIe host controller driver to make it ECAM compliant. This is needed in preparation for the ACPI based driver to allow both DT and ACPI drivers to use the same BIOS (that configure the Designware iATUs). Signed-off-by: Gabriele

[RFC PATCH v2 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-08 Thread Gabriele Paoloni
From: gabriele paoloni This patch adds specific quirks for PCI config space accessors, it uses _HID to decide whether to hook pci_ops or not. Signed-off-by: Dongdong Liu Signed-off-by: Gabriele Paoloni --- MAINTAINERS | 1 + drivers/pci/host/Kconfig | 8

[RFC PATCH v2 0/3] Add ACPI support for HiSilicon PCIe Host Controllers

2016-02-08 Thread Gabriele Paoloni
From: gabriele paoloni This patchset adds ACPI support for the HiSilicon Hip05/Hip06 SoC PCIe controllers The four patches respectively: - re-architect the current HiSilicon driver to make it scalable to the new ACPI quirks - rework the current HiSilicon driver to make

[RFC PATCH v2 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-02-08 Thread Gabriele Paoloni
From: gabriele paoloni re-architect the Hip05/Hip06 host controllers driver to prepare for the ACPI based driver. The common functions used also by the ACPI driver have been grouped into a new "common" file Signed-off-by: Gabriele Paoloni --- MAINTAINERS

RE: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Gabriele Paoloni
Hi Joao > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Joao Pinto > Sent: 08 February 2016 12:44 > To: helg...@kernel.org > Cc: a...@arndb.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; carlos.palmi...@

RE: [RFC PATCH 0/4] Add ACPI support for HiSilicon PCIe Host Controllers

2016-02-08 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 04 February 2016 17:02 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > qiujiang; bhelg...@google.com; lorenzo.pieral...@arm.com; > t...@semihalf.c

RE: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Gabriele Paoloni
> -Original Message- > From: Joao Pinto [mailto:joao.pi...@synopsys.com] > Sent: 08 February 2016 15:12 > To: Gabriele Paoloni; Joao Pinto; helg...@kernel.org > Cc: a...@arndb.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; carlos.palmi...@synopsys.com >

RE: [RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-08 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 08 February 2016 13:48 > To: linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong > (C); Linuxarm; qiujiang; bhelg...@google.com; > lore

RE: [RFC PATCH v2 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-02-08 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 08 February 2016 13:50 > To: linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong > (C); Linuxarm; qiujiang; bhelg...@google.com

RE: [RFC PATCH 0/4] Add ACPI support for HiSilicon PCIe Host Controllers

2016-02-08 Thread Gabriele Paoloni
Hi Arnd, Sinan > -Original Message- > From: Sinan Kaya [mailto:ok...@codeaurora.org] > Sent: 08 February 2016 14:12 > To: Arnd Bergmann; linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; lorenzo.pieral...@arm.com; j...@redhat.com; > t...@semihalf.com; linux-.

RE: [RFC PATCH v2 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-02-08 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 08 February 2016 16:33 > To: Gabriele Paoloni > Cc: linux-arm-ker...@lists.infradead.org; Guohanjun (Hanjun Guo); > Wangzhou (B); liudongdong (C); Linuxarm; qiujiang; bhelg...@google.com; > lore

RE: [RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-08 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 08 February 2016 16:30 > To: Gabriele Paoloni > Cc: linux-arm-ker...@lists.infradead.org; Guohanjun (Hanjun Guo); > Wangzhou (B); liudongdong (C); Linuxarm; qiujiang; bhelg...@google.com

RE: [RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-09 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 09 February 2016 15:32 > To: linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; lorenzo.pieral...@arm.com; j...@redhat.com; > t...@semihalf.com; linux-...@vger.kernel.org; Linuxarm; xuwei

RE: [RFC PATCH v2 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-02-09 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 09 February 2016 16:27 > To: Gabriele Paoloni > Cc: linux-arm-ker...@lists.infradead.org; Guohanjun (Hanjun Guo); > Wangzhou (B); liudongdong (C); Linuxarm; qiujiang; bhelg...@google.com; > lore

[RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-09 Thread Gabriele Paoloni
From: gabriele paoloni This patch adds specific quirks for PCI config space accessors, it uses _HID to decide whether to hook pci_ops or not. Signed-off-by: Dongdong Liu Signed-off-by: Gabriele Paoloni --- MAINTAINERS | 1 + drivers/pci/host/Kconfig | 8

[RFC PATCH v3 2/3] PCI: hisi: Add ECAM support to HiSilicon PCIe host controller

2016-02-09 Thread Gabriele Paoloni
From: gabriele paoloni This patch modifies the current Hip05/Hip06 PCIe host controller driver to add support for ECAM compliant platforms. This is needed in preparation for the ACPI based driver to allow both DT and ACPI drivers to use the same BIOS (that configure the Designware iATUs). This

[RFC PATCH v3 0/3] Add ACPI support for HiSilicon PCIe Host Controllers

2016-02-09 Thread Gabriele Paoloni
From: gabriele paoloni This patchset adds ACPI support for the HiSilicon Hip05/Hip06 SoC PCIe controllers The four patches respectively: - re-architect the current HiSilicon driver to make it scalable to the new ACPI quirks - rework the current HiSilicon driver to add

[RFC PATCH v3 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-02-09 Thread Gabriele Paoloni
From: gabriele paoloni re-architect the Hip05/Hip06 host controllers driver to prepare for the ACPI based driver. The common functions used also by the ACPI driver have been grouped into a new "common" file Signed-off-by: Gabriele Paoloni --- MAINTAINERS

RE: [RFC PATCH v3 2/3] PCI: hisi: Add ECAM support to HiSilicon PCIe host controller

2016-02-10 Thread Gabriele Paoloni
Hi Mark, thanks for reviewing > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Mark Rutland > Sent: 09 February 2016 18:17 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudong

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
Hi Mark > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: 09 February 2016 18:24 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > qiujiang; bhelg...@google.com; a...@arndb.de; > lorenzo

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Mark Rutland > Sent: 10 February 2016 11:13 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm;

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-27 Thread Gabriele Paoloni
Hi Bjorn, Lorenzo Many Thanks for your replies and suggestions > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Bjorn Helgaas > Sent: 25 February 2016 19:59 > To: Lorenzo Pieralisi > Cc: Gabriele Paol

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-23 Thread Gabriele Paoloni
Hi Bjorn, many thanks for replying > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 24 February 2016 09:14 > To: Gabriele Paoloni > Cc: 'Mark Rutland'; Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong > (C); Linuxarm; qiujian

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-24 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 24 February 2016 23:26 > To: Gabriele Paoloni > Cc: 'Mark Rutland'; Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong > (C); Linuxarm; qiujiang; 'bhe

RE: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-21 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 April 2016 16:49 > To: Gabriele Paoloni > Cc: Jisheng Zhang; jingooh...@gmail.com; pratyush.an...@gmail.com; > bhelg...@google.com; linux-...@vger.kernel.org; linux- > ker...@v

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-08 Thread Gabriele Paoloni
Hi Bjorn, Lorenzo > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 02 March 2016 15:51 > To: Lorenzo Pieralisi > Cc: Gabriele Paoloni; 'Mark Rutland'; Guohanjun (Hanjun Guo); Wangzhou > (B); liudongdong (C); Linuxarm; qiujiang;

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-15 Thread Gabriele Paoloni
Hi Bjorn, many thanks for coming back on this > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 14 March 2016 19:17 > To: Gabriele Paoloni > Cc: Lorenzo Pieralisi; 'Mark Rutland'; Guohanjun (Hanjun Guo); Wangzhou > (B); liudong

RE: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-08 Thread Gabriele Paoloni
Hi Bjorn Many thanks for your reply > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 07 April 2016 15:06 > To: Gabriele Paoloni > Cc: Jisheng Zhang; jingooh...@gmail.com; pratyush.an...@gmail.com; > bhelg...@google.com; linux-...@vger

  1   2   3   >