Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1906208rdb; Sun, 4 Feb 2024 06:26:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsIB3lzwGSs3+58tdztBE/+FyCyMuiHpMvgVFRd421i6H7zx1BrqNbOT3fXiK+uM3McehN X-Received: by 2002:a17:902:da89:b0:1d9:8082:4577 with SMTP id j9-20020a170902da8900b001d980824577mr5865998plx.17.1707056767833; Sun, 04 Feb 2024 06:26:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707056767; cv=pass; d=google.com; s=arc-20160816; b=vyruw22BNyZLfgxYevIO+7ymwLT3zD7FtBwMTJ8hUFkHL328E/S/eWpMFhEguY28oN 7HhKe8Lg8YQ6anPO8EXK+mPQ+Ubcv5yx9VpoaSNvp+cLC5pXvV4j3R+M04YZ4HByYYqC y/+pxWH+uHYy8+e2JdbDmnbleQ3puBjW6J++YCn1lsW8LitCszEh/KChSdPsZPr3KdUI BxkZHHbcksdzQAJ2Hi3Cw9TD/d4kpaupEOQmt+v8g+yc37eLZpqE3cJkBlXlGv4/5p4f vgM3Mq6fN1u4JYA4NgkTdAUXq8xvbSsyMayCrGD9yoKaybl0gRpLJLtFCRkG2/cAqpZc zekw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CSKiWeC85Gwnwi/9l7ruYub5sCXUKzjwicqII/OaQoI=; fh=gM2gzvc67LBK8FjW3JfEv116OY9pxz4hdndWs0GrT9I=; b=iKeCGoHly5sUylJzvl1K4lKvPtBJRQ/2ozOrhRCdSz/oltljZQe8G/WUkGDKQIfnzH gaCBfvJLJbAdQIf1/wsIIVaRUepoUnmG66hQG/1FLTyLIpvLYaAT8vVXL3XsyUgaykDd 94llq3WUKC5F8AacLMTt/FnlTjiZUjTIxw6Be+BEmpbFcjGs2+rA+EGDbXTHTT5hPvlF 1k8oJlYk5HSc0sFh7g0B288kHZSb35cTsznUBQO1hOP4H9BIEcUVw6xbrAp5oVWX+/VZ NuhExDz0C3OSn6ExKR6IddUQ92atb9QrbQay6xe7bVi7w8qYisUy9JIsGa7rpAF/nvZX MDtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Kvfou9IU; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCV4oCmrMlTWkHRX6xOwat7deo3FktR7AUjympy5YsS47NUTHsV3KnrpYOiYa5a1pKF4W1v0szDBqLAE3dQFjnJqkQPR/SRlcoe02H5ZMw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v10-20020a1709029a0a00b001d8e74b4d85si4629588plp.455.2024.02.04.06.26.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 06:26:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Kvfou9IU; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C17A3B21DFC for ; Sun, 4 Feb 2024 14:26:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 182B4225D9; Sun, 4 Feb 2024 14:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Kvfou9IU" 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 310E522F03; Sun, 4 Feb 2024 14:25:36 +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=1707056737; cv=none; b=KrvZsLoItadyAy96LynSDCok+YJttyKV94wzQuGelLKqy++qfLZSFCv4vG6llYmC3jgfq0csbL71ej50xnEjAj3ii3S2fYNmVbGeG6uzym7lkGtPVhQjc1g4AlX3SReRrh2eWiiLOOtfRKZ4HTueHj+XC69xM43zY3Wg9PLF8NA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707056737; c=relaxed/simple; bh=tzIIx1NlqpaSYKxtHJxg/xYuYYs8oFTP8cl3GJ0R6Kw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iw+PpmXmuLNNAywdVVExgn0D/mFpbRzyOkA1NkQc/w5ThGQyfnLkQmK0Ry4Alk3LrjL+JhBZhbljLXBJJA8bbnxELaOa3d9qZ+Shw8GTn1jTbzC314yzi9jrRRL5O+mty8shhYrtU/chwVrNL/HaOcn0g/0l0XuFoqwc2lvRvvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Kvfou9IU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82F8FC433F1; Sun, 4 Feb 2024 14:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707056736; bh=tzIIx1NlqpaSYKxtHJxg/xYuYYs8oFTP8cl3GJ0R6Kw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kvfou9IUCWbytQE+DIm1p1q4jaZgGDhX2rbyPJbpTzF8eIg3E5B6fmZfcuQJygDP8 Thzl46l2ERX/ii57rADRBaDqF4F27F5jfD5Of0yJ+3jc7KWyhlnQBzQMWJ7Suxsm8N Ycp/U0FgoWBb3KIybNeLEARc3H/5nmEpCOGf9ZLk= Date: Sun, 4 Feb 2024 06:25:34 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: make pmu_bus const Message-ID: <2024020420-cupbearer-cape-9543@gregkh> References: <20240204-bus_cleanup-events-v1-1-c779d1639c3a@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240204-bus_cleanup-events-v1-1-c779d1639c3a@marliere.net> On Sun, Feb 04, 2024 at 10:29:39AM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the pmu_bus variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- > kernel/events/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman