diff options
author | KarimAllah Ahmed <[email protected]> | 2018-10-20 23:42:59 +0200 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2018-10-24 12:47:16 +0200 |
commit | 22a7cdcae6a4a3c8974899e62851d270956f58ce (patch) | |
tree | 9e7b2e99797597a13f580187702a8a447360eb20 /scripts/bpf_helpers_doc.py | |
parent | f9dcf08e2017cad12d771cdd862c8c314b885615 (diff) |
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 <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 6de84e581c0 ("nVMX x86: check posted-interrupt descriptor addresss on vmentry of L2")
Signed-off-by: KarimAllah Ahmed <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Reviewed-by: Krish Sadhuhan <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions