Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-10 Thread Laszlo Ersek
On 06/09/22 16:03, Kevin Locke wrote: > On Thu, 2022-06-09 at 09:45 +0200, Laszlo Ersek wrote: >> (2) Assigned PCI Express GPUs that offer legacy VGA compatibility, >> and that such compatibility is expected of (due to booting with >> SeaBIOS, or due to UEFI driver bugs or nati

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Kevin Locke
Thanks Laszlo, I really appreciate the detailed explanation and feedback! On Thu, 2022-06-09 at 09:45 +0200, Laszlo Ersek wrote: > (a) your original (non-functional) use case: > > qemu-system-x86_64 \ > -no-user-config \ > -nodefaults \ > -machine q35,accel=kvm \ > -m 1G \ > -

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Gerd Hoffmann
Hi, > I find this too general; a PCI Express device is supposed to work > without IO resources. Graphics cards with legacy VGA compatibility are > the exception AIUI (see again Alex's blog about VGA arbitration), so we > should spell that out. Yes, it's an exception specifically for VGA ports.

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Laszlo Ersek
On 06/09/22 09:45, Laszlo Ersek wrote: > +Alex > > On 06/09/22 04:00, Kevin Locke wrote: > *In theory*, scenario (b) applies to "bochs-display" and > "virtio-gpu-pci" when you plug them into a legacy PCI slot: > >> Plugging a PCI Express device into a PCI slot will hide the Extended >> Configura

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Laszlo Ersek
+Alex On 06/09/22 04:00, Kevin Locke wrote: > ioport access is required for VESA BIOS Extensions (VBE). Since ioport > access is not forwarded over PCI(e) bridges, graphics adapters must be > attached directly to the Root Complex in order for the BIOS to provide > VBE modes. I'm very grateful to

[RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-08 Thread Kevin Locke
ioport access is required for VESA BIOS Extensions (VBE). Since ioport access is not forwarded over PCI(e) bridges, graphics adapters must be attached directly to the Root Complex in order for the BIOS to provide VBE modes. I'm very grateful to Gerd Hoffmann for explaining this on the SeaBIOS mai