diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-02-22 12:39:54 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-23 12:18:44 +0300 |
commit | 95652106478030f54620b1f0d28f78ab110b3212 (patch) | |
tree | 9891cab7871af02fb9b26ce106a3f50fdfa15dc2 /drivers/fpga/xilinx-selectmap.c | |
parent | a15587277a246c388c83b1cd9cf7c1a868cd752f (diff) | |
download | linux-95652106478030f54620b1f0d28f78ab110b3212.tar.xz |
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 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions