> -----Original Message----- > From: Ulf Hansson [mailto:ulf.hansson@xxxxxxxxxx] > Sent: 2021年11月17日 17:38 > To: Adrian Hunter <adrian.hunter@xxxxxxxxx> > Cc: Bough Chen <haibo.chen@xxxxxxx>; linux-mmc > <linux-mmc@xxxxxxxxxxxxxxx> > Subject: Re: [PATCH] mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB > > On Tue, 16 Nov 2021 at 09:14, Adrian Hunter <adrian.hunter@xxxxxxxxx> > wrote: > > > > On 15/11/2021 16:54, Ulf Hansson wrote: > > > On Mon, 15 Nov 2021 at 09:24, Adrian Hunter <adrian.hunter@xxxxxxxxx> > wrote: > > >> > > >> The block layer forces a minimum segment size of PAGE_SIZE, so a > > >> segment can be too big for the ADMA table, if PAGE_SIZE >= 64KiB. > > >> Fix by writing multiple descriptors, noting that the ADMA table is > > >> sized for 4KiB chunks anyway, so it will be big enough. > > >> > > >> Reported-and-tested-by: Bough Chen <haibo.chen@xxxxxxx> > > >> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> > > > > > > Applied for next, thanks! > > > > > > Should we perhaps tag this for stable and/or queue it as a fix for v5.16? > > > > Could do. I thought I would leave it up to Haibo Chen. > > I have moved it to the fixes branch and added a stable tag. Haibo, please tell > me if you think that isn't needed. > I'm okay with this. Best Regards Haibo Chen > [...] > > Kind regards > Uffe
Attachment:
smime.p7s
Description: S/MIME cryptographic signature