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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 17 Dec 2010 15:12:04 +0530
From:	SAURABH MALPANI <saurabh140585@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: How to know which interrupt is executing

On Fri, Dec 17, 2010 at 2:59 PM, SAURABH MALPANI
<saurabh140585@...il.com> wrote:
>
> Hello,
> I am not subscribed to this list. So I request to reply to me directly.
> Based on what I looked into the code, the answer is no, but I believe there are many better people who can give an opinion.
> The kernel in_irq() macro returns if the kernel is in interrupt context. But there is no way of knowing which irq the code is running.
> It might seem an odd idea, but I am writing some code which maintains a data structure per irq. Right now I am managing by patching
> manually, but is there any way of getting the value of currently executing interrupt vector. In a generic way? or in a architecture specific way?
>
> --
> Saurabh



--
Saurabh
--
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