Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: "Thomas Hellström (VMware)" <thomas_os@shipmail.org>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	pv-drivers@vmware.com, Thomas Hellstrom <thellstrom@vmware.com>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Vishal Bhakta <vbhakta@vmware.com>, Jim Gill <jgill@vmware.com>
Subject: Re: [PATCH RESEND 1/2] scsi: vmw_pvscsi: Fix swiotlb operation
Date: Thu, 19 Dec 2019 22:44:19 -0500	[thread overview]
Message-ID: <yq1sglf8xv0.fsf@oracle.com> (raw)
In-Reply-To: <20191203193052.7583-1-thomas_os@shipmail.org> ("Thomas Hellström (VMware)"'s message of "Tue, 3 Dec 2019 20:30:51 +0100")


Thomas,

> With swiotlb, the first byte of the sense buffer may in some cases be
> uninitialized since we use DMA_FROM_DEVICE, and the device incorrectly
> doesn't clear it. In those cases, clear it after DMA unmapping.

Applied 1+2 to 5.6/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

  parent reply	other threads:[~2019-12-20  3:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 19:30 [PATCH RESEND 1/2] scsi: vmw_pvscsi: Fix swiotlb operation Thomas Hellström (VMware)
2019-12-03 19:30 ` [PATCH RESEND 2/2] scsi: vmw_pvscsi: Silence dma mapping errors Thomas Hellström (VMware)
2019-12-20  3:44 ` Martin K. Petersen [this message]
2019-12-20  8:56   ` [PATCH RESEND 1/2] scsi: vmw_pvscsi: Fix swiotlb operation Thomas Hellstrom

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=yq1sglf8xv0.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=jejb@linux.ibm.com \
    --cc=jgill@vmware.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=pv-drivers@vmware.com \
    --cc=thellstrom@vmware.com \
    --cc=thomas_os@shipmail.org \
    --cc=vbhakta@vmware.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