summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/shmparam.h
diff options
context:
space:
mode:
authorKarimAllah Ahmed <karahmed@amazon.de>2018-10-20 23:42:59 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2018-10-24 12:47:16 +0200
commit22a7cdcae6a4a3c8974899e62851d270956f58ce (patch)
tree9e7b2e99797597a13f580187702a8a447360eb20 /arch/arm/include/asm/shmparam.h
parentf9dcf08e2017cad12d771cdd862c8c314b885615 (diff)
downloadtalos-obmc-linux-22a7cdcae6a4a3c8974899e62851d270956f58ce.tar.gz
talos-obmc-linux-22a7cdcae6a4a3c8974899e62851d270956f58ce.zip
KVM/nVMX: Do not validate that posted_intr_desc_addr is page aligned
The spec only requires the posted interrupt descriptor address to be 64-bytes aligned (i.e. bits[0:5] == 0). Using page_address_valid also forces the address to be page aligned. Only validate that the address does not cross the maximum physical address without enforcing a page alignment. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: x86@kernel.org Cc: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Fixes: 6de84e581c0 ("nVMX x86: check posted-interrupt descriptor addresss on vmentry of L2") Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de> Reviewed-by: Jim Mattson <jmattson@google.com> Reviewed-by: Krish Sadhuhan <krish.sadhukhan@oracle.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/shmparam.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud