Re: Athlon: Try this (was: Re: Athlon bug stomping #2)

VDA
2001-09-14T18:44:31Z

Hello Petr,
Saturday, September 15, 2001, 10:16:59 AM, you wrote:
PV> Hi,
PV> I'll sleep much better with ...

>> +static void __init pci_fixup_athlon_bug(struct pci_dev *d)
>> +{
>> + u8 v;
>> + printk("Trying to stomp on Athlon bug...\n");
>> + pci_read_config_byte(d, 0x55, &v);
PV>+ if (v & 0x80) {
>> + v &= 0x7f; /* clear bit 55.7 */
>> + pci_write_config_byte(d, 0x55, v);
PV>+ }

How about this:

+static void __init pci_fixup_athlon_bug(struct pci_dev *d)
+{
+ u8 v;
+ pci_read_config_byte(d, 0x55, &v);
+ if(v & 0x80) {
+ printk(KERN_NOTICE "Stomping on Athlon bug.\n");
+ v &= 0x7f; /* clear bit 55.7 */
+ pci_write_config_byte(d, 0x55, v);
+ }
+}

Well, these are cosmetic changes anyway...
What is more important now:
1) Do we have people who still see Athlon bug with the patch?
2) Do Alan read these messages? ;-)
--
Best regards, VDA
mailto:VDA@port.imtp.ilyichevsk.odessa.ua