Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740646

Re: [PATCH v2] acpi: apei: Add SEI notification type support for ARMv8

From gengdongjiu <gengdongjiu@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] acpi: apei: Add SEI notification type support for ARMv8
Date 2017-09-27 14:10 +0200
Message-ID <uujk6-2b5-11@gated-at.bofh.it> (permalink)
References <upwrE-1VN-5@gated-at.bofh.it> <uu3Im-pY-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?


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
>> --- 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 Tyler Baicar <tbaicar@codeaurora.org> - 2017-09-26 21:30 +0200
  Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 gengdongjiu <gengdongjiu@huawei.com> - 2017-09-27 03:40 +0200
  Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 gengdongjiu <gengdongjiu@huawei.com> - 2017-09-27 14:10 +0200
    Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 Tyler Baicar <tbaicar@codeaurora.org> - 2017-09-27 16:30 +0200
      Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 Stephen Boyd <sboyd@codeaurora.org> - 2017-09-27 18:00 +0200
        Re: [PATCH v2] acpi: apei: Add SEI notification type support for  ARMv8 gengdongjiu <gengdongjiu@huawei.com> - 2017-09-28 14:30 +0200

csiph-web