From: Juergen Gross <jgross@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: artem_mygaiev@epam.com, Andrew Cooper <andrew.cooper3@citrix.com>,
julien.grall@arm.com, volodymyr_babchuk@epam.com,
xen-devel@lists.xen.org
Subject: Re: [PATCH 4/6] arm: add a small kconfig for Renesas RCar H3
Date: Fri, 20 Apr 2018 06:39:46 +0200 [thread overview]
Message-ID: <19b762e4-264c-9bee-83df-e9b39880326b@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1804191548030.3303@sstabellini-ThinkPad-X260>
On 20/04/18 01:00, Stefano Stabellini wrote:
> On Thu, 19 Apr 2018, Juergen Gross wrote:
>> On 19/04/18 10:06, Andrew Cooper wrote:
>>> On 18/04/2018 23:15, Stefano Stabellini wrote:
>>>> xen/arch/arm/configs/renesas.config | 80 +++++++++++++++++++++++++++++++++++++
>>>> 1 file changed, 80 insertions(+)
>>>> create mode 100644 xen/arch/arm/configs/renesas.config
>>>>
>>>> diff --git a/xen/arch/arm/configs/renesas.config b/xen/arch/arm/configs/renesas.config
>>>> new file mode 100644
>>>> index 0000000..7ad3f1c
>>>> --- /dev/null
>>>> +++ b/xen/arch/arm/configs/renesas.config
>>>> @@ -0,0 +1,80 @@
>>>> +#
>>>> +# Automatically generated file; DO NOT EDIT.
>>>> +# Xen/arm 4.11-unstable Configuration
>>>> +#
>>>
>>> This is now the second Kconfig file we've got added into the tree. As
>>> with the PV-shim config, keeping it up to date is going to be a little
>>> tricky.
>>>
>>> I think we either need a script to keep all of the embedded configs up
>>> to date, or switch to a model (similar to the travis randconfig target)
>>> where it becomes a `make defaultconfig` with certain specific options
>>> forced one way or another (similar to `make {tiny,kvm,xen}config` in
>>> Linux). The latter means that we only store the specific delta
>>> applicable for purpose, and it will probably change less frequently.
>>
>> I think the easiest way would be to have a config file with only the
>> required non-default options being specified and then run
>> "make olddefconfig" against that (or better: a copy of that in order
>> to avoid modifying a source from git).
>>
>> I'm just writing a patch to do that for the shim config as it is nasty
>> to remove shim.config from my patches in case it has been modified by
>> the build (again) and STGit has picked it up.
>
> Given that the goal of this kconfig is to provide the smallest possible
> kconfig for a given board, I think that your suggestion wouldn't end up
> improving things much in this case because most options will have to be
> specified as "disabled", otherwise "make olddefconfig" would end up
> enabling some of them by default, which is not what we want.
>
What's the problem with this?
In case you really do want a config with many non-default settings
you'll have to specify them. So just do it and it's fine.
The alternative would be to specify _all_ entries. I don't see why
this would be better.
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-04-20 4:39 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 22:15 [PATCH 0/6] arm: more kconfig configurability and small default configs Stefano Stabellini
2018-04-18 22:15 ` [PATCH 1/6] arm: make it possible to disable more kconfig options Stefano Stabellini
2018-04-19 15:36 ` Julien Grall
2018-05-21 19:58 ` Stefano Stabellini
2018-05-22 8:24 ` Julien Grall
2018-05-22 20:15 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 2/6] arm: make it possible to enable/disable UART drivers Stefano Stabellini
2018-04-19 15:42 ` Julien Grall
2018-05-21 20:18 ` Stefano Stabellini
2018-05-21 20:20 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 3/6] arm: make it possible to disable the SMMU driver Stefano Stabellini
2018-04-19 7:46 ` Jan Beulich
2018-04-19 22:43 ` Stefano Stabellini
2018-04-20 9:41 ` Jan Beulich
2018-04-20 17:03 ` Stefano Stabellini
2018-04-23 18:18 ` Andrii Anisov
2018-04-19 15:44 ` Julien Grall
2018-04-19 15:46 ` Julien Grall
2018-04-20 9:39 ` Jan Beulich
2018-04-24 8:57 ` Julien Grall
2018-05-21 20:35 ` Stefano Stabellini
2018-05-22 5:37 ` Jan Beulich
2018-04-18 22:15 ` [PATCH 4/6] arm: add a small kconfig for Renesas RCar H3 Stefano Stabellini
2018-04-19 8:06 ` Andrew Cooper
2018-04-19 8:53 ` Juergen Gross
2018-04-19 23:00 ` Stefano Stabellini
2018-04-20 4:39 ` Juergen Gross [this message]
2018-04-20 16:39 ` Stefano Stabellini
2018-04-23 18:30 ` Andrii Anisov
2018-04-24 9:01 ` Julien Grall
2018-04-24 9:52 ` Andrii Anisov
2018-04-24 10:06 ` Julien Grall
2018-04-24 11:04 ` Andrii Anisov
2018-04-24 11:16 ` Julien Grall
2018-04-24 14:18 ` Andrii Anisov
2018-04-24 16:20 ` Julien Grall
2018-05-19 1:15 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 5/6] arm: add a small kconfig for qemu-system-aarch64 Stefano Stabellini
2018-04-18 22:15 ` [PATCH 6/6] xen: add cloc target Stefano Stabellini
2018-04-19 7:54 ` Jan Beulich
2018-04-19 23:22 ` Stefano Stabellini
2018-04-20 9:57 ` Jan Beulich
2018-05-21 23:32 ` Stefano Stabellini
2018-04-19 15:31 ` [PATCH 0/6] arm: more kconfig configurability and small default configs Julien Grall
2018-04-19 17:34 ` Lars Kurth
2018-04-19 22:45 ` Stefano Stabellini
2018-04-23 18:05 ` Andrii Anisov
2018-04-23 18:08 ` Andrii Anisov
2018-05-21 23:45 ` Stefano Stabellini
2018-05-23 17:48 ` Andrii Anisov
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=19b762e4-264c-9bee-83df-e9b39880326b@suse.com \
--to=jgross@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=artem_mygaiev@epam.com \
--cc=julien.grall@arm.com \
--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 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.