Re: piix4-poweroff.c I/O BAR usage

2020-05-22 Thread Maciej W. Rozycki
On Thu, 21 May 2020, Paul Burton wrote: > I'm reachable but lacking free time & with no access to Malta hardware > I can't claim to be too useful here, so thanks for responding :) Great you're still around! I hope you're doing good in this difficult time, and overall. I have recently learnt W

Re: piix4-poweroff.c I/O BAR usage

2020-05-21 Thread Paul Burton
Hello, On Thu, May 21, 2020 at 6:04 PM Maciej W. Rozycki wrote: > Paul may or may not be reachable anymore, so I'll step in. I'm reachable but lacking free time & with no access to Malta hardware I can't claim to be too useful here, so thanks for responding :) Before being moved to a driver (w

Re: piix4-poweroff.c I/O BAR usage

2020-05-21 Thread Maciej W. Rozycki
Hi Bjorn, Paul may or may not be reachable anymore, so I'll step in. > This looks like it might be a bug: > > static const int piix4_pm_io_region = PCI_BRIDGE_RESOURCES; > > static int piix4_poweroff_probe(struct pci_dev *dev, > const struct pci_device_id

piix4-poweroff.c I/O BAR usage

2020-05-20 Thread Bjorn Helgaas
Hi Paul, This looks like it might be a bug: static const int piix4_pm_io_region = PCI_BRIDGE_RESOURCES; static int piix4_poweroff_probe(struct pci_dev *dev, const struct pci_device_id *id) { ... /* Request access to the PIIX4 PM IO regi