xen: EXPERT clean-up and introduce UNSUPPORTED
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 26 Jan 2021 19:03:27 +0000 (11:03 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 29 Jan 2021 00:34:01 +0000 (16:34 -0800)
commitd96e5e6c12145b4fc7b19b7b4751d20540061da0
treedcaa8ce81894dc1b3c804b3fbb0a1b2de49c2a79
parent6ca510153350163b02809ae06e1dabad89c2c786
xen: EXPERT clean-up and introduce UNSUPPORTED

A recent thread [1] has exposed a couple of issues with our current way
of handling EXPERT.

1) It is not obvious that "Configure standard Xen features (expert
users)" is actually the famous EXPERT we keep talking about on xen-devel

2) It is not obvious when we need to enable EXPERT to get a specific
feature

In particular if you want to enable ACPI support so that you can boot
Xen on an ACPI platform, you have to enable EXPERT first. But searching
through the kconfig menu it is really not clear (type '/' and "ACPI"):
nothing in the description tells you that you need to enable EXPERT to
get the option.

So this patch makes things easier by doing two things:

- introduce a new kconfig option UNSUPPORTED which is clearly to enable
  UNSUPPORTED features as defined by SUPPORT.md

- change EXPERT options to UNSUPPORTED where it makes sense: keep
  depending on EXPERT for features made for experts

- tag unsupported features by adding (UNSUPPORTED) to the one-line
  description

- clarify the EXPERT one-line description

[1] https://marc.info/?l=xen-devel&m=160333101228981

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com> [x86,common]
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
CC: andrew.cooper3@citrix.com
CC: george.dunlap@citrix.com
CC: iwj@xenproject.org
CC: jbeulich@suse.com
CC: julien@xen.org
CC: wl@xen.org
xen/Kconfig
xen/arch/arm/Kconfig
xen/arch/x86/Kconfig
xen/common/Kconfig
xen/common/sched/Kconfig