diff options
| author | Yanfei Xu <yanfei.xu@bytedance.com> | 2026-05-31 21:53:26 +0800 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-08-03 18:35:18 +0530 |
| commit | 5458b50b5291390ce0af2872a1baa51cc58e8f08 (patch) | |
| tree | c08d4b1a7073fb7b6c6c934bd5da183e6de5ff22 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 76ea1257924f64521f708db91c99014ce7249bbf (diff) | |
KVM: PPC: Validate irqchip index in MPIC routing
Sashiko reported that the irqchip index is not validated for PowerPC.
Add validation and reject out-of-range irqchip indexes to avoid indexing
past the routing table's chip array.
Fixes: de9ba2f36368 ("KVM: PPC: Support irq routing and irqfd for in-kernel MPIC")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://lore.kernel.org/kvm/20260525051714.485D51F000E9@smtp.kernel.org/
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Yanfei Xu <yanfei.xu@bytedance.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
