Skip to content

Commit 1eb4687

Browse files
nicolincjgunthorpe
authored andcommitted
iommu/tegra241-cmdqv: Use request_threaded_irq
A vEVENT can be reported only from a threaded IRQ context. Change to using request_threaded_irq to support that. Link: https://patch.msgid.link/r/f160193980e3b273afbd1d9cfc3e360084c05ba6.1752126748.git.nicolinc@nvidia.com Acked-by: Pranjal Shrivastava <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 9eb6a66 commit 1eb4687

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,9 @@ __tegra241_cmdqv_probe(struct arm_smmu_device *smmu, struct resource *res,
824824
cmdqv->dev = smmu->impl_dev;
825825

826826
if (cmdqv->irq > 0) {
827-
ret = request_irq(irq, tegra241_cmdqv_isr, 0, "tegra241-cmdqv",
828-
cmdqv);
827+
ret = request_threaded_irq(irq, NULL, tegra241_cmdqv_isr,
828+
IRQF_ONESHOT, "tegra241-cmdqv",
829+
cmdqv);
829830
if (ret) {
830831
dev_err(cmdqv->dev, "failed to request irq (%d): %d\n",
831832
cmdqv->irq, ret);

0 commit comments

Comments
 (0)