qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Ryan Harper <ryanh@us.ibm.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: [Qemu-devel] Re: [PATCH 2/4] Add 64-bit Block Move support (Direct & Table Indirect)
Date: Wed, 10 Dec 2008 09:39:34 -0600	[thread overview]
Message-ID: <493FE2B6.8030007@codemonkey.ws> (raw)
In-Reply-To: <1228759670-31113-3-git-send-email-ryanh@us.ibm.com>

Ryan Harper wrote:
> This patch adds support for 64-bit Block Move instructions.  There are multiple
> modes for 64-bit Block moves, direct, indirect, and table indirect.  This patch
> implements Direct and Table indirect moves which are needed by 64-bit windows
> and SYM_CONF_DMA_ADDRESSING_MODE=2 for the Linux sym53c8xx_2 driver respectively.
> 
> Two helper functions are included to check which mode the guest is using.  For
>  64-bit direct moves, we fetch a 3rd DWORD and store the value in the DBMS
> register.  For Table Indirect moves, we look into the table for which register
> contains the upper 32-bits of the 64-bit address.  This selector value indicates
> which register to pull the value from and into dnad64 register.
> 
> Finally, lsi_do_dma is updated to use the approriate register to build a 64-bit
> DMA address if required.
> 
> With this patch, Windows XP x64, 2003 SP2 x64, can now install to scsi devices.
> Linux SYM_CONF_DMA_ADDRESSING_MODE=2 need a quirk fixup in Patch 4 to function
> properly.
> 
> Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

Applied.  Thanks.

Regards,

Anthony Liguori

  reply	other threads:[~2008-12-10 15:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Anthony Liguori [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493FE2B6.8030007@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=ryanh@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).