Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2068562rdb; Sun, 4 Feb 2024 13:39:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1NbboQCJuvStyR5mZXcB1lr5dhNEh4IwSigdkeSGByv8EsERJyJwkcq0JsJ9ndcdUWqQJ X-Received: by 2002:a05:6a20:e117:b0:19e:3373:d726 with SMTP id kr23-20020a056a20e11700b0019e3373d726mr5606827pzb.2.1707082774111; Sun, 04 Feb 2024 13:39:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707082774; cv=pass; d=google.com; s=arc-20160816; b=GpEiCp9N1DTGRG6DTmdxtA20v9Kbu1+7W3XVXZ7WrpMV1fhE5ipCo9fjFIYdqn5i8R QFGfHfGmxAl7l8fcOZjBNPgsqSANkALsAcgTq+cx6P3K0w7mTazQuc5GOgdhYT8nhWgt aZ3uxd5i5EN4O7l0dvXV8CptBVGW/h/80Jj++SyIsOyPkHd926Xj+i9zU+ANWBIRJ7Qe KfqI7P2mJ2ftQOFrzzC9RLaqPDuE1l6yl28bLk5ETzodel6kJGDjRruWkgRAKFELYiQ0 re25ylZpaXPReug9eoyi1Vu86cZVn0uG0X8SeJiI1iJmghsi9k2r+papCkplUvH80Cqm JwrQ== 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:dkim-signature; bh=5U9Gn9tK/aP/N7YmuXyVhqmYDMBaUO/VArhiN55jyt4=; fh=u93Mrp1Ie7zhiBq9/d0cj7mP+76/RYWxzvyhjAVvW3A=; b=BNvV9Jur+RuRZh2to0cvbT4AG4VokvdT4GKHBBhBsBuqZhKrkObEzrUzDtummEhYeU EnhysmrdXHhNJ2FH241UGkQjB1NMh5MfN8/tm2pl8dksn5lwbFJS2f/j/7c13uiDUsjU IAwVls1AX3Bod5+YT2KhxeK63/lc+TVGoo7HXTpwUxQKTq61lI54Tnt44ONleShYddcd Kgij1O2sPyNFuO1J6G5xMIlCtpR+gDTsDnXrbS1V63oo8+q+I16iow8g90VTv/8uxw7x PC0WuIf7N6ghb0n+d1RpyACqIIlhsInoxubdIiMImkHyCbLsKDAcZ9XPkAhL6kEe4DJs KCBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=MsyROH5e; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-51851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51851-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWMIfz/TKeldZsHAcCtnwHcR2Axou8SKyJPul18uPSuod14R3C5zSBiZTVv/SK2hBO9CIPfLg5sTkFTVgPzJdYTRfn/URCsV8HMuEr/TA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l7-20020a656807000000b005d6047fb09asi4765235pgt.770.2024.02.04.13.39.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 13:39:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=MsyROH5e; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-51851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51851-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 545FCB22957 for ; Sun, 4 Feb 2024 19:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2170B2555B; Sun, 4 Feb 2024 19:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="MsyROH5e"; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="BAmgq8bv" Received: from mailrelay6-1.pub.mailoutpod2-cph3.one.com (mailrelay6-1.pub.mailoutpod2-cph3.one.com [46.30.211.181]) (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 31D64250ED for ; Sun, 4 Feb 2024 19:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.211.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707073934; cv=none; b=JNAdoEIgnUyujALjegmKlKcSP7s5WnA8nQmegB4I8bl+3Q0cFVHAZq08x1UunX2B+wAXtNnBg9NyfcVHfiR0P6wcr0/7UJ/vFJplAdqCp64eAZHH6gTTO8x1xbbm6DDueDqY/rn3QyW3M+6JITnCumfminvqkkERfdAnFpiLqPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707073934; c=relaxed/simple; bh=EAtoAQ3+u49g8oG47jFKJk9i8V8wtqouRudycbUsgm8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j3GWpbTPN4xspxuhbRGUjWrRduWRlWS7wHrG6kwIGjPcWWzY+0+1STJYRfMMf6xQ+jrHRMtr5W8S7qcVdeQrnZhzNng667FFZ430dKe1HOMLRUBlLKB9qG1xYokzt2iJmlybxbHe6+u5/je4cWoDDz6uKlVDdNXcS7I2egsQLxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org; spf=none smtp.mailfrom=ravnborg.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=MsyROH5e; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=BAmgq8bv; arc=none smtp.client-ip=46.30.211.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ravnborg.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=5U9Gn9tK/aP/N7YmuXyVhqmYDMBaUO/VArhiN55jyt4=; b=MsyROH5eAE/5FKulTyMOo0n/tFzoqCqrXHMy0SZv5yF9zzgSCmmybzMh/ap6fCTHQUxC1xJopDxNV 8KvdoFwtpVDmxRYI1SBsivExanNI/Qj/wYfzjkvd10C96qGIkxZaOS33gB2wMCoYQY+nsIHJvOtBa3 g1mzKQoC5YwCpUAWskYt6M6XMsC2njUn+CqLBcPOvo5OIu9vvd27bN4zUSjQExqthIa0i47igK0252 vyWrIDmFTslGyc5wtVxTo/lahYcR3xLVWQX4n1X6zpMeSlDMMeZRdCNGnBIcgO0MfTdIcUiQs1DZEN Kf8O5AJMUnnfJAK7BTewFytz10uBaxQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=5U9Gn9tK/aP/N7YmuXyVhqmYDMBaUO/VArhiN55jyt4=; b=BAmgq8bvF8S938DBAk8hWdYpOkJug9UxKC28dT9ight4DlgS9se1rZGGkSy3s/ZCJ87VQDe4heFAA pmEjcB9Dw== X-HalOne-ID: 202361de-c391-11ee-86d6-dfbeffc51846 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay6.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 202361de-c391-11ee-86d6-dfbeffc51846; Sun, 04 Feb 2024 19:10:58 +0000 (UTC) Date: Sun, 4 Feb 2024 20:10:57 +0100 From: Sam Ravnborg To: "Ricardo B. Marliere" Cc: "David S. Miller" , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] sparc: vio: make vio_bus_type const Message-ID: <20240204191057.GA896678@ravnborg.org> References: <20240204-bus_cleanup-sparc-v1-1-4ca7fe8de5f7@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-sparc-v1-1-4ca7fe8de5f7@marliere.net> On Sun, Feb 04, 2024 at 12:19:50PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the vio_bus_type 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 Acked-by: Sam Ravnborg