<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/misc/macio, 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/misc/macio?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/misc/macio?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-31T18:48:23+00:00</updated>
<entry>
<title>mac_nvram: Use NVRAM_SIZE constant</title>
<updated>2022-10-31T18:48:23+00:00</updated>
<author>
<name>BALATON Zoltan</name>
</author>
<published>2022-10-28T11:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=458586fe19585d6949c79c898e2181048565c774'/>
<id>urn:sha1:458586fe19585d6949c79c898e2181048565c774</id>
<content type='text'>
The NVRAM_SIZE constant was defined but not used. Rename it to
MACIO_NVRAM_SIZE to match the device model and use it where appropriate.

Signed-off-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Message-Id: &lt;5b53c70438dfb46837af8a094e753706b06c4ec6.1666957578.git.balaton@eik.bme.hu&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h</title>
<updated>2022-10-31T18:48:23+00:00</updated>
<author>
<name>BALATON Zoltan</name>
</author>
<published>2022-10-28T11:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=443f07b73d139e6944bc6af472b6e9df790b6e38'/>
<id>urn:sha1:443f07b73d139e6944bc6af472b6e9df790b6e38</id>
<content type='text'>
All that is left in mac.h now belongs to the nvram emulation so rename
it accordingly and only include it where it is really used.

Signed-off-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Message-Id: &lt;b82449369f718c0e207fe8c332fab550fa0230c0.1666957578.git.balaton@eik.bme.hu&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>hw/ppc/mac.h: Move macio specific parts out from shared header</title>
<updated>2022-10-31T18:48:23+00:00</updated>
<author>
<name>BALATON Zoltan</name>
</author>
<published>2022-10-28T11:56:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=55078ea7775f207db5d8bca252151fc85741a8ca'/>
<id>urn:sha1:55078ea7775f207db5d8bca252151fc85741a8ca</id>
<content type='text'>
Move the parts specific to and only used by macio out from the shared
mac.h into macio.c where they better belong.

Signed-off-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Message-Id: &lt;ac570ce9dcbae169310503689053807b8b4b86bc.1666957578.git.balaton@eik.bme.hu&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>macio/pmu.c: remove redundant code</title>
<updated>2022-03-09T09:28:28+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-03-05T15:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a4c7be3736b2bcfe6c716651c744bbcaf7ae15d9'/>
<id>urn:sha1:a4c7be3736b2bcfe6c716651c744bbcaf7ae15d9</id>
<content type='text'>
Now that the logic related to edge-triggered interrupts is all contained within
the mos6522 device the redundant implementation for the mac99 PMU device can
be removed.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220305150957.5053-13-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>mos6522: use device_class_set_parent_reset() to propagate reset to parent</title>
<updated>2022-03-09T09:28:28+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-03-05T15:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c697fc80a8e7ee0594afbbf0758fcf889f47d31e'/>
<id>urn:sha1:c697fc80a8e7ee0594afbbf0758fcf889f47d31e</id>
<content type='text'>
Switch from using a legacy approach to the more formal approach for propagating
device reset to the parent.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220305150957.5053-7-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>mos6522: switch over to use qdev gpios for IRQs</title>
<updated>2022-03-09T09:28:28+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-03-05T15:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ebe5bca2ef10eb4f239a2e6e6a6f8ec748af1952'/>
<id>urn:sha1:ebe5bca2ef10eb4f239a2e6e6a6f8ec748af1952</id>
<content type='text'>
For historical reasons each mos6522 instance implements its own setting and
update of the IFR flag bits using methods exposed by MOS6522DeviceClass. As
of today this is no longer required, and it is now possible to implement
the mos6522 IRQs as standard qdev gpios.

Switch over to use qdev gpios for the mos6522 device and update all instances
accordingly.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220305150957.5053-5-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>rtc: Move RTC function prototypes to their own header</title>
<updated>2022-01-28T14:29:46+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2021-11-29T20:55:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2f93d8b04a1bcc8e0a576e35ae13c96af42634db'/>
<id>urn:sha1:2f93d8b04a1bcc8e0a576e35ae13c96af42634db</id>
<content type='text'>
softmmu/rtc.c defines two public functions: qemu_get_timedate() and
qemu_timedate_diff().  Currently we keep the prototypes for these in
qemu-common.h, but most files don't need them.  Move them to their
own header, a new include/sysemu/rtc.h.

Since the C files using these two functions did not need to include
qemu-common.h for any other reason, we can remove those include lines
when we add the include of the new rtc.h.

The license for the .h file follows that of the softmmu/rtc.c
where both the functions are defined.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>dma: Let dma_memory_read/write() take MemTxAttrs argument</title>
<updated>2021-12-30T16:16:32+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2020-09-03T08:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ba06fe8add5b788956a7317246c6280dfc157040'/>
<id>urn:sha1:ba06fe8add5b788956a7317246c6280dfc157040</id>
<content type='text'>
Let devices specify transaction attributes when calling
dma_memory_read() or dma_memory_write().

Patch created mechanically using spatch with this script:

  @@
  expression E1, E2, E3, E4;
  @@
  (
  - dma_memory_read(E1, E2, E3, E4)
  + dma_memory_read(E1, E2, E3, E4, MEMTXATTRS_UNSPECIFIED)
  |
  - dma_memory_write(E1, E2, E3, E4)
  + dma_memory_write(E1, E2, E3, E4, MEMTXATTRS_UNSPECIFIED)
  )

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Li Qiang &lt;liq3ea@gmail.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Acked-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20211223115554.3155328-6-philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>pmu: fix pmu vmstate subsection list</title>
<updated>2021-11-17T18:10:44+00:00</updated>
<author>
<name>Laurent Vivier</name>
</author>
<published>2021-11-16T15:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=14554b3dccae18ddc58d39654443c8e4551252c9'/>
<id>urn:sha1:14554b3dccae18ddc58d39654443c8e4551252c9</id>
<content type='text'>
The subsection is not closed by a NULL marker so this can trigger
a segfault when the pmu vmstate is saved.

This can be easily shown with:

  $ ./qemu-system-ppc64  -dump-vmstate vmstate.json
  Segmentation fault (core dumped)

Fixes: d811d61fbc6c ("mac_newworld: add PMU device")
Cc: mark.cave-ayland@ilande.co.uk
Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
</content>
</entry>
<entry>
<title>qbus: Rename qbus_create_inplace() to qbus_init()</title>
<updated>2021-09-30T12:42:10+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2021-09-23T12:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d637e1dc6de0e171dca6fbb5384668c642aa5ab6'/>
<id>urn:sha1:d637e1dc6de0e171dca6fbb5384668c642aa5ab6</id>
<content type='text'>
Rename qbus_create_inplace() to qbus_init(); this is more in line
with our usual naming convention for functions that in-place
initialize objects.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-id: 20210923121153.23754-5-peter.maydell@linaro.org
</content>
</entry>
</feed>
