Re: [RFC] asm-generic/pci_iomap.h: make custom PCI BAR requirements explicit

From: Randy Dunlap
Date: Fri Aug 28 2015 - 22:13:37 EST


On 08/28/15 17:17, Luis R. Rodriguez wrote:
>
> arch/s390/Kconfig | 8 +++++
> arch/s390/include/asm/io.h | 11 -------
> arch/s390/include/asm/pci.h | 2 --
> arch/s390/include/asm/pci_iomap.h | 33 +++++++++++++++++++++
> arch/s390/pci/pci.c | 2 ++
> include/asm-generic/io.h | 12 --------
> include/asm-generic/iomap.h | 10 -------
> include/asm-generic/pci_iomap.h | 62 +++++++++++++++++++++++++++++++++++----
> lib/Kconfig | 1 +
> lib/pci_iomap.c | 5 ++++
> 10 files changed, 105 insertions(+), 41 deletions(-)
> create mode 100644 arch/s390/include/asm/pci_iomap.h
>
> diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
> index 1d57000b1b24..1217b7db4265 100644
> --- a/arch/s390/Kconfig
> +++ b/arch/s390/Kconfig
> @@ -614,6 +614,14 @@ endif # PCI
> config PCI_DOMAINS
> def_bool PCI
>
> +config ARCH_PCI_NON_DISJUNCTIVE
> + def_bool PCI
> + help
> + On the S390 architecture PCI BAR spaces are not disjunctive, as such

are not disjoint? may be overlapping?

> + the PCI bar is required on a series of otherwise asm generic PCI
> + routines, as such S390 requires itw own implemention for these

its own implementation

> + routines.
> +
> config HAS_IOMEM
> def_bool PCI
>


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/