[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/10] arm/arm-powerctl: set NSACR.{CP11, CP10} bits in arm_s
From: |
Peter Maydell |
Subject: |
Re: [PATCH 06/10] arm/arm-powerctl: set NSACR.{CP11, CP10} bits in arm_set_cpu_on() |
Date: |
Fri, 6 Dec 2019 14:24:50 +0000 |
On Mon, 2 Dec 2019 at 21:10, Niek Linnenbank <address@hidden> wrote:
>
> This change ensures that the FPU can be accessed in Non-Secure mode
> when the CPU core is reset using the arm_set_cpu_on() function call.
> The NSACR.{CP11,CP10} bits define the exception level required to
> access the FPU in Non-Secure mode. Without these bits set, the CPU
> will give an undefined exception trap on the first FPU access for the
> secondary cores under Linux.
>
> Fixes: fc1120a7f5
> Signed-off-by: Niek Linnenbank <address@hidden>
> ---
Oops, another place where we failed to realise the ramifications
of making NSACR actually do something.
Since this is a bugfix I'm going to fish it out of this patchset
and apply it to target-arm.next with a cc: stable.
Thanks for the catch!
-- PMM
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, (continued)
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Philippe Mathieu-Daudé, 2019/12/03
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Niek Linnenbank, 2019/12/03
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Philippe Mathieu-Daudé, 2019/12/04
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Niek Linnenbank, 2019/12/04
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Niek Linnenbank, 2019/12/05
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Philippe Mathieu-Daudé, 2019/12/06
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Niek Linnenbank, 2019/12/06
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Philippe Mathieu-Daudé, 2019/12/10
- Re: [PATCH 02/10] hw: arm: add Xunlong Orange Pi PC machine, Niek Linnenbank, 2019/12/10
- [PATCH 06/10] arm/arm-powerctl: set NSACR.{CP11, CP10} bits in arm_set_cpu_on(), Niek Linnenbank, 2019/12/02
- Re: [PATCH 06/10] arm/arm-powerctl: set NSACR.{CP11, CP10} bits in arm_set_cpu_on(),
Peter Maydell <=
- [PATCH 10/10] arm: allwinner-h3: add EMAC ethernet device, Niek Linnenbank, 2019/12/02
- [PATCH 01/10] hw: arm: add Allwinner H3 System-on-Chip, Niek Linnenbank, 2019/12/02