[SeaBIOS] [PATCH 0/3] Run pvscsi driver entirely in 32bit mode.

Kevin O'Connor kevin at koconnor.net
Fri Dec 27 18:17:42 CET 2013


As with the recent change to AHCI, if the pvscsi driver needs to jump
into 32bit mode to access a register, then it's better to run the
pvscsi driver entirely in 32bit mode.

Evgeny, can you take a look at this and give it a test?  Also, what
command line do you use for testing?

I tried testing locally by adding:

-device pvscsi,id=pvscsi0 -device scsi-disk,bus=pvscsi0.0,drive=drive0 -drive id=drive0,if=none,file=dos-drivec-new

to my qemu command line (both qemu v1.6 and qemu v1.7), but it doesn't
work for me even before my changes.  It hangs in
pvscsi_wait_intr_cmpl().

-Kevin


Kevin O'Connor (3):
  pvscsi: Don't store reference to struct pci_device.
  pvscsi: Always run entirely in 32bit mode.
  pvscsi: Remove use of LOWFLAT and GLOBALFLAT macros.

 Makefile          |   4 +--
 src/block.c       |   8 +++--
 src/hw/blockcmd.c |   3 +-
 src/hw/pvscsi.c   | 106 +++++++++++++++++++++++++-----------------------------
 4 files changed, 58 insertions(+), 63 deletions(-)

-- 
1.8.3.1




More information about the SeaBIOS mailing list