summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorJoe Finzel <joe@sudmix.de>2026-10-23 11:38:05 +0200
committerDave Airlie <airlied@redhat.com>2026-11-10 14:23:47 +1000
commit54d3ff1b5ac08d0e28029b93a1719ddd9ff670a4 (patch)
tree1f83c5e02941542c3fd017ae37de1b385536383b /rust/kernel/alloc/kvec/errors.rs
parent01587a94cfa88a7b629446dfbd259b6019af9c27 (diff)
drm/nouveau/gsp: only handle GSP interrupts routed to the host
The GSP's interrupt handler takes every pending interrupt the RISC-V IRQMASK enables as its own, without looking at IRQDEST, which says whether an interrupt goes to the host or to the GSP itself. One that belongs to GSP-RM, pending when the host's handler runs for the message queue, is reported as unknown, cleared and masked off with IRQMCLR, taking it away from the firmware: nouveau 0000:01:00.0: gsp: intr 00040000 NVIDIA's driver reads the interrupts routed to the host as IRQSTAT & IRQMASK & IRQDEST (kflcnRiscvReadIntrStatus_TU102() and _GA102()). Do the same, with IRQDEST from NVIDIA's register headers next to IRQMASK on each falcon. Seen once in a few boots on an RTX 3070 Ti (GA104, GSP-RM 570.144), before the login prompt. There IRQMASK reads 0x01049042 and IRQDEST 0x01000040: 0x00040000 is enabled but routed to the GSP. Fixes: 830531e94712 ("drm/nouveau/gsp/r535: add interrupt handling") Cc: stable@vger.kernel.org Signed-off-by: Joe Finzel <joe@sudmix.de> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patch.msgid.link/20261023-nouveau-gsp-irqdest-v1-1-5dd6131faa14@sudmix.de
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions