From patchwork Sun Feb 4 09:46:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 196473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp273309dyb; Sun, 4 Feb 2024 01:46:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHeCVvD7MmZzH9WOPc+pLpoA2haqgia+ZQhzoF6xK28BoR/i3ScJr9DjBR9CeMEEhxfIYPx X-Received: by 2002:a05:6402:2210:b0:560:12cf:c83 with SMTP id cq16-20020a056402221000b0056012cf0c83mr2394037edb.22.1707040015242; Sun, 04 Feb 2024 01:46:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707040015; cv=pass; d=google.com; s=arc-20160816; b=CYiBnuyO3KXdt6N1pr8wvcwFNUTUwkEwN6Hj7x2EA6ExmGqJAsXgDkJS7R/8AmwgSF QB9DcsmoSGY94P2cTIIvRXgKqCmadYrJCvW5w7r4QUj8Jh0XQgqhTjhIwfxjB+aGm1sq O+7OyBZB+YkBj1Le/688fIWgqsnDEjrVmVDeJOcrYWACYBntZUsQoTZn0JgGo+GJ9JRT fdbjtXpI/9PJXa9ecmNlAuG4KGAIVii8w//y7kDrCZgfkfkmf4L2NSFxDhQLLI1hAOQT JS5GB9ZqbVrO/ubEiYmwNYjCpxttuzI4ZUSpf/pb3PMQEv3RXljpsTKAyl4eExWXMxHt ljtQ== 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=sa3l/84Ag2GRhSHDkf0GEUb/uF5RSO0HenV3hGoF0Jo=; fh=3PImhcEfbsYeuNwut0pEd/gq2T6tDogFUsqqszr4O0g=; b=ce+4L8pz16aKlOtXWRkiW3LyOPNj1mlfTwGxQLA9QLHhe+weXuiXYq6q5kfVrEA+mm x4Kfc22CxC8V4Po4efqyl4wrh9Mit8KlQJmJki6ytnloycMhx0//Q20viKxEs9NXpS0C hAetGNrktqa6xIOSG6AogpVIbAp3mTy8MXykwFa5YZ7sBOE1kRgPvIh0XpDVOJtTOXG+ OLez5Z20G2Si8q5/wUYnTqhTfAefnpVVNaUHaCP8+K6d9aBmpvzullKbAzrXWa+1J2VA qHZnG72sDkryvVMlYnImCOV8UuysuICpSZrp0PNHLop8PcDH9Ab4vXsS4vvCJjtSjcRN VWNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X0fSYYtE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51565-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51565-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXpaAUMq2+7mv5ZIya5Sg0wlKj7/MK7fVIBuQiilBkztHnb7BAOVYKHe7fwF13dkwJ0OpZXlaE+GNu7U74Il96mo3S81w== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a18-20020a50e712000000b0055c2d7eb95bsi2705458edn.65.2024.02.04.01.46.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:46:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51565-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=X0fSYYtE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51565-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51565-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 D27E61F223D5 for ; Sun, 4 Feb 2024 09:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F2F61A28C; Sun, 4 Feb 2024 09:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="X0fSYYtE" 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 9209F19473; Sun, 4 Feb 2024 09:46:38 +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=1707039998; cv=none; b=G6uNmpwRxBv+8RJDP4zRPEWUni7BE+hIEn/woURsUMZY8T1ZdXNDuTPXOioQDu/ujmBCvqR8+/Kzq80O5vGT9lEAAetkEu8brOFvcBN9AFVNaEmRQ2XT3Y+5b04yvl6OHDrJvO1Y6ZDHDkQ6oPRw+s911Vp9Bc1zkX2l9VkvAtU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707039998; c=relaxed/simple; bh=QYK8Ji2HLdnUjamB2FwcFhgMyE7rE4gdVyWPZdDXkMo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=QywGu4Fv59dc2pdpNRE7p/wk4ZWGWQUgb7Mz2Na7CWOaPeIvqhmzXauQvZarXfoGCUh2fWtF8nKDu60UHBDae3QiiSoX46YKO7qJa9RnJyIKgLu5A/UzsFOZRybRLPBzFJwlGxdYKoYI9JXp6EnRL2gq0P38LSHyd2SS9SUmbFo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=X0fSYYtE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56DDEC433C7; Sun, 4 Feb 2024 09:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707039998; bh=QYK8Ji2HLdnUjamB2FwcFhgMyE7rE4gdVyWPZdDXkMo=; h=From:To:Cc:Subject:Date:From; b=X0fSYYtEkhbU0H5/sVxw3jaa5pwk5aa5tVnB7pSjzlEHx3MlZJaP0i55A0W8s2ewi I9AHs83/cBnHLnx70+s/VZAtPRjQcIIMP69/cZC34iAw8OO1YG5/Cu9TzzM8EQ4Sbp lXPaqdv4fk3YsvAmnm4oaQ6sZXzJ09lcR7dzQJpIbH5xc+qSCuSJi+M90n+adjGXG4 gtt082LSceK+SuBHD+1KHGYsWTtYuIFwAWMcinGNgkhtAWvLER1AXHmJqi3E+u5dMe /WO3EWG3FD2bt3k3lmmL8G5En4nLscCALnuwloKEZp3hoDmowEBR1+j+USFalF6wk1 KDy7uSz7YlFew== From: Masahiro Yamada To: Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , linux-cxl@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] cxl: remove CONFIG_CXL_PMU entry in drivers/cxl/Kconfig Date: Sun, 4 Feb 2024 18:46:13 +0900 Message-Id: <20240204094613.40687-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: 1789961190901033574 X-GMAIL-MSGID: 1789961190901033574 Commit 5d7107c72796 ("perf: CXL Performance Monitoring Unit driver") added the config entries for CXL_PMU in drivers/cxl/Kconfig and drivers/perf/Kconfig, so it can be toggled from multiple locations: [1] Device Drivers -> PCI support -> CXL (Compute Expres Link) Devices -> CXL Performance Monitoring Unit [2] Device Drivers -> Performance monitor support -> CXL Performance Monitoring Unit This complicates things, and nobody else does this. I kept the one in drivers/perf/Kconfig because CONFIG_CXL_PMU controls the compilation of drivers/perf/cxl_pmu.c. Signed-off-by: Masahiro Yamada Acked-by: Davidlohr Bueso Reviewed-by: Dave Jiang --- drivers/cxl/Kconfig | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig index 67998dbd1d46..5f3c9c5529b9 100644 --- a/drivers/cxl/Kconfig +++ b/drivers/cxl/Kconfig @@ -144,17 +144,4 @@ config CXL_REGION_INVALIDATION_TEST If unsure, or if this kernel is meant for production environments, say N. -config CXL_PMU - tristate "CXL Performance Monitoring Unit" - default CXL_BUS - depends on PERF_EVENTS - help - Support performance monitoring as defined in CXL rev 3.0 - section 13.2: Performance Monitoring. CXL components may have - one or more CXL Performance Monitoring Units (CPMUs). - - Say 'y/m' to enable a driver that will attach to performance - monitoring units and provide standard perf based interfaces. - - If unsure say 'm'. endif