Message ID | 8a622b5b-bcf1-3906-a4be-c3c86b0876fe@huawei.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
On 9/27/2017 6:05 AM, gengdongjiu wrote: > Tyler, Stephen > > On 2017/9/27 3:23, Tyler Baicar wrote: >>> Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com> >> Tested-by: Tyler Baicar <tbaicar@codeaurora.org> >> >> Tested this functionality using SEA support. >> >> ++Stephen, >> >> Something to be aware of, this patch will conflict with https://lkml.org/lkml/2017/9/14/663 >> It may make sense to just remove the conditions for the NMI configs as part of this patch or in a series with this patch to avoid merge conflicts. > In your patch, you only remove ACPI_APEI_SEA for the ARCH_HAVE_NMI_SAFE_CMPXCHG, do you need to remove it for the HAVE_NMI? From the latest comments it sounds like Stephen was going to remove it from both. https://lkml.org/lkml/2017/9/15/350 > > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 3dcd7ec..8055997 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -19,6 +19,7 @@ config ARM64 > select ARCH_HAS_STRICT_KERNEL_RWX > select ARCH_HAS_STRICT_MODULE_RWX > select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST > + select ARCH_HAVE_NMI_SAFE_CMPXCHG if ACPI_APEI_SEA > select ARCH_USE_CMPXCHG_LOCKREF > select ARCH_SUPPORTS_ATOMIC_RMW > select ARCH_SUPPORTS_NUMA_BALANCING > @@ -92,6 +93,7 @@ config ARM64 > select HAVE_IRQ_TIME_ACCOUNTING > select HAVE_MEMBLOCK > select HAVE_MEMBLOCK_NODE_MAP if NUMA > + select HAVE_NMI if ACPI_APEI_SEA > select HAVE_PATA_PLATFORM > select HAVE_PERF_EVENTS > select HAVE_PERF_REGS > >> Thanks, >> Tyler >>> --- -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 09/27, Tyler Baicar wrote: > On 9/27/2017 6:05 AM, gengdongjiu wrote: > >Tyler, Stephen > > > >On 2017/9/27 3:23, Tyler Baicar wrote: > >>>Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com> > >>Tested-by: Tyler Baicar <tbaicar@codeaurora.org> > >> > >>Tested this functionality using SEA support. > >> > >>++Stephen, > >> > >>Something to be aware of, this patch will conflict with https://lkml.org/lkml/2017/9/14/663 > >>It may make sense to just remove the conditions for the NMI configs as part of this patch or in a series with this patch to avoid merge conflicts. > >In your patch, you only remove ACPI_APEI_SEA for the ARCH_HAVE_NMI_SAFE_CMPXCHG, do you need to remove it for the HAVE_NMI? > From the latest comments it sounds like Stephen was going to remove > it from both. > https://lkml.org/lkml/2017/9/15/350 Sent it now.
Hi Stephen, Tyler On 2017/9/27 23:52, Stephen Boyd wrote: >>>> Something to be aware of, this patch will conflict with https://lkml.org/lkml/2017/9/14/663 >>>> It may make sense to just remove the conditions for the NMI configs as part of this patch or in a series with this patch to avoid merge conflicts. >>> In your patch, you only remove ACPI_APEI_SEA for the ARCH_HAVE_NMI_SAFE_CMPXCHG, do you need to remove it for the HAVE_NMI? >> From the latest comments it sounds like Stephen was going to remove >> it from both. >> https://lkml.org/lkml/2017/9/15/350 > Sent it now. I updated my patches. hope you can review again. only a little change. thanks [PATCH v3 1/2] acpi: apei: remove the unused dead-code for SEA notification type [PATCH v3 2/2] acpi: apei: Add SEI notification type support for ARMv8 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 3dcd7ec..8055997 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -19,6 +19,7 @@ config ARM64 select ARCH_HAS_STRICT_KERNEL_RWX select ARCH_HAS_STRICT_MODULE_RWX select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST + select ARCH_HAVE_NMI_SAFE_CMPXCHG if ACPI_APEI_SEA select ARCH_USE_CMPXCHG_LOCKREF select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_NUMA_BALANCING @@ -92,6 +93,7 @@ config ARM64 select HAVE_IRQ_TIME_ACCOUNTING select HAVE_MEMBLOCK select HAVE_MEMBLOCK_NODE_MAP if NUMA + select HAVE_NMI if ACPI_APEI_SEA select HAVE_PATA_PLATFORM select HAVE_PERF_EVENTS select HAVE_PERF_REGS