From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUf31-0007mL-8Z for qemu-devel@nongnu.org; Mon, 31 Mar 2014 12:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUf2s-0003Xi-5t for qemu-devel@nongnu.org; Mon, 31 Mar 2014 12:26:55 -0400 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:44865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUf2s-0003Xa-1v for qemu-devel@nongnu.org; Mon, 31 Mar 2014 12:26:46 -0400 Received: by mail-qg0-f46.google.com with SMTP id 63so4018568qgz.19 for ; Mon, 31 Mar 2014 09:26:45 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 31 Mar 2014 18:26:28 +0200 Message-Id: <1396283195-6819-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH for-2.0 0/7] SMBus and tmp105 fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, afaerber@suse.de This is a resend of the I2C patches I posted a while ago. Patches 1-3 are just a rebase. Patch 4 is the same as before, patches 5-7 make the tmp105 testcase more complete in order to test that change. Paolo Bonzini (7): smbus: allow returning an error from reads smbus: return -1 if nothing found at the given address pm_smbus: correctly report unclaimed cycles tmp105: read temperature in milli-celsius tmp105-test: wrap simple building blocks for testing tmp105-test: add a second sensor and test that one tmp105-test: test QOM property and precision hw/i2c/pm_smbus.c | 63 +++++++++++++++-------- hw/i2c/smbus.c | 68 +++++++++++++++++-------- hw/misc/tmp105.c | 8 +-- include/hw/i2c/smbus.h | 18 +++---- roms/SLOF | 2 +- roms/openbios | 2 +- roms/qemu-palcode | 2 +- roms/seabios | 2 +- tests/tmp105-test.c | 136 +++++++++++++++++++++++++++++++++++++++++-------- 9 files changed, 220 insertions(+), 81 deletions(-) -- 1.9.0