Re: [PATCH v2 1/2] powerpc: kvm: remove obsolete and unneeded select

From: Daniel Axtens
Date: Thu Aug 19 2021 - 18:39:51 EST


Hi Lukas,

> diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
> index e45644657d49..ff581d70f20c 100644
> --- a/arch/powerpc/kvm/Kconfig
> +++ b/arch/powerpc/kvm/Kconfig
> @@ -38,7 +38,6 @@ config KVM_BOOK3S_32_HANDLER
> config KVM_BOOK3S_64_HANDLER
> bool
> select KVM_BOOK3S_HANDLER
> - select PPC_DAWR_FORCE_ENABLE

I looked at some of the history here. It looks like this select was left
over from an earlier version of the patch series that added PPC_DAWR: v2
of the series has a new symbol PPC_DAWR_FORCE_ENABLE but by version 4
that new symbol had disappeared but the select had not.

v2: https://lore.kernel.org/linuxppc-dev/20190513071703.25243-1-mikey@xxxxxxxxxxx/
v5: https://lore.kernel.org/linuxppc-dev/20190604030037.9424-2-mikey@xxxxxxxxxxx/

The rest of the patch reasoning makes sense to me: DAWR support will be
selected anyway by virtue of PPC64->PPC_DAWR so there's no need to try
to select it again anyway.

Reviewed-by: Daniel Axtens <dja@xxxxxxxxxx>

Kind regards,
Daniel

>
> config KVM_BOOK3S_PR_POSSIBLE
> bool
> --
> 2.26.2