<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/linux-user/i386, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/linux-user/i386?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/linux-user/i386?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-05-26T22:49:58Z</updated>
<entry>
<title>target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}</title>
<updated>2024-05-26T22:49:58Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T04:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=701890bdd09b289fd9cb852e714e91373088b0f3'/>
<id>urn:sha1:701890bdd09b289fd9cb852e714e91373088b0f3</id>
<content type='text'>
We have already validated the memory region in the course of
validating the signal frame.  No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv.  The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/i386: Pass host pointer and size to cpu_x86_{fxsave,fxrstor}</title>
<updated>2024-05-26T22:45:27Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T03:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9c2fb9e1d589fbda266d8db611b9d3a38ab96a3c'/>
<id>urn:sha1:9c2fb9e1d589fbda266d8db611b9d3a38ab96a3c</id>
<content type='text'>
We have already validated the memory region in the course of
validating the signal frame.  No need to do it again within
the helper function.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/i386: Pass host pointer and size to cpu_x86_{fsave,frstor}</title>
<updated>2024-05-26T22:45:27Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T03:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=76d8d0f85caf629b4df314e656d20ad6565bab9b'/>
<id>urn:sha1:76d8d0f85caf629b4df314e656d20ad6565bab9b</id>
<content type='text'>
We have already validated the memory region in the course of
validating the signal frame.  No need to do it again within
the helper function.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/i386: Convert do_xsave to X86Access</title>
<updated>2024-05-26T22:45:27Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T01:05:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=c6e6d1508ac309e39fec827c3719c86c10cd8975'/>
<id>urn:sha1:c6e6d1508ac309e39fec827c3719c86c10cd8975</id>
<content type='text'>
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Honor xfeatures in xrstor_sigcontext</title>
<updated>2024-05-26T22:45:27Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T00:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=7973eb943e670ea66a19e04868e01803c7594246'/>
<id>urn:sha1:7973eb943e670ea66a19e04868e01803c7594246</id>
<content type='text'>
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Fix allocation and alignment of fp state</title>
<updated>2024-05-26T22:45:23Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-09T00:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=a7365e984d27b961f381cf3be46682e4da5ab6f7'/>
<id>urn:sha1:a7365e984d27b961f381cf3be46682e4da5ab6f7</id>
<content type='text'>
For modern cpus, the kernel uses xsave to store all extra
cpu state across the signal handler.  For xsave/xrstor to
work, the pointer must be 64 byte aligned.  Moreover, the
regular part of the signal frame must be 16 byte aligned.

Attempt to mirror the kernel code as much as possible.
Use enum FPStateKind instead of use_xsave() and use_fxsr().

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1648
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Return boolean success from xrstor_sigcontext</title>
<updated>2024-05-26T19:51:50Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-08T23:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9e9b7d4c15b1cbefc608487a38e10c8f708fb187'/>
<id>urn:sha1:9e9b7d4c15b1cbefc608487a38e10c8f708fb187</id>
<content type='text'>
Invert the sense of the return value and use bool.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Return boolean success from restore_sigcontext</title>
<updated>2024-05-26T19:51:50Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-08T23:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=c536f9b77ccb771fc480ec8d3c1cefac243eac73'/>
<id>urn:sha1:c536f9b77ccb771fc480ec8d3c1cefac243eac73</id>
<content type='text'>
Invert the sense of the return value and use bool.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Fix -mregparm=3 for signal delivery</title>
<updated>2024-05-26T19:51:50Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-08T21:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=bae0455ce3ded1df80dee4e844194568063ad093'/>
<id>urn:sha1:bae0455ce3ded1df80dee4e844194568063ad093</id>
<content type='text'>
Since v2.6.19, the kernel has supported -mregparm=3.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/i386: Split out struct target_fregs_state</title>
<updated>2024-05-26T19:51:50Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-04-08T20:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=5cc77ebe9b9e07fcd06011dc23162069ef8c5eff'/>
<id>urn:sha1:5cc77ebe9b9e07fcd06011dc23162069ef8c5eff</id>
<content type='text'>
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
