Message ID | 20240215135749.1909812-1-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp414065dyb; Thu, 15 Feb 2024 05:58:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVhgYZun1Z5EhbJojNx5rGSzDVCJG7OUO9gMHsQB1zqfu7iv+Y/bxp+WabH6uW52LAaAKpnl8iaxRh8/hqpWHHOE2jSOA== X-Google-Smtp-Source: AGHT+IFIN1SMArbe0tay2NclTiNt/iZp9buWz08WM+dWYg6JXlDyYr3xxfTiHAtrqkg8huebHOwy X-Received: by 2002:aa7:d590:0:b0:561:347f:ec52 with SMTP id r16-20020aa7d590000000b00561347fec52mr1364525edq.30.1708005519533; Thu, 15 Feb 2024 05:58:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708005519; cv=pass; d=google.com; s=arc-20160816; b=U9xTCY5znxsVpMd8tGfev3GL8gRzToyZ4lGD33gQJODra8o4MvqgjO9jnrsG5wSkhQ yeLLeafYPMFBu9DWd/duf641D80xMdHeIb5+HOX9krYkS36OiNTB0RX3hJJxhp8hMDRH shF5lG064rQ4aZKtVM+RKwwh+G+9f8aWozbH7CtaJYgXgLB8Wb2MwDLZpbgPqWAn8FYd TtcRZ2LIfq9gajKUr1gXjLhPBN1wntHSpoqMzJJnuZ09U42GWFqT6ZPwiRkQkEHbTvdy VTYWDU/MAFRrztrlo74a4qbY5pOEl50+z5F3Av/N3wJWe2AjmEzmVKjPHjanWMprn1Tz VhlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=rG19c4tEL4xI7N1O+hipocyZkE8fur7/ebWM/UmnbQ0=; fh=bKa0LB1PTRr1zJ8QCCNw9YCfTbNM6uzbqzoSZEjAE0k=; b=lKXAtJb7J+l6T/M77fJwOoG1L35tuiuGvaURLutOcZWUxGuNCIXguSOszINVHHK4uz ix9jbEQYk40pxE0/9PQmWiU6GV5/WMQR1Ehiz0u2e4wtvZIuKfEgPcG3gV/cNf7sqwcC MX9+vUBLHzrpjjK1DkxKA9QImDsd2on3XbvXu1DuQiGczaxV2s3btmhOKfPpwOdBvjA2 h6RMLmAByVjdqtAlxlz0Y45/9GpCVbUiVo4ulKWyEbtx9WT2HGHwM6MUvA1f45fNfUWQ ktXZ/VYVYKexY1KQgIvftA5IHI0WIpihi0mka5lGjLtXTle0eZkihKU/GEL+gdxfTyhS zz1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EzgSeGNJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j2-20020aa7c342000000b0055eef1ceb3dsi675527edr.197.2024.02.15.05.58.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:58:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EzgSeGNJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67038-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1D06D1F26461 for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 13:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52F35131E25; Thu, 15 Feb 2024 13:58:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EzgSeGNJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0A1D13173C; Thu, 15 Feb 2024 13:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708005507; cv=none; b=qBOjT1SMEMTos4A7eLnhNweqrIK0GV2llLGjmn9JOZuTB6WYbIf2mp/++qoO1eVII6LsSOX7OWM7i6Hey86o9w94PYyOojapsiP+R2bAMT5nKh16geXD+G/LeWgbsuiumYnyZ1Sdtfo8Eeka5avQ/olAp8UdwMug7d6EpyGMrMQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708005507; c=relaxed/simple; bh=db081udyahOME/RFJvw8RkO4hTyCR745hVkoJE2o4xc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Stg10KB34UT1ElZ5/K6muWi/gF4hGHitg7L8n92c3wskQB/CEkCnyLR7A7ZeEjC+s36bAufIoTj98Hx+8kC6wqfGzGHJjDAl/KuVEQyO/Aa6fHegyyjPYTbM/EZIteDF67bRWsRTocfQ/wFLQ2Vt3ecno1e6x4epVk/mc4df1Qs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EzgSeGNJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F35D6C433C7; Thu, 15 Feb 2024 13:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708005507; bh=db081udyahOME/RFJvw8RkO4hTyCR745hVkoJE2o4xc=; h=From:To:Cc:Subject:Date:From; b=EzgSeGNJf9XQHAI3oXqk2wTP7MG8AaQGIaHnyYSrnd4pOSQL01eee9/clvmJs1m4N MpCkvmloLzHTC78ieta9BPreOeKP4jkZfCvBHk6l8iz6+R1Pkt9Yb6jvuxio+ddttY pqHXJSevWCl1R5h0cxOkgBMdKmc2yoQxWJKaNCwGzLFJPmoqg0H9TM1ebgfXZdM2mF 6FDDUAh39fwhqpQf4B8UReYYkxWXxAKR8MtbYOGn415/TRryJEZKlg0MXClKep8et/ dhLNmdGez5bPx8DJTWV2MZ2MM1UsijYQRF1/AvqQln+B0p+auDpaI4gP4S+icEC5KF aVJU7aufg6rdg== From: Masahiro Yamada <masahiroy@kernel.org> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <masahiroy@kernel.org>, Andreas Larsson <andreas@gaisler.com>, "David S. Miller" <davem@davemloft.net>, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH] sparc: select FRAME_POINTER instead of redefining it Date: Thu, 15 Feb 2024 22:57:49 +0900 Message-Id: <20240215135749.1909812-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790973595708409330 X-GMAIL-MSGID: 1790973595708409330 |
Series |
sparc: select FRAME_POINTER instead of redefining it
|
|
Commit Message
Masahiro Yamada
Feb. 15, 2024, 1:57 p.m. UTC
Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig
should select it.
Add 'select FRAME_POINTER' to MCOUNT. ARCH_WANT_FRAME_POINTERS must
also be selected to avoid the unmet dependency warning.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/sparc/Kconfig.debug | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Comments
On 2/15/24 05:57, Masahiro Yamada wrote: > Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig > should select it. > > Add 'select FRAME_POINTER' to MCOUNT. ARCH_WANT_FRAME_POINTERS must > also be selected to avoid the unmet dependency warning. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > > arch/sparc/Kconfig.debug | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/arch/sparc/Kconfig.debug b/arch/sparc/Kconfig.debug > index 37e003665de6..d475a056a2e0 100644 > --- a/arch/sparc/Kconfig.debug > +++ b/arch/sparc/Kconfig.debug > @@ -8,11 +8,8 @@ config MCOUNT > bool > depends on SPARC64 > depends on FUNCTION_TRACER > - default y > - > -config FRAME_POINTER > - bool > - depends on MCOUNT > + select ARCH_WANT_FRAME_POINTERS > + select FRAME_POINTER > default y > > config HAVE_HARDLOCKUP_DETECTOR_SPARC64
On 2024-02-15 14:57, Masahiro Yamada wrote: > Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig > should select it. > > Add 'select FRAME_POINTER' to MCOUNT. ARCH_WANT_FRAME_POINTERS must > also be selected to avoid the unmet dependency warning. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Applied to my for-next branch. Thanks, Andreas
diff --git a/arch/sparc/Kconfig.debug b/arch/sparc/Kconfig.debug index 37e003665de6..d475a056a2e0 100644 --- a/arch/sparc/Kconfig.debug +++ b/arch/sparc/Kconfig.debug @@ -8,11 +8,8 @@ config MCOUNT bool depends on SPARC64 depends on FUNCTION_TRACER - default y - -config FRAME_POINTER - bool - depends on MCOUNT + select ARCH_WANT_FRAME_POINTERS + select FRAME_POINTER default y config HAVE_HARDLOCKUP_DETECTOR_SPARC64