From: Stefan Hajnoczi <stefanha@redhat.com>
To: Jeuk Kim <jeuk20.kim@gmail.com>
Cc: qemu-devel@nongnu.org, jeuk20.kim@samsung.com,
pbonzini@redhat.com, qemu-block@nongnu.org, kwolf@redhat.com,
hreitz@redhat.com, bmeng.cn@gmail.com
Subject: Re: [PATCH] hw/ufs: Fix incorrect register fields
Date: Tue, 10 Oct 2023 10:19:03 -0400 [thread overview]
Message-ID: <20231010141903.GD1731363@fedora> (raw)
In-Reply-To: <99bfcf6de904357e6b07084b99193bb16309d46a.1696914208.git.jeuk20.kim@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
On Tue, Oct 10, 2023 at 02:11:13PM +0900, Jeuk Kim wrote:
> From: Jeuk Kim <jeuk20.kim@samsung.com>
>
> This patch fixes invalid ufs register fields.
> This fixes an issue reported by Bin Meng that
> caused ufs to fail over riscv.
>
> Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
> ---
> include/block/ufs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Hi,
Please feel free to send a pull request with your unreviewed Coverity fixes and
this reviewed fix.
Enough time has passed for the community to review the Coverity fixes
and since no one did, you can submit them.
I am confident in your work and will not review future UFS patches due
to time constraints.
Thanks,
Stefan
>
> diff --git a/include/block/ufs.h b/include/block/ufs.h
> index fd884eb8ce..7631a5af10 100644
> --- a/include/block/ufs.h
> +++ b/include/block/ufs.h
> @@ -111,14 +111,14 @@ REG32(UECT, offsetof(UfsReg, uect))
> REG32(UECDME, offsetof(UfsReg, uecdme))
> REG32(UTRIACR, offsetof(UfsReg, utriacr))
> REG32(UTRLBA, offsetof(UfsReg, utrlba))
> - FIELD(UTRLBA, UTRLBA, 9, 22)
> + FIELD(UTRLBA, UTRLBA, 10, 22)
> REG32(UTRLBAU, offsetof(UfsReg, utrlbau))
> REG32(UTRLDBR, offsetof(UfsReg, utrldbr))
> REG32(UTRLCLR, offsetof(UfsReg, utrlclr))
> REG32(UTRLRSR, offsetof(UfsReg, utrlrsr))
> REG32(UTRLCNR, offsetof(UfsReg, utrlcnr))
> REG32(UTMRLBA, offsetof(UfsReg, utmrlba))
> - FIELD(UTMRLBA, UTMRLBA, 9, 22)
> + FIELD(UTMRLBA, UTMRLBA, 10, 22)
> REG32(UTMRLBAU, offsetof(UfsReg, utmrlbau))
> REG32(UTMRLDBR, offsetof(UfsReg, utmrldbr))
> REG32(UTMRLCLR, offsetof(UfsReg, utmrlclr))
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2023-10-10 14:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 5:11 [PATCH] hw/ufs: Fix incorrect register fields Jeuk Kim
2023-10-10 10:25 ` Bin Meng
2023-10-10 14:19 ` Stefan Hajnoczi [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=20231010141903.GD1731363@fedora \
--to=stefanha@redhat.com \
--cc=bmeng.cn@gmail.com \
--cc=hreitz@redhat.com \
--cc=jeuk20.kim@gmail.com \
--cc=jeuk20.kim@samsung.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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.