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>] [day] [month] [year] [list]
Date:	Tue, 18 Feb 2014 15:18:49 +0800
From:	carl peng <carlpeng008@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Does it need to implement irq_set_type method in the ioapic_chip?

Hi,

I'm sorry to bother you!
Does it need to implement irq_set_type method in the
ioapic_chip(arch/x86/kernel/apic/io_apic.c) structure?

Recently,  I developed a device driver based on x86. The device uses a
falling edge interrupt trigger mode, so I have to set the trigger mode
in the request_irq function, but found that it can not be set
successfully, it turn out to be that the irq_set_type method is not be
implemented in the ioapic_chip structure, that is to say, for APIC
interrupt controller, can not set the trigger mode.

So I would like to consult with you for two questions:
1. Does it need to implement irq_set_type method in the ioapic_chip structure?
2. if no need to implement it, how can device driver set the trigger
mode of APIC interrupt controller pin?

Thank you!
Carl
--
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