diff options
| author | Lyrix liu <[email protected]> | 2026-05-22 16:06:22 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-05 08:59:01 -0300 |
| commit | 2d47fbc31d3db4d43d9c9b33432e9ef04d33bf0c (patch) | |
| tree | 6ec4f8a19b327f7b2bd026dfb6f27a1d4f2b1b61 /include/linux/bitmap.h | |
| parent | 35c47a1eab776625d9a7454bac7f7615ee4c2582 (diff) | |
arm: gic-v3-its: Fix LPI pending table size calculation
The variable `pend_tab_total_sz` is calculated using the macro
`LPI_PENDBASE_SZ`, which depends on the global variable `lpi_id_bits`.
However, `lpi_id_bits` is initialized later in the function based on
the GICD_TYPER register. This results in `pend_tab_total_sz` being
calculated with an uninitialized `lpi_id_bits` value (0), This leads
to the LPI pending tables being mapped with an incorrect size.
Fixes: 60b9b47d295b ("Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"")
Signed-off-by: Lyrix liu <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Diffstat (limited to 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions
