Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1208528rdb; Fri, 16 Feb 2024 08:21:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXgTQdcM7F20yqf3eVRZ6qbX7JZlWcx7fUBkI5Q/4CNutRlxXelYPt9mXwiFF1qj9BGbF6HRa8FM+GJSJ4BwABe0CSlrEolOuV+YUhDZw== X-Google-Smtp-Source: AGHT+IGZWgxj+KeNei1wa70sejCqqcGtyLBICnWHYUXjRIEStzPRmfeODPKo8wIRoxQ+9bQ+1MF2 X-Received: by 2002:a1f:c346:0:b0:4c0:315d:cb6c with SMTP id t67-20020a1fc346000000b004c0315dcb6cmr5294914vkf.0.1708100496033; Fri, 16 Feb 2024 08:21:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708100496; cv=pass; d=google.com; s=arc-20160816; b=TFpaoe3JbUX8u/lv5vu9IQQwCOMBZ2oPEpNXYp/aSnPfyZ9VPKt6SyR2kEmwOoY2a3 Rdmo7wyMBrp81M0lmsmH+z2eNDU9vlrL1dlkODJWyT2DqpLAxgOTrNnUs1GnsvxsMfcA dhMKM6CgDT0Aa+TlosWPA+YQxE4Q3wyyUJOutdnyPLXkuaXOM7V7D1gQ3HTQGwFUk0oH PlOu2omH/Jt5QDsbZC3Z6AuRKMcTHDCDih3nss/NSJYnc+c2gA057KPbB+HImYkODjQr Ouwju1Dx1od6lOE9b/sRLjVJSln+/2/UibUb7oJK6YiP3PyKZ4OwdUeymG+JgWFNN5rc PZZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+EhGQqpz9ZldhZddNobac3SACJQDyJzAy13hPzzS270=; fh=AlmXcbPwVB4nvbkA8NW7TzxJFNsq36Aoy+1nrLVqvyw=; b=rXrOwLUv+g8TLFHzkMvKfR6v1AWI+NiesVxQx0K3yN1x+utnyvFHqDvOc3FsHORM6g 5rkTiSzmbhMDKT85626M0Ur8IA9VS6jxpX/cSjROnKUTxuqPEr4tEvdd3+ppDTYhXzFM PXOHeF8B5kNkPbV5qfdD5/zKF/oysQpwl7SCavDfZl6+F7lnFTZOY0LYgU5XGzUYtOKC mi9a4Ez+EL3GHOdEpadlf7NfKIiYS5Ag54H5GVMWDhD5p4s7sOKWUQ0slcCxlE2o3p92 vpOTBZA1YncFCTzIWLKVZkir2CAwA2HBYnmsa8pYk4+exsFrPDGiZKvGznUUj5v1dUTw Bx9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=GdvfW9IH; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-68950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y8-20020ac5cf08000000b004c03da3dbf0si125137vke.16.2024.02.16.08.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 08:21:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68950-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=@gaisler.com header.s=unoeuro header.b=GdvfW9IH; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-68950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com 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 BCCE31C20F5A for ; Fri, 16 Feb 2024 16:21:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D440A12F39F; Fri, 16 Feb 2024 16:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="GdvfW9IH" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (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 5F7C312FF7E; Fri, 16 Feb 2024 16:21:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708100490; cv=none; b=Y2bYAAQY+bgGEP6aNiTpv6ycsqRB/goOnypuWTzOgDcL53iqxWcba84cEMs6JY6JoKbQ84OADWP9ckBXrHPEkNCiIHZ2so4OmF54ao2yF3baE8TBYyHpe9aDCCt+SX8gu3dys/yDPZHgSuF84vhveeEpQrkrY6FNkjllNaV9ooE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708100490; c=relaxed/simple; bh=7iD9q0Gwldur64dA/55/MQ50Mw4xBPg23TbfvVZYhxM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kWzbh2u4m4+7w1hKaG+8/6XBtZBiozPHKwHTalWDqAE2gf6J+muW++flMlyUvumTnDA0yEPNrHoBXMz25ghE0tCUpQYzK3mah0jJRS8VNRKZFS/gEURkExKsBKiXZg+38QTY6yPCybMCbkB53jJyY6qOnLK8MwKixL/sldlyTYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=GdvfW9IH; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TbxyD3WSLz681h; Fri, 16 Feb 2024 17:21:24 +0100 (CET) Received: from [10.10.15.23] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4Tbxy75mrHz681Y; Fri, 16 Feb 2024 17:21:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1708100484; bh=+EhGQqpz9ZldhZddNobac3SACJQDyJzAy13hPzzS270=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=GdvfW9IHmAfvlsr/J3nEhiOtIE3QGPO/aTM8c7XI8JvHfY1jHozVcEekSjg06hyhE RXyR+udvJgVeft3ow0rRjTj/hf3X1PgtutTx0Nqpb79uT/hXmYrODoSek38vSmrstn LJajJbPa2bxIfxK/io0uXEIvg5McpyC4ja3rwIu0= Message-ID: <93abcc66-81cc-4ed4-9881-ff8f4622acd0@gaisler.com> Date: Fri, 16 Feb 2024 17:21:17 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] sparc: vio: make vio_bus_type const Content-Language: en-US To: "Ricardo B. Marliere" , "David S. Miller" Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <20240204-bus_cleanup-sparc-v1-1-4ca7fe8de5f7@marliere.net> From: Andreas Larsson In-Reply-To: <20240204-bus_cleanup-sparc-v1-1-4ca7fe8de5f7@marliere.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-02-04 16:19, 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 Applied to my for-next branch. Thanks, Andreas