Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2592853rdb; Mon, 5 Feb 2024 11:09:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQX2E4ib/EP+aSZTxmyT2DQWCvI9MF+OzRJGB+xfVvJFiILDTtVf+/rNl9ogdXxiH5HTMj X-Received: by 2002:ac8:5ac8:0:b0:42c:2815:ccf6 with SMTP id d8-20020ac85ac8000000b0042c2815ccf6mr359061qtd.63.1707160167998; Mon, 05 Feb 2024 11:09:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707160167; cv=pass; d=google.com; s=arc-20160816; b=lfhepirdeYrP8kCG7zj/ZnV10iV9YZ0sWbo894w3kVHV0ojuWwfc4OcnH66AWnYom3 NPhcg2NbeUFXE57RYcnHjI1ENORPpndLkWDpIbW54kAJPcahOtRvBd6oLJeWM05YFtiw GlxGKDKQ4vbXHt0NBxbW8falh5oKEabua4uC9kfJB1inp+lJZLISunSHIfl8lqNn6I4N zE9cxSl5RsibjTQ3nxTL13QlM7MJBgUzWA6KLsTYYd+Jz08pY7pZWpU2LwXe9Yko7bAy /nLCenoSrxE27wnnSFbtKYp2vZoktditIKSloz+U5gGwOuOoArbFGkeOKDykScXM+2f7 fZRg== 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=jIcIkIrnoDJZtXX26wcqwahnjmnU1G8UQnDUcmO9O/U=; fh=23SiDn9HIABDAU2r9yZ5wrqWGV46KQvQH4fZqVdnGTQ=; b=ylJ1Pg3PX0lMUxl3y2/nXRuKNUHc23oqsTwogMriRc4EChLtkf87c9nhm97yMZtkZf bLFto3IGiy6GaWtClvnYCRQQWmv7kNEjvLUySx0dhPew6kGUmZwOJExbKDJUeT6omKca y6c06F9Uny3qkd+PSds56/IoNEf4pfeyXhpfxhAODbj2y2v3gGmus/EGCpsqi7UI+jOz WC9a2OtRfW7Seg3kxDRPHoodMc1ewKRP/wd2wYZOi8dqfhJPhZgff0qAiIuJYA9Y0eLm Te47asHVWrGsUVHKwQaTJulUNBmFkB6vFZFANZpnCCZAwaHQ6R3e4p4lzQy+85uF87rY AknQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CK6gDeWz; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53296-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; AJvYcCVkZ2eBBxHO/Vqc/oUEm0u/QA9XqqdCbnP61K+45ZDH1SeyBZkhDAh/iWwFkBs1r1UNvsDj1ZWOC1mfVroX5QjfpFVJ4r4r5Bmq0BgsSg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e18-20020ac85992000000b0042a29bf9bcesi469313qte.725.2024.02.05.11.09.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CK6gDeWz; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53296-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 BF2A41C248DF for ; Mon, 5 Feb 2024 19:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 733EC56776; Mon, 5 Feb 2024 19:03:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CK6gDeWz" 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 87E0E5674A; Mon, 5 Feb 2024 19:03:02 +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=1707159782; cv=none; b=CKWbVtxCMCb0m6I2yvONROjTI+8GrntrMbqPU+1o6S0K6Wl5NowT8XO6JFjDQ+dujVGTp6DAkzMweWnjuAP+L/WoXLm5d3Wvt+nYDkCDpbrfXHuwVlnfynCSy2BpAZtShhCSjyMnptPnfssn5OEM9foFphpZapmN2G+UgWvyhqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159782; c=relaxed/simple; bh=znOHAaa3DwDxM9WxEYLeSLhTNRtK/ileI0+EFf25BJg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j0U/fleXI+tkN0fxBeIiQYjZKTPDFU+oiGXnOSEAyneYf4zf72QPdc/Qw7CsmE3gFOyIQMKJN4wo4AE3oc0pgJsJMb5cmbvSxN1+ewv1N/uO24lxNqRh3mnvzCKApN6huylXxp9x4E0Jte3L5eax5eIwOF1gqOn59Yuq57xDWr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CK6gDeWz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1AA5C433F1; Mon, 5 Feb 2024 19:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159782; bh=znOHAaa3DwDxM9WxEYLeSLhTNRtK/ileI0+EFf25BJg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CK6gDeWzryYBIhmvc3sZdBDLF8IHTQ7MRUDiWNIphDXcET3zwxhgLhzsVrZgnlqmL r6XF/i16wo5e3R2TXfadszu0HWFuFFkpz/67eMR+s2yOj5+3i/Y/MrtrAhS/zgS+WC NfmYPJPAJLefxJr7HiafmXt3fcT2nKO0xwX/3SzY= Date: Mon, 5 Feb 2024 04:46:32 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , virtualization@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vdpa: make vdpa_bus const Message-ID: <2024020528-armrest-disinfect-2c84@gregkh> References: <20240204-bus_cleanup-vdpa-v1-1-1745eccb0a5c@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-vdpa-v1-1-1745eccb0a5c@marliere.net> On Sun, Feb 04, 2024 at 05:50:45PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the vdpa_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