Re: [PATCH,CFT] Tentative fix for mem. corruption caused by intel 815 AGP

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon May 27 2002 - 09:33:01 EST


On Mon, 2002-05-27 at 12:11, Nicolas Aspert wrote:
> Just another quick thought... in all intel chipsets datasheets, the bits
> 0-11 of the ATTBASE register are also marked as 'reserved'. So far, all
> the intel_*_configure routines are writing shamelessly on these bits.
> Shouldn't we mask those bits out too (though it seems this has not
> caused any trouble so far) ?

We ought to mask and copy the original yes. The number of times we've
had Linux driver breakages by not masking and avoiding writes to
reserved bits is small but it does happen occasionally.

Alan

-
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 : Fri May 31 2002 - 22:00:20 EST