PIIX4 and fix_hstcfg

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

 



Hello all,

We have in the i2-piix4 the fix_hstcfg option and it seems we should move it to pci/quirks.c
The new serverworks chipsets do not need it and because they have bit different interrupt select
field the message about fix_hstcfg will appear. And if the user do it it wont work or freeze.

As to remind I created this modified table with the serverworks int bit in place:

Address Offset:         D2h
Default Value:          00h
Attribute:              Read/Write
    Bit                                               Description
    7:4    Reserved.
    3:1    SMBus Interrupt Select (SMB_INTRSEL)--R/W. Selects the type of interrupt generated by the
           SMBus controller. This field is decoded as follows:
           Bits[3:1]      SMBus Interrupt                Bits[3:1] SMBus Interrupt
              000         SMI#                             100     IRQ9
              001         Serverworks IRQ                  101     Reserved
              010         Reserved                         110     Reserved
              011         Reserved                         111     Reserved
     0     SMBus Controller Host Interface Enable (SMB_HST_EN)--R/W. 1=Enable the SMBus
           Controller Host Interface. 0=Disable.

 if (fix_hstcfg) {
                        dev_info(&PIIX4_dev->dev, "Working around buggy BIOS "
                                        "(I2C)\n");
                        temp &= 0xfd;

So this just cleans bit 1 effectively switching the serverworks IRQ mode to SMI (in fact) (If I remember correctly the motherboard
had some incarnation of serverworks chipset.)

Tom, please can you supply the lspci -v -v -v of that machine so a quirk can be developed?

If you dont have the machine anymore I think we can drop that option anyway because I googled hard and it seemed nobody else had
similar problems.

Regards
Rudolf





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux