[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 75f01c: exec/memory: Extract address_space_se
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 75f01c: exec/memory: Extract address_space_set() from dma_... |
Date: |
Thu, 20 Jan 2022 03:48:59 -0800 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 75f01c68b5c630a9a6b21b93febf3a871a9111ba
https://github.com/qemu/qemu/commit/75f01c68b5c630a9a6b21b93febf3a871a9111ba
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M include/exec/memory.h
M softmmu/dma-helpers.c
M softmmu/physmem.c
Log Message:
-----------
exec/memory: Extract address_space_set() from dma_memory_set()
dma_memory_set() does a DMA barrier, set the address space with
a constant value. The constant value filling code is not specific
to DMA and can be used for AddressSpace. Extract it as a new
helper: address_space_set().
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[lv: rebase]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220115203725.3834712-2-laurent@vivier.eu>
Commit: b4c4c1f1129a5d9dcbcbff46b58998f6fb1410bb
https://github.com/qemu/qemu/commit/b4c4c1f1129a5d9dcbcbff46b58998f6fb1410bb
Author: Laurent Vivier <laurent@vivier.eu>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M hw/core/loader.c
M include/hw/elf_ops.h
Log Message:
-----------
hw/elf_ops: clear uninitialized segment space
When the mem_size of the segment is bigger than the file_size,
and if this space doesn't overlap another segment, it needs
to be cleared.
This bug is very similar to the one we had for linux-user,
22d113b52f41 ("linux-user: Fix loading of BSS segments"),
where .bss section is encoded as an extension of the the data
one by setting the segment p_memsz > p_filesz.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
[PMD: Use recently added address_space_set()]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220115203725.3834712-3-laurent@vivier.eu>
Commit: e48b140eef9775986cc18038c7bc68f8d2b7fe1d
https://github.com/qemu/qemu/commit/e48b140eef9775986cc18038c7bc68f8d2b7fe1d
Author: Laurent Vivier <laurent@vivier.eu>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M hw/m68k/virt.c
Log Message:
-----------
m68k: virt: correctly set the initial PC
According to QEMU parameter, set initial PC to the entry of
the loaded kernel.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220115203725.3834712-4-laurent@vivier.eu>
Commit: 47fa1ad5349bee5c2b47f8b1dc3be13f180c89ba
https://github.com/qemu/qemu/commit/47fa1ad5349bee5c2b47f8b1dc3be13f180c89ba
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M hw/core/loader.c
M hw/m68k/virt.c
M include/exec/memory.h
M include/hw/elf_ops.h
M softmmu/dma-helpers.c
M softmmu/physmem.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-7.0-pull-request'
into staging
m68k pull request 20220120
Fix virt-m68k reboot
# gpg: Signature made Thu 20 Jan 2022 08:35:50 GMT
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg: aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier/tags/m68k-for-7.0-pull-request:
m68k: virt: correctly set the initial PC
hw/elf_ops: clear uninitialized segment space
exec/memory: Extract address_space_set() from dma_memory_set()
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/b10d00d8811f...47fa1ad5349b
- [Qemu-commits] [qemu/qemu] 75f01c: exec/memory: Extract address_space_set() from dma_...,
Peter Maydell <=