Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Matthew Whitehead <tedheadster@gmail.com>
Cc: linux-scsi@vger.kernel.org,  mkp@kernel.org,
	James.Bottomley@hansenpartnership.com,  loberman@redhat.com,
	emilne@redhat.com
Subject: Re: [PATCH] scsi: aha1542: Remove unneeded scsi_dma_unmap() call
Date: Wed, 28 Oct 2026 21:35:11 -0400	[thread overview]
Message-ID: <yq1fqxp47cq.fsf@mail.kernel.org> (raw)
In-Reply-To: <20260929144528.7061-1-tedheadster@gmail.com>


Matthew,

> aha1542 never DMA maps the command's scatterlist. Data is bounced
> through a per-command buffer allocated with dma_alloc_coherent() in
> aha1542_init_cmd_priv(), the adapter is programmed with
> acmd->data_buffer_handle, and the payload is copied to and from the
> request segments in aha1542_queuecommand() and aha1542_free_cmd().

Applied to 7.4/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-10-29  1:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 14:45 [PATCH] scsi: aha1542: Remove unneeded scsi_dma_unmap() call Matthew Whitehead
2026-10-07 17:08 ` Laurence Oberman
2026-10-29  1:35 ` Martin K. Petersen [this message]

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=yq1fqxp47cq.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=emilne@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=loberman@redhat.com \
    --cc=tedheadster@gmail.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