<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/rtc, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/rtc?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/rtc?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-09-04T06:02:56+00:00</updated>
<entry>
<title>goldfish_rtc: Add big-endian property</title>
<updated>2022-09-04T06:02:56+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-06-12T11:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=65f5144e1726c36c97df7e70484250941aafaa27'/>
<id>urn:sha1:65f5144e1726c36c97df7e70484250941aafaa27</id>
<content type='text'>
Add a new property "big-endian" to allow configuring the RTC as either
little or big endian, the default is little endian.

Currently overriding the default to big endian is only used by the m68k
virt platform.  New platforms should prefer to use little endian and not
set this.

Cc: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Drop unused inline functions</title>
<updated>2022-07-05T10:47:53+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-07-05T08:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c1ca312a6f035adad6558f44e6a3bc9ddeeed4b0'/>
<id>urn:sha1:c1ca312a6f035adad6558f44e6a3bc9ddeeed4b0</id>
<content type='text'>
Remove toy_val_to_time_mon and toy_val_to_time_year as unused,
to avoid a build failure with clang.  Remove all of the other
inline markers too so that this does not creep back in.

Reviewed-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=59e52dcff7254603f3b5bf527806a830f016bf82'/>
<id>urn:sha1:59e52dcff7254603f3b5bf527806a830f016bf82</id>
<content type='text'>
Fix 'calculate' spelling errors.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-8-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in toy_time_to_val()</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=582788c3fbce95d9c43e30a7d806ee02eb1c13d0'/>
<id>urn:sha1:582788c3fbce95d9c43e30a7d806ee02eb1c13d0</id>
<content type='text'>
Use pointer as arguments in toy_time_to_val() instead of struct tm.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-7-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Fix rtc enable and disable function</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:34:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6935f132e595a03eb023b5e9a0703509b3f0c2a1'/>
<id>urn:sha1:6935f132e595a03eb023b5e9a0703509b3f0c2a1</id>
<content type='text'>
Fix ls7a rtc enable and disable function. When rtc disabled, it do
not support to read or write, but the real time is still continue,
so we need not neither save the time nor update the rtc offset.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-6-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Add reset function</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e5c0367e2bbcf730e96614f63ea7575885fdde98'/>
<id>urn:sha1:e5c0367e2bbcf730e96614f63ea7575885fdde98</id>
<content type='text'>
Add ls7a rtc reset function to delete timers and clear regs when rtc reset.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Message-Id: &lt;20220701093407.2150607-5-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Remove unimplemented device in realized function</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=53a5eb2e7a7f8cebb3010fc658e935679379a0fa'/>
<id>urn:sha1:53a5eb2e7a7f8cebb3010fc658e935679379a0fa</id>
<content type='text'>
Remove the unimplemented device when realized ls7a RTC, as it is not uesd.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-4-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Fix timer call back function</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=df11f3ea6957cfdbc1690767e90cf04585a6c601'/>
<id>urn:sha1:df11f3ea6957cfdbc1690767e90cf04585a6c601</id>
<content type='text'>
Replace qemu_irq_pulse with qemu_irq_raise in ls7a_timer_cb function
to keep consistent with hardware behavior when raise irq.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-3-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function</title>
<updated>2022-07-04T05:38:58+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-07-01T09:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4f2c65877ce8b9405ff3f1c5e5f4bb4b90f24b6b'/>
<id>urn:sha1:4f2c65877ce8b9405ff3f1c5e5f4bb4b90f24b6b</id>
<content type='text'>
1. Initialize the tm struct in toymatch_write() and ls7a_toy_start() to
   fix uninitialized bugs.
2. Fix toymatch_val_to_time function. By the document, when we calculate
   the expiration year, we should first get current year, and replace the
   0-5 bits with toymatch's 26-31 bits.

Fixes: Coverity CID 1489766, 1489763

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220701093407.2150607-2-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/rtc/mc146818rtc: QOM'ify io_base offset</title>
<updated>2022-06-11T09:44:50+00:00</updated>
<author>
<name>Bernhard Beschow</name>
</author>
<published>2022-05-29T18:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5b21b331beaa20225b481ea068e21dcb65aba598'/>
<id>urn:sha1:5b21b331beaa20225b481ea068e21dcb65aba598</id>
<content type='text'>
Exposing the io_base offset as a QOM property not only allows it to be
configurable but also to be displayed in HMP:

Before:

(qemu) info qtree
       ...
          dev: mc146818rtc, id ""
            gpio-out "" 1
            base_year = 0 (0x0)
            irq = 8 (0x8)
            lost_tick_policy = "discard"

After:

          dev: mc146818rtc, id ""
            gpio-out "" 1
            base_year = 0 (0x0)
            iobase = 112 (0x70)
            irq = 8 (0x8)
            lost_tick_policy = "discard"

Signed-off-by: Bernhard Beschow &lt;shentey@gmail.com&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20220529184006.10712-4-shentey@gmail.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
</feed>
