[PATCH 0/2] KVM: PPC: e500: Fix build error due to crappy KVM code

Sean Christopherson posted 2 patches 1 month ago
arch/powerpc/kvm/e500.h          |  6 +--
arch/powerpc/kvm/e500_mmu.c      |  4 +-
arch/powerpc/kvm/e500_mmu_host.c | 91 +++++++++++++++-----------------
3 files changed, 47 insertions(+), 54 deletions(-)
[PATCH 0/2] KVM: PPC: e500: Fix build error due to crappy KVM code
Posted by Sean Christopherson 1 month ago
Fix an e500 build error that was introduced by the recent kmalloc_obj()
conversion, but in reality is due to crappy KVM code that has existed for
~13 years.

I'm taking this through kvm-x86 fixes, because it's breaking my testing setup,
and obviously no one cares about KVM e500 since PPC_WERROR is default 'y' and
needs to be explicitly disabled via PPC_DISABLE_WERROR.

Sean Christopherson (2):
  KVM: PPC: e500: Fix build error due to using kmalloc_obj() with wrong
    type
  KVM: PPC: e500: Rip out "struct tlbe_ref"

 arch/powerpc/kvm/e500.h          |  6 +--
 arch/powerpc/kvm/e500_mmu.c      |  4 +-
 arch/powerpc/kvm/e500_mmu_host.c | 91 +++++++++++++++-----------------
 3 files changed, 47 insertions(+), 54 deletions(-)


base-commit: 11439c4635edd669ae435eec308f4ab8a0804808
-- 
2.53.0.473.g4a7958ca14-goog
Re: [PATCH 0/2] KVM: PPC: e500: Fix build error due to crappy KVM code
Posted by Sean Christopherson 1 month ago
On Tue, 03 Mar 2026 11:03:37 -0800, Sean Christopherson wrote:
> Fix an e500 build error that was introduced by the recent kmalloc_obj()
> conversion, but in reality is due to crappy KVM code that has existed for
> ~13 years.
> 
> I'm taking this through kvm-x86 fixes, because it's breaking my testing setup,
> and obviously no one cares about KVM e500 since PPC_WERROR is default 'y' and
> needs to be explicitly disabled via PPC_DISABLE_WERROR.
> 
> [...]

Applied to kvm-x86 fixes, thanks!

[1/2] KVM: PPC: e500: Fix build error due to using kmalloc_obj() with wrong type
      https://github.com/kvm-x86/linux/commit/a223ccf0af6e
[2/2] KVM: PPC: e500: Rip out "struct tlbe_ref"
      https://github.com/kvm-x86/linux/commit/3271085a7f10

--
https://github.com/kvm-x86/linux/tree/next
Re: [PATCH 0/2] KVM: PPC: e500: Fix build error due to crappy KVM code
Posted by Madhavan Srinivasan 1 month ago
On 3/5/26 10:37 PM, Sean Christopherson wrote:
> On Tue, 03 Mar 2026 11:03:37 -0800, Sean Christopherson wrote:
>> Fix an e500 build error that was introduced by the recent kmalloc_obj()
>> conversion, but in reality is due to crappy KVM code that has existed for
>> ~13 years.
>>
>> I'm taking this through kvm-x86 fixes, because it's breaking my testing setup,
>> and obviously no one cares about KVM e500 since PPC_WERROR is default 'y' and
>> needs to be explicitly disabled via PPC_DISABLE_WERROR.
>>
>> [...]
> Applied to kvm-x86 fixes, thanks!
>
> [1/2] KVM: PPC: e500: Fix build error due to using kmalloc_obj() with wrong type
>        https://github.com/kvm-x86/linux/commit/a223ccf0af6e
> [2/2] KVM: PPC: e500: Rip out "struct tlbe_ref"
>        https://github.com/kvm-x86/linux/commit/3271085a7f10
I added this to my fixes-test, will pull it since you are taking it.

Maddy

> --
> https://github.com/kvm-x86/linux/tree/next