lkml.org 
[lkml]   [2016]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v1 0/3] PCI: Clean up write combining usage for user mmap
From
Date
These patches:

- Enforce a "no write combining on I/O port space mapping" policy.
This seems like an obviously good thing but was previously
enforced only by powerpc.

- Stop giving powerpc users write combining mappings of prefetchable
memory they ask for write combining with the procfs
PCIIOC_WRITE_COMBINE ioctl or a sysfs "resourceN_wc" file.

- Clean up arch-specific code that related to the above.

Ben, I'm particularly interested in your thoughts about the powerpc
change. It should "only" affect performance of users who aren't
actually requesting write combining. I don't know how many of those
users there might be.

Yinghai, I added your sign-off to the powerpc part, since you posted
that exact patch. Let me know if you don't want that.

These are on my pci/resource branch.

---

Bjorn Helgaas (2):
PCI: Ignore write combining when mapping I/O port space
microblaze/PCI: Remove useless __pci_mmap_set_pgprot()

Yinghai Lu (1):
powerpc/pci: Remove __pci_mmap_set_pgprot()


arch/microblaze/pci/pci-common.c | 31 +------------------------------
arch/powerpc/kernel/pci-common.c | 37 ++++---------------------------------
drivers/pci/proc.c | 9 ++++++---
3 files changed, 11 insertions(+), 66 deletions(-)

\
 
 \ /
  Last update: 2016-06-09 21:01    [W:0.771 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site