Re: [PATCH v3 3/4] ide/via: don't attempt to set default BAR addresses

2023-11-16 Thread Philippe Mathieu-Daudé
On 16/11/23 11:33, Mark Cave-Ayland wrote: The via-ide device currently attempts to set the default BAR addresses to the values shown in the datasheet, but this doesn't work for 2 reasons: firstly BARS 1-4 do not set the bottom 2 bits to PCI_BASE_ADDRESS_SPACE_IO, and secondly the initial PCI bus

[PATCH v3 3/4] ide/via: don't attempt to set default BAR addresses

2023-11-16 Thread Mark Cave-Ayland
The via-ide device currently attempts to set the default BAR addresses to the values shown in the datasheet, but this doesn't work for 2 reasons: firstly BARS 1-4 do not set the bottom 2 bits to PCI_BASE_ADDRESS_SPACE_IO, and secondly the initial PCI bus reset clears the values of all PCI device BA