diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-11-16 17:58:21 +0000 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-29 16:46:18 +0100 |
commit | 5553b142be11e794ebc0805950b2e8313f93d718 (patch) | |
tree | 078746e3b57bea1b83d13c71ad63dad5cfeca09f /scripts | |
parent | 26aa7b3b1c0fb3f1a6176a0c1847204ef4355693 (diff) | |
download | talos-obmc-linux-5553b142be11e794ebc0805950b2e8313f93d718.tar.gz talos-obmc-linux-5553b142be11e794ebc0805950b2e8313f93d718.zip |
arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
VTTBR_BADDR_MASK is used to sanity check the size and alignment of the
VTTBR address. It seems to currently be off by one, thereby only
allowing up to 39-bit addresses (instead of 40-bit) and also
insufficiently checking the alignment. This patch fixes it.
This patch is the 32bit pendent of Kristina's arm64 fix, and
she deserves the actual kudos for pinpointing that one.
Fixes: f7ed45be3ba52 ("KVM: ARM: World-switch implementation")
Cc: <stable@vger.kernel.org> # 3.9
Reported-by: Kristina Martsenko <kristina.martsenko@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions