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

Alan Cox (alan@lxorguk.ukuu.org.uk)
27 May 2002 15:33:01 +0100


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/