qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] LSI53C895A: Implemented 64-bit Block Moves
@ 2008-12-08 18:07 Ryan Harper
  2008-12-08 18:07 ` [Qemu-devel] [PATCH 1/4] LSI53C895A: Rename dmbs register to dbms Ryan Harper
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ryan Harper @ 2008-12-08 18:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ryan Harper, kvm

This patch series implements 64-bit Block Moves[1].  The LSI device supports
issuing 64-bit DMA block moves using a number of methods; 64-bit Direct, 64-bit
Indirect, 64-bit Table Indirect.  64-bit Direct requires fetching a third dword
from SCRIPTS buffer which will contain the upper 32-bits of the target DMA
address.  64-bit Table Indirect extracts an encoding of which register contains
the upper 32-bit address for the DMA.

The following guests now work with the patch series applied:

- Any Linux where drivers/scsi/sym53c8xx_2/ is configured with
  SYM_CONF_DMA_ADDRESSING_MODE=2 which uses 64-bit Table Indirect block moves
- Windows XP x64, which uses 64-bit Direct moves.
- Windows 2003 SP2 x64, which uses 64-bit Direct moves.

The 4 patches do the following:

Patch1: rename lsi register DMBS to DBMS
Patch2: Implement 64-bit block moves (direct and table indirect)
Patch3: Implement Target Reset SCSI Message
Patch4: Implement 64-bit mode Linux quirk for Table Indirect moves

Details included in each patch.

This patch series was tested on top of kvm-userspace as current Qemu bits even
with -enable-kvm don't want to run Windows x64.

1.  http://www.lsi.com/DistributionSystem/AssetDocument/files/docs/techdocs/storage_stand_prod/SCSIControllers/lsi53c895a_tech_manual.pdf  Page 227 (Section 5.3)

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-12-10 15:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 18:07 [Qemu-devel] [PATCH 0/4] LSI53C895A: Implemented 64-bit Block Moves Ryan Harper
2008-12-08 18:07 ` [Qemu-devel] [PATCH 1/4] LSI53C895A: Rename dmbs register to dbms Ryan Harper
2008-12-10 15:39   ` [Qemu-devel] " Anthony Liguori
2008-12-08 18:07 ` [Qemu-devel] [PATCH 2/4] Add 64-bit Block Move support (Direct & Table Indirect) Ryan Harper
2008-12-10 15:39   ` [Qemu-devel] " Anthony Liguori
2008-12-08 18:07 ` [Qemu-devel] [PATCH 3/4] LSI53C895A: Implement TARGET RESET message Ryan Harper
2008-12-08 18:38   ` Paul Brook
2008-12-08 18:41     ` Ryan Harper
2008-12-08 18:58     ` Ryan Harper
2008-12-08 23:36       ` Paul Brook
2008-12-08 23:49         ` Ryan Harper
2008-12-08 18:07 ` [Qemu-devel] [PATCH 4/4] LSI53C895A: Don't reset scratch C-R on soft reset Ryan Harper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).