Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp496106lqp; Mon, 10 Jun 2024 10:05:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWBrPvYiQPKR0RdwOW56jamr2ZPWg1JBdGxWd/3Q/O8EaPylUNeQsCsP/5IniHsqMSESKPxv9MPFiOyU2RqBc+WBY9A+iw0JVgSdlxAaQ== X-Google-Smtp-Source: AGHT+IHI/UUBXxAhKJTGtOm0qpYRCOMtwzNGMd6FuoQFAy5XVbdFK9u/wFe8qNJoa2JMSmCr/Pvx X-Received: by 2002:a17:90a:5290:b0:2c2:ffaf:b8d3 with SMTP id 98e67ed59e1d1-2c32b48864dmr347357a91.9.1718039139206; Mon, 10 Jun 2024 10:05:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718039139; cv=pass; d=google.com; s=arc-20160816; b=Ub6168d6+U4yp3xhELx5AS0/ZKu5T8W5x/cVAbKA1ADPSZxiA9mvm/90bBq6kbifge kbg0hqO7Eng+GC1AjWUpXvbVOBYkRn6aAPKuwn7qDJ7WGkQlsg0XIe54MnEFspc8MOxu crop/E5m2sL31/ZwL1UWq5rQLhe39mym+YuvTpe5KpGuDSGEj+RtVoFjd71Ndk6ojwuf uFNMxj/GeoQIHm0skxq+kRNPJwyfmbQDHiYtDgCY0/qN5PqwJK/XBx2/1B+caynpcbTr /Gd6M3WH0gbaL2jMExaxuaoqkaNL+sWDFyLbNXdaXJIPI5VOLWQsND3zFE3clpgKUeJT p4DA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Qrv7Sttr41le5/dZwT/NWoIdvUouzD0OZoeprPF9tk8=; fh=kBrWv5CDrSz0SiONlVQeUt+tg/+wRDzMclQpn3BJXqY=; b=sfZ4eh6fUX+4wKVzjJROFRqG+3+YzmSR1/3x6uMC726eKcpEl+ltu0ILdsiiI6VIt7 dfan9gJq7IhVyPGJmvxqZFOLCTiqIoN/kKqyTU0U90kx8Tupe3OSkS9hcMKN80VHflr0 uXpaWGD1u6EoVMoR0lVN6RnvnT4imFxiJRJHiudFCd6dxIL9r8GT5KrxpsSzrQbaaZdh Hseg70JXTLIsYhMhLNl/Pev4z2rMAuYKK84j75OkAzgJ6iObNa21VjduDmGAz+3zs2VS Pxvr/Px4kTW3MRqbqqwVqKC701LfVds5ElpXZKOBSkyVI3dvBvegoj4w6oYvD+MjTuUl 2WtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b="n/SSVeLg"; arc=pass (i=1 spf=pass spfdomain=deltatee.com dkim=pass dkdomain=deltatee.com dmarc=pass fromdomain=deltatee.com); spf=pass (google.com: domain of linux-kernel+bounces-208635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=deltatee.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c30f0a9f88si1701098a91.172.2024.06.10.10.05.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:05:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b="n/SSVeLg"; arc=pass (i=1 spf=pass spfdomain=deltatee.com dkim=pass dkdomain=deltatee.com dmarc=pass fromdomain=deltatee.com); spf=pass (google.com: domain of linux-kernel+bounces-208635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=deltatee.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CC4662898C4 for ; Mon, 10 Jun 2024 17:05:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D482E145352; Mon, 10 Jun 2024 17:05:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=deltatee.com header.i=@deltatee.com header.b="n/SSVeLg" Received: from ale.deltatee.com (ale.deltatee.com [204.191.154.188]) (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 850EA1E4B0; Mon, 10 Jun 2024 17:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=204.191.154.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718039131; cv=none; b=ktCflxdYtPgzzi+V4EQxlunZq5y/UjIzUxjTp3RvycEKhUCEvoyRPjnGVZ/4HffIU4Y011euMOhn27Gnl+rK/kSbUZCcNfaglp5eE4196KHshWKXeBq5WQMm2p/Vk971S8fbjGiRXdPDj445czCkNKWrGG6hXjDdsWWO3btucwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718039131; c=relaxed/simple; bh=jKS3MuwjOqVi1LYTcaBD5kWbzqgcc2y8GtTs8r6U+BU=; h=Message-ID:Date:MIME-Version:To:Cc:References:From:In-Reply-To: Content-Type:Subject; b=qyD2rY/pMxPJW0gpIZLU1MyAcCabfMk1t3o6wnkO1DmCCy7G/CZRHoFPWhKScZVOmHZSfZIcfsBcInkthKQhMD5sqvJe0irXXA+5RGNOBC/OTVRNXV91SBSaje6uhyjAcplYBDcUbjY06HWm+cKetFsgEE5KN1SNOCVmp0rZevw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=deltatee.com; spf=pass smtp.mailfrom=deltatee.com; dkim=pass (2048-bit key) header.d=deltatee.com header.i=@deltatee.com header.b=n/SSVeLg; arc=none smtp.client-ip=204.191.154.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=deltatee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=deltatee.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:In-Reply-To:From:References:Cc:To: MIME-Version:Date:Message-ID:content-disposition; bh=Qrv7Sttr41le5/dZwT/NWoIdvUouzD0OZoeprPF9tk8=; b=n/SSVeLgMBvbqR6V7an7yf5zJY X4KSBiqmSr87uDZxv+8vP3nzFiPRFs5x1Pdmmt2v474p5GQ/DWeNr24p+qaQnt7Pr4Tk88DqiVVMo bhVGvxz6EzHWdUIFT7WDc6SXoZDZmfMWBX+OmDB8hX6q67TLX1IS8a91JXzw2qiYI6qKa0m2JWpl2 4C8ywS8oVto3So5178sfgXHkEixAk8UbiIBUmjng52tEvkLubA5lmd9hK3Ijwf/1gWhy5NBFWfs79 SZxLy6kiIqbbF9I+NkdYI136qa+lUzCnOh8N2k250MOMyKAT/ddUJ2P5dTV+1c7WHhUTBsnDcl4Jo hXsi2IgA==; Received: from [172.16.1.162] by ale.deltatee.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1sGiSQ-0055ry-0M; Mon, 10 Jun 2024 11:05:22 -0600 Message-ID: Date: Mon, 10 Jun 2024 11:05:12 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Greg Kroah-Hartman , linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Kurt Schwemmer , Jon Mason , Dave Jiang , Allen Hubbe , Bjorn Helgaas , ntb@lists.linux.dev References: <2024061053-online-unwound-b173@gregkh> Content-Language: en-CA From: Logan Gunthorpe In-Reply-To: <2024061053-online-unwound-b173@gregkh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: gregkh@linuxfoundation.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kurt.schwemmer@microsemi.com, jdmason@kudzu.us, dave.jiang@intel.com, allenbh@gmail.com, bhelgaas@google.com, ntb@lists.linux.dev X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Level: Subject: Re: [PATCH] PCI: switchtec: make switchtec_class constant X-SA-Exim-Version: 4.2.1 (built Wed, 06 Jul 2022 17:57:39 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) On 2024-06-10 02:20, Greg Kroah-Hartman wrote: > Now that the driver core allows for struct class to be in read-only > memory, we should make all 'class' structures declared at build time > placing them into read-only memory, instead of having to be dynamically > allocated at runtime. > > Cc: Kurt Schwemmer > Cc: Logan Gunthorpe > Cc: Jon Mason > Cc: Dave Jiang > Cc: Allen Hubbe > Cc: Bjorn Helgaas > Cc: linux-pci@vger.kernel.org > Cc: ntb@lists.linux.dev > Signed-off-by: Greg Kroah-Hartman Looks good to me, thanks! Reviewed-By: Logan Gunthorpe