[Qemu-devel] [PATCH v2 0/4] linux-user fixes for va mapping

Richard Henderson posted 4 patches 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171005143601.21584-1-richard.henderson@linaro.org
Test checkpatch passed
Test docker passed
Test s390x passed
linux-user/arm/target_cpu.h |  4 ++++
target/mips/mips-defs.h     |  6 +++++-
target/nios2/cpu.h          |  6 +++++-
target/sh4/cpu.h            |  6 +++++-
accel/tcg/translate-all.c   |  2 +-
linux-user/elfload.c        |  2 +-
linux-user/main.c           | 38 +++++++++++++++++++++++++-------------
7 files changed, 46 insertions(+), 18 deletions(-)
[Qemu-devel] [PATCH v2 0/4] linux-user fixes for va mapping
Posted by Richard Henderson 6 years, 6 months ago
Version 1 was back in July,

  https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg02033.html

  > At first I was simply going to add TARGET_SH to the existing
  > set of defines that trigger a 31-bit address space.  But then
  > I realized that one could create non-working va configurations
  > from the command-line.

Changes since v1:
  * Peter fixes the elfload bug that prevented ARM using the proper
    MAX_RESERVED_VA setting.
  * Adjust the arm MAX_RESERVED_VA.


r~


Peter Maydell (1):
  linux-user: Allow -R values up to 0xffff0000 for 32-bit ARM guests

Richard Henderson (3):
  tcg: Fix off-by-one in assert in page_set_flags
  linux-user: Tidy and enforce reserved_va initialization
  linux-user/sh4: Reduce TARGET_VIRT_ADDR_SPACE_BITS to 31

 linux-user/arm/target_cpu.h |  4 ++++
 target/mips/mips-defs.h     |  6 +++++-
 target/nios2/cpu.h          |  6 +++++-
 target/sh4/cpu.h            |  6 +++++-
 accel/tcg/translate-all.c   |  2 +-
 linux-user/elfload.c        |  2 +-
 linux-user/main.c           | 38 +++++++++++++++++++++++++-------------
 7 files changed, 46 insertions(+), 18 deletions(-)

-- 
2.13.6


Re: [Qemu-devel] [PATCH v2 0/4] linux-user fixes for va mapping
Posted by Riku Voipio 6 years, 6 months ago
On Thu, Oct 05, 2017 at 10:35:57AM -0400, Richard Henderson wrote:
> Version 1 was back in July,
> 
>   https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg02033.html
> 
>   > At first I was simply going to add TARGET_SH to the existing
>   > set of defines that trigger a 31-bit address space.  But then
>   > I realized that one could create non-working va configurations
>   > from the command-line.
> 
> Changes since v1:
>   * Peter fixes the elfload bug that prevented ARM using the proper
>     MAX_RESERVED_VA setting.
>   * Adjust the arm MAX_RESERVED_VA.
> 

Thanks, applied to linux-user
 
> r~
> 
> 
> Peter Maydell (1):
>   linux-user: Allow -R values up to 0xffff0000 for 32-bit ARM guests
> 
> Richard Henderson (3):
>   tcg: Fix off-by-one in assert in page_set_flags
>   linux-user: Tidy and enforce reserved_va initialization
>   linux-user/sh4: Reduce TARGET_VIRT_ADDR_SPACE_BITS to 31
> 
>  linux-user/arm/target_cpu.h |  4 ++++
>  target/mips/mips-defs.h     |  6 +++++-
>  target/nios2/cpu.h          |  6 +++++-
>  target/sh4/cpu.h            |  6 +++++-
>  accel/tcg/translate-all.c   |  2 +-
>  linux-user/elfload.c        |  2 +-
>  linux-user/main.c           | 38 +++++++++++++++++++++++++-------------
>  7 files changed, 46 insertions(+), 18 deletions(-)
> 
> -- 
> 2.13.6
>