From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdIBUJ4 (ORCPT ); Sat, 2 Sep 2017 16:09:56 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:35530 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbdIBUJx (ORCPT ); Sat, 2 Sep 2017 16:09:53 -0400 X-Google-Smtp-Source: ADKCNb5mg+Io5a8VBD39963XZ/Svc/abyEFbMBXuSqp+YOAn58RzQISuuxKgYZUdSrQuvJxiNp1kYQ== From: Kees Cook To: Ingo Molnar Cc: Kees Cook , Mike Galbraith , "x86@kernel.org" , linux-arch , LKML , "Reshetova, Elena" , Peter Zijlstra , Ard Biesheuvel Subject: [PATCH v2 2/2] locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT Date: Sat, 2 Sep 2017 13:09:46 -0700 Message-Id: <1504382986-49301-3-git-send-email-keescook@chromium.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504382986-49301-1-git-send-email-keescook@chromium.org> References: <1504382986-49301-1-git-send-email-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the section inlining bug fixed for the x86 refcount protection, we can turn the config back on. Cc: Mike Galbraith Signed-off-by: Kees Cook --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index eaa8ff41f424..c6acdcdb3fc6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -56,7 +56,7 @@ config X86 select ARCH_HAS_MMIO_FLUSH select ARCH_HAS_PMEM_API if X86_64 # Causing hangs/crashes, see the commit that added this change for details. - select ARCH_HAS_REFCOUNT if BROKEN + select ARCH_HAS_REFCOUNT select ARCH_HAS_UACCESS_FLUSHCACHE if X86_64 select ARCH_HAS_SET_MEMORY select ARCH_HAS_SG_CHAIN -- 2.7.4