mbox series

[0/9] nios2: Enable cross compile and fix signals

Message ID 20211001153347.1736014-1-richard.henderson@linaro.org
Headers show
Series nios2: Enable cross compile and fix signals | expand

Message

Richard Henderson Oct. 1, 2021, 3:33 p.m. UTC
Patches 2, 3, and 5 have appeared before.

The patch for the kuser page has been updated to use the commpage
infrastructure, which needed expanding just a bit to handle the
page being at the beginning of the address space.

Getting the toolchain built allowed the code to actually be tested,
which showed up a few more problems in the testsuite.

I have already pushed the debian-nios2-cross image to gitlab, much
like we did for hexagon and its locally built toolchain.


r~


Richard Henderson (9):
  tests/docker: Add debian-nios2-cross image
  linux-user/nios2: Properly emulate EXCP_TRAP
  linux-user/nios2: Fixes for signal frame setup
  linux-user/elfload: Rename ARM_COMMPAGE to HI_COMMPAGE
  linux-user/nios2: Map a real kuser page
  linux-user/nios2: Fix EA vs PC confusion
  linux-user/nios2: Fix sigmask in setup_rt_frame
  linux-user/nios2: Use set_sigmask in do_rt_sigreturn
  tests/tcg: Enable container_cross_cc for nios2

 target/nios2/cpu.h                            |  2 +-
 linux-user/elfload.c                          | 66 +++++++++++--
 linux-user/nios2/cpu_loop.c                   | 93 +++++++++---------
 linux-user/nios2/signal.c                     | 56 +++++------
 linux-user/signal.c                           |  2 -
 target/nios2/translate.c                      | 26 +++--
 tests/docker/Makefile.include                 | 19 ++++
 .../dockerfiles/debian-nios2-cross.docker     | 34 +++++++
 .../build-toolchain.sh                        | 97 +++++++++++++++++++
 tests/tcg/configure.sh                        |  6 ++
 10 files changed, 302 insertions(+), 99 deletions(-)
 create mode 100644 tests/docker/dockerfiles/debian-nios2-cross.docker
 create mode 100755 tests/docker/dockerfiles/debian-nios2-cross.docker.d/build-toolchain.sh

-- 
2.25.1

Comments

Richard Henderson Oct. 11, 2021, 7:06 p.m. UTC | #1
Ping.

On 10/1/21 8:33 AM, Richard Henderson wrote:
> Patches 2, 3, and 5 have appeared before.

> 

> The patch for the kuser page has been updated to use the commpage

> infrastructure, which needed expanding just a bit to handle the

> page being at the beginning of the address space.

> 

> Getting the toolchain built allowed the code to actually be tested,

> which showed up a few more problems in the testsuite.

> 

> I have already pushed the debian-nios2-cross image to gitlab, much

> like we did for hexagon and its locally built toolchain.

> 

> 

> r~

> 

> 

> Richard Henderson (9):

>    tests/docker: Add debian-nios2-cross image

>    linux-user/nios2: Properly emulate EXCP_TRAP

>    linux-user/nios2: Fixes for signal frame setup

>    linux-user/elfload: Rename ARM_COMMPAGE to HI_COMMPAGE

>    linux-user/nios2: Map a real kuser page

>    linux-user/nios2: Fix EA vs PC confusion

>    linux-user/nios2: Fix sigmask in setup_rt_frame

>    linux-user/nios2: Use set_sigmask in do_rt_sigreturn

>    tests/tcg: Enable container_cross_cc for nios2

> 

>   target/nios2/cpu.h                            |  2 +-

>   linux-user/elfload.c                          | 66 +++++++++++--

>   linux-user/nios2/cpu_loop.c                   | 93 +++++++++---------

>   linux-user/nios2/signal.c                     | 56 +++++------

>   linux-user/signal.c                           |  2 -

>   target/nios2/translate.c                      | 26 +++--

>   tests/docker/Makefile.include                 | 19 ++++

>   .../dockerfiles/debian-nios2-cross.docker     | 34 +++++++

>   .../build-toolchain.sh                        | 97 +++++++++++++++++++

>   tests/tcg/configure.sh                        |  6 ++

>   10 files changed, 302 insertions(+), 99 deletions(-)

>   create mode 100644 tests/docker/dockerfiles/debian-nios2-cross.docker

>   create mode 100755 tests/docker/dockerfiles/debian-nios2-cross.docker.d/build-toolchain.sh

>