Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1800865rdb; Sun, 4 Feb 2024 01:46:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6Ct2jkOmrGKljtyg75BkuIHWt4DzcZIBQXF6hYcBycZNfdiYNeuSrUGAqcdaTm8MhPy4E X-Received: by 2002:aa7:df82:0:b0:55e:d46b:7d82 with SMTP id b2-20020aa7df82000000b0055ed46b7d82mr3004333edy.28.1707040007072; Sun, 04 Feb 2024 01:46:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707040007; cv=pass; d=google.com; s=arc-20160816; b=Gb3chj30anQg7NyiskBZY2IiUCnci6P5imQdu/mKLZydRyaD3OTyLCnEixriLebi74 SzKO7A5Ja8Z1pshQl7h07v7kjbISNwtBRaYi0Snu4GsSdmqGUne0rBxvLNbi0AoytxIZ yXd7bpg0PYp4TjUy8KuR8HrgxJZSHHzaJkavgSiBcW4LOxGsaV551Av3nNzIB3Q3M0Yk hkrZ1evOLPQEys5fsLvOwjc443aTHw8B72EBqc+IJkBLUbQ2z/DXndanUYLZj2igGhop XdK0U8Ydmq2aUx4NfkMjRxb4TZIKujCnmMqxXCkJS5MsUdDA8ANiyr74AMsGZONAWgKQ P6mg== 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=6tSF/6XbUwuHNU8XYGhETrWvTgFM2LxYUpLnY5ci7dM=; b=vLjwaltlZvbEZ1ibsHbZtz/1xSCMa/IWPk00nV/T9K4bCDkpzCm8kF/FG9seDpNRve dx0fc4SANpEaiezPXMRxH94reQeoxE7+fpVvEXb0fNXm3paR6yyhwY8n1S7fggl22C2G 99TVISwh83kmGJ5E1PtFJw3X6xaNUTQ8Q+mPEaZbCot0pbW9cwbf2v9rMw/icqB4D3kd c4mszdXMdDAClPdk1bN6Vn1ZuISWmaoRpAg4DrzX9OitfYJfHVgNpQm3ThW/kO3R9Ydw jpgOl/7ixa8VejqycSMwP/e6cAtnYE2jmvcOdHycQOr5T+Ud6qHP81pbI4i3Enjqu2Gt YzEg==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWh5XdXHK73EedUYDxvUdJ0qpbfFx8kt+PbM3dn2fp46YSHixYt6ONx6kY1Wu4b4lAVyFDkPd9bCDmRvvtYHmczQ6zOMw1V2dH98xft+A== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l21-20020aa7d955000000b0055feedbf264si2565670eds.470.2024.02.04.01.46.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:46:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51565-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51565-linux.lists.archive=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 CDD811F223F3 for ; Sun, 4 Feb 2024 09:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89D2F199A1; Sun, 4 Feb 2024 09:46:39 +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 Content-Transfer-Encoding: 8bit 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 --- 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 -- 2.40.1