All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: Julien Grall <julien@xen.org>
Cc: Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@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>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH RESEND 2/2] xen: Allow EXPERT mode to be selected from the menuconfig directly
Date: Mon, 4 May 2020 12:18:43 +0200	[thread overview]
Message-ID: <cb829776-b18d-3535-1869-da9dc2232ec8@suse.com> (raw)
In-Reply-To: <3c581eac-9b2f-493c-f86e-2377450a6a2a@xen.org>

On 04.05.2020 11:54, Julien Grall wrote:
> Hi Jan,
> 
> On 04/05/2020 10:37, Jan Beulich wrote:
>> On 04.05.2020 11:30, Julien Grall wrote:
>>> Hi Jan,
>>>
>>> On 04/05/2020 10:18, Jan Beulich wrote:
>>>> On 30.04.2020 17:35, Julien Grall wrote:
>>>>> On 30/04/2020 15:50, Jan Beulich wrote:
>>>>>> On 30.04.2020 16:25, Julien Grall wrote:
>>>>>>> EXPERT mode is currently used to gate any options that are in technical
>>>>>>> preview or not security supported At the moment, the only way to select
>>>>>>> it is to use XEN_CONFIG_EXPERT=y on the make command line.
>>>>>>>
>>>>>>> However, if the user forget to add the option of one of the make
>>>>>>> command (even a clean), then .config will get rewritten. This may lead
>>>>>>> to a rather frustrating experience as it is difficult to diagnostic the
>>>>>>> issue.
>>>>>>
>>>>>> Is / will this still be true after Anthony's rework of the build
>>>>>> system? Right now we already have
>>>>>>
>>>>>> clean-targets := %clean
>>>>>> no-dot-config-targets := $(clean-targets) \
>>>>>>                             ...
>>>>>
>>>>> I haven't tried Anthony's rework yet. But I guess the problem would
>>>>> be the same if you forget to add XEN_CONFIG_EXPERT=y on make.
>>>>
>>>> Why? xen/.config would get re-written only if kconfig got run in
>>>> the first place. It is my understanding that no-dot-config-targets
>>>> exist to avoid including .config, and as a result make won't find
>>>> a need anymore to cause it to re-made if out of date.
>>>
>>> kconfig may be executed because you change one of the */Kconfig file.
>>> So if you happen to forget XEN_CONFIG_EXPERT=y on your build command
>>> line, then you will have your .config rewritten without expert options.
>>
>> That's still a build system issue then (if this is really what happens):
>> Dependencies of xen/.config shouldn't be evaluated as long as it doesn't
>> get used.
> 
> I am not sure to understand what you mean by "doesn't get used here". When you build Xen, xen/.config is a dependency for the auto-generated header. So 'make' will actually check whether there are any modification in */Kconfig.

But you were talking about "make clean", weren't you?

Jan


  reply	other threads:[~2020-05-04 10:19 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30 14:25 [PATCH RESEND 0/2] xen: Allow EXPERT mode to be selected from the menuconfig directly Julien Grall
2020-04-30 14:25 ` [PATCH RESEND 1/2] xen/Kconfig: define EXPERT a bool rather than a string Julien Grall
2020-05-07 16:43   ` Dario Faggioli
2020-05-12 11:37   ` Julien Grall
2020-05-12 15:32     ` Stefano Stabellini
2020-04-30 14:25 ` [PATCH RESEND 2/2] xen: Allow EXPERT mode to be selected from the menuconfig directly Julien Grall
2020-04-30 14:50   ` Jan Beulich
2020-04-30 15:35     ` Julien Grall
2020-05-04  9:18       ` Jan Beulich
2020-05-04  9:30         ` Julien Grall
2020-05-04  9:37           ` Jan Beulich
2020-05-04  9:54             ` Julien Grall
2020-05-04 10:18               ` Jan Beulich [this message]
2020-05-04 10:23                 ` Julien Grall
2020-05-04 11:10     ` George Dunlap
2020-05-04 12:34       ` Ian Jackson
2020-05-06  9:47         ` Julien Grall
2020-05-07 17:01           ` Ian Jackson
2020-05-11 13:30             ` Julien Grall
2020-05-11 13:40               ` Jan Beulich
2020-05-11 13:57                 ` Julien Grall
2020-05-11 14:07                   ` Jan Beulich
2020-05-11 14:11                     ` Julien Grall
2020-05-11 14:14                       ` Jan Beulich
2020-05-11 14:31                         ` Julien Grall
2020-05-11 17:14                         ` Ian Jackson
2020-05-12  7:18                           ` Jan Beulich
2020-05-12 10:08                             ` Julien Grall
2020-05-12 10:15                               ` Jan Beulich
2020-05-12 11:00                                 ` Julien Grall
2020-05-12 11:03                                   ` Jan Beulich
2020-05-12 11:05                                     ` George Dunlap
2020-05-12 11:18                                       ` Jan Beulich
2020-05-11 14:27                       ` George Dunlap
2020-05-11 15:27               ` George Dunlap
2020-05-11 15:29                 ` Julien Grall
2020-05-11 17:12                   ` Ian Jackson
2020-05-06  9:46       ` Julien Grall

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=cb829776-b18d-3535-1869-da9dc2232ec8@suse.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jgrall@amazon.com \
    --cc=julien@xen.org \
    --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.