From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752825AbdI1LD3 (ORCPT ); Thu, 28 Sep 2017 07:03:29 -0400 Received: from terminus.zytor.com ([65.50.211.136]:42063 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850AbdI1LD1 (ORCPT ); Thu, 28 Sep 2017 07:03:27 -0400 Date: Thu, 28 Sep 2017 03:58:50 -0700 From: tip-bot for Kees Cook Message-ID: Cc: keescook@chromium.org, hpa@zytor.com, tglx@linutronix.de, ard.biesheuvel@linaro.org, peterz@infradead.org, linux-arch@vger.kernel.org, torvalds@linux-foundation.org, elena.reshetova@intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, efault@gmx.de Reply-To: keescook@chromium.org, hpa@zytor.com, tglx@linutronix.de, ard.biesheuvel@linaro.org, peterz@infradead.org, linux-arch@vger.kernel.org, torvalds@linux-foundation.org, elena.reshetova@intel.com, efault@gmx.de, linux-kernel@vger.kernel.org, mingo@kernel.org In-Reply-To: <1504382986-49301-3-git-send-email-keescook@chromium.org> References: <1504382986-49301-3-git-send-email-keescook@chromium.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/core] locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT Git-Commit-ID: 39208aa7ecb7d9c4e86df782b5693270313cbab1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 39208aa7ecb7d9c4e86df782b5693270313cbab1 Gitweb: https://git.kernel.org/tip/39208aa7ecb7d9c4e86df782b5693270313cbab1 Author: Kees Cook AuthorDate: Sat, 2 Sep 2017 13:09:46 -0700 Committer: Ingo Molnar CommitDate: Thu, 28 Sep 2017 09:45:05 +0200 locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT With the section inlining bug fixed for the x86 refcount protection, we can turn the config back on. Signed-off-by: Kees Cook Cc: Ard Biesheuvel Cc: Elena Cc: Linus Torvalds Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-arch Link: http://lkml.kernel.org/r/1504382986-49301-3-git-send-email-keescook@chromium.org Signed-off-by: Ingo Molnar --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 971feac..9053564 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -55,7 +55,7 @@ config X86 select ARCH_HAS_KCOV if X86_64 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