[PATCH 06/38] Annotate hardware config module parameters in drivers/clocksource/
David Howells
dhowells at redhat.com
Fri Apr 14 22:59:25 UTC 2017
Thomas Gleixner <tglx at linutronix.de> wrote:
> > -module_param_named(irq, timer_irq, int, 0644);
> > +module_param_hw_named(irq, timer_irq, int, irq, 0644);
> > MODULE_PARM_DESC(irq, "Which IRQ to use for the clock source MFGPT ticks.");
>
> I'm not sure about this. AFAIR the parameter is required to work on
> anything else than some arbitrary hardware which has it mapped to 0.
Should it then be set through in-kernel platform initialisation since the
AMD Geode is an embedded chip?
Btw, is it possible to use IRQ grants to prevent a device that has limited IRQ
options from being drivable?
David
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list