From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] Make arm64 headers self-contained
Date: Thu, 1 Dec 2016 10:44:32 +0000 [thread overview]
Message-ID: <1480589074-809-1-git-send-email-marc.zyngier@arm.com> (raw)
Wookey recently reported that the arm64 headers are not
self-contained, making it impossible to build external kernel modules
using DKMS and a distribution kernel-headers package. I do not condone
the use of out of tree modules, but there is no reason to be more
awkward than strictly necessary, and having standalone headers seems
to be a reasonable requirement.
The offenders are asm/opcodes.h, which drags its 32bit counterpart
despite only requiring a handful of macros, and a bunch of Xen files
that directly include their 32bit equivalent.
This series solves the issue in two ways:
- asm/opcodes.h is killed, and the few required macros moved added at
the required locations
- asm/xen/* are brutally copied oved. It'd be better if they were
placed in a common location (include/xen/ ?), but at least that
solves it for now
Patches on top of -rc6.
Marc Zyngier (2):
arm64: Get rid of asm/opcodes.h
arm64: xen: Split architecture-specific headers from 32bit ARM
arch/arm64/include/asm/opcodes.h | 5 --
arch/arm64/include/asm/sysreg.h | 16 ++--
arch/arm64/include/asm/xen/hypercall.h | 88 ++++++++++++++++++++-
arch/arm64/include/asm/xen/hypervisor.h | 40 +++++++++-
arch/arm64/include/asm/xen/interface.h | 86 +++++++++++++++++++-
arch/arm64/include/asm/xen/page-coherent.h | 99 ++++++++++++++++++++++-
arch/arm64/include/asm/xen/page.h | 123 ++++++++++++++++++++++++++++-
arch/arm64/kernel/armv8_deprecated.c | 5 +-
arch/arm64/kernel/insn.c | 1 -
9 files changed, 445 insertions(+), 18 deletions(-)
delete mode 100644 arch/arm64/include/asm/opcodes.h
--
2.1.4
next reply other threads:[~2016-12-01 10:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 10:44 Marc Zyngier [this message]
2016-12-01 10:44 ` [PATCH 1/2] arm64: Get rid of asm/opcodes.h Marc Zyngier
2016-12-02 10:58 ` Catalin Marinas
2016-12-02 18:56 ` Stefano Stabellini
2016-12-01 10:44 ` [PATCH 2/2] arm64: xen: Split architecture-specific headers from 32bit ARM Marc Zyngier
2016-12-01 22:17 ` Stefano Stabellini
2016-12-02 9:09 ` Marc Zyngier
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=1480589074-809-1-git-send-email-marc.zyngier@arm.com \
--to=marc.zyngier@arm.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).