Re: [PATCH v2 2/4] arm: mm: reordering memory type table

2020-10-27 Thread Miles Chen
On Fri, 2020-10-23 at 11:16 +0100, Russell King - ARM Linux admin wrote: > On Fri, Oct 23, 2020 at 05:14:35PM +0800, Miles Chen wrote: > > From: Minchan Kim > > > > To use bit 5 in page table as L_PTE_SPECIAL, we need a room for that. > > It seems we don't need 4 bits for the memory type with ARM

Re: [PATCH v2 2/4] arm: mm: reordering memory type table

2020-10-23 Thread Russell King - ARM Linux admin
On Fri, Oct 23, 2020 at 05:14:35PM +0800, Miles Chen wrote: > From: Minchan Kim > > To use bit 5 in page table as L_PTE_SPECIAL, we need a room for that. > It seems we don't need 4 bits for the memory type with ARMv6+. > If it's true, let's reorder bits to make bit 5 free. > > We will use the bi

[PATCH v2 2/4] arm: mm: reordering memory type table

2020-10-23 Thread Miles Chen
From: Minchan Kim To use bit 5 in page table as L_PTE_SPECIAL, we need a room for that. It seems we don't need 4 bits for the memory type with ARMv6+. If it's true, let's reorder bits to make bit 5 free. We will use the bit for L_PTE_SPECIAL in next patch. A note from Catalin in [1]: " > Anyway