lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6A3F8AF4AF06764EBB67BDF72AE0FB4701417D1EBB@ly-ex-02.thrane.tt.ad>
Date:	Wed, 4 Mar 2015 09:28:34 +0000
From:	"Nielsen, David Marqvar" <david.nielsen@...ham.com>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:	"michal.simek@...inx.com" <michal.simek@...inx.com>
Subject: [PATCH] remoteproc: xilinx: Prevent auto-enabling of IRQ

Prevent auto-enabling of IRQ - the firmware should do this when ready

Signed-off-by: David Marqvar Nielsen <david.nielsen@...ham.com>
---
 drivers/remoteproc/zynq_remoteproc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/remoteproc/zynq_remoteproc.c b/drivers/remoteproc/zynq_remoteproc.c
index 7a7d711..b4723dc 100644
--- a/drivers/remoteproc/zynq_remoteproc.c
+++ b/drivers/remoteproc/zynq_remoteproc.c
@@ -375,6 +375,8 @@ static int zynq_remoteproc_probe(struct platform_device *pdev)

                dev_dbg(&pdev->dev, "%d: Alloc irq: %d\n", count, tmp->irq);

+               /* Prevent auto-enabling of IRQ */
+               irq_set_status_flags(tmp->irq, IRQ_NOAUTOEN);
                /* Allocating shared IRQs will ensure that any module will
                 * use these IRQs */
                ret = request_irq(tmp->irq, zynq_remoteproc_interrupt, 0,
--
1.8.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ