From: Oleksii <oleksii.kurochko@gmail.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Julien Grall" <julien@xen.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Wei Liu" <wl@xen.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Shawn Anastasio" <sanastasio@raptorengineering.com>,
"Bob Eshleman" <bobbyeshleman@gmail.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Connor Davis" <connojdavis@gmail.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v4 1/2] xen: asm-generic support
Date: Wed, 06 Sep 2023 15:28:42 +0300 [thread overview]
Message-ID: <66fcd43cbcb176f13b5fe2aad53f659feefb9667.camel@gmail.com> (raw)
In-Reply-To: <731b436d-748c-092d-0bec-dcea5bdaed29@suse.com>
On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote:
> On 01.09.2023 18:02, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/scripts/Makefile.asm-generic
> > @@ -0,0 +1,23 @@
> > +# SPDX-License-Identifier: GPL-2.0
>
> While this is what the Linux file presently says, you still want to
> add
> "-only", which is merely the newer name for the same thing.
>
> > +# include/asm-generic contains a lot of files that are used
> > +# verbatim by several architectures.
> > +#
> > +# This Makefile reads the file arch/$(SRCARCH)/include/asm/Kbuild
> > +# and for each file listed in this file with generic-y creates
> > +# a small wrapper file in $(obj)
> > (arch/$(SRCARCH)/include/generated/asm)
> > +
> > +kbuild-file := $(srctree)/arch/$(SRCARCH)/include/asm/Kbuild
> > +include $(kbuild-file)
> > +
> > +include scripts/Kbuild.include
> > +
> > +# Create output directory if not already present
> > +_dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj))
> > +
> > +quiet_cmd_wrap = WRAP $@
> > +cmd_wrap = echo "\#include <asm-generic/$*.h>" >$@
> > +
> > +all: $(patsubst %, $(obj)/%, $(generic-y))
> > +
> > +$(obj)/%.h:
> > + $(call cmd,wrap)
>
> You've removed quite a bit of functionality, comparing with the Linux
> original. May I ask why that is? What they have all makes sense to
> me,
> and looks to be useful down the road.
I decided to take only minimum needed now but if you think it would be
better to use the latest Linux's Makefile.asm-generic then I will
update it in the next patch version.
~ Oleksii
next prev parent reply other threads:[~2023-09-06 12:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 16:02 [PATCH v4 0/2] introduce stub directory to storing empty/stub headers Oleksii Kurochko
2023-09-01 16:02 ` [PATCH v4 1/2] xen: asm-generic support Oleksii Kurochko
2023-09-04 13:39 ` Bertrand Marquis
2023-09-05 13:37 ` Oleksii
2023-09-05 14:10 ` Bertrand Marquis
2023-09-06 10:36 ` Oleksii
2023-09-06 11:37 ` Oleksii
2023-09-06 13:03 ` Bertrand Marquis
2023-09-06 15:37 ` Anthony PERARD
2023-09-06 12:16 ` Jan Beulich
2023-09-06 12:28 ` Oleksii [this message]
2023-09-06 12:40 ` Jan Beulich
2023-09-06 15:06 ` Anthony PERARD
2023-09-06 15:24 ` Oleksii
2023-09-06 15:57 ` Anthony PERARD
2023-09-06 19:46 ` Oleksii
2023-09-01 16:02 ` [PATCH v4 2/2] xen: move arm/include/asm/vm_event.h to asm-generic Oleksii Kurochko
2023-09-01 17:14 ` Oleksii Kurochko
2023-09-04 6:53 ` Jan Beulich
2023-09-04 11:27 ` Oleksii
2023-09-04 6:54 ` Jan Beulich
2023-09-04 11:29 ` Oleksii
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=66fcd43cbcb176f13b5fe2aad53f659feefb9667.camel@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=bertrand.marquis@arm.com \
--cc=bobbyeshleman@gmail.com \
--cc=connojdavis@gmail.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=roger.pau@citrix.com \
--cc=sanastasio@raptorengineering.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.