On Fri, Feb 19, 2021 at 1:56 AM Philippe Mathieu-Daudé <[email protected]> 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é <[email protected]> > --- > Based-on: <[email protected]> > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > hw/sd/sdhci.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) >
Reviewed-by: Bin Meng <[email protected]>
