Re: [PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-15 Thread Stephen Boyd
On 09/15, James Morse wrote: > On 15/09/17 02:19, Stephen Boyd wrote: > > From what I can see there isn't anything about ACPI_APEI_SEA that > > means the arm64 architecture can or cannot support NMI safe > > cmpxchg, so the if condition here is not important. > > Yup, it was to match 'HAVE_NMI',

Re: [PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-15 Thread Stephen Boyd
On 09/15, James Morse wrote: > On 15/09/17 02:19, Stephen Boyd wrote: > > From what I can see there isn't anything about ACPI_APEI_SEA that > > means the arm64 architecture can or cannot support NMI safe > > cmpxchg, so the if condition here is not important. > > Yup, it was to match 'HAVE_NMI',

Re: [PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-15 Thread James Morse
Hi Stephen, On 15/09/17 02:19, Stephen Boyd wrote: > From what I can see there isn't anything about ACPI_APEI_SEA that > means the arm64 architecture can or cannot support NMI safe > cmpxchg, so the if condition here is not important. Yup, it was to match 'HAVE_NMI', which was new with

Re: [PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-15 Thread James Morse
Hi Stephen, On 15/09/17 02:19, Stephen Boyd wrote: > From what I can see there isn't anything about ACPI_APEI_SEA that > means the arm64 architecture can or cannot support NMI safe > cmpxchg, so the if condition here is not important. Yup, it was to match 'HAVE_NMI', which was new with

[PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-14 Thread Stephen Boyd
>From what I can see there isn't anything about ACPI_APEI_SEA that means the arm64 architecture can or cannot support NMI safe cmpxchg, so the if condition here is not important. Let's remove it. Doing that allows us to support ftrace histograms via CONFIG_HIST_TRIGGERS that depends on the arch

[PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-14 Thread Stephen Boyd
>From what I can see there isn't anything about ACPI_APEI_SEA that means the arm64 architecture can or cannot support NMI safe cmpxchg, so the if condition here is not important. Let's remove it. Doing that allows us to support ftrace histograms via CONFIG_HIST_TRIGGERS that depends on the arch