Lukasz Wiecaszek 95167db37c arm: Check FEAT_CCIDX when parsing ccsidr_el1 register
Current Cache Size ID Register (ccsidr_el1) has two "flavors"
depending on whether FEAT_CCIDX is implemented or not.
When FEAT_CCIDX is implemented Associativity parameter
is coded on bits [23:3] and NumSets parameter on bits [55:32].
When FEAT_CCIDX is not implemented then Associativity parameter
is coded on bits [12:3] and NumSets parameter on bits [27:13].
Current U-Boot code does not check whether FEAT_CCIDX is implemented
and always parses ccsidr_el1 as if FEAT_CCIDX was not implemented.
This is of course wrong on systems where FEAT_CCIDX is implemented.
This patch fixes that problems and tests whether FEAT_CCIDX
is implemented or not and accordingly parses the ccsidr_el1 register.

Signed-off-by: Lukasz Wiecaszek <lukasz.wiecaszek@gmail.com>
2024-03-19 18:40:47 -04:00
..
2023-04-25 15:31:27 -04:00
2023-03-06 17:03:55 -05:00
2022-04-01 16:56:53 -04:00
2023-01-31 15:46:39 +01:00
2023-01-18 11:49:13 -07:00
2023-06-12 13:24:31 +02:00
2023-02-07 14:33:49 -05:00
2023-01-31 15:46:39 +01:00
2024-02-29 09:24:22 -05:00