<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/hw/ssi, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/hw/ssi?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/hw/ssi?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-24T09:20:15+00:00</updated>
<entry>
<title>aspeed/smc: Cache AspeedSMCClass</title>
<updated>2022-10-24T09:20:15+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2022-10-24T09:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b84a9482a3c9e3b6fbdf1fd4b0477e4a7a51683e'/>
<id>urn:sha1:b84a9482a3c9e3b6fbdf1fd4b0477e4a7a51683e</id>
<content type='text'>
Store a reference on the AspeedSMC class under the flash object and
use it when accessing the flash contents. Avoiding the class cast
checkers in these hot paths improves performance by 10% when running
the aspeed avocado tests.

Message-Id: &lt;20220923084803.498337-7-clg@kaod.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>ssi: cache SSIPeripheralClass to avoid GET_CLASS()</title>
<updated>2022-10-24T09:20:15+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-10-24T09:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=db96605a49b334eeb2a5d1cc12981778f7d792aa'/>
<id>urn:sha1:db96605a49b334eeb2a5d1cc12981778f7d792aa</id>
<content type='text'>
Investigating why some BMC models are so slow compared to a plain ARM
virt machines I did some profiling of:

  ./qemu-system-arm -M romulus-bmc -nic user \
    -drive
    file=obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd \
    -nographic -serial mon:stdio

And saw that object_class_dynamic_cast_assert was dominating the
profile times. We have a number of cases in this model of the SSI bus.
As the class is static once the object is created we just cache it and
use it instead of the dynamic case macros.

Profiling against:

  ./tests/venv/bin/avocado run \
    tests/avocado/machine_aspeed.py:test_arm_ast2500_romulus_openbmc_v2_9_0

Before: 35.565 s ±  0.087 s
After: 15.713 s ±  0.287 s

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Cédric Le Goater &lt;clg@kaod.org&gt;
Tested-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20220811151413.3350684-6-alex.bennee@linaro.org&gt;
Message-Id: &lt;20220923084803.498337-6-clg@kaod.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>hw/ssi: ibex_spi: fixup/add rw1c functionality</title>
<updated>2022-10-14T04:29:50+00:00</updated>
<author>
<name>Wilfred Mallawa</name>
</author>
<published>2022-09-30T03:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6c1876958bbb53396655777401ab34207d0e1afa'/>
<id>urn:sha1:6c1876958bbb53396655777401ab34207d0e1afa</id>
<content type='text'>
This patch adds the `rw1c` functionality to the respective
registers. The status fields are cleared when the respective
field is set.

Signed-off-by: Wilfred Mallawa &lt;wilfred.mallawa@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20220930033241.206581-3-wilfred.mallawa@opensource.wdc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>Clean up header guards that don't match their file name</title>
<updated>2022-05-11T14:49:06+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-05-06T13:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=52581c718c5cd55595ca032a56f1e194c5716456'/>
<id>urn:sha1:52581c718c5cd55595ca032a56f1e194c5716456</id>
<content type='text'>
Header guard symbols should match their file name to make guard
collisions less likely.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20220506134911.2856099-2-armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
[Change to generated file ebpf/rss.bpf.skeleton.h backed out]
</content>
</entry>
<entry>
<title>hw/ssi: Add Ibex SPI device model</title>
<updated>2022-04-22T00:35:16+00:00</updated>
<author>
<name>Wilfred Mallawa</name>
</author>
<published>2022-03-03T04:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9c4888c9959ccb8d2e2dc7e0080d48ad1398c036'/>
<id>urn:sha1:9c4888c9959ccb8d2e2dc7e0080d48ad1398c036</id>
<content type='text'>
Adds the SPI_HOST device model for ibex. The device specification is as per
[1]. The model has been tested on opentitan with spi_host unit tests
written for TockOS.

[1] https://docs.opentitan.org/hw/ip/spi_host/doc/

Signed-off-by: Wilfred Mallawa &lt;wilfred.mallawa@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20220303045426.511588-1-alistair.francis@opensource.wdc.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>aspeed/smc: Rename 'max_peripherals' to 'cs_num_max'</title>
<updated>2022-03-08T08:18:11+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2022-03-08T08:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ae945a00ff465f2e08be6ca6d83946fe5f9d6018'/>
<id>urn:sha1:ae945a00ff465f2e08be6ca6d83946fe5f9d6018</id>
<content type='text'>
The naming makes more sense in a SPI controller model.

Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20220307071856.1410731-5-clg@kaod.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>aspeed/smc: Remove 'num_cs' field</title>
<updated>2022-03-08T08:18:11+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2022-03-08T08:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8d99713bba88c2dff8d62a9d7370d026428335dc'/>
<id>urn:sha1:8d99713bba88c2dff8d62a9d7370d026428335dc</id>
<content type='text'>
It is not used anymore.

Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20220307071856.1410731-4-clg@kaod.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>aspeed/smc: Add an address mask on segment registers</title>
<updated>2022-02-26T17:40:51+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2022-02-18T08:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab'/>
<id>urn:sha1:7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab</id>
<content type='text'>
Only a limited set of bits are used for decoding the Start and End
addresses of the mapping window of a flash device.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>hw/ssi: Add a model of Xilinx Versal's OSPI flash memory controller</title>
<updated>2022-01-28T14:29:46+00:00</updated>
<author>
<name>Francisco Iglesias</name>
</author>
<published>2022-01-21T16:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cbb45ff038cdbfcc8af158191405e2597f28c562'/>
<id>urn:sha1:cbb45ff038cdbfcc8af158191405e2597f28c562</id>
<content type='text'>
Add a model of Xilinx Versal's OSPI flash memory controller.

Signed-off-by: Francisco Iglesias &lt;francisco.iglesias@xilinx.com&gt;
Reviewed-by: Luc Michel &lt;luc@lmichel.fr&gt;
Message-id: 20220121161141.14389-7-francisco.iglesias@xilinx.com
[PMM: fixed indent]
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>aspeed/smc: Use a container for the flash mmio address space</title>
<updated>2021-10-22T07:52:17+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-10-22T07:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fc6642544eb86b520fed4e3b7792bd89e563de08'/>
<id>urn:sha1:fc6642544eb86b520fed4e3b7792bd89e563de08</id>
<content type='text'>
Because AddressSpaces must not be sysbus-mapped, commit e9c568dbc225
("hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use
alias") introduced an alias for the flash mmio region.

Using a container is cleaner.

Cc: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Francisco Iglesias &lt;frasse.iglesias@gmail.com&gt;
Message-Id: &lt;20211018132609.160008-5-clg@kaod.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
</feed>
