From: Bjorn Helgaas <bhelgaas@google.com>
To: Yinghai Lu <yinghai@kernel.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Michal Simek <monstr@monstr.eu>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/3] PCI: Clean up write combining usage for user mmap
Date: Thu, 09 Jun 2016 13:20:08 -0500 [thread overview]
Message-ID: <20160609181102.13455.33593.stgit@bhelgaas-glaptop2.roam.corp.google.com> (raw)
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(-)
next reply other threads:[~2016-06-09 18:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 18:20 Bjorn Helgaas [this message]
2016-06-09 18:20 ` [PATCH v1 1/3] PCI: Ignore write combining when mapping I/O port space Bjorn Helgaas
2016-06-09 18:20 ` [PATCH v1 2/3] powerpc/pci: Remove __pci_mmap_set_pgprot() Bjorn Helgaas
2016-06-17 19:54 ` Bjorn Helgaas
2016-06-09 18:20 ` [PATCH v1 3/3] microblaze/PCI: Remove useless __pci_mmap_set_pgprot() 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=20160609181102.13455.33593.stgit@bhelgaas-glaptop2.roam.corp.google.com \
--to=bhelgaas@google.com \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=monstr@monstr.eu \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=yinghai@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®