Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Add intr_mask() / intr_unmask() interface to mask / unmask individual interrupt sources




> On Nov 30, 2019, at 9:48 AM, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> 
> Just please make sure that the i2c code (espeically hid over i2c) can
> still run without the mask/unmask MD parts (this will probably require some
> #ifdef unfortunably).

That's not possible -- the whole point is to get rid of i2c access in interrupt context (because it's not safe, even with I2C_F_POLL).

-- thorpej



Home | Main Index | Thread Index | Old Index