Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622817
| From | David Woodhouse <dwmw2@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 25/27] ia64: Use generic pci_mmap_resource_range() |
| Date | 2017-04-13 10:40 +0200 |
| Message-ID | <tvIsh-kh-3@gated-at.bofh.it> (permalink) |
| References | <tvpzk-4op-3@gated-at.bofh.it> <tvpJ0-4rx-11@gated-at.bofh.it> <tvyjf-1Lt-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed, 2017-04-12 at 14:47 -0700, Tony Luck wrote: > On Wed, Apr 12, 2017 at 5:26 AM, David Woodhouse <dwmw2@infradead.org> wrote: > > > > From: David Woodhouse <dwmw@amazon.co.uk> > > > > Now that we eliminated the different behaviour in separately-reviewable > > commits, we can switch IA64 to the generic implementation. > > > > Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> > > Well it builds and boots on my last remaining ia64 machine. No warnings > or weird stuff in the console log. So you can mark the three ia64 patches Thanks. The interesting test is whether you can correctly map PCI BARs through /proc/bus/pci and /sys/bus/pci? And if you find a prefetchable BAR you can scribble on, does the box explode if you do it both WC and UC at the same time? http://david.woodhou.se/pcimmap_copy.c should validate WC mappings and look something like this... [fedora@ip-172-31-55-194 ~]$ sudo ./pcimmap_copy /sys/bus/pci/devices/0000\:00\:1e.0/resource4 0 Copied 1000 loops in 0.354437301s [fedora@ip-172-31-55-194 ~]$ sudo ./pcimmap_copy /sys/bus/pci/devices/0000\:00\:1e.0/resource4_wc 0 Copied 1000 loops in 0.057309254s
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/27] PCI resource mmap cleanup David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 18/27] x86: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 06/27] pci: Move multiple declarations of pci_mmap_page_range() to <linux/pci.h> David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 07/27] pci: Add arch_can_pci_mmap_io() on architectures which can mmap() I/O space David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 01/27] pci: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 21/27] microblaze: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 04/27] xtensa: Do not mmap PCI BARs to userspace as write-through David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 19/27] pci: Add I/O BAR support to generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:30 +0200
[PATCH v2 05/27] pci: Add arch_can_pci_mmap_wc() macro David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 22/27] xtensa: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 14/27] mn10300: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
Re: [PATCH v2 14/27] mn10300: Use generic pci_mmap_resource_range() David Howells <dhowells@redhat.com> - 2017-04-13 11:30 +0200
[PATCH v2 02/27] pci: Fix another sanity check bug in /proc/pci mmap David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 08/27] pci: Use BAR index in sysfs attr->private instead of resource pointer David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 17/27] unicore: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 25/27] ia64: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
Re: [PATCH v2 25/27] ia64: Use generic pci_mmap_resource_range() Tony Luck <tony.luck@gmail.com> - 2017-04-12 23:50 +0200
Re: [PATCH v2 25/27] ia64: Use generic pci_mmap_resource_range() Thomas Gleixner <tglx@linutronix.de> - 2017-04-13 00:00 +0200
Re: [PATCH v2 25/27] ia64: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-13 10:40 +0200
[PATCH v2 10/27] pci: Add pci_mmap_resource_range() and use it for ARM64 David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
Re: [PATCH v2 10/27] pci: Add pci_mmap_resource_range() and use it for ARM64 David Howells <dhowells@redhat.com> - 2017-04-13 11:30 +0200
[PATCH v2 09/27] pci: Add BAR index argument to pci_mmap_page_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 26/27] sparc: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 20/27] powerpc: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 13/27] mips: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 11/27] arm: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 16/27] sh: Use generic pci_mmap_resource_range() David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
[PATCH v2 03/27] pci: Only allow WC mmap on prefetchable resources David Woodhouse <dwmw2@infradead.org> - 2017-04-12 14:40 +0200
Re: [PATCH v2 00/27] PCI resource mmap cleanup Bjorn Helgaas <helgaas@kernel.org> - 2017-04-18 20:30 +0200
Re: [PATCH v2 00/27] PCI resource mmap cleanup Bjorn Helgaas <helgaas@kernel.org> - 2017-04-18 21:00 +0200
Re: [PATCH v2 00/27] PCI resource mmap cleanup David Woodhouse <dwmw2@infradead.org> - 2017-04-19 09:30 +0200
Re: [PATCH v2 00/27] PCI resource mmap cleanup Bjorn Helgaas <bhelgaas@google.com> - 2017-04-19 20:40 +0200
csiph-web