From: minyard@acm.org
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>, minyard@acm.org
Subject: [Qemu-devel] [PULL 00/19] Fix/add vmstate handling in some I2C code
Date: Thu, 28 Feb 2019 12:16:51 -0600 [thread overview]
Message-ID: <20190228181710.2477-1-minyard@acm.org> (raw)
The following changes since commit 86c7e2f4a93322a76afea5ee6806a83420d1dfea:
Merge remote-tracking branch 'remotes/berrange/tags/authz-core-pull-request' into staging (2019-02-26 17:59:41 +0000)
are available in the Git repository at:
git://github.com/cminyard/qemu.git tags/i2c-for-release-20190228
for you to fetch changes up to c203d4514b9c8c1c3bf25988a81edf3813eb3c6d:
i2c: Verify that the count passed in to smbus_eeprom_init() is valid (2019-02-27 21:06:08 -0600)
----------------------------------------------------------------
This has been out there long enough, I need to get this in.
This was changed a little bit since my post on Feb 20 (to which
there were no comments) due to changes I had to work around:
Change b296b664abc73253 "smbus: Add a helper to generate SPD EEPROM
data" added a function to include/hw/i2c/smbus.h, which I had to move to
include/hw/smbus_eeprom.h.
There were some changes to hw/i2c/Makefile.objs that I had to fix up.
Beyond that, no changes.
Thanks,
-corey
----------------------------------------------------------------
Corey Minyard (19):
i2c: Split smbus into parts
i2c: have I2C receive operation return uint8_t
arm:i2c: Don't mask return from i2c_recv()
i2c: Don't check return value from i2c_recv()
i2c:smbus: Correct the working of quick commands
i2c:smbus: Simplify write operation
i2c:smbus: Simplify read handling
i2c:smbus_eeprom: Get rid of the quick command
i2c:smbus: Make white space in switch statements consistent
boards.h: Ignore migration for SMBus devices on older machines
i2c:pm_smbus: Fix pm_smbus handling of I2C block read
migration: Add a VMSTATE_BOOL_TEST() macro
i2c:pm_smbus: Fix state transfer
i2c:smbus_slave: Add an SMBus vmstate structure
i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c
i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size
i2c:smbus_eeprom: Add vmstate handling to the smbus eeprom
i2c:smbus_eeprom: Add a reset function to smbus_eeprom
i2c: Verify that the count passed in to smbus_eeprom_init() is valid
MAINTAINERS | 12 +
hw/acpi/piix4.c | 7 +
hw/arm/aspeed.c | 2 +-
hw/arm/pxa2xx.c | 2 +-
hw/arm/stellaris.c | 2 +-
hw/arm/tosa.c | 4 +-
hw/arm/z2.c | 2 +-
hw/audio/wm8750.c | 2 +-
hw/display/sii9022.c | 2 +-
hw/display/ssd0303.c | 4 +-
hw/gpio/max7310.c | 2 +-
hw/i2c/Makefile.objs | 2 +-
hw/i2c/aspeed_i2c.c | 9 +-
hw/i2c/core.c | 32 +--
hw/i2c/exynos4210_i2c.c | 8 +-
hw/i2c/i2c-ddc.c | 2 +-
hw/i2c/imx_i2c.c | 12 +-
hw/i2c/pm_smbus.c | 119 +++++++--
hw/i2c/smbus.c | 379 -----------------------------
hw/i2c/smbus_eeprom.c | 136 +++++++----
hw/i2c/smbus_ich9.c | 12 +-
hw/i2c/smbus_master.c | 165 +++++++++++++
hw/i2c/smbus_slave.c | 236 ++++++++++++++++++
hw/i386/pc_piix.c | 3 +-
hw/i386/pc_q35.c | 3 +-
hw/input/lm832x.c | 2 +-
hw/isa/vt82c686.c | 1 -
hw/mips/mips_fulong2e.c | 2 +-
hw/mips/mips_malta.c | 2 +-
hw/misc/pca9552.c | 2 +-
hw/misc/tmp105.c | 2 +-
hw/misc/tmp421.c | 2 +-
hw/nvram/eeprom_at24c.c | 4 +-
hw/ppc/sam460ex.c | 2 +-
hw/timer/ds1338.c | 2 +-
hw/timer/m41t80.c | 2 +-
hw/timer/twl92230.c | 2 +-
include/hw/boards.h | 1 +
include/hw/i2c/i2c.h | 7 +-
include/hw/i2c/pm_smbus.h | 17 ++
include/hw/i2c/smbus_eeprom.h | 35 +++
include/hw/i2c/{smbus.h => smbus_master.h} | 54 +---
include/hw/i2c/smbus_slave.h | 100 ++++++++
include/migration/vmstate.h | 3 +
44 files changed, 820 insertions(+), 581 deletions(-)
delete mode 100644 hw/i2c/smbus.c
create mode 100644 hw/i2c/smbus_master.c
create mode 100644 hw/i2c/smbus_slave.c
create mode 100644 include/hw/i2c/smbus_eeprom.h
rename include/hw/i2c/{smbus.h => smbus_master.h} (54%)
create mode 100644 include/hw/i2c/smbus_slave.h
next reply other threads:[~2019-02-28 18:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 18:16 minyard [this message]
2019-02-28 18:16 ` [Qemu-devel] [PULL 01/19] i2c: Split smbus into parts minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 02/19] i2c: have I2C receive operation return uint8_t minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 03/19] arm:i2c: Don't mask return from i2c_recv() minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 04/19] i2c: Don't check return value " minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 05/19] i2c:smbus: Correct the working of quick commands minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 06/19] i2c:smbus: Simplify write operation minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 07/19] i2c:smbus: Simplify read handling minyard
2019-02-28 18:16 ` [Qemu-devel] [PULL 08/19] i2c:smbus_eeprom: Get rid of the quick command minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 09/19] i2c:smbus: Make white space in switch statements consistent minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 10/19] boards.h: Ignore migration for SMBus devices on older machines minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 11/19] i2c:pm_smbus: Fix pm_smbus handling of I2C block read minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 12/19] migration: Add a VMSTATE_BOOL_TEST() macro minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 13/19] i2c:pm_smbus: Fix state transfer minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 14/19] i2c:smbus_slave: Add an SMBus vmstate structure minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 15/19] i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 16/19] i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 17/19] i2c:smbus_eeprom: Add vmstate handling to the smbus eeprom minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 18/19] i2c:smbus_eeprom: Add a reset function to smbus_eeprom minyard
2019-02-28 18:17 ` [Qemu-devel] [PULL 19/19] i2c: Verify that the count passed in to smbus_eeprom_init() is valid minyard
2019-03-01 14:23 ` [Qemu-devel] [PULL 00/19] Fix/add vmstate handling in some I2C code Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190228181710.2477-1-minyard@acm.org \
--to=minyard@acm.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).