Re: [PATCH 1/5] target/i386: mask high bits of CR3 in 32-bit mode

2024-01-23 Thread Paolo Bonzini
On Thu, Jan 18, 2024 at 9:04 AM Michael Tokarev wrote: > > 22.12.2023 20:59, Paolo Bonzini: > > CR3 bits 63:32 are ignored in 32-bit mode (either legacy 2-level > > paging or PAE paging). Do this in mmu_translate() to remove > > the last where get_physical_address() meaningfully drops the high >

Re: [PATCH 1/5] target/i386: mask high bits of CR3 in 32-bit mode

2024-01-18 Thread Michael Tokarev
22.12.2023 20:59, Paolo Bonzini: CR3 bits 63:32 are ignored in 32-bit mode (either legacy 2-level paging or PAE paging). Do this in mmu_translate() to remove the last where get_physical_address() meaningfully drops the high bits of the address. Cc: qemu-sta...@nongnu.org Suggested-by: Richard

Re: [PATCH 1/5] target/i386: mask high bits of CR3 in 32-bit mode

2023-12-25 Thread Richard Henderson
On 12/23/23 04:59, Paolo Bonzini wrote: CR3 bits 63:32 are ignored in 32-bit mode (either legacy 2-level paging or PAE paging). Do this in mmu_translate() to remove the last where get_physical_address() meaningfully drops the high bits of the address. Cc: qemu-sta...@nongnu.org Suggested-by:

[PATCH 1/5] target/i386: mask high bits of CR3 in 32-bit mode

2023-12-22 Thread Paolo Bonzini
CR3 bits 63:32 are ignored in 32-bit mode (either legacy 2-level paging or PAE paging). Do this in mmu_translate() to remove the last where get_physical_address() meaningfully drops the high bits of the address. Cc: qemu-sta...@nongnu.org Suggested-by: Richard Henderson Fixes: 4a1e9d4d11c