[PATCH v3 0/2] hw/sensor: Add SB-TSI Temperature Sensor Interface

Patrick Venture posted 2 patches 2 weeks ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220113163934.2556958-1-venture@google.com
Maintainers: Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
meson.build                  |   1 +
hw/sensor/trace.h            |   1 +
include/hw/sensor/sbtsi.h    |  45 +++++
hw/sensor/tmp_sbtsi.c        | 369 +++++++++++++++++++++++++++++++++++
tests/qtest/tmp-sbtsi-test.c | 161 +++++++++++++++
hw/sensor/Kconfig            |   4 +
hw/sensor/meson.build        |   1 +
hw/sensor/trace-events       |   5 +
tests/qtest/meson.build      |   1 +
9 files changed, 588 insertions(+)
create mode 100644 hw/sensor/trace.h
create mode 100644 include/hw/sensor/sbtsi.h
create mode 100644 hw/sensor/tmp_sbtsi.c
create mode 100644 tests/qtest/tmp-sbtsi-test.c
create mode 100644 hw/sensor/trace-events

[PATCH v3 0/2] hw/sensor: Add SB-TSI Temperature Sensor Interface

Posted by Patrick Venture 2 weeks ago
v3:
 * typofix where I accidentally embedded 'wq' into a string
 * moved the type sbtsi definition back into the source file
 * renamed the qtest file to use hyphens only

v2:
 * Split the commit into a separate patch for the qtest
 * Moved the common registers into the new header
 * Introduced a new header

Hao Wu (2):
  hw/sensor: Add SB-TSI Temperature Sensor Interface
  tests: add qtest for hw/sensor/sbtsi

 meson.build                  |   1 +
 hw/sensor/trace.h            |   1 +
 include/hw/sensor/sbtsi.h    |  45 +++++
 hw/sensor/tmp_sbtsi.c        | 369 +++++++++++++++++++++++++++++++++++
 tests/qtest/tmp-sbtsi-test.c | 161 +++++++++++++++
 hw/sensor/Kconfig            |   4 +
 hw/sensor/meson.build        |   1 +
 hw/sensor/trace-events       |   5 +
 tests/qtest/meson.build      |   1 +
 9 files changed, 588 insertions(+)
 create mode 100644 hw/sensor/trace.h
 create mode 100644 include/hw/sensor/sbtsi.h
 create mode 100644 hw/sensor/tmp_sbtsi.c
 create mode 100644 tests/qtest/tmp-sbtsi-test.c
 create mode 100644 hw/sensor/trace-events

-- 
2.34.1.575.g55b058a8bb-goog