From: Julien Grall <julien@xen.org>
To: xen-devel@lists.xenproject.org
Cc: "Kevin Tian" <kevin.tian@intel.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Jun Nakajima" <jun.nakajima@intel.com>, "Wei Liu" <wl@xen.org>,
"Paul Durrant" <paul@xen.org>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Julien Grall" <jgrall@amazon.com>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH 0/7] xen: Consolidate asm-*/guest_access.h in xen/guest_access.h
Date: Sat, 4 Apr 2020 14:13:35 +0100 [thread overview]
Message-ID: <02ace867-646b-adf5-c341-92d9042340a3@xen.org> (raw)
In-Reply-To: <20200404131017.27330-1-julien@xen.org>
On 04/04/2020 14:10, Julien Grall wrote:
> From: Julien Grall <jgrall@amazon.com>
>
> Hi all,
>
> A lot of the helpers implemented in asm-*/guest_access.h are implemented
> the same way. This series aims to avoid the duplication and implement
> them only once in xen/guest_access.h.
I forgot to mention this is based on "xen/guest_access: Harden
*copy_to_guest_offset() to prevent const dest operand" [1].
This will also clash with Jan's patch "guestcopy: evaluate
{,__}copy{,_field}_to_guest*() arguments just once" [2]. I am happy to
rebase this series on top of it.
Cheers,
[1] https://lore.kernel.org/xen-devel/20200404130613.26428-1-julien@xen.org/
[2]
https://lore.kernel.org/xen-devel/9918b339-e914-7228-5f8e-86c82090b5bd@suse.com/
>
> Cheers,
>
> Julien Grall (7):
> xen/guest_access: Add missing emacs magics
> xen/arm: kernel: Re-order the includes
> xen/arm: decode: Re-order the includes
> xen/arm: guestcopy: Re-order the includes
> xen: include xen/guest_access.h rather than asm/guest_access.h
> xen/guest_access: Consolidate guest access helpers in
> xen/guest_access.h
> xen/guest_access: Fix coding style in xen/guest_access.h
>
> xen/arch/arm/decode.c | 7 +-
> xen/arch/arm/domain.c | 2 +-
> xen/arch/arm/guest_walk.c | 3 +-
> xen/arch/arm/guestcopy.c | 5 +-
> xen/arch/arm/kernel.c | 12 +--
> xen/arch/arm/vgic-v3-its.c | 2 +-
> xen/arch/x86/hvm/svm/svm.c | 2 +-
> xen/arch/x86/hvm/viridian/viridian.c | 2 +-
> xen/arch/x86/hvm/vmx/vmx.c | 2 +-
> xen/common/libelf/libelf-loader.c | 2 +-
> xen/include/asm-arm/guest_access.h | 132 ------------------------
> xen/include/asm-x86/guest_access.h | 129 ++---------------------
> xen/include/xen/guest_access.h | 149 +++++++++++++++++++++++++++
> xen/lib/x86/private.h | 2 +-
> 14 files changed, 178 insertions(+), 273 deletions(-)
>
--
Julien Grall
prev parent reply other threads:[~2020-04-04 13:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 13:10 [PATCH 0/7] xen: Consolidate asm-*/guest_access.h in xen/guest_access.h Julien Grall
2020-04-04 13:10 ` [PATCH 1/7] xen/guest_access: Add missing emacs magics Julien Grall
2020-04-07 8:05 ` Jan Beulich
2020-04-08 21:43 ` Julien Grall
2020-04-04 13:10 ` [PATCH 2/7] xen/arm: kernel: Re-order the includes Julien Grall
2020-04-04 13:10 ` [PATCH 3/7] xen/arm: decode: " Julien Grall
2020-04-04 13:10 ` [PATCH 4/7] xen/arm: guestcopy: " Julien Grall
2020-04-04 13:10 ` [PATCH 5/7] xen: include xen/guest_access.h rather than asm/guest_access.h Julien Grall
2020-04-06 7:40 ` Paul Durrant
2020-04-06 8:51 ` Julien Grall
2020-04-04 13:10 ` [PATCH 6/7] xen/guest_access: Consolidate guest access helpers in xen/guest_access.h Julien Grall
2020-04-07 8:14 ` Jan Beulich
2020-04-08 22:05 ` Julien Grall
2020-04-09 6:30 ` Jan Beulich
2020-04-09 8:01 ` Julien Grall
2020-04-09 8:06 ` Jan Beulich
2020-04-09 9:28 ` Julien Grall
2020-04-29 14:04 ` Julien Grall
2020-04-29 14:07 ` Jan Beulich
2020-04-29 14:13 ` Julien Grall
2020-04-29 14:54 ` Jan Beulich
2020-04-29 15:03 ` Julien Grall
2020-05-16 10:25 ` Julien Grall
2020-05-19 15:05 ` Ian Jackson
2020-05-29 11:45 ` Julien Grall
2020-04-04 13:10 ` [PATCH 7/7] xen/guest_access: Fix coding style " Julien Grall
2020-04-07 8:17 ` Jan Beulich
2020-04-07 9:08 ` Julien Grall
2020-04-04 13:13 ` Julien Grall [this message]
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=02ace867-646b-adf5-c341-92d9042340a3@xen.org \
--to=julien@xen.org \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=jgrall@amazon.com \
--cc=jun.nakajima@intel.com \
--cc=kevin.tian@intel.com \
--cc=paul@xen.org \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.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).