<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/linux-user/aarch64/target_syscall.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/linux-user/aarch64/target_syscall.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/linux-user/aarch64/target_syscall.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-06T08:50:37+00:00</updated>
<entry>
<title>Replace TARGET_WORDS_BIGENDIAN</title>
<updated>2022-04-06T08:50:37+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-03-23T15:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ee3eb3a7ce7242735e6fd64cad53482e3df5a5ec'/>
<id>urn:sha1:ee3eb3a7ce7242735e6fd64cad53482e3df5a5ec</id>
<content type='text'>
Convert the TARGET_WORDS_BIGENDIAN macro, similarly to what was done
with HOST_BIG_ENDIAN. The new TARGET_BIG_ENDIAN macro is either 0 or 1,
and thus should always be defined to prevent misuse.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Suggested-by: Halil Pasic &lt;pasic@linux.ibm.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220323155743.1585078-8-marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: Split out do_prctl and subroutines</title>
<updated>2022-01-06T10:40:52+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-12-27T15:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=87e9bf23236d3c9da84f2b6164e06be3ecfd45e0'/>
<id>urn:sha1:87e9bf23236d3c9da84f2b6164e06be3ecfd45e0</id>
<content type='text'>
Since the prctl constants are supposed to be generic, supply
any that are not provided by the host.

Split out subroutines for PR_GET_FP_MODE, PR_SET_FP_MODE,
PR_GET_VL, PR_SET_VL, PR_RESET_KEYS, PR_SET_TAGGED_ADDR_CTRL,
PR_GET_TAGGED_ADDR_CTRL.  Return EINVAL for guests that do
not support these options rather than pass them on to the host.

Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20211227150127.2659293-2-richard.henderson@linaro.org&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>linux-user: target_syscall.h remove definition TARGET_MINSIGSTKSZ</title>
<updated>2022-01-06T10:40:52+00:00</updated>
<author>
<name>Song Gao</name>
</author>
<published>2021-11-26T02:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f9d0707182fcf65593b55479fa891867192ebeef'/>
<id>urn:sha1:f9d0707182fcf65593b55479fa891867192ebeef</id>
<content type='text'>
TARGET_MINSIGSTKSZ has been defined in generic/signal.h
or target_signal.h, We don't need to define it again.

Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;1637893388-10282-3-git-send-email-gaosong@loongson.cn&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>linux-user/aarch64: Implement PR_MTE_TCF and PR_MTE_TAG</title>
<updated>2021-02-16T13:08:25+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-02-12T18:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bfd0572f43eea3162949fef02b4fd3fd6a3871d4'/>
<id>urn:sha1:bfd0572f43eea3162949fef02b4fd3fd6a3871d4</id>
<content type='text'>
These prctl fields are required for the function of MTE.

Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20210212184902.1251044-24-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/aarch64: Implement PR_TAGGED_ADDR_ENABLE</title>
<updated>2021-02-16T13:06:16+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-02-12T18:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0e0c030c681730f3ec55ba3b223b608a8f3e8282'/>
<id>urn:sha1:0e0c030c681730f3ec55ba3b223b608a8f3e8282</id>
<content type='text'>
This is the prctl bit that controls whether syscalls accept tagged
addresses.  See Documentation/arm64/tagged-address-abi.rst in the
linux kernel.

Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20210212184902.1251044-21-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Add strace support for printing arguments of syscalls used to lock and unlock memory</title>
<updated>2020-08-27T10:29:50+00:00</updated>
<author>
<name>Filip Bozuta</name>
</author>
<published>2020-08-11T16:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=02e5d7d78e423bf8b3ebb66ab36bdaa7e962312a'/>
<id>urn:sha1:02e5d7d78e423bf8b3ebb66ab36bdaa7e962312a</id>
<content type='text'>
This patch implements strace argument printing functionality for following syscalls:

    * mlock, munlock, mlockall, munlockall - lock and unlock memory

       int mlock(const void *addr, size_t len)
       int munlock(const void *addr, size_t len)
       int mlockall(int flags)
       int munlockall(void)
       man page: https://man7.org/linux/man-pages/man2/mlock.2.html

Implementation notes:

    Syscall mlockall() takes an argument that is composed of predefined values
    which represent flags that determine the type of locking operation that is
    to be performed. For that reason, a printing function "print_mlockall" was
    stated in file "strace.list". This printing function uses an already existing
    function "print_flags()" to print the "flags" argument.  These flags are stated
    inside an array "mlockall_flags" that contains values of type "struct flags".
    These values are instantiated using an existing macro "FLAG_TARGET()" that
    crates aproppriate target flag values based on those defined in files
    '/target_syscall.h'. These target flag values were changed from
    "TARGET_MLOCKALL_MCL*" to "TARGET_MCL_*" so that they can be aproppriately set
    and recognised in "strace.c" with "FLAG_TARGET()". Value for "MCL_ONFAULT"
    was added in this patch. This value was also added in "syscall.c" in function
    "target_to_host_mlockall_arg()". Because this flag value was added in kernel
    version 4.4, it is enwrapped in an #ifdef directive (both in "syscall.c" and
    in "strace.c") as to support older kernel versions.
    The other syscalls have only primitive argument types, so the
    rest of the implementation was handled by stating an appropriate
    printing format in file "strace.list". Syscall mlock2() is not implemented in
    "syscall.c" and thus it's argument printing is not implemented in this patch.

Signed-off-by: Filip Bozuta &lt;Filip.Bozuta@syrmia.com&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20200811164553.27713-4-Filip.Bozuta@syrmia.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>linux-user/aarch64: Use qemu_guest_getrandom for PAUTH keys</title>
<updated>2019-05-22T16:38:54+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2019-03-13T02:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=51977e25f77faae6949c7eb51c86f0319b82a77d'/>
<id>urn:sha1:51977e25f77faae6949c7eb51c86f0319b82a77d</id>
<content type='text'>
Use a better interface for random numbers than rand() * 3.

Reviewed-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Implement PR_PAC_RESET_KEYS</title>
<updated>2019-02-05T16:52:39+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2019-02-05T16:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bff63fbf97482979267e6bd8aaad32e5f5018e41'/>
<id>urn:sha1:bff63fbf97482979267e6bd8aaad32e5f5018e41</id>
<content type='text'>
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20190201195404.30486-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Initialize aarch64 pac keys</title>
<updated>2019-02-01T15:05:22+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2019-01-25T22:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=87877543b14feebf1bc4fd336d41901b036acf98'/>
<id>urn:sha1:87877543b14feebf1bc4fd336d41901b036acf98</id>
<content type='text'>
Initialize the keys to a non-zero value on process start.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Implement aarch64 PR_SVE_SET/GET_VL</title>
<updated>2018-03-09T17:09:43+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2018-03-09T17:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=85fc716732bc6e85a634335847999f411269f282'/>
<id>urn:sha1:85fc716732bc6e85a634335847999f411269f282</id>
<content type='text'>
As an implementation choice, widening VL has zeroed the
previously inaccessible portion of the sve registers.

Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Acked-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 20180303143823.27055-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
