diff options
| author | Anup Patel <[email protected]> | 2026-02-13 11:23:38 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-03-22 10:52:45 +0530 |
| commit | 5a300b32d546d226e55361e47d07b1c9171f07c8 (patch) | |
| tree | 7bf83d20da7ff79fac2f2f838a5f183fdf842699 /include | |
| parent | 6d68f3bebd206314a5b194004249524dbc0da075 (diff) | |
lib: utils/irqchip: Add IDC to hartindex map in struct aplic_data
A platform can have multiple APLICs in direct-mode targetting
different subset of harts. Add APLIC ID to hartindex map in
struct aplic_data to capture the set of harts targeted by a
given APLIC in direct-mode.
Signed-off-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/irqchip/aplic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sbi_utils/irqchip/aplic.h b/include/sbi_utils/irqchip/aplic.h index cbfcd3fd..ad613778 100644 --- a/include/sbi_utils/irqchip/aplic.h +++ b/include/sbi_utils/irqchip/aplic.h @@ -45,6 +45,7 @@ struct aplic_data { bool has_msicfg_smode; struct aplic_msicfg_data msicfg_smode; struct aplic_delegate_data delegate[APLIC_MAX_DELEGATE]; + u32 *idc_map; }; int aplic_cold_irqchip_init(struct aplic_data *aplic); |
