[RFC 3/5] powerpc: kvm: drop 32-bit book3s

Arnd Bergmann arnd at arndb.de
Fri Dec 13 02:39:00 PST 2024


On Fri, Dec 13, 2024, at 11:27, Christophe Leroy wrote:
> Le 13/12/2024 à 11:04, Arnd Bergmann a écrit :
>> diff --git a/arch/powerpc/kernel/head_32.h b/arch/powerpc/kernel/head_32.h
>> index 9cba7dbf58dd..24e89dadc74d 100644
>> --- a/arch/powerpc/kernel/head_32.h
>> +++ b/arch/powerpc/kernel/head_32.h
>> @@ -172,7 +172,6 @@ _ASM_NOKPROBE_SYMBOL(\name\()_virt)
>>   #define	START_EXCEPTION(n, label)		\
>>   	__HEAD;					\
>>   	. = n;					\
>> -	DO_KVM n;				\
>>   label:
>>   
>>   #else
>
> Then the complete macro should go away because both versions are now 
> identical:
>
> -#ifdef CONFIG_PPC_BOOK3S
> -#define	START_EXCEPTION(n, label)		\
> -	__HEAD;					\
> -	. = n;					\
> -label:
> -
> -#else
>   #define	START_EXCEPTION(n, label)		\
>   	__HEAD;					\
>   	. = n;					\
>   label:
>

Thanks, I've folded that change into my patch now.

      Arnd



More information about the kvm-riscv mailing list