All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function
@ 2019-07-29 10:13 ` Denis Efremov
  0 siblings, 0 replies; 16+ messages in thread
From: Denis Efremov @ 2019-07-29 10:13 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Denis Efremov, David S. Miller, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ralf Baechle, Paul Burton,
	James Hogan, Michal Simek, linux-mips, linuxppc-dev, sparclinux,
	linux-pci, linux-kernel

Architectures currently define HAVE_ARCH_PCI_RESOURCE_TO_USER if they want
to provide their own pci_resource_to_user() implementation. This could be
simplified if we make the generic version a weak function. Thus,
architecture specific versions will automatically override the generic one.

Changes in v2:
1. Removed __weak from pci_resource_to_user() declaration
2. Fixed typo s/spark/sparc/g

Denis Efremov (5):
  PCI: Convert pci_resource_to_user to a weak function
  microblaze/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER
  mips/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER
  powerpc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER
  sparc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER

 arch/microblaze/include/asm/pci.h |  2 --
 arch/mips/include/asm/pci.h       |  1 -
 arch/powerpc/include/asm/pci.h    |  2 --
 arch/sparc/include/asm/pci.h      |  2 --
 drivers/pci/pci.c                 |  8 ++++++++
 include/linux/pci.h               | 12 ------------
 6 files changed, 8 insertions(+), 19 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-07-30 18:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-29 10:13 [PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function Denis Efremov
2019-07-29 10:13 ` Denis Efremov
2019-07-29 10:13 ` Denis Efremov
2019-07-29 10:13 ` [PATCH v2 1/5] PCI: Convert pci_resource_to_user " Denis Efremov
2019-07-29 10:13   ` Denis Efremov
2019-07-29 10:13   ` Denis Efremov
2019-07-29 10:13 ` [PATCH v2 2/5] microblaze/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER Denis Efremov
2019-07-29 10:13 ` [PATCH v2 3/5] mips/PCI: " Denis Efremov
2019-07-29 18:54   ` Paul Burton
2019-07-29 10:14 ` [PATCH v2 4/5] powerpc/PCI: " Denis Efremov
2019-07-29 10:14   ` Denis Efremov
2019-07-29 10:14 ` [PATCH v2 5/5] sparc/PCI: " Denis Efremov
2019-07-29 10:14   ` Denis Efremov
2019-07-30 18:25 ` [PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function Bjorn Helgaas
2019-07-30 18:25   ` Bjorn Helgaas
2019-07-30 18:25   ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.