summaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2025-05-23 16:53:48 +0800
committerAnup Patel <[email protected]>2025-06-16 09:17:28 +0530
commit6f8bcae4cb12d92e0c198ba3b7e2f56e2fbb7289 (patch)
treec6c8bc357563ab5695c0ba528de3f2eeee2894ca /lib/utils/cppc
parent771c656181c360ed351a4a96a3e25102cbc140b9 (diff)
lib: utils/irqchip: always parse msi information for each aplic device
OpenSBI only parses MSI information of the first next level subdomain for now, which makes the root domain misconfigured in some case: 1. the msi is not enabled on the first subdomain of the root domain, but other subdomains enable MSI. 2. the root domain is set as direct mode, but its subdomains enable MSI. So it is needed to parse all child of the root domain, Otherwise, the some non-root domains are broken. As the specification says, it is safe to parse the MSI information of all its subdomain and write the msiaddrcfg register of the non root domain as they are read only. Parse the aplic MSI information recursively for all aplic device. Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Inochi Amaoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions