From: Julien Grall <julien.grall@arm.com>
To: xen-devel@lists.xen.org
Cc: bhupinder.thakur@linaro.org, Julien Grall <julien.grall@arm.com>,
sstabellini@kernel.org, volodymyr_babchuk@epam.com
Subject: [PATCH v2 0/7] xen/arm: Clean-up traps.c
Date: Tue, 12 Sep 2017 11:36:15 +0100 [thread overview]
Message-ID: <20170912103622.18562-1-julien.grall@arm.com> (raw)
Hi all,
xen/arch/arm/traps.c is beginning to get very big. This series is moving out
the co-processor and sysreg emulation in separate files. This will avoid to
grow traps.c when adding more registers emulation (coming soon).
A branch with this series has been pushed:
https://xenbits.xen.org/git-http/people/julieng/xen-unstable.git
branch cleanup-traps-v2
Cheers,
Cc: volodymyr_babchuk@epam.com
Julien Grall (7):
xen/arm: traps: Re-order the includes alphabetically
xen/arm: Move arch/arm/vtimer.h to include/asm-arm/vtimer.h
xen/arm: traps: Export a bunch of helpers to handle emulation
xen/arm: Move sysreg emulation outside of traps.c
xen/arm: Move co-processor emulation outside of traps.c
xen/arm: Move sysregs.h in arm64 sub-directory
xen/arm: Limit the scope of cpregs.h
xen/arch/arm/Makefile | 1 +
xen/arch/arm/arm64/Makefile | 1 +
xen/arch/arm/arm64/vsysreg.c | 229 ++++++++++
xen/arch/arm/domain.c | 2 +-
xen/arch/arm/smp.c | 1 -
xen/arch/arm/traps.c | 702 ++---------------------------
xen/arch/arm/vcpreg.c | 452 +++++++++++++++++++
xen/arch/arm/vgic-v3.c | 1 +
xen/arch/arm/vtimer.c | 2 +
xen/include/asm-arm/arm32/processor.h | 2 +
xen/include/asm-arm/arm32/traps.h | 13 +
xen/include/asm-arm/arm64/processor.h | 2 +
xen/include/asm-arm/{ => arm64}/sysregs.h | 10 +-
xen/include/asm-arm/arm64/traps.h | 18 +
xen/include/asm-arm/percpu.h | 1 -
xen/include/asm-arm/processor.h | 2 -
xen/include/asm-arm/traps.h | 44 ++
xen/{arch/arm => include/asm-arm}/vtimer.h | 0
18 files changed, 811 insertions(+), 672 deletions(-)
create mode 100644 xen/arch/arm/arm64/vsysreg.c
create mode 100644 xen/arch/arm/vcpreg.c
create mode 100644 xen/include/asm-arm/arm32/traps.h
rename xen/include/asm-arm/{ => arm64}/sysregs.h (98%)
create mode 100644 xen/include/asm-arm/arm64/traps.h
create mode 100644 xen/include/asm-arm/traps.h
rename xen/{arch/arm => include/asm-arm}/vtimer.h (100%)
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-09-12 10:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 10:36 Julien Grall [this message]
2017-09-12 10:36 ` [PATCH v2 1/7] xen/arm: traps: Re-order the includes alphabetically Julien Grall
2017-09-12 20:59 ` Stefano Stabellini
2017-09-12 10:36 ` [PATCH v2 2/7] xen/arm: Move arch/arm/vtimer.h to include/asm-arm/vtimer.h Julien Grall
2017-09-12 21:02 ` Stefano Stabellini
2017-09-12 10:36 ` [PATCH v2 3/7] xen/arm: traps: Export a bunch of helpers to handle emulation Julien Grall
2017-09-12 21:26 ` Stefano Stabellini
2017-09-13 8:52 ` Julien Grall
2017-09-12 10:36 ` [PATCH v2 4/7] xen/arm: Move sysreg emulation outside of traps.c Julien Grall
2017-09-12 21:40 ` Stefano Stabellini
2017-09-12 10:36 ` [PATCH v2 5/7] xen/arm: Move co-processor " Julien Grall
2017-09-12 21:43 ` Stefano Stabellini
2017-09-12 10:36 ` [PATCH v2 6/7] xen/arm: Move sysregs.h in arm64 sub-directory Julien Grall
2017-09-12 21:49 ` Stefano Stabellini
2017-09-12 10:36 ` [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h Julien Grall
2017-09-12 21:53 ` Stefano Stabellini
2017-09-13 9:11 ` Julien Grall
2017-09-13 21:13 ` Stefano Stabellini
2017-09-14 16:58 ` Julien Grall
2017-09-12 21:57 ` [PATCH v2 0/7] xen/arm: Clean-up traps.c Stefano Stabellini
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=20170912103622.18562-1-julien.grall@arm.com \
--to=julien.grall@arm.com \
--cc=bhupinder.thakur@linaro.org \
--cc=sstabellini@kernel.org \
--cc=volodymyr_babchuk@epam.com \
--cc=xen-devel@lists.xen.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).