Re: [PATCH v5 1/7] s390/uv: Always export uv_info

Janosch Frank
2023-06-16T08:56:28Z

On 6/15/23 12:05, Steffen Eiden wrote:
> KVM needs the struct's values to be able to provide PV support.
>
> The uvdevice is currently guest only and will need the struct's values
> for call support checking and potential future expansions.
>
> As uv.c is only compiled with CONFIG_PGSTE or
> CONFIG_PROTECTED_VIRTUALIZATION_GUEST we don't need a second check in
> the code. Users of uv_info will need to fence for these two config
> options for the time being.
>
> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>

In the long term we'll remove the config checks and always compile uv.o
in kernel/ and boot/ so we won't be running in these issues again.