<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/riscv, 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/riscv?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/riscv?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>riscv: 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:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=64c75db3c5ab6f8c75c8132b200cf1c64186f04b'/>
<id>urn:sha1:64c75db3c5ab6f8c75c8132b200cf1c64186f04b</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: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Cc: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Cc: Bin Meng &lt;bin.meng@windriver.com&gt;
Cc: qemu-riscv@nongnu.org
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-id: 20221025004327.568476-6-Jason@zx2c4.com
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>hw/riscv: set machine-&gt;fdt in spike_board_init()</title>
<updated>2022-10-17T19:15:10+00:00</updated>
<author>
<name>Daniel Henrique Barboza</name>
</author>
<published>2022-09-26T17:38:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=719b718ce27f52b2da600cc1abf6a41ac54dfa36'/>
<id>urn:sha1:719b718ce27f52b2da600cc1abf6a41ac54dfa36</id>
<content type='text'>
This will enable support for the 'dumpdtb' QMP/HMP command for the spike
machine.

Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Cc: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Cc: Bin Meng &lt;bin.meng@windriver.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
Message-Id: &lt;20220926173855.1159396-16-danielhb413@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: set machine-&gt;fdt in sifive_u_machine_init()</title>
<updated>2022-10-17T19:15:10+00:00</updated>
<author>
<name>Daniel Henrique Barboza</name>
</author>
<published>2022-09-26T17:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cf79892f4b19ee19c9f5e99fd9d425ab453c1217'/>
<id>urn:sha1:cf79892f4b19ee19c9f5e99fd9d425ab453c1217</id>
<content type='text'>
This will enable support for 'dumpdtb' QMP/HMP command for the sifive_u
machine.

Cc: Alistair Francis &lt;Alistair.Francis@wdc.com&gt;
Cc: Bin Meng &lt;bin.meng@windriver.com&gt;
Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
Message-Id: &lt;20220926173855.1159396-15-danielhb413@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: virt: Enable booting S-mode firmware from pflash</title>
<updated>2022-10-14T04:29:50+00:00</updated>
<author>
<name>Sunil V L</name>
</author>
<published>2022-10-04T09:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a5b0249dfef6d39d345ed7c9620a04bdb1c2ffb0'/>
<id>urn:sha1:a5b0249dfef6d39d345ed7c9620a04bdb1c2ffb0</id>
<content type='text'>
To boot S-mode firmware payload like EDK2 from persistent
flash storage, qemu needs to pass the flash address as the
next_addr in fw_dynamic_info to the opensbi.

When both -kernel and -pflash options are provided in command line,
the kernel (and initrd if -initrd) will be copied to fw_cfg table.
The S-mode FW will load the kernel/initrd from fw_cfg table.

If only pflash is given but not -kernel, then it is the job of
of the S-mode firmware to locate and load the kernel.

In either case, update the kernel_entry with the flash address
so that the opensbi can jump to the entry point of the S-mode
firmware.

Signed-off-by: Sunil V L &lt;sunilvl@ventanamicro.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20221004092351.18209-4-sunilvl@ventanamicro.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: virt: Move create_fw_cfg() prior to loading kernel</title>
<updated>2022-10-14T04:29:50+00:00</updated>
<author>
<name>Sunil V L</name>
</author>
<published>2022-10-04T09:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=90e26984eede1f4303572a39ee328f4c23b276a0'/>
<id>urn:sha1:90e26984eede1f4303572a39ee328f4c23b276a0</id>
<content type='text'>
To enable both -kernel and -pflash options, the fw_cfg needs to be
created prior to loading the kernel.

Signed-off-by: Sunil V L &lt;sunilvl@ventanamicro.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20221004092351.18209-3-sunilvl@ventanamicro.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: Update comment for qtest check in riscv_find_firmware()</title>
<updated>2022-10-14T04:29:50+00:00</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2022-10-09T07:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=838f717b22fb942f488f2bf5d1cd943736c8eae5'/>
<id>urn:sha1:838f717b22fb942f488f2bf5d1cd943736c8eae5</id>
<content type='text'>
Since commit 4211fc553234 ("roms/opensbi: Remove ELF images"), the
comment for qtest check in riscv_find_firmware() is out of date.
Update it to reflect the latest status.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;BN7PR08MB435525C92550BAC5467BE672BF219@BN7PR08MB4355.namprd08.prod.outlook.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: opentitan: Expose the resetvec as a SoC property</title>
<updated>2022-09-26T21:04:38+00:00</updated>
<author>
<name>Alistair Francis</name>
</author>
<published>2022-09-14T10:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a06fded82e9edc471dbbe4321f856040b996b54c'/>
<id>urn:sha1:a06fded82e9edc471dbbe4321f856040b996b54c</id>
<content type='text'>
On the OpenTitan hardware the resetvec is fixed at the start of ROM. In
QEMU we don't run the ROM code and instead just jump to the next stage.
This means we need to be a little more flexible about what the resetvec
is.

This patch allows us to set the resetvec from the command line with
something like this:
    -global driver=riscv.lowrisc.ibex.soc,property=resetvec,value=0x20000400

This way as the next stage changes we can update the resetvec.

Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20220914101108.82571-4-alistair.francis@wdc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: opentitan: Fixup resetvec</title>
<updated>2022-09-26T21:04:38+00:00</updated>
<author>
<name>Alistair Francis</name>
</author>
<published>2022-09-14T10:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d057aaece7665d49e81ef8d8204b095351253f21'/>
<id>urn:sha1:d057aaece7665d49e81ef8d8204b095351253f21</id>
<content type='text'>
The resetvec for the OpenTitan machine ended up being set to an out of
date value, so let's fix that and bump it to the correct start address
(after the boot ROM)

Fixes: bf8803c64d75 "hw/riscv: opentitan: bump opentitan version"
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20220914101108.82571-3-alistair.francis@wdc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>hw/riscv: virt: Add PMU DT node to the device tree</title>
<updated>2022-09-07T07:19:15+00:00</updated>
<author>
<name>Atish Patra</name>
</author>
<published>2022-08-24T22:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=abd9a20665496aa4f3680fbbd42b5c389ea53d1c'/>
<id>urn:sha1:abd9a20665496aa4f3680fbbd42b5c389ea53d1c</id>
<content type='text'>
Qemu virt machine can support few cache events and cycle/instret counters.
It also supports counter overflow for these events.

Add a DT node so that OpenSBI/Linux kernel is aware of the virt machine
capabilities. There are some dummy nodes added for testing as well.

Acked-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Signed-off-by: Atish Patra &lt;atishp@rivosinc.com&gt;
Message-Id: &lt;20220824221701.41932-5-atishp@rivosinc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>target/riscv: Use official extension names for AIA CSRs</title>
<updated>2022-09-07T07:18:33+00:00</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2022-08-20T04:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=dc9acc9ce4add37bc5b4437ae9117c318b4f09d4'/>
<id>urn:sha1:dc9acc9ce4add37bc5b4437ae9117c318b4f09d4</id>
<content type='text'>
The arch review of AIA spec is completed and we now have official
extension names for AIA: Smaia (M-mode AIA CSRs) and Ssaia (S-mode
AIA CSRs).

Refer, section 1.6 of the latest AIA v0.3.1 stable specification at
https://github.com/riscv/riscv-aia/releases/download/0.3.1-draft.32/riscv-interrupts-032.pdf)

Based on above, we update QEMU RISC-V to:
1) Have separate config options for Smaia and Ssaia extensions
   which replace RISCV_FEATURE_AIA in CPU features
2) Not generate AIA INTC compatible string in virt machine

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-id: 20220820042958.377018-1-apatel@ventanamicro.com
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
</feed>
