<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/timer, 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/timer?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/timer?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-27T09:27:23+00:00</updated>
<entry>
<title>target/imx: reload cmp timer outside of the reload ptimer transaction</title>
<updated>2022-10-27T09:27:23+00:00</updated>
<author>
<name>Axel Heider</name>
</author>
<published>2022-10-19T13:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7719419deb07a431455dfb0178480ef4be2d3e2c'/>
<id>urn:sha1:7719419deb07a431455dfb0178480ef4be2d3e2c</id>
<content type='text'>
When running seL4 tests (https://docs.sel4.systems/projects/sel4test)
on the sabrelight platform, the timer tests fail. The arm/imx6 EPIT
timer interrupt does not fire properly, instead of a e.g. second in
can take up to a minute to finally see the interrupt.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1263

Signed-off-by: Axel Heider &lt;axel.heider@hensoldt.net&gt;
Message-id: 166663118138.13362.1229967229046092876-0@git.sr.ht
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>treewide: Remove the unnecessary space before semicolon</title>
<updated>2022-10-24T11:41:10+00:00</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2022-10-24T07:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c1dadb8462ff5021218f2c1aa015594952f441ca'/>
<id>urn:sha1:c1dadb8462ff5021218f2c1aa015594952f441ca</id>
<content type='text'>
%s/return ;/return;

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Message-Id: &lt;20221024072802.457832-1-bmeng@tinylab.org&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>hw/intc: Move mtimer/mtimecmp to aclint</title>
<updated>2022-09-07T07:19:10+00:00</updated>
<author>
<name>Atish Patra</name>
</author>
<published>2022-08-24T22:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7cbcc538f4b3040db1e39a6547efa501a8a44907'/>
<id>urn:sha1:7cbcc538f4b3040db1e39a6547efa501a8a44907</id>
<content type='text'>
Historically, The mtime/mtimecmp has been part of the CPU because
they are per hart entities. However, they actually belong to aclint
which is a MMIO device.

Move them to the ACLINT device. This also emulates the real hardware
more closely.

Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
Signed-off-by: Atish Patra &lt;atishp@rivosinc.com&gt;
Message-Id: &lt;20220824221357.41070-2-atishp@rivosinc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>Fix 'writeable' typos</title>
<updated>2022-06-08T18:38:47+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2022-06-08T18:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9323e79f10e5f5d8fffc3b307776173ca11faeae'/>
<id>urn:sha1:9323e79f10e5f5d8fffc3b307776173ca11faeae</id>
<content type='text'>
We have about 30 instances of the typo/variant spelling 'writeable',
and over 500 of the more common 'writable'.  Standardize on the
latter.

Change produced with:

  sed -i -e 's/\([Ww][Rr][Ii][Tt]\)[Ee]\([Aa][Bb][Ll][Ee]\)/\1\2/g' $(git grep -il writeable)

and then hand-undoing the instance in linux-headers/linux/kvm.h.

Most of these changes are in comments or documentation; the
exceptions are:
 * a local variable in accel/hvf/hvf-accel-ops.c
 * a local variable in accel/kvm/kvm-all.c
 * the PMCR_WRITABLE_MASK macro in target/arm/internals.h
 * the EPT_VIOLATION_GPA_WRITABLE macro in target/i386/hvf/vmcs.h
   (which is never used anywhere)
 * the AR_TYPE_WRITABLE_MASK macro in target/i386/hvf/vmx.h
   (which is never used anywhere)

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Message-id: 20220505095015.2714666-1-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>ptimer: Rename PTIMER_POLICY_DEFAULT to PTIMER_POLICY_LEGACY</title>
<updated>2022-05-19T15:19:03+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2022-05-16T10:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9598c1bb39b2d4f0d3a55072cc70251c452132cd'/>
<id>urn:sha1:9598c1bb39b2d4f0d3a55072cc70251c452132cd</id>
<content type='text'>
The traditional ptimer behaviour includes a collection of weird edge
case behaviours.  In 2016 we improved the ptimer implementation to
fix these and generally make the behaviour more flexible, with
ptimers opting in to the new behaviour by passing an appropriate set
of policy flags to ptimer_init().  For backwards-compatibility, we
defined PTIMER_POLICY_DEFAULT (which sets no flags) to give the old
weird behaviour.

This turns out to be a poor choice of name, because people writing
new devices which use ptimers are misled into thinking that the
default is probably a sensible choice of flags, when in fact it is
almost always not what you want.  Rename PTIMER_POLICY_DEFAULT to
PTIMER_POLICY_LEGACY and beef up the comment to more clearly say that
new devices should not be using it.

The code-change part of this commit was produced by
  sed -i -e 's/PTIMER_POLICY_DEFAULT/PTIMER_POLICY_LEGACY/g' $(git grep -l PTIMER_POLICY_DEFAULT)
with the exception of a test name string change in
tests/unit/ptimer-test.c which was added manually.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Francisco Iglesias &lt;francisco.iglesias@amd.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20220516103058.162280-1-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>aspeed/timer: Add AST1030 support</title>
<updated>2022-05-02T15:03:03+00:00</updated>
<author>
<name>Steven Lee</name>
</author>
<published>2022-05-02T15:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c5b89a4f476fb77e5a302c18b76098190a3d549d'/>
<id>urn:sha1:c5b89a4f476fb77e5a302c18b76098190a3d549d</id>
<content type='text'>
ast1030 tmc(timer controller) is identical to ast2600 tmc.

Signed-off-by: Troy Lee &lt;troy_lee@aspeedtech.com&gt;
Signed-off-by: Jamin Lin &lt;jamin_lin@aspeedtech.com&gt;
Signed-off-by: Steven Lee &lt;steven_lee@aspeedtech.com&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20220401083850.15266-6-jamin_lin@aspeedtech.com&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>timer: cadence_ttc: Break out header file to allow embedding</title>
<updated>2022-04-21T10:37:03+00:00</updated>
<author>
<name>Edgar E. Iglesias</name>
</author>
<published>2022-03-31T22:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=09fc50cdce522cfed21bfd2a08b575c9f1a3c30b'/>
<id>urn:sha1:09fc50cdce522cfed21bfd2a08b575c9f1a3c30b</id>
<content type='text'>
Break out header file to allow embedding of the the TTC.

Signed-off-by: Edgar E. Iglesias &lt;edgar.iglesias@amd.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Luc Michel &lt;luc@lmichel.fr&gt;
Reviewed-by: Francisco Iglesias &lt;frasse.iglesias@gmail.com&gt;
Message-id: 20220331222017.2914409-2-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>Use g_new() &amp; friends where that makes obvious sense</title>
<updated>2022-03-21T14:44:44+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-03-15T14:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b21e2380376c470900fcadf47507f4d5ade75e85'/>
<id>urn:sha1:b21e2380376c470900fcadf47507f4d5ade75e85</id>
<content type='text'>
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Patch created mechanically with:

    $ spatch --in-place --sp-file scripts/coccinelle/use-g_new-etc.cocci \
	     --macro-file scripts/cocci-macro-file.h FILES...

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-Id: &lt;20220315144156.1595462-4-armbru@redhat.com&gt;
Reviewed-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
</content>
</entry>
<entry>
<title>hw/timer: fix a9gtimer vmstate</title>
<updated>2022-02-21T13:30:21+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2022-02-07T08:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=432732b5e455ef0b28304004a3ca2b96ae33e39d'/>
<id>urn:sha1:432732b5e455ef0b28304004a3ca2b96ae33e39d</id>
<content type='text'>
A9 gtimer includes global control field and number of per-cpu fields.
But only per-cpu ones are migrated. This patch adds a subsection for
global control field migration.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Message-id: 164422345976.2186660.1104517592452494510.stgit@pasha-ThinkPad-X280
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/timer/armv7m_systick: Update clock source before enabling timer</title>
<updated>2022-02-08T10:56:28+00:00</updated>
<author>
<name>Richard Petri</name>
</author>
<published>2022-02-01T19:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=77cd997161cc853c758b68eebb52827d56bc020e'/>
<id>urn:sha1:77cd997161cc853c758b68eebb52827d56bc020e</id>
<content type='text'>
Starting the SysTick timer and changing the clock source a the same time
will result in an error, if the previous clock period was zero. For exmaple,
on the mps2-tz platforms, no refclk is present. Right after reset, the
configured ptimer period is zero, and trying to enabling it will turn it off
right away. E.g., code running on the platform setting

    SysTick-&gt;CTRL  = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_ENABLE_Msk;

should change the clock source and enable the timer on real hardware, but
resulted in an error in qemu.

Signed-off-by: Richard Petri &lt;git@rpls.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-id: 20220201192650.289584-1-git@rpls.de
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
