Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601726 > unrolled thread

[PATCH v2 4/4] arm64: Do not expose PCI mmap through procfs

Started byDavid Woodhouse <dwmw2@infradead.org>
First post2017-03-15 21:50 +0100
Last post2017-03-15 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 4/4] arm64: Do not expose PCI mmap through procfs David Woodhouse <dwmw2@infradead.org> - 2017-03-15 21:50 +0100

#1601726 — [PATCH v2 4/4] arm64: Do not expose PCI mmap through procfs

FromDavid Woodhouse <dwmw2@infradead.org>
Date2017-03-15 21:50 +0100
Subject[PATCH v2 4/4] arm64: Do not expose PCI mmap through procfs
Message-ID<tlo1P-4vc-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

From: David Woodhouse <dwmw@amazon.co.uk>

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
---
We shouldn't do this bit. But you did ask...

 drivers/pci/proc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c
index 5cd960c..233d549 100644
--- a/drivers/pci/proc.c
+++ b/drivers/pci/proc.c
@@ -17,6 +17,11 @@
 
 static int proc_initialized;	/* = 0 */
 
+#ifdef __aarch64__
+/* ARM64 wants to be special and not expose this through /proc like everyone else */
+#undef HAVE_PCI_MMAP
+#endif
+
 static loff_t proc_bus_pci_lseek(struct file *file, loff_t off, int whence)
 {
 	struct pci_dev *dev = PDE_DATA(file_inode(file));
-- 
dwmw2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web