Re: [PATCH] scsi: ufs: core: Fix RPMB region size detection for UFS 2.2
From: Bean Huo
Date: Wed Feb 04 2026 - 03:38:07 EST
On Fri, 2026-01-30 at 18:49 +0400, Alexey Charkov wrote:
> > > The spec says it can only be up to 16MB maximum (see section 12.4.3.1
> > > RPMB Resources), so it should always fit. Happy to add a comment about
> > > that.
> > >
> > > Best regards,
> > > Alexey
> >
> > Hi Alexey,
> >
> > Thanks for the clarification on the 16MB RPMB limit - that addresses the
> > overflow concern.
> >
> >
> > In your above operation, why not use SZ_128K to avoid the magic number?
> > BTW, please update your comment.
>
> Good point, thanks Bean! Will amend in v2.
>
> Best regards,
> Alexey
Alexey,
did you send your new version patch?
Kind regards,
Bean