Home
last modified time | relevance | path

Searched hist:a7a2c72ae01483d3923b18ee18c8007de2bc5e20 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm64/kvm/
H A Darm.cdiff a7a2c72ae01483d3923b18ee18c8007de2bc5e20 Fri Jun 09 21:00:44 CEST 2023 Oliver Upton <oliver.upton@linux.dev> KVM: arm64: Separate out feature sanitisation and initialisation

kvm_vcpu_set_target() iteratively sanitises and copies feature flags in
one go. This is rather odd, especially considering the fact that bitmap
accessors can do the heavy lifting. A subsequent change will make vCPU
features VM-wide, and fitting that into the present implementation is
just a chore.

Rework the whole thing to use bitmap accessors to sanitise and copy
flags.

Link: https://lore.kernel.org/r/20230609190054.1542113-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
/linux/arch/arm64/include/asm/
H A Dkvm_host.hdiff a7a2c72ae01483d3923b18ee18c8007de2bc5e20 Fri Jun 09 21:00:44 CEST 2023 Oliver Upton <oliver.upton@linux.dev> KVM: arm64: Separate out feature sanitisation and initialisation

kvm_vcpu_set_target() iteratively sanitises and copies feature flags in
one go. This is rather odd, especially considering the fact that bitmap
accessors can do the heavy lifting. A subsequent change will make vCPU
features VM-wide, and fitting that into the present implementation is
just a chore.

Rework the whole thing to use bitmap accessors to sanitise and copy
flags.

Link: https://lore.kernel.org/r/20230609190054.1542113-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>