[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 1cbab8: hw/nvram: at24 return 0xff if 1 byte
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 1cbab8: hw/nvram: at24 return 0xff if 1 byte address |
Date: |
Mon, 14 Mar 2022 11:28:22 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 1cbab82e9d1bdb2c7b9ef46a396fdc03ea3fa04c
https://github.com/qemu/qemu/commit/1cbab82e9d1bdb2c7b9ef46a396fdc03ea3fa04c
Author: Patrick Venture <venture@google.com>
Date: 2022-03-14 (Mon, 14 Mar 2022)
Changed paths:
M hw/nvram/eeprom_at24c.c
Log Message:
-----------
hw/nvram: at24 return 0xff if 1 byte address
The at24 eeproms are 2 byte devices that return 0xff when they are read
from with a partial (1-byte) address written. This distinction was
found comparing model behavior to real hardware testing.
Tested: `i2ctransfer -f -y 45 w1@85 0 r1` returns 0xff instead of next
byte
Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211220212137.1244511-1-venture@google.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Commit: 352998df1c53b366413690d95b35f76d0721ebed
https://github.com/qemu/qemu/commit/352998df1c53b366413690d95b35f76d0721ebed
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-03-14 (Mon, 14 Mar 2022)
Changed paths:
M hw/nvram/eeprom_at24c.c
Log Message:
-----------
Merge tag 'i2c-20220314' of https://github.com/philmd/qemu into staging
I2C patch queue
- Fix AT24 EEPROM partial write (Patrick Venture)
# gpg: Signature made Mon 14 Mar 2022 13:50:01 GMT
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>"
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE
* tag 'i2c-20220314' of https://github.com/philmd/qemu:
hw/nvram: at24 return 0xff if 1 byte address
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/15df33ceb73c...352998df1c53