<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/hw/sensor, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/hw/sensor?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/hw/sensor?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-04-25T09:21:06Z</updated>
<entry>
<title>hw, target: Add ResetType argument to hold and exit phase methods</title>
<updated>2024-04-25T09:21:06Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2024-04-12T16:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ad80e36744785fe9326d4104d98e976822e90cc2'/>
<id>urn:sha1:ad80e36744785fe9326d4104d98e976822e90cc2</id>
<content type='text'>
We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the callsites have it readily available. This means that if
a device cared about the ResetType it would need to record it
in the enter phase method to use later on. Pass the type to
all three of the phase methods to avoid having to do that.

Commit created with

  for dir in hw target include; do \
      spatch --macro-file scripts/cocci-macro-file.h \
             --sp-file scripts/coccinelle/reset-type.cocci \
             --keep-comments --smpl-spacing --in-place \
             --include-headers --dir $dir; done

and no manual edits.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@amd.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Luc Michel &lt;luc.michel@amd.com&gt;
Message-id: 20240412160809.1260625-5-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>allwinner-i2c, adm1272: Use device_cold_reset() for software-triggered reset</title>
<updated>2024-04-25T09:21:06Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2024-04-12T16:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ef6ab2922fc94956c0b28c55ec2abe61f71446a9'/>
<id>urn:sha1:ef6ab2922fc94956c0b28c55ec2abe61f71446a9</id>
<content type='text'>
Rather than directly calling the device's implementation of its 'hold'
reset phase, call device_cold_reset(). This means we don't have to
adjust this callsite when we add another argument to the function
signature for the hold and exit reset methods.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Luc Michel &lt;luc.michel@amd.com&gt;
Message-id: 20240412160809.1260625-3-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>hw/sensor: Constify VMState</title>
<updated>2023-12-29T20:38:06Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-12-21T03:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=af10fff2a3ae50d0337269aa1015591cfd380005'/>
<id>urn:sha1:af10fff2a3ae50d0337269aa1015591cfd380005</id>
<content type='text'>
Tested-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20231221031652.119827-54-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/sensor: add ADM1266 device model</title>
<updated>2023-11-07T12:08:49Z</updated>
<author>
<name>Titus Rwantare</name>
<email>titusr@google.com</email>
</author>
<published>2023-10-23T23:46:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6f351a7a707f5d4257b6c55b28e9d99012730acc'/>
<id>urn:sha1:6f351a7a707f5d4257b6c55b28e9d99012730acc</id>
<content type='text'>
The ADM1266 is a cascadable super sequencer with margin control and
fault recording.
This commit adds basic support for its PMBus commands and models
the identification registers that can be modified in a firmware
update.

Reviewed-by: Hao Wu &lt;wuhaotsh@google.com&gt;
Acked-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Signed-off-by: Titus Rwantare &lt;titusr@google.com&gt;
[PMD: Cover file in MAINTAINERS]
Message-ID: &lt;20231023-staging-pmbus-v3-v4-5-07a8cb7cd20a@google.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/i2c: spelling fixes</title>
<updated>2023-08-31T17:47:43Z</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2023-08-23T06:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8fa21b80268ef7944f0344af9462b0ab812ba7bd'/>
<id>urn:sha1:8fa21b80268ef7944f0344af9462b0ab812ba7bd</id>
<content type='text'>
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Message-ID: &lt;20230823065335.1919380-14-mjt@tls.msk.ru&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>meson: Replace softmmu_ss -&gt; system_ss</title>
<updated>2023-06-20T08:01:30Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-06-13T13:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=de6cd7599b518f0c832cc85980196ec02c129a86'/>
<id>urn:sha1:de6cd7599b518f0c832cc85980196ec02c129a86</id>
<content type='text'>
We use the user_ss[] array to hold the user emulation sources,
and the softmmu_ss[] array to hold the system emulation ones.
Hold the latter in the 'system_ss[]' array for parity with user
emulation.

Mechanical change doing:

  $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss)

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230613133347.82210-10-philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Do not include hw/hw.h if it is not necessary</title>
<updated>2023-02-27T08:15:38Z</updated>
<author>
<name>Thomas Huth</name>
<email>thuth@redhat.com</email>
</author>
<published>2023-02-16T14:29:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f0830823d017af1a4e7dad228e5870cad7eb764b'/>
<id>urn:sha1:f0830823d017af1a4e7dad228e5870cad7eb764b</id>
<content type='text'>
hw.h only contains the protoype of one function nowadays, hw_error(),
so all files that do not use this function anymore also do not need
to include this header anymore.

Message-Id: &lt;20230216142915.304481-1-thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Don't include headers already included by qemu/osdep.h</title>
<updated>2023-02-08T06:28:05Z</updated>
<author>
<name>Markus Armbruster</name>
<email>armbru@redhat.com</email>
</author>
<published>2023-02-02T13:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=bfe7bf8590a74aebd572abe56927b53f4978ab42'/>
<id>urn:sha1:bfe7bf8590a74aebd572abe56927b53f4978ab42</id>
<content type='text'>
This commit was created with scripts/clean-includes.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Acked-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-Id: &lt;20230202133830.2152150-19-armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/sensor: Add Renesas ISL69259 device model</title>
<updated>2022-07-14T14:24:38Z</updated>
<author>
<name>Peter Delevoryas</name>
<email>pdel@fb.com</email>
</author>
<published>2022-07-14T14:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b347dd5ef324f964ca77582802822ad117690df0'/>
<id>urn:sha1:b347dd5ef324f964ca77582802822ad117690df0</id>
<content type='text'>
This adds the ISL69259, using all the same functionality as the existing
ISL69260 but overriding the IC_DEVICE_ID.

Signed-off-by: Peter Delevoryas &lt;pdel@fb.com&gt;
Reviewed-by: Titus Rwantare &lt;titusr@google.com&gt;
Message-Id: &lt;20220701000626.77395-4-me@pjd.dev&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>hw/sensor: Add IC_DEVICE_ID to ISL voltage regulators</title>
<updated>2022-07-14T14:24:38Z</updated>
<author>
<name>Peter Delevoryas</name>
<email>pdel@fb.com</email>
</author>
<published>2022-07-14T14:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e51ae82571746e40f36aa9bfc5d0924dcf2b0a5d'/>
<id>urn:sha1:e51ae82571746e40f36aa9bfc5d0924dcf2b0a5d</id>
<content type='text'>
This commit adds a passthrough for PMBUS_IC_DEVICE_ID to allow Renesas
voltage regulators to return the integrated circuit device ID if they
would like to.

The behavior is very device specific, so it hasn't been added to the
general PMBUS model. Additionally, if the device ID hasn't been set,
then the voltage regulator will respond with the error byte value.  The
guest error message will change slightly for IC_DEVICE_ID with this
commit.

Signed-off-by: Peter Delevoryas &lt;pdel@fb.com&gt;
Reviewed-by: Titus Rwantare &lt;titusr@google.com&gt;
Message-Id: &lt;20220701000626.77395-3-me@pjd.dev&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
</feed>
