KVM: PPC: Book3S HV P9: Tidy kvmppc_create_dtl_entry
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:29 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:09:03 +0000 (21:09 +1100)
commit617326ff01df30796d897895ebd18ce583c9b883
tree47684642caac7b5bfa262d1be3b90a164f9ad107
parentecb6a7207f92e33c2b7a1271165ecf5d8f420bba
KVM: PPC: Book3S HV P9: Tidy kvmppc_create_dtl_entry

This goes further to removing vcores from the P9 path. Also avoid the
memset in favour of explicitly initialising all fields.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-52-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c