<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/openrisc, 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/openrisc?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/openrisc?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-27T10:34:31+00:00</updated>
<entry>
<title>openrisc: re-randomize rng-seed on reboot</title>
<updated>2022-10-27T10:34:31+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
</author>
<published>2022-10-25T00:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2db07d0506d365884b140fd5640fd71db15eacbc'/>
<id>urn:sha1:2db07d0506d365884b140fd5640fd71db15eacbc</id>
<content type='text'>
When the system reboots, the rng-seed that the FDT has should be
re-randomized, so that the new boot gets a new seed. Since the FDT is in
the ROM region at this point, we add a hook right after the ROM has been
added, so that we have a pointer to that copy of the FDT.

Cc: Stafford Horne &lt;shorne@gmail.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Message-id: 20221025004327.568476-11-Jason@zx2c4.com
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/openrisc: virt: pass random seed to fdt</title>
<updated>2022-09-04T06:02:57+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
</author>
<published>2022-06-22T11:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c6fe3e6b4cd8d7b98ea37bf37fb3686ecd1304fe'/>
<id>urn:sha1:c6fe3e6b4cd8d7b98ea37bf37fb3686ecd1304fe</id>
<content type='text'>
If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to
initialize early. Set this using the usual guest random number
generation function. This is confirmed to successfully initialize the
RNG on Linux 5.19-rc2.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&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/openrisc: Initialize timer time at startup</title>
<updated>2022-09-04T06:02:57+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-06-14T23:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=557e37071d4d4e6de577f5a4dfb012a6a733f319'/>
<id>urn:sha1:557e37071d4d4e6de577f5a4dfb012a6a733f319</id>
<content type='text'>
The last_clk time was initialized at zero, this means when we calculate
the first delta we will calculate 0 vs current time which could cause
unnecessary hops.

This patch moves timer initialization to the cpu reset.  There are two
resets registered here:

 1. Per cpu timer mask (ttmr) reset.
 2. Global cpu timer (last_clk and ttcr) reset, attached to the first
    cpu only.

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/openrisc: Add PCI bus support to virt</title>
<updated>2022-09-04T06:02:57+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-06-12T12:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=40fef82c4e7ea723b52eb3d2a0c4a46189f1ad44'/>
<id>urn:sha1:40fef82c4e7ea723b52eb3d2a0c4a46189f1ad44</id>
<content type='text'>
This is mostly borrowed from xtensa and riscv as examples.  The
create_pcie_irq_map swizzle function is almost and exact copy
but here we use a single cell interrupt, possibly we can make
this generic.

Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/openrisc: Add the OpenRISC virtual machine</title>
<updated>2022-09-04T06:02:57+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-05-20T13:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b5fcfe927b7a9cbbc0864e7fc4f34bc94631ee0e'/>
<id>urn:sha1:b5fcfe927b7a9cbbc0864e7fc4f34bc94631ee0e</id>
<content type='text'>
This patch adds the OpenRISC virtual machine 'virt' for OpenRISC.  This
platform allows for a convenient CI platform for toolchain, software
ports and the OpenRISC linux kernel port.

Much of this has been sourced from the m68k and riscv virt platforms.

The platform provides:
 - OpenRISC SMP with up to 4 cpus
 - A virtio bus with up to 8 devices
 - Standard ns16550a serial
 - Goldfish RTC
 - SiFive TEST device for poweroff and reboot
 - Generated Device Tree to automatically configure the guest kernel

Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/openrisc: Split re-usable boot time apis out to boot.c</title>
<updated>2022-09-04T06:02:56+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-05-27T16:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7025114b1cd7683cb7fbef0810577c67aa3cbbd8'/>
<id>urn:sha1:7025114b1cd7683cb7fbef0810577c67aa3cbbd8</id>
<content type='text'>
These will be shared with the virt platform.

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/openrisc: use right OMPIC size variable</title>
<updated>2022-05-15T01:33:01+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
</author>
<published>2022-05-03T09:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a92162f4f1dfc2daf1bc8f2bbc3cad3c9d1ea729'/>
<id>urn:sha1:a92162f4f1dfc2daf1bc8f2bbc3cad3c9d1ea729</id>
<content type='text'>
This appears to be a copy and paste error. The UART size was used
instead of the much smaller OMPIC size. But actually that smaller OMPIC
size is wrong too and doesn't allow the IPI to work in Linux. So set it
to the old value.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
[smh:Updated OR1KSIM_OMPIC size to use OR1KSIM_CPUS_MAX]
Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/openrisc: support 4 serial ports in or1ksim</title>
<updated>2022-05-15T01:31:46+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
</author>
<published>2022-05-02T23:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=777784bda46847fc0587d711c3aacff8fff3c3f9'/>
<id>urn:sha1:777784bda46847fc0587d711c3aacff8fff3c3f9</id>
<content type='text'>
The 8250 serial controller supports 4 serial ports, so wire them all up,
so that we can have more than one basic I/O channel.

Cc: Stafford Horne &lt;shorne@gmail.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
[smh:Fixup indentation and lines over 80 chars]
Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/openrisc: page-align FDT address</title>
<updated>2022-05-03T20:23:37+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
</author>
<published>2022-04-28T10:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0a923be2f6427fdf2a5769b4b8a08e26c758dfab'/>
<id>urn:sha1:0a923be2f6427fdf2a5769b4b8a08e26c758dfab</id>
<content type='text'>
The QEMU-provided FDT was only being recognized by the kernel when it
was used in conjunction with -initrd. Without it, the magic bytes
wouldn't be there and the kernel couldn't load it. This patch fixes the
issue by page aligning the provided FDT.

Cc: Stafford Horne &lt;shorne@gmail.com&gt;
Cc: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/openrisc/openrisc_sim: Add support for initrd loading</title>
<updated>2022-02-26T01:39:36+00:00</updated>
<author>
<name>Stafford Horne</name>
</author>
<published>2022-02-09T21:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9576abf28280499a4497f39c2fae55bf97285e94'/>
<id>urn:sha1:9576abf28280499a4497f39c2fae55bf97285e94</id>
<content type='text'>
The initrd passed via the command line is loaded into memory.  It's
location and size is then added to the device tree so the kernel knows
where to find it.

Signed-off-by: Stafford Horne &lt;shorne@gmail.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
