Skip to contentSkip to conversation

Migrate 64bit entries to 64bit pci regions

PATCH Gerd Hoffmann 2 participants 3 messages May 2, 2012 – May 12, 2012 8 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

Hi,

Quoted 2 lines

Is this just a matter of removing the "if (pci_bdf_to_bus(pci->bdf) !=
0) break" from pci_bios_init_devices()?

Seems to do the trick, at least the disks connected appear in the boot menu now and the seabios log file looks sane.

The guest kernel has no virtio-scsi drivers though, need to update it for more testing.

Quoted 2 lines

The code should probably handle the irq swizzling that pci bridges do though.

i.e. add bridge handling to pci_slot_get_irq() ?

cheers,
Gerd

#8 lore raw
Quoted 8 lines · Gerd Hoffmann

Hi,

Quoted 2 lines

Is this just a matter of removing the "if (pci_bdf_to_bus(pci->bdf) !=
0) break" from pci_bios_init_devices()?

Seems to do the trick, at least the disks connected appear in the boot menu now and the seabios log file looks sane.

Quoted 7 lines

The guest kernel has no virtio-scsi drivers though, need to update it for more testing.

Quoted 2 lines

The code should probably handle the irq swizzling that pci bridges do though.

i.e. add bridge handling to pci_slot_get_irq() ?

Yes.

-Kevin

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Re: [Qemu-devel] [PATCH 12/12] Fix 64bit PCI issues on Windows

Quoted 3 lines · Alexey Korolev

This patch solves issues on Windows guests, when 64bit BAR's are present. It is also helpful on Linux guests when use_crs kernel boot option is set.

Unfortunately, this patch causes problems for WinXP, so I reverted it.

-Kevin