Re: [RFC 3/5] powerpc: kvm: drop 32-bit book3s
From: Arnd Bergmann
Date: Fri Dec 13 2024 - 05:39:35 EST
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