Re: [PATCH] x86/mm: Refine address alignment checks in modify_xen_mappings_lite()

2024-03-20 Thread Roger Pau Monné
On Tue, Mar 19, 2024 at 07:58:56PM +, Andrew Cooper wrote: > Require 's' to be superpage aligned if given over a superpage mapping. This > is expected to be the case in practice, and prevents the v getting misaligned > over superpages during the processing loop. > > Rmove the requirement for

Re: [PATCH] x86/mm: Refine address alignment checks in modify_xen_mappings_lite()

2024-03-19 Thread Andrew Cooper
On 19/03/2024 7:58 pm, Andrew Cooper wrote: > Require 's' to be superpage aligned if given over a superpage mapping. This > is expected to be the case in practice, and prevents the v getting misaligned > over superpages during the processing loop. > > Rmove the requirement for 'e' to be page

[PATCH] x86/mm: Refine address alignment checks in modify_xen_mappings_lite()

2024-03-19 Thread Andrew Cooper
Require 's' to be superpage aligned if given over a superpage mapping. This is expected to be the case in practice, and prevents the v getting misaligned over superpages during the processing loop. Rmove the requirement for 'e' to be page aligned. All this is doing is forcing work for the