aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorAlan Mikhak <[email protected]>2019-10-24 16:11:43 +0000
committerMarc Zyngier <[email protected]>2019-10-25 10:48:13 +0000
commit41860cc447045c811ce6d5a92f93a065a691fe8e (patch)
tree0b6d84b4dd0c2ad5b9c7c7a5358e1771ac40b087 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentirqchip/gic-v3-its: Use the exact ITSList for VMOVP (diff)
downloadkernel-41860cc447045c811ce6d5a92f93a065a691fe8e.tar.gz
kernel-41860cc447045c811ce6d5a92f93a065a691fe8e.zip
irqchip/sifive-plic: Skip contexts except supervisor in plic_init()
Modify plic_init() to skip .dts interrupt contexts other than supervisor external interrupt. The .dts entry for plic may specify multiple interrupt contexts. For example, it may assign two entries IRQ_M_EXT and IRQ_S_EXT, in that order, to the same interrupt controller. This patch modifies plic_init() to skip the IRQ_M_EXT context since IRQ_S_EXT is currently the only supported context. If IRQ_M_EXT is not skipped, plic_init() will report "handler already present for context" when it comes across the IRQ_S_EXT context in the next iteration of its loop. Without this patch, .dts would have to be edited to replace the value of IRQ_M_EXT with -1 for it to be skipped. Signed-off-by: Alan Mikhak <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Paul Walmsley <[email protected]> # arch/riscv Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions