commit | fc03acaeab358c008a194b78daa10e78401376a8 | [log] [tgz] |
---|---|---|
author | Atish Patra <atish.patra@wdc.com> | Tue Feb 12 03:10:11 2019 -0800 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Thu Feb 14 12:24:34 2019 +0000 |
tree | 4bb054bda7e8fc7cdfc53d7fbf39999149bfcfd7 | |
parent | 518bfe84ec417318b2470652cdb27978ddfeaa59 [diff] |
irqchip/irq-sifive-plic: Check and continue in case of an invalid cpuid. riscv_hartid_to_cpuid can return invalid cpuid for a hart that is present in DT but was never brought up. Print the appropriate warning message and continue. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>