[PATCH] powerpc/kvm/booke: fix altivec related build break

Laurentiu Tudor laurentiu.tudor at nxp.com
Wed May 2 18:35:28 AEST 2018


Hi Michael,

On 04/27/2018 09:14 AM, Michael Ellerman wrote:
> laurentiu.tudor at nxp.com writes:
>> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>>
>> Add missing "altivec unavailable" interrupt injection helper
>> thus fixing the linker error below:
>>
>> arch/powerpc/kvm/emulate_loadstore.o: In function `kvmppc_check_altivec_disabled':
>> arch/powerpc/kvm/emulate_loadstore.c: undefined reference to `.kvmppc_core_queue_vec_unavail'
>>
>> Fixes: 09f984961c137c4b ("KVM: PPC: Book3S: Add MMIO emulation for VMX instructions")
>
> What config are you using to hit this? I'd like to add it to my
> auto-builder to catch it in future.
>

Start with the corenet64_smp_defconfig and enable CONFIG_KVM_E500MC 
option found in "Virtualization -> KVM support for PowerPC 
E500MC/E5500/E6500 processors".

P.S. Sorry for the late reply. I took advantage of labor day and 
arranged a mini-vacation. :-)

---
Best Regards, Laurentiu


More information about the Linuxppc-dev mailing list