<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/hw/input, 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/input?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/hw/input?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-07-18T18:28:46+00:00</updated>
<entry>
<title>pckbd: remove legacy i8042_mm_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b704d63d094cc757c20c186ff40d692deb5e30de'/>
<id>urn:sha1:b704d63d094cc757c20c186ff40d692deb5e30de</id>
<content type='text'>
This legacy function is only used during the initialisation of the MIPS magnum
machine, so inline its functionality directly into mips_jazz_init() and then
remove it.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-41-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>ps2: remove unused legacy ps2_mouse_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=46e9783fbeabfac3c4f07c0de5e32d8c322f7a07'/>
<id>urn:sha1:46e9783fbeabfac3c4f07c0de5e32d8c322f7a07</id>
<content type='text'>
Now that the legacy ps2_mouse_init() function is no longer used, it can be completely
removed along with its associated trace-event.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-40-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>pckbd: don't use legacy ps2_mouse_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9d1a4250377fdbc05088adbff1e1aa3572ce9889'/>
<id>urn:sha1:9d1a4250377fdbc05088adbff1e1aa3572ce9889</id>
<content type='text'>
Instantiate the PS2 mouse device within KBDState using
object_initialize_child() in i8042_initfn() and i8042_mmio_init() and realize
it in i8042_realizefn() and i8042_mmio_realize() accordingly.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-39-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>ps2: remove unused legacy ps2_kbd_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5e8312ab8ed16c0e671a13eda680959c7ac1e980'/>
<id>urn:sha1:5e8312ab8ed16c0e671a13eda680959c7ac1e980</id>
<content type='text'>
Now that the legacy ps2_kbd_init() function is no longer used, it can be completely
removed along with its associated trace-event.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-38-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>pckbd: don't use legacy ps2_kbd_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=652fbff4200afe1fc8da2ee1f5019c360580fce2'/>
<id>urn:sha1:652fbff4200afe1fc8da2ee1f5019c360580fce2</id>
<content type='text'>
Instantiate the PS2 keyboard device within KBDState using
object_initialize_child() in i8042_initfn() and i8042_mmio_init() and realize
it in i8042_realizefn() and i8042_mmio_realize() accordingly.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-37-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>lasips2: don't use legacy ps2_mouse_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d316983c7fac5f144daefd29d33594e9442b3fa8'/>
<id>urn:sha1:d316983c7fac5f144daefd29d33594e9442b3fa8</id>
<content type='text'>
Instantiate the PS2 mouse device within LASIPS2MousePort using
object_initialize_child() in lasips2_mouse_port_init() and realize it in
lasips2_mouse_port_realize() accordingly.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-34-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>lasips2: don't use legacy ps2_kbd_init() function</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e2b50aea03fcdcea58057e453e1d9f9a3aa6a7eb'/>
<id>urn:sha1:e2b50aea03fcdcea58057e453e1d9f9a3aa6a7eb</id>
<content type='text'>
Instantiate the PS2 keyboard device within LASIPS2KbdPort using
object_initialize_child() in lasips2_kbd_port_init() and realize it in
lasips2_kbd_port_realize() accordingly.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-33-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>lasips2: rename LASIPS2Port parent pointer to lasips2</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=01f6c546269977d6ca78d6fbddc15019aad7056b'/>
<id>urn:sha1:01f6c546269977d6ca78d6fbddc15019aad7056b</id>
<content type='text'>
This makes it clearer that the pointer is a reference to the LASIPS2 container
device rather than an implied part of the QOM hierarchy.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20220712215251.7944-30-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>lasips2: switch to using port-based IRQs</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=212a3003033224d1821e7cecc70b38d7a7f08ff4'/>
<id>urn:sha1:212a3003033224d1821e7cecc70b38d7a7f08ff4</id>
<content type='text'>
Now we can implement port-based IRQs by wiring the PS2 device IRQs to the
LASI2Port named input gpios rather than directly to the LASIPS2 device, and
generate the LASIPS2 output IRQ from the int_status bitmap representing the
individual port IRQs instead of the birq boolean.

This enables us to remove the separate PS2 keyboard and PS2 mouse named input
gpios from the LASIPS2 device and simplify the register implementation to
drive the port IRQ using qemu_set_irq() rather than accessing the LASIPS2
device IRQs directly. As a consequence the IRQ level logic in lasips2_set_irq()
can also be simplified accordingly.

For now this patch ignores adding the int_status bitmap and simply drops the
birq boolean from the vmstate_lasips2 VMStateDescription. This is because the
migration stream is already missing some required LASIPS2 fields, and as this
series already introduces a migration break for the lasips2 device it is
easiest to fix this in a follow-up patch.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Message-Id: &lt;20220712215251.7944-29-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>lasips2: add named input gpio to handle incoming port IRQs</title>
<updated>2022-07-18T18:28:46+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-07-12T21:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ca735a81b27c7b54b26202be479075acbc1657c5'/>
<id>urn:sha1:ca735a81b27c7b54b26202be479075acbc1657c5</id>
<content type='text'>
The LASIPS2 device named input gpio is soon to be connected to the port output
IRQs. Add a new int_status field to LASIPS2State which is a bitmap representing
the port input IRQ status which will be enabled in the next patch.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Acked-by: Helge Deller &lt;deller@gmx.de&gt;
Message-Id: &lt;20220712215251.7944-28-mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
</feed>
