On Fri, Feb 19, 2021 at 1:56 AM Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > > The SDHC_SYSAD and SDHC_BLKSIZE can not be accessed while a > transaction is in progress, see 'SD Host Controller Simplified > Specification' > > 1.5) SD Command Generation > > The Host Driver should not read the SDMA System Address, Block > Size and Block Count registers during a data transaction unless > the transfer is stopped because the value is changing and not > stable. > > Report guest intents as errors. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > Based-on: <1613447214-81951-1-git-send-email-bmeng...@gmail.com> > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > hw/sd/sdhci.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>