Re: [Qemu-devel] [PATCH v3 03/10] block/pflash_cfi02: Fix command address comparison

2019-04-17 Thread Thomas Huth
On 18/04/2019 00.01, Stephen Checkoway wrote: > Most AMD commands only examine 11 bits of the address. This masks the > addresses used in the comparison to 11 bits. The exceptions are word or > sector addresses which use offset directly rather than the shifted > offset, boff. > > Signed-off-by: St

[Qemu-devel] [PATCH v3 03/10] block/pflash_cfi02: Fix command address comparison

2019-04-17 Thread Stephen Checkoway
Most AMD commands only examine 11 bits of the address. This masks the addresses used in the comparison to 11 bits. The exceptions are word or sector addresses which use offset directly rather than the shifted offset, boff. Signed-off-by: Stephen Checkoway --- hw/block/pflash_cfi02.c | 8 +