diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-01-25 15:03:54 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-02 10:36:53 +0000 |
commit | 4eb0a83c7851e2eb6d7890a130dfe50f37ff8ac9 (patch) | |
tree | 5b3145a5b605c63b03462cc99c7a2078939c25f6 /meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc | |
parent | 9c67951634c2effd4fbe229338715ccb49378341 (diff) | |
download | openembedded-core-4eb0a83c7851e2eb6d7890a130dfe50f37ff8ac9.tar.gz |
qemu: Allow native and nativesdk versions on Linux older then 4.17
Linux kernel 4.17 introduced two new mmap flags, MAP_FIXED_NOREPLACE and
MAP_SHARED_VALIDATE. Starting with QEMU 8.1, these flags are now used
and required for proper system operation. In order to build and run on a
system older then 4.17, we need to emulate this new behavior.
Not having a newer kernel could result in the mmap memory being allocated
in a way that will cause failures without QEMU checking for these
conditions. Note, memory allocation issues are rare in my experience so
this is more of a 'just-in-case' behavior.
SDK_OLDEST_KERNEL is currently set to 3.2.0, the only way this can claim
that qemu works in an SDK is by checking the return values to emulate
the expected behavior.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc')
0 files changed, 0 insertions, 0 deletions