Re: [PATCH v2 33/34] ARM: mmu32: Skip reserved ranges during initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.05.23 16:55, Sascha Hauer wrote:
> On Wed, May 17, 2023 at 04:43:39PM +0200, Ahmad Fatoum wrote:
>> I am a bit bothered by the asymmetry here: Reserved regions in the extra memory banks
>> will be initially uncached (because outside initmem), so this loop does the correct thing.
>>
>> For reserved regions within the initial memory, only the OP-TEE region would be uncached,
>> everything else would just be requested, but is still mapped cacheable.
>>
>> IMO, that's surprising behavior.
> 
> I agree. What would you suggest. Map all reserved regions uncached?

That would be my preference, yes. Then as a future step, we could elect to parse the
reserved entries in PBL to be able to handle OP-TEE or whatever even in middle of RAM.

Cheers,
Ahmad

> 
> Sascha
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux