From: msalter@redhat.com (Mark Salter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/11] Consolidate asm/fixmap.h files
Date: Mon, 25 Nov 2013 11:13:54 -0500 [thread overview]
Message-ID: <1385396045-15852-1-git-send-email-msalter@redhat.com> (raw)
Many architectures provide an asm/fixmap.h which defines support for
compile-time 'special' virtual mappings which need to be made before
paging_init() has run. This suport is also used for early ioremap
on x86. Much of this support is identical across the architectures.
This patch consolidates all of the common bits into asm-generic/fixmap.h
which is intended to be included from arch/*/include/asm/fixmap.h.
This has been compiled on x86, arm, powerpc, and sh, but tested
on x86 only.
This is version two of the patch series:
git://github.com/mosalter/linux.git#fixmap-v2
Version 1 is here:
git://github.com/mosalter/linux.git#fixmap
Changes from v1:
* Added acks from feedback.
* Use BUILD_BUG_ON in fix_to_virt()
* Fixed ARM patch to make FIXMAP_TOP inclusive of fixmap
range as is the case in the other architectures.
Mark Salter (11):
Add generic fixmap.h
x86: use generic fixmap.h
arm: use generic fixmap.h
hexagon: use generic fixmap.h
metag: use generic fixmap.h
microblaze: use generic fixmap.h
mips: use generic fixmap.h
powerpc: use generic fixmap.h
sh: use generic fixmap.h
tile: use generic fixmap.h
um: use generic fixmap.h
arch/arm/include/asm/fixmap.h | 29 +++--------
arch/arm/mm/init.c | 2 +-
arch/hexagon/include/asm/fixmap.h | 40 +--------------
arch/metag/include/asm/fixmap.h | 32 +-----------
arch/microblaze/include/asm/fixmap.h | 44 +---------------
arch/mips/include/asm/fixmap.h | 33 +-----------
arch/powerpc/include/asm/fixmap.h | 44 +---------------
arch/sh/include/asm/fixmap.h | 39 +--------------
arch/tile/include/asm/fixmap.h | 33 +-----------
arch/um/include/asm/fixmap.h | 40 +--------------
arch/x86/include/asm/fixmap.h | 59 +---------------------
include/asm-generic/fixmap.h | 97 ++++++++++++++++++++++++++++++++++++
12 files changed, 118 insertions(+), 374 deletions(-)
create mode 100644 include/asm-generic/fixmap.h
--
1.8.3.1
next reply other threads:[~2013-11-25 16:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 16:13 Mark Salter [this message]
2013-11-25 16:13 ` [PATCH v2 01/11] Add generic fixmap.h Mark Salter
2013-11-25 16:13 ` [PATCH v2 03/11] arm: use " Mark Salter
2013-12-11 23:15 ` Mark Salter
2013-12-10 8:48 ` [PATCH v2 00/11] Consolidate asm/fixmap.h files Jonas Bonn
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=1385396045-15852-1-git-send-email-msalter@redhat.com \
--to=msalter@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).