aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2025-05-23 16:53:48 +0800
committerAnup Patel <anup@brainfault.org>2025-06-16 09:17:28 +0530
commit6f8bcae4cb12d92e0c198ba3b7e2f56e2fbb7289 (patch)
treec6c8bc357563ab5695c0ba528de3f2eeee2894ca /lib/utils/cppc
parent771c656181c360ed351a4a96a3e25102cbc140b9 (diff)
downloadopensbi-6f8bcae4cb12d92e0c198ba3b7e2f56e2fbb7289.zip
opensbi-6f8bcae4cb12d92e0c198ba3b7e2f56e2fbb7289.tar.gz
opensbi-6f8bcae4cb12d92e0c198ba3b7e2f56e2fbb7289.tar.bz2
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 <anup@brainfault.org> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Link: https://lore.kernel.org/r/20250523085348.1690368-1-inochiama@gmail.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions