qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH for-2.0 0/7] SMBus and tmp105 fixes
Date: Wed, 2 Apr 2014 18:55:54 +0300	[thread overview]
Message-ID: <20140402155554.GA11987@redhat.com> (raw)
In-Reply-To: <5339E521.40906@suse.de>

On Mon, Mar 31, 2014 at 11:58:57PM +0200, Andreas Färber wrote:
> Hi,
> 
> Am 31.03.2014 18:26, schrieb Paolo Bonzini:
> > 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
> 
> I've reviewed these and they look sane and safe for 2.0.
> mst, could you have a second look as PC maintainer and take them?

I'd rather delay to 2.1.
It's not a regression is it?

> >   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
> 
> Thanks, this is more than I would've done myself or asked for. I've
> re-broken the text paragraphs of 4/7 to fit into 76 chars and filled in
> the commit info in 7/7:
> https://github.com/afaerber/qemu-cpu/commits/qom-next
> 
> And for the record, this demonstrates how pretty much any I2C device
> (such as ds1338) can be tested for lack of other libqos drivers: Add it
> via -device to n800 or n810 machine using a free address (such as 0x49
> here) and give the device an ID for accessing it via
> /machine/peripheral/<id> (just shorthand <id> here, I let that slip
> through).
> 
> >  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(-)
> 
> This diffstat luckily differs from the patches. Please double-check your
> setup. :)
> 
> Regards,
> Andreas
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2014-04-02 15:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 16:26 [Qemu-devel] [PATCH for-2.0 0/7] SMBus and tmp105 fixes Paolo Bonzini
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 1/7] smbus: allow returning an error from reads Paolo Bonzini
2014-03-31 21:20   ` Andreas Färber
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 2/7] smbus: return -1 if nothing found at the given address Paolo Bonzini
2014-03-31 21:29   ` Andreas Färber
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 3/7] pm_smbus: correctly report unclaimed cycles Paolo Bonzini
2014-03-31 21:38   ` Andreas Färber
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 4/7] tmp105: read temperature in milli-celsius Paolo Bonzini
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 5/7] tmp105-test: wrap simple building blocks for testing Paolo Bonzini
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 6/7] tmp105-test: add a second sensor and test that one Paolo Bonzini
2014-03-31 21:01   ` Andreas Färber
2014-03-31 16:26 ` [Qemu-devel] [PATCH for-2.0 7/7] tmp105-test: test QOM property and precision Paolo Bonzini
2014-03-31 21:58 ` [Qemu-devel] [PATCH for-2.0 0/7] SMBus and tmp105 fixes Andreas Färber
2014-04-02 15:55   ` Michael S. Tsirkin [this message]
2014-04-02 15:58     ` Paolo Bonzini
2014-05-07  8:03     ` Paolo Bonzini
2014-05-07  9:02       ` Michael S. Tsirkin

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=20140402155554.GA11987@redhat.com \
    --to=mst@redhat.com \
    --cc=afaerber@suse.de \
    --cc=pbonzini@redhat.com \
    --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).