Re: Safety of IRQ during i/o

From: Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Date: Wed Jul 24 2002 - 17:42:47 EST


On Wed, 24 Jul 2002, Pete Zaitcev wrote:

> >[...]
> > I would think that this would be safe when using DMA, and likely to be
> > safe for PIO and more recent chipsets, but I wouldn't want to actually
> > tell anyone that.
>
> A little story from OLS. I have a 486/75 laptop, which can only
> do PIO. It always was losing characters evern on 9600 baud on its
> serial port, and I thought it was simply broken for five years.

:-)

> A guy who did a security talk showed me that doing hdparm -u
> fixes the problem. Apparently, the lappy has a non-buffering UART.
>
> So, it seems that hdparm -u is a very useful thing for obsotele
> boxes. If you do DMA, you probably do not care.

Yup, for PIO unmask (if possible) is a must.

--bzolnier

> -- Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:17 EST