[PATCH v4 0/7] Unaligned access for user only

Richard Henderson posted 7 patches 2 years, 3 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220104021543.396571-1-richard.henderson@linaro.org
Maintainers: Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Palmer Dabbelt <palmer@dabbelt.com>, Stefan Weil <sw@weilnetz.de>, Alistair Francis <Alistair.Francis@wdc.com>, "Alex Bennée" <alex.bennee@linaro.org>
tcg/aarch64/tcg-target.h     |   2 -
tcg/i386/tcg-target.h        |   2 -
tcg/ppc/tcg-target.h         |   2 -
tcg/riscv/tcg-target.h       |   2 -
tcg/s390x/tcg-target.h       |   2 -
tcg/tci.c                    |  20 +++++--
tests/tcg/multiarch/sigbus.c |  68 +++++++++++++++++++++++
tcg/aarch64/tcg-target.c.inc |  91 +++++++++++++++++++++++++------
tcg/i386/tcg-target.c.inc    | 103 +++++++++++++++++++++++++++++++++--
tcg/ppc/tcg-target.c.inc     |  98 ++++++++++++++++++++++++++++++---
tcg/riscv/tcg-target.c.inc   |  63 ++++++++++++++++++++-
tcg/s390x/tcg-target.c.inc   |  59 +++++++++++++++++++-
12 files changed, 462 insertions(+), 50 deletions(-)
create mode 100644 tests/tcg/multiarch/sigbus.c
[PATCH v4 0/7] Unaligned access for user only
Posted by Richard Henderson 2 years, 3 months ago
Version 3 was way back in August:

https://lore.kernel.org/qemu-devel/20210818191920.390759-1-richard.henderson@linaro.org/

Quite a few of the patches in there have been merged, but not all.

Based-on: <20211227150127.2659293-1-richard.henderson@linaro.org>

There are follow-on patch sets for arm, mips, and sparc, which I
will be refreshing soon.  Xuerui, I believe that tcg/loongarch
should be as simple as one of these five.


r~


Richard Henderson (7):
  tcg/i386: Support raising sigbus for user-only
  tcg/aarch64: Support raising sigbus for user-only
  tcg/ppc: Support raising sigbus for user-only
  tcg/riscv: Support raising sigbus for user-only
  tcg/s390x: Support raising sigbus for user-only
  tcg/tci: Support raising sigbus for user-only
  tests/tcg/multiarch: Add sigbus.c

 tcg/aarch64/tcg-target.h     |   2 -
 tcg/i386/tcg-target.h        |   2 -
 tcg/ppc/tcg-target.h         |   2 -
 tcg/riscv/tcg-target.h       |   2 -
 tcg/s390x/tcg-target.h       |   2 -
 tcg/tci.c                    |  20 +++++--
 tests/tcg/multiarch/sigbus.c |  68 +++++++++++++++++++++++
 tcg/aarch64/tcg-target.c.inc |  91 +++++++++++++++++++++++++------
 tcg/i386/tcg-target.c.inc    | 103 +++++++++++++++++++++++++++++++++--
 tcg/ppc/tcg-target.c.inc     |  98 ++++++++++++++++++++++++++++++---
 tcg/riscv/tcg-target.c.inc   |  63 ++++++++++++++++++++-
 tcg/s390x/tcg-target.c.inc   |  59 +++++++++++++++++++-
 12 files changed, 462 insertions(+), 50 deletions(-)
 create mode 100644 tests/tcg/multiarch/sigbus.c

-- 
2.25.1


Re: [PATCH v4 0/7] Unaligned access for user only
Posted by WANG Xuerui 2 years, 3 months ago
Hi Richard,

On 1/4/22 10:15, Richard Henderson wrote:
> Version 3 was way back in August:
>
> https://lore.kernel.org/qemu-devel/20210818191920.390759-1-richard.henderson@linaro.org/
>
> Quite a few of the patches in there have been merged, but not all.
>
> Based-on: <20211227150127.2659293-1-richard.henderson@linaro.org>
>
> There are follow-on patch sets for arm, mips, and sparc, which I
> will be refreshing soon.  Xuerui, I believe that tcg/loongarch
> should be as simple as one of these five.
Thanks for the heads-up; I'll take care of implementing the loongarch64 
part in this week (or maybe next week in case of $DAY_JOB).
>
>
> r~
>
>
> Richard Henderson (7):
>    tcg/i386: Support raising sigbus for user-only
>    tcg/aarch64: Support raising sigbus for user-only
>    tcg/ppc: Support raising sigbus for user-only
>    tcg/riscv: Support raising sigbus for user-only
>    tcg/s390x: Support raising sigbus for user-only
>    tcg/tci: Support raising sigbus for user-only
>    tests/tcg/multiarch: Add sigbus.c
>
>   tcg/aarch64/tcg-target.h     |   2 -
>   tcg/i386/tcg-target.h        |   2 -
>   tcg/ppc/tcg-target.h         |   2 -
>   tcg/riscv/tcg-target.h       |   2 -
>   tcg/s390x/tcg-target.h       |   2 -
>   tcg/tci.c                    |  20 +++++--
>   tests/tcg/multiarch/sigbus.c |  68 +++++++++++++++++++++++
>   tcg/aarch64/tcg-target.c.inc |  91 +++++++++++++++++++++++++------
>   tcg/i386/tcg-target.c.inc    | 103 +++++++++++++++++++++++++++++++++--
>   tcg/ppc/tcg-target.c.inc     |  98 ++++++++++++++++++++++++++++++---
>   tcg/riscv/tcg-target.c.inc   |  63 ++++++++++++++++++++-
>   tcg/s390x/tcg-target.c.inc   |  59 +++++++++++++++++++-
>   12 files changed, 462 insertions(+), 50 deletions(-)
>   create mode 100644 tests/tcg/multiarch/sigbus.c
>