From patchwork Thu Feb 15 14:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 201480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp422460dyb; Thu, 15 Feb 2024 06:08:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVA8SWXv5Su21MhJAcKRENge47k5MgZZgT+O1EjWTqyBGQwI+JWpDns1XSzUStzHkkMmWW2jyGWUEH09wMmPUmccMM/GQ== X-Google-Smtp-Source: AGHT+IFhH7fsj1EhUr9Fd7ZzrLJRQ2/gr593n70bb4Rd4gvrO2NaW8I3qc/8APgb95LA5ulworgC X-Received: by 2002:ac2:511c:0:b0:511:4dac:f1ab with SMTP id q28-20020ac2511c000000b005114dacf1abmr1491111lfb.40.1708006092377; Thu, 15 Feb 2024 06:08:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708006092; cv=pass; d=google.com; s=arc-20160816; b=d5am58ZUuW75IH42mEWRmpiDDB9V/0unClUE7aD68m5fsLV5dZE9GSJ7oRk/sMhzDt 31HeAN5wFCOTJZw8tcw+iiFmKwmVCD2L7AttTRvD/sbZDVFegqEbNBfufe/W2TTLiJ// HEk0wxwGWCBAgT0VodZfBi21OIcTYISlTx8iw4v8+PJY471rV21YN3k9OEh+l5zuomq1 qc8W7gZNja5GugAvov5jDXJRYyKUIQrxeBQ6gSEommy/JekImRhLafDnq9EGJxash6rA J2HzWjwowcegnoQKuvb3SnDF9Rwm8b9nlYZifjLEHotU414XDnnOJoaKUWlyJk52LfG2 mxPw== 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=YgZaiGwgCypJXpvmsKOahfzaXg0Ppa5GnxNBLy+pEBE=; fh=KqQlMdU1MtLPRJLmlmmyF3qWdZUFEbUW/Pw3g/dm5Kk=; b=urgsvWjWygsH4U7ZSn0aWUZlzFE/5BiEgu5aFbBjpwo7wX06FxffSHoJJ/PvkNi+dT k3wdiAymoEZqUdYa+78fqjgHiraY5jcU/vBHl+/WY/BCvbOXxZL7tToGVJr8OP76ZsJp UhY/y1pH6pWyhjFha2vkYPJhCxnUn5hlLybt8OfQZqovjs68ee8S2B23JeSMGoyQ9dMy 0QXVKBphViWC77oe64cyzFrFvXIP1KaddIgoQYT4NXZ7UKThlxtIcQsMvRAfUcTTdm1R 3ztIZwRfVVUE0/hDAegRMunxfSwAKjNNRlymmXE3ODaXS6IojvlrjWcrYp8Z2eeOrkTa Rq2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="nl/O2pi5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67048-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67048-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. [147.75.80.249]) by mx.google.com with ESMTPS id b18-20020aa7df92000000b0055f49c246f1si660749edy.624.2024.02.15.06.08.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 06:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67048-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="nl/O2pi5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67048-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67048-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 F1AFB1F26069 for ; Thu, 15 Feb 2024 14:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F08E6131E39; Thu, 15 Feb 2024 14:07:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nl/O2pi5" 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 739D412D74D; Thu, 15 Feb 2024 14:07:57 +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=1708006077; cv=none; b=B+ERgM4TGiww/vZDcOglX3Vr4t6tC6zsHPoXTYbPHJ2M3k3dFzV3kJB/FUYXdCcJMynaq8dc9hjy9s4yp0FkMchXT5JYVixDmx5pcr2gzttk5V6zWM2S623u2J95AJEohZOYJCN0WLlREoPV+ltYVn6JTi8M2JcpdBH6Bay9b3E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708006077; c=relaxed/simple; bh=B5RIbCSd0ulciUkU7vKMhgbnboAX8gITuQtuV2GPt/c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=DRYtCPsL/VvdisZpts9iO/egvA64RuHcyJvA+JfScbQlmzq8T8d3+fgfxMZxYmpGucAvC/NN58Y+upi2MaZ8dh8vmvLz4AP7imyVs4+qR0uRhukDWon/gshJt0eDzh1rm2KEjq2VOExqMFUGSFJIiQvGwvF4oUjFf5FbTVDOsyw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nl/O2pi5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91A7BC433F1; Thu, 15 Feb 2024 14:07:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708006076; bh=B5RIbCSd0ulciUkU7vKMhgbnboAX8gITuQtuV2GPt/c=; h=From:To:Cc:Subject:Date:From; b=nl/O2pi5MSCDfC68M4UbldhztRFgzrS/VNNIjMovmKkCPrJOrU2+YWUw9dE3FB/OE EolRoB0QxYdP3RkRLo6ehmtlzRSzRxlOrZpwJkppS6KvjQUP9I/ZjjIk6HdH+YmoEK 1phnAXVqg+OJBEGiQCgg+n07JMa01AT2ugAzNPb7kCfnavr+DycA2IsF/LuU/bg1+B 2PYyHgrmRSp7OZePAFrARf4Q3cYyewE8/19dxpfQx5MtGxBseiiL5B1idlV/MXdta5 m6C6sCZ8gSLybZLkYTpuCD/qcz5C/3RV3+UmE/hrBjOWOR2oBWhYZGeEigJnhNvOIz NJbSTepkB8klA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Brian Cain , linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hexagon: select FRAME_POINTER instead of redefining it Date: Thu, 15 Feb 2024 23:07:02 +0900 Message-Id: <20240215140702.1910276-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790974196348175712 X-GMAIL-MSGID: 1790974196348175712 Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig should select it. Add 'select FRAME_POINTER' to HEXAGON. ARCH_WANT_FRAME_POINTERS must also be selected to avoid the unmet dependency warning. Signed-off-by: Masahiro Yamada Reviewed-by: Randy Dunlap Acked-by: Brian Cain --- arch/hexagon/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index a880ee067d2e..e922026fef09 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig @@ -7,7 +7,9 @@ config HEXAGON select ARCH_32BIT_OFF_T select ARCH_HAS_SYNC_DMA_FOR_DEVICE select ARCH_NO_PREEMPT + select ARCH_WANT_FRAME_POINTERS select DMA_GLOBAL_POOL + select FRAME_POINTER # Other pending projects/to-do items. # select HAVE_REGS_AND_STACK_ACCESS_API # select HAVE_HW_BREAKPOINT if PERF_EVENTS @@ -43,9 +45,6 @@ config HEXAGON_PHYS_OFFSET help Platforms that don't load the kernel at zero set this. -config FRAME_POINTER - def_bool y - config LOCKDEP_SUPPORT def_bool y