From patchwork Mon Nov 9 18:09:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 56267 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp333876lbb; Mon, 9 Nov 2015 10:28:27 -0800 (PST) X-Received: by 10.68.200.103 with SMTP id jr7mr42713097pbc.77.1447093707273; Mon, 09 Nov 2015 10:28:27 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xm2si23880859pbb.66.2015.11.09.10.28.26; Mon, 09 Nov 2015 10:28:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752557AbbKIS2Z (ORCPT + 28 others); Mon, 9 Nov 2015 13:28:25 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34545 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751859AbbKIS2W (ORCPT ); Mon, 9 Nov 2015 13:28:22 -0500 Received: by padhx2 with SMTP id hx2so198218452pad.1 for ; Mon, 09 Nov 2015 10:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=7ZtRA1Bxqxag45DVCqtmsQ0rttkVqOp+t6T22nhoWyQ=; b=IdTunomCJf9e0fm20t4FPpiGg0WUL4eyoAhkGQXFfFxLTKxiAJ+nwl29IULCVQtFna qSkTR7SLTwoulyJLepohny3kkDtMNo2QhZWVz0mvC/dniDqgLohTmkhxfYLu1gbYBR+f J3Zf49U2TVEDspdW/kFhXygMGt9sW90swoUEKVT3W5KtYPeeDaq9YI99o2m0JLu+mmZH 57FFHsCJQhdtKjuBAOo7QRRLlJ17v8cmDWiIzhko14YDcLwXRZ9ZI7IWBv4XcMjxO7uM E2cPrAeoW2V/qaMp9KTwkXP2sFk+Vk6OMoeUpVARHvgK13XriO5R8XRTAnJdg8H/NhGm 47rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7ZtRA1Bxqxag45DVCqtmsQ0rttkVqOp+t6T22nhoWyQ=; b=IudJTw+B0dOQ38YW+lV40Z1S4yV0954jDX8mnmdF/XQsk8t+CdQFrqDrnrbrlRwpDU eS6hRjCbJ5E75dx3QJWY18B7ho3JjVm7vsanV0kzlTZSrDtUNbSQ2vJa6w+l/TJNHGom qYstVOtA3+akBom4MJpOm7v4+nayxDpyL+gaWfccUKA0T5mllEarHo2adC8R0Nv3bc88 7O+59qa0Z+kaSRPe5m/x7iVNSPh8lQafzg0Zsqxgy2yVmlONfyLGdPLuGmBHXXUJJMdH L9V2AydMjhnpYagZt4CQ9cgcKEtw9jO5+IO1i+2qjZgR8HAoAVmICgAU36FzlCpg6Z/z t0Og== X-Gm-Message-State: ALoCoQmxK4qCmLlHkLrXqVK2lbEBTqcGxu6Twp7mBCFQCXiEuFbUjXrmgQuGU2k0EmTXRPm8uRyI X-Received: by 10.66.153.166 with SMTP id vh6mr42968781pab.83.1447093701711; Mon, 09 Nov 2015 10:28:21 -0800 (PST) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id qd2sm17653491pbb.68.2015.11.09.10.28.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 10:28:21 -0800 (PST) From: Yang Shi To: catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [V3 PATCH] arm64: remove redundant FRAME_POINTER kconfig option and force to select it Date: Mon, 9 Nov 2015 10:09:55 -0800 Message-Id: <1447092595-12644-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to redefine it in arch/arm64/Kconfig.debug. Actually, the one defined in arm64 directory is never used. This adds a dependency on DEBUG_KERNEL for building with frame pointers. ARM64 depends on frame pointer to get correct stack backtrace and need FRAME_POINTER kconfig option enabled all the time. However, currect implementation makes it could be disabled, so force it to be selected by ARM64. Signed-off-by: Yang Shi --- change v3 --> v2: squash two patches into one. arch/arm64/Kconfig | 1 + arch/arm64/Kconfig.debug | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) -- 2.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 440d906..b554da2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -27,6 +27,7 @@ config ARM64 select CPU_PM if (SUSPEND || CPU_IDLE) select DCACHE_WORD_ACCESS select EDAC_SUPPORT + select FRAME_POINTER select GENERIC_ALLOCATOR select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS_BROADCAST diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug index d6285ef..915dea7 100644 --- a/arch/arm64/Kconfig.debug +++ b/arch/arm64/Kconfig.debug @@ -2,10 +2,6 @@ menu "Kernel hacking" source "lib/Kconfig.debug" -config FRAME_POINTER - bool - default y - config ARM64_PTDUMP bool "Export kernel pagetable layout to userspace via debugfs" depends on DEBUG_KERNEL