In message: [kernel-cache][PATCH] features/xen: Move x86 configs to separate 
file
on 26/05/2022 Kamil Dziezyk wrote:

> These configs are:
>  - HYPERVISOR_GUEST
>  - PCI_XEN
>  - XEN_ACPI_PROCESSOR
>  - XEN_DEBUG_FS
>  - XEN_MCE_LOG
>  - XEN_PCIDEV_BACKEND
>  - XEN_PCIDEV_FRONTEND
>  - XEN_PVHVM
>  - XEN_SAVE_RESTORE
> 
> This patch also replaces config 'XEN_SCRUB_PAGES' with the
> 'XEN_SCRUB_PAGES_DEFAULT', because it was renamed since 4.19 release.


Looks good to me, I trust that they've been boot tested on both
arches ?

Also, is this for 5.15+ ?

Bruce

> 
> Signed-off-by: Kamil Dziezyk <[email protected]>
> ---
>  features/xen/xen-x86.cfg | 11 +++++++++++
>  features/xen/xen.cfg     | 11 +----------
>  features/xen/xen.scc     |  4 ++++
>  3 files changed, 16 insertions(+), 10 deletions(-)
>  create mode 100644 features/xen/xen-x86.cfg
> 
> diff --git a/features/xen/xen-x86.cfg b/features/xen/xen-x86.cfg
> new file mode 100644
> index 00000000..69fcd731
> --- /dev/null
> +++ b/features/xen/xen-x86.cfg
> @@ -0,0 +1,11 @@
> +# SPDX-License-Identifier: MIT
> +
> +CONFIG_HYPERVISOR_GUEST=y
> +CONFIG_PCI_XEN=y
> +CONFIG_XEN_ACPI_PROCESSOR=m
> +CONFIG_XEN_DEBUG_FS=n
> +CONFIG_XEN_MCE_LOG=y
> +CONFIG_XEN_PCIDEV_BACKEND=m
> +CONFIG_XEN_PCIDEV_FRONTEND=y
> +CONFIG_XEN_PVHVM=y
> +CONFIG_XEN_SAVE_RESTORE=y
> diff --git a/features/xen/xen.cfg b/features/xen/xen.cfg
> index ad700d15..7da87825 100644
> --- a/features/xen/xen.cfg
> +++ b/features/xen/xen.cfg
> @@ -1,14 +1,8 @@
> -CONFIG_HYPERVISOR_GUEST=y
>  CONFIG_PARAVIRT=y
>  CONFIG_XEN=y
>  CONFIG_XEN_DOM0=y
> -CONFIG_XEN_PVHVM=y
> -CONFIG_XEN_SAVE_RESTORE=y
> -CONFIG_XEN_DEBUG_FS=n
>  CONFIG_MMU_NOTIFIER=y
>  CONFIG_HIBERNATE_CALLBACKS=y
> -CONFIG_PCI_XEN=y
> -CONFIG_XEN_PCIDEV_FRONTEND=y
>  CONFIG_SYS_HYPERVISOR=y
>  CONFIG_XEN_BLKDEV_FRONTEND=y
>  CONFIG_XEN_BLKDEV_BACKEND=m
> @@ -28,7 +22,7 @@ CONFIG_FB_SYS_FOPS=y
>  CONFIG_FB_DEFERRED_IO=y
>  CONFIG_XEN_FBDEV_FRONTEND=y
>  CONFIG_XEN_BALLOON=y
> -CONFIG_XEN_SCRUB_PAGES=y
> +CONFIG_XEN_SCRUB_PAGES_DEFAULT=y
>  CONFIG_XEN_DEV_EVTCHN=y
>  CONFIG_XEN_BACKEND=y
>  CONFIG_XENFS=y
> @@ -38,10 +32,7 @@ CONFIG_XEN_XENBUS_FRONTEND=y
>  CONFIG_XEN_GNTDEV=m
>  CONFIG_XEN_GRANT_DEV_ALLOC=m
>  CONFIG_SWIOTLB_XEN=y
> -CONFIG_XEN_PCIDEV_BACKEND=m
>  CONFIG_XEN_PRIVCMD=y
> -CONFIG_XEN_ACPI_PROCESSOR=m
> -CONFIG_XEN_MCE_LOG=y
>  CONFIG_XEN_HAVE_PVMMU=y
>  CONFIG_XEN_PVCALLS_FRONTEND=y
>  CONFIG_XEN_PVCALLS_BACKEND=y
> diff --git a/features/xen/xen.scc b/features/xen/xen.scc
> index b588e5df..e7c85a1b 100644
> --- a/features/xen/xen.scc
> +++ b/features/xen/xen.scc
> @@ -2,3 +2,7 @@ define KFEATURE_DESCRIPTION "Xen Kernel Support"
>  define KFEATURE_COMPATIBILITY arch
>  
>  kconf non-hardware xen.cfg
> +
> +if [ "$KARCH" = "x86_64" ] || [ "$KARCH" = "i386" ]; then
> +    kconf non-hardware xen-x86.cfg
> +fi
> -- 
> 2.17.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11337): 
https://lists.yoctoproject.org/g/linux-yocto/message/11337
Mute This Topic: https://lists.yoctoproject.org/mt/91357000/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to