[parisc-linux] HPMC while doing iodc INIT_MOD

Grant Grundler grundler@dsl2.external.hp.com
Thu, 10 Oct 2002 09:52:12 -0600

Bruno Vidal wrote:
> I've read that while doing iodc INIT it can produce interrupt.
> but interruption are not disable in my case, so do you think I need to
> disable all interruption, and how ?

While IODC doesn't *use* interrupts (it polls), I guess IODC could
generate interrupts.  Normally I'd expect the IO_RESET_AND_CLEAR to
reset all IOSAPICs and thus disable IO interrupts.

I'm also wondering how this would work on an SMP machine. We would
need to "capture" all the CPUs and set the EIEM in each one.

You probably want to see how HPUX is handling this instead of
"re-inventing" it.

Can you make a patch available that we can review?
I'm happy to host that on gsyprf10 thought ftp.p-l.o/patches
would be the "right" place.