Revert "arm64: KVM: Hide PMU from guests when disabled"
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 8 Jan 2018 14:19:31 +0000 (15:19 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 8 Jan 2018 14:19:31 +0000 (15:19 +0100)
commitf3721c70fc2b1216db26ce8aabf23b4d7cc4a0a6
treeb54e33a9d6877fa3e4761abb32768bb66e524fc3
parente5a2cfb492d5f25f96fa06170dba7494355c5969
Revert "arm64: KVM: Hide PMU from guests when disabled"

Commit 0c0543a128bd1c6a4c8610d0d9d869053fa2fbf5 breaks migration and
introduces a regression with existing userspace because it introduces an
ordering requirement of setting up all VCPU features before writing ID
registers which we didn't have before.

Revert this commit for now until we have a proper fix.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c