On Mon, Nov 30, 2020 at 8:55 PM Peter Maydell <[email protected]> wrote: > > On Mon, 30 Nov 2020 at 12:53, Bin Meng <[email protected]> wrote: > > > > +Peter, > > > > On Tue, Nov 17, 2020 at 6:52 PM Philippe Mathieu-Daudé <[email protected]> > > wrote: > > > > > > From: Bin Meng <[email protected]> > > > > > > Per the SD spec, to indicate a 2 GiB card, BLOCK_LEN shall be 1024 > > > bytes, hence the READ_BL_LEN field in the CSD register shall be 10 > > > instead of 9. > > > > > > This fixes the acceptance test error for the NetBSD 9.0 test of the > > > Orange Pi PC that has an expanded SD card image of 2 GiB size. > > > > > > Fixes: 6d2d4069c47e ("hw/sd: Correct the maximum size of a Standard > > > Capacity SD Memory Card") > > > Reported-by: Niek Linnenbank <[email protected]> > > > Signed-off-by: Bin Meng <[email protected]> > > > Tested-by: Niek Linnenbank <[email protected]> > > > Message-Id: <[email protected]> > > > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > > > --- > > > hw/sd/sd.c | 15 +++++++++++---- > > > 1 file changed, 11 insertions(+), 4 deletions(-) > > > > > > > Any chance to get this patch applied to 5.2 since it's a bug fix? > > It's already in -- commit 575094b786e999e5fbd0.
Oops, did a wrong rebase in my local tree :( Glad it's already in. Sorry Peter! Regards, Bin
