Re: [PATCH 3/7] xen/arm32: head: Introduce get_table_slot() and use it

2022-08-15 Thread Bertrand Marquis
Hi Julien, > On 12 Aug 2022, at 20:24, Julien Grall wrote: > > From: Julien Grall > > There are a few places in the code that need to find the slot at a > given page-table level. > > So create a new macro get_table_slot() for that. This will reduce > the effort to figure out whether the code

Re: [PATCH 3/7] xen/arm32: head: Introduce get_table_slot() and use it

2022-08-14 Thread Wei Chen
Hi Julien, On 2022/8/13 3:24, Julien Grall wrote: From: Julien Grall There are a few places in the code that need to find the slot at a given page-table level. So create a new macro get_table_slot() for that. This will reduce the effort to figure out whether the code is doing the right thing.

[PATCH 3/7] xen/arm32: head: Introduce get_table_slot() and use it

2022-08-12 Thread Julien Grall
From: Julien Grall There are a few places in the code that need to find the slot at a given page-table level. So create a new macro get_table_slot() for that. This will reduce the effort to figure out whether the code is doing the right thing. The new macro is using 'ubfx' (or 'lsr' for the fir