From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Michael Schmitz <schmitzmic@gmail.com>
Cc: linux-m68k@vger.kernel.org, arnd@kernel.org,
linux-scsi@vger.kernel.org, geert@linux-m68k.org
Subject: Re: [PATCH] scsi - gvp11.c: fix DMA mask calculation error
Date: Wed, 13 Jul 2022 23:18:51 -0400 [thread overview]
Message-ID: <yq1wncgwfe3.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20220713074913.7873-1-schmitzmic@gmail.com> (Michael Schmitz's message of "Wed, 13 Jul 2022 19:49:13 +1200")
Michael,
> DMA masks given in the Zorro ID table don't contain the 2 byte
> alignment quirk seen in the GVP11_XFER_MASK macro from gvp11.h
> so no need to account for that.
>
> DMA masks passed to dma_set_mask_and_coherent() must be 64 bit,
> add the missing cast in the TO_DMA_MASK macro used to convert
> driver DMA masks to DMA API masks.
Applied to 5.20/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2022-07-14 3:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-13 7:49 [PATCH] scsi - gvp11.c: fix DMA mask calculation error Michael Schmitz
2022-07-14 3:18 ` Martin K. Petersen [this message]
2022-07-19 3:08 ` Martin K. Petersen
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=yq1wncgwfe3.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=arnd@kernel.org \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=schmitzmic@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.