From: Stafford Horne <shorne@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>, Stafford Horne <shorne@gmail.com>,
Guo Ren <guoren@kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Pierre Morel <pmorel@linux.ibm.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
linux-csky@vger.kernel.org
Subject: [PATCH v5 3/4] csky: PCI: Define ARCH_GENERIC_PCI_MMAP_RESOURCE
Date: Thu, 21 Jul 2022 22:49:23 +0900 [thread overview]
Message-ID: <20220721134924.596152-4-shorne@gmail.com> (raw)
In-Reply-To: <20220721134924.596152-1-shorne@gmail.com>
This looks to be something that was left out on accident on the csky
port. Add the definition of ARCH_GENERIC_PCI_MMAP_RESOURCE to keep it
inline with other ports. Adding ARCH_GENERIC_PCI_MMAP_RESOURCE enables
the definition of mordern pci_mmap_resource_range functions which is
generally what new ports should be using.
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
Since v4:
- New patch.
arch/csky/include/asm/pci.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/csky/include/asm/pci.h b/arch/csky/include/asm/pci.h
index 5c02454ec724..875bc028f8f6 100644
--- a/arch/csky/include/asm/pci.h
+++ b/arch/csky/include/asm/pci.h
@@ -15,6 +15,8 @@
/* C-SKY shim does not initialize PCI bus */
#define pcibios_assign_all_busses() 1
+#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
+
#ifdef CONFIG_PCI
static inline int pci_proc_domain(struct pci_bus *bus)
{
--
2.36.1
next prev parent reply other threads:[~2022-07-21 13:50 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 13:49 [PATCH v5 0/4] Cleanups for asm-generic/pci.h Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` [PATCH v5 1/4] PCI: Remove pci_get_legacy_ide_irq and asm-generic/pci.h Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` [PATCH v5 2/4] PCI: Move isa_dma_bridge_buggy out of dma.h Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne [this message]
2022-07-22 3:27 ` [PATCH v5 3/4] csky: PCI: Define ARCH_GENERIC_PCI_MMAP_RESOURCE Guo Ren
2022-07-21 13:49 ` [PATCH v5 4/4] asm-generic: Add new pci.h and use it Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 13:49 ` Stafford Horne
2022-07-21 17:37 ` Bjorn Helgaas
2022-07-21 17:37 ` Bjorn Helgaas
2022-07-21 17:37 ` Bjorn Helgaas
2022-07-21 21:58 ` Stafford Horne
2022-07-21 21:58 ` Stafford Horne
2022-07-21 21:58 ` Stafford Horne
2022-07-22 7:53 ` Arnd Bergmann
2022-07-22 7:53 ` Arnd Bergmann
2022-07-22 7:53 ` Arnd Bergmann
2022-07-22 21:43 ` Stafford Horne
2022-07-22 21:43 ` Stafford Horne
2022-07-22 21:43 ` Stafford Horne
2022-07-22 22:31 ` Bjorn Helgaas
2022-07-22 22:31 ` Bjorn Helgaas
2022-07-22 22:31 ` Bjorn Helgaas
2022-07-22 22:56 ` Stafford Horne
2022-07-22 22:56 ` Stafford Horne
2022-07-22 22:56 ` Stafford Horne
2022-07-22 23:37 ` Bjorn Helgaas
2022-07-22 23:37 ` Bjorn Helgaas
2022-07-22 23:37 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220721134924.596152-4-shorne@gmail.com \
--to=shorne@gmail.com \
--cc=arnd@arndb.de \
--cc=geert@linux-m68k.org \
--cc=guoren@kernel.org \
--cc=linux-csky@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmorel@linux.ibm.com \
--cc=rafael.j.wysocki@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.