]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6608d0ef581eada36bb5ba9a18238aa7bed9670f
tree47684642caac7b5bfa262d1be3b90a164f9ad107
parentdb4e28aadb40eea33f801125ada5dc90d7bbc1cf
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