[coreboot] proposed patch, notsigned off, comments welcome.

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun May 11 22:09:50 CEST 2008


On 11.05.2008 21:33, ron minnich wrote:
> This is a first try at a program to grok lxirqs.
>
> Sanity check first, I'm not signing this off yet. Are the enable and
> invert tests correct below?
>
> Long term goal is a program that will follow the IRQ through the magic
> rabbit hole and up
> to the CPU. I don't know how to do vr reads in user mode, however.
>   

What do you mean with VR? MSRs? If so, we have code in flashrom you can
copy (it's basically opening /dev/msr as file, then seeking to the
desired MSR, followed by read/write). Pleas be aware that you need to
modprobe msr before using /dev/msr.

> Here's the current output on alix1c, which is strange looking to me.
> IRQ A, GPIO pin 0
> Input Enabled and Not Inverted
> IRQ B, GPIO pin 7
> Input Enabled and Inverted
> IRQ C, GPIO pin 12
> Input Enabled and Inverted
> IRQ D, GPIO pin 13
> Input Disabled and Not Inverted
>   

Regards,
Carl-Daniel




More information about the coreboot mailing list