Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge tag 'pull-tcg-20230805' of https://gitlab.com/rth7680/qemu into…
… staging
accel/tcg: Do not issue misaligned i/o
accel/tcg: Call save_iotlb_data from io_readx
gdbstub: use 0 ("any process") on packets with no PID
linux-user: Fixes for MAP_FIXED_NOREPLACE
linux-user: Fixes for brk
linux-user: Adjust task_unmapped_base for reserved_va
linux-user: Use ELF_ET_DYN_BASE for ET_DYN with interpreter
linux-user: Remove host != guest page size workarounds in brk and image load
linux-user: Set V in ELF_HWCAP for RISC-V
*-user: Remove last_brk as unused
# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmTPFQkdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9B/ggAlYHsJAJdQaGXYTZD
# 8ycXAUAKSovIxLbI0nGDgr9qjFeoMLYB0FYlN3Xur9yY3olOcQYIdL81Cog/RAti
# RooQt1U3VaXIXwSb+fniM9yqu0vP8KrBlH5HgU3dViNa9AYkRXHypmo1j1vRKWL9
# C1GGoY9pehlvLvWweA5BuW1f8cMPX4xG1WJBX1nl3/JMRHCOerUnw0Q6cGqlmFAI
# IV32lkXnbLh9zkSeuizi2F+zZP1MuYOjR7nzqlfU/R4E6bKCdPl/FfCQNkA4VjUM
# SRHWljjKwk3/MbYi4PSs9aS1fKKv+fLdzeAzrMJhGri72CsAHXennaJ3rqk2Bu3U
# you+9g==
# =rI/G
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 05 Aug 2023 08:35:37 PM PDT
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [ultimate]
* tag 'pull-tcg-20230805' of https://gitlab.com/rth7680/qemu: (24 commits)
linux-user/elfload: Set V in ELF_HWCAP for RISC-V
accel/tcg: Call save_iotlb_data from io_readx as well.
linux-user: Use zero_bss for PT_LOAD with no file contents too
linux-user: Do not adjust zero_bss for host page size
linux-user: Do not adjust image mapping for host page size
linux-user: Properly set image_info.brk in flatload
linux-user: Adjust initial brk when interpreter is close to executable
linux-user: Use elf_et_dyn_base for ET_DYN with interpreter
linux-user: Use MAP_FIXED_NOREPLACE for initial image mmap
linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h
linux-user: Define TASK_UNMAPPED_BASE in $guest/target_mman.h
linux-user: Adjust task_unmapped_base for reserved_va
bsd-user: Remove last_brk
linux-user: Remove last_brk
linux-user: Do not align brk with host page size
linux-user: Do nothing if too small brk is specified
linux-user: Use MAP_FIXED_NOREPLACE for do_brk()
linux-user: Do not call get_errno() in do_brk()
linux-user: Fix MAP_FIXED_NOREPLACE on old kernels
linux-user: Unset MAP_FIXED_NOREPLACE for host
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>- Loading branch information
Showing
31 changed files
with
624 additions
and
296 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,12 @@ | ||
| /* | ||
| * arch/arm/include/asm/memory.h | ||
| * TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M) | ||
| * TASK_SIZE CONFIG_PAGE_OFFSET | ||
| * CONFIG_PAGE_OFFSET 0xC0000000 (default in Kconfig) | ||
| */ | ||
| #define TASK_UNMAPPED_BASE 0x40000000 | ||
|
|
||
| /* arch/arm/include/asm/elf.h */ | ||
| #define ELF_ET_DYN_BASE 0x00400000 | ||
|
|
||
| #include "../generic/target_mman.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,13 @@ | ||
| /* | ||
| * arch/cris/include/asm/processor.h: | ||
| * TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) | ||
| * | ||
| * arch/cris/include/arch-v32/arch/processor.h | ||
| * TASK_SIZE 0xb0000000 | ||
| */ | ||
| #define TASK_UNMAPPED_BASE TARGET_PAGE_ALIGN(0xb0000000 / 3) | ||
|
|
||
| /* arch/cris/include/uapi/asm/elf.h */ | ||
| #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE * 2) | ||
|
|
||
| #include "../generic/target_mman.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.