Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2596584rdb; Mon, 5 Feb 2024 11:16:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5zm/GJ5AdvLI3jyxMHmny6jByozSJxE8PNxAMex45N1fW/gZraeQkSdYHfm+CRWncOsX5 X-Received: by 2002:a05:622a:1808:b0:42c:e85:f414 with SMTP id t8-20020a05622a180800b0042c0e85f414mr1320004qtc.2.1707160579765; Mon, 05 Feb 2024 11:16:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707160579; cv=pass; d=google.com; s=arc-20160816; b=0AUQV5dkPjEhP+vYL4yGCRCn0vx0S8yOaRBYIROLwn5DFhG6iOrEOKof2m+E18VbOn nRBNieOwc2+4c3ujdhVez3nQo/x6g4VAHjDihQbjY+1QeBdo2nIQbePvGazI97npLHBf wm2DaFsuvfCko3Mwo1narHHb3gN8VsirQjXftb4i/rLldATk31Y56ojMUFBsRoQZgV0R qdfiq196k23TBwpPAX8tzqN3ULpKq1WQlunEwW+ebIxtwbDGld4lFSVFLi54aBH9Xwla xlixsrfHPk7K6EDmnZHLAHYb1TlRjWovfkwSruv3Ss0K8esdeA+dw3twWiIQQVeuZIqH qTdA== 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=eql3tkq+cETL8ipQSGAaeVZx7EKwGCexrrbIr2JeLEg=; fh=Q3YtPaTygKg6ddp7dGShToz6ycaK5fxUVHHM1HSpVcU=; b=MxYFvv9Xy7xdPZEMmtacn0DW1enLmm4BB2Dh1mkJDLTqop6NJaCPNWUs0ckaE5NCxB tPWM44Ew46ckPHJ9YeQPiOadSno8qF4SNvqJs9dL3Nvan0OsStbXVje6T+mjJdVidVt/ iV8PDKtIiBj7YTYxwPaR1SFRRIqzAl2YQ47osMg+4kaXWKnjxU7hi0DmZbHblrpAM51p fVV5ex0Zlb63+AHWkLGCGGVLHNQvcmXLtkmWZm6lPgfKHBAEeWc6LjSLg8ZJCUbASP2v oh4Zpp7clrjCQVanvfyW+3WzBilA6+kdVlz+SbwmMm/C0hZrNQlE27YA0dYSdeFTri91 x4oQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/apN5P0"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53323-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; AJvYcCUhCtfBaEoeNE93gSjJ4ly0yGdEr1Vzk6Z8lQVTb1+djYEGqSIPChef0Skf5xfvm/CXpPHeCaCj9QeoafuMRrRz5U/6O2dCBb/kZNUkvQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 9-20020ac85949000000b0042c312be382si519161qtz.539.2024.02.05.11.16.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:16:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/apN5P0"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53323-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 85AEE1C20992 for ; Mon, 5 Feb 2024 19:16:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B106960EF3; Mon, 5 Feb 2024 19:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="T/apN5P0" 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 C3B1060863; Mon, 5 Feb 2024 19:03:12 +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=1707159792; cv=none; b=lw+OYbbpETy26MH9kFartbhg4r7BNpLqfYp8eradbLsVCtBE3cQZlPpJIkDJxVQXpG/glkiINZ9kkvJD46+ean9vJHO1XwxrI5lSmLl/rEhxQnfPd0L00QiwuiCQD2mhI0hXgirPdW+ELQ7ydPS8K/5Z1XHRXupyvsUgwfsU45o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159792; c=relaxed/simple; bh=NPy4Qjb0aNJaUt1anX4DLKcJO8MAHo9hxB1lf/SnJVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mkr1DI6YA3v8ZMdoz+15GRlINLFhekMu10yCV3Tb7Tr/5ka/ZTULl6tVNABMYOvo5GHEUPYwYG+7WAw5njzvGUooaMJJuLncCK4JHjeFC9T95PtGrbbEKMuixKygZ1AOjXFG2fABMPGiOFVp/5pdoJVKS3zAG7cQareTjK3emGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T/apN5P0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4777BC43390; Mon, 5 Feb 2024 19:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159792; bh=NPy4Qjb0aNJaUt1anX4DLKcJO8MAHo9hxB1lf/SnJVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T/apN5P0y/JYiDYtJajEfkurZzsyudo18l2iha29eDm3AhfTCkcbE1N5jsJGve8xN evWBU6clLQXa0AuKw22uJfHgbLC1LqgpdcaRvzj9+dy8hO0atb+DZ6FVJ+PHDNm6/c cHXFoGCOTrsDpNbmPwEEPMQWB5kIWEInuB3C0O7k= Date: Mon, 5 Feb 2024 04:47:01 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Bjorn Andersson , Mathieu Poirier , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rpmsg: core: make rpmsg_bus const Message-ID: <2024020555-disrupt-remark-5e34@gregkh> References: <20240204-bus_cleanup-rpmsg-v1-1-1703508c23b7@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-rpmsg-v1-1-1703508c23b7@marliere.net> On Sun, Feb 04, 2024 at 05:32:05PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the rpmsg_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 Reviewed-by: Greg Kroah-Hartman