[PATCH 0/5] Update GRLIB L2C driver for technical note TN-0021

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 17 07:38:11 UTC 2024


Hello Martin,

I suggest to remove the grlib/l2c cache support and make sure that 
everything is available through the RTEMS Cache Manager.

On 16.01.24 16:48, Sebastian Huber wrote:
> Hello Martin,
> 
> we have also the Cache Manager support in 
> bsps/sparc/leon3/start/cache.c. At least the lock should be shared 
> between these two implementations to ensure that there is no concurrent 
> access.
> 
> What is the use case for this driver in grlib? Is it used by the Cache 
> Manager API?
> 
> On 16.01.24 15:06, Martin Åberg wrote:
>> Implement workarounds for GRLIB-TN-0021 ("Level-2 Cache Issues H1
>> 2023") in the GRLIB L2C driver manager device driver.
>>
>>
>> Martin Åberg (5):
>>    grlib/l2c: Fix whitespace
>>    grlib/l2c: Use printk for debug print
>>    grlib/l2c: Access registers with helper functions
>>    grlib/l2c: Write to flush registers using atomic instructions
>>    grlib/l2c: Prevent concurrent register access
>>
>>   bsps/shared/grlib/l2c/l2c.c | 267 ++++++++++++++++++++++--------------
>>   1 file changed, 166 insertions(+), 101 deletions(-)
>>
> 

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list