commit | d68356cc51e304ff9a389f006b6249d41f2c2319 | [log] [tgz] |
---|---|---|
author | Christoffer Dall <cdall@linaro.org> | Sun Jun 04 22:17:02 2017 +0200 |
committer | Christoffer Dall <cdall@linaro.org> | Tue Jun 06 10:16:53 2017 +0200 |
tree | 1b73905d348d12a65c425d38b5c2f0e3a3b17f19 | |
parent | 28232a4317be7ad615f0f1b69dc8583fd580a8e3 [diff] |
KVM: arm/arm64: vgic-v3: Fix nr_pre_bits bitfield extraction We used to extract PRIbits from the ICH_VT_EL2 which was the upper field in the register word, so a mask wasn't necessary, but as we switched to looking at PREbits, which is bits 26 through 28 with the PRIbits field being potentially non-zero, we really need to mask off the field value, otherwise fun things may happen. Signed-off-by: Christoffer Dall <cdall@linaro.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com>