From: Bjorn Helgaas <bhelgaas@google.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch@vger.kernel.org, linux-pci@vger.kernel.org,
"Luis R. Rodriguez" <mcgrof@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/4] ioremap() tidy-up
Date: Mon, 20 Mar 2017 13:42:39 -0500 [thread overview]
Message-ID: <20170320182014.4858.22352.stgit@bhelgaas-glaptop.roam.corp.google.com> (raw)
Fix some typos, remove unused code, simplify comments.
I added patch 4 to remove the default ioremap_uc() implementation on MMU
systems.
I hesitated about this because it basically reverts 8c7ea50c010b ("x86/mm,
asm-generic: Add IOMMU ioremap_uc() variant default"), and I'm worried that
I'm missing the real value of having that default implementation. So this
is just a proposal; if it makes no sense, I'll drop patch 4 again.
As far as I can tell, having the default ioremap_uc() implementation means
we can *build* drivers that use it, but those drivers won't actually work.
It seems preferable to me to have those be build-time failures rather than
run-time failures, but if I'm missing something, let me know.
Change from v1 to v2:
- Add Arnd's Reviewed-by on patches 1-3.
- Add patch 4 to remove ioremap_uc() stub.
---
Bjorn Helgaas (4):
asm-generic/io.h: Fix "IOMMU" typos
asm-generic/io.h: Remove unused generic __ioremap() definition
asm-generic/io.h: Simplify ioremap() comments
asm-generic/io.h: Drop ioremap_uc() stub for systems with MMU
include/asm-generic/io.h | 49 ++++++++--------------------------------------
1 file changed, 8 insertions(+), 41 deletions(-)
next reply other threads:[~2017-03-20 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 18:42 Bjorn Helgaas [this message]
2017-03-20 18:42 ` [PATCH v2 1/4] asm-generic/io.h: Fix "IOMMU" typos Bjorn Helgaas
2017-03-20 18:42 ` [PATCH v2 2/4] asm-generic/io.h: Remove unused generic __ioremap() definition Bjorn Helgaas
2017-03-21 10:37 ` Geert Uytterhoeven
2017-03-21 19:59 ` Bjorn Helgaas
2017-03-20 18:43 ` [PATCH v2 3/4] asm-generic/io.h: Simplify ioremap() comments Bjorn Helgaas
2017-03-20 18:43 ` [PATCH v2 4/4] asm-generic/io.h: Drop ioremap_uc() stub for systems with MMU 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=20170320182014.4858.22352.stgit@bhelgaas-glaptop.roam.corp.google.com \
--to=bhelgaas@google.com \
--cc=arnd@arndb.de \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mcgrof@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®