diff options
author | 2024-02-22 15:09:54 +0530 | |
---|---|---|
committer | 2024-02-23 10:18:44 +0100 | |
commit | 95652106478030f54620b1f0d28f78ab110b3212 (patch) | |
tree | 9891cab7871af02fb9b26ce106a3f50fdfa15dc2 /scripts/generate_rust_analyzer.py | |
parent | irqchip/sifive-plic: Cleanup PLIC contexts upon irqdomain creation failure (diff) | |
download | linux-rng-95652106478030f54620b1f0d28f78ab110b3212.tar.xz linux-rng-95652106478030f54620b1f0d28f78ab110b3212.zip |
irqchip/sifive-plic: Parse number of interrupts and contexts early in plic_probe()
The SiFive PLIC driver needs to know the number of interrupts and contexts
to complete initialization. Parse these details early in plic_probe() to
avoid unnecessary memory allocations and register mappings if these details
are not available.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240222094006.1030709-7-apatel@ventanamicro.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions