Re: [PATCH 1/3] ARM: cpu: suppress arm_early_mmu_cache_invalidate if dcache enabled

Ahmad Fatoum <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
Hello Lucas,

On 7/7/26 7:20 PM, Ahmad Fatoum wrote:
>> Also, by moving the call to a later point in the init flow later in the
>> series, are you sure that the invalidate happens before the I cache
>> gets enabled in arm_cpu_lowlevel_init()?
> arm_cpu_lowlevel_init() invalidates I cache on ARMv6 and ARMv7.
> I believe on ARMv8, it's not necessary?
> 
> Interestingly, for ARMv8, I-Cache looks like it is only enabled early
> for EL3, but for EL2/1, it's enabled in mmu_early_enable(). Any reason
> for that?

Any thoughts on this?

Cheers,
Ahmad


-- 
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 |
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.