Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp959298rdh; Thu, 26 Oct 2023 23:55:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeeK80OouLMA4GJYHI5NSUk3WKl6Bh//v/YQ1lL5ZtJ3VP9V/3YFGg7D3M9ClLvPEpPTy6 X-Received: by 2002:a25:d411:0:b0:da0:c64f:ea10 with SMTP id m17-20020a25d411000000b00da0c64fea10mr1606772ybf.43.1698389707851; Thu, 26 Oct 2023 23:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698389707; cv=none; d=google.com; s=arc-20160816; b=IN63jkLACcVC5Re1OCapUaRz+uMRn8UC668Rp2p4pFYvKlhHyxnKMsqvSHwC1erEFY SXgv6mAortIS3tJbUscvo44eV/ewm+YY2SK84ai+oGS0A2oNSI+zNzu67EuUu83sPaY7 U/JhiIOrgnxJ8W5mPizSKayCCwAjHvMUwtjOhorifS+b7HBjEXEiWUjXKzVCyyeuEi43 FKH2nzSDZzJ2iwMTBClCQVujh0iiwCKaCnv1UZolDMcttGrFBheHOMIXWQDbBXBAazzB Tdr+WJf3VFdiQvz+LuOFrKLHZRjh8Dng8Q+FW7gG+bVSZpNW/K/0EAbfbSJrfCkZsLK1 ObQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mT4A7fzA36UHFtXBPrlHSrwVkSqgT0P4awgP7fmxhmQ=; fh=WYsZvzChQPPlkjF4MsUgPZ8Bq7EsR6SpRN8KdHJfChg=; b=JazGuT52ibIr7GYvJri9lvtQc8YJo9WhpsrZk6oSH5E90o6r63u7puiOFahdJATg9x QVxO26yI8kkGqj9w8RP/hhtSlLAklGbYEUJexBBdHrVRxsYpLfxwxJygfZwvOWBDGCel GtEuL2VhknEMVSuJY1Mv9Wg3V+Dz+q5tDxyK4ZgSM1KdtDxmmDUJOEweBl4svezbeVYU JjqP8PvKKQh+gEDWTHhD1Joma9HS1fotURbsjRbZSYMmwSM01vn/P+eijWqoUj3NfyZd 35fox5x5Qd/mJWE14nIapaA8eADuT74wD9V0VM2pM/dgSE+9WbBxRxXpg7Bt+rTMmyZ0 VKKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1mATErMH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id f8-20020a256a08000000b00d3338dda705si1553446ybc.50.2023.10.26.23.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 23:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1mATErMH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8F0A680740D0; Thu, 26 Oct 2023 23:52:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345123AbjJ0Gw3 (ORCPT + 99 others); Fri, 27 Oct 2023 02:52:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjJ0Gw1 (ORCPT ); Fri, 27 Oct 2023 02:52:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28E1E1A1 for ; Thu, 26 Oct 2023 23:52:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47976C433C8; Fri, 27 Oct 2023 06:52:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698389544; bh=FOFQHXHa8o0hAoUQR/R/cvgIByHdvM6QYZCpeAwOXB4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1mATErMHA8kqjiU2UmW3F8y7xndcRNxen9+NHOqkpyR2G3TI20NpVNc5Ui0pPh7wz gF6zENaby5Kiop3uC4w717tB9CWLNN8pLSE5QV5Lk0q/KW5xqvt0lZCWpRe1UB3mR0 n3ixYM8/NHCTcIibwIagSXJt+m1yCnYKmQdOZXIw= Date: Fri, 27 Oct 2023 08:52:20 +0200 From: Greg Kroah-Hartman To: Zhangfei Gao Cc: linux-accelerators@lists.ozlabs.org, linux-kernel@vger.kernel.org, Zhou Wang , Arnd Bergmann Subject: Re: [PATCH] uacce: make uacce_class constant Message-ID: <2023102713-viewer-varied-d956@gregkh> References: <2023102458-designate-vicinity-4c86@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 23:52:37 -0700 (PDT) On Thu, Oct 26, 2023 at 10:21:52AM +0800, Zhangfei Gao wrote: > On Tue, 24 Oct 2023 at 19:50, 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: Zhangfei Gao > > Cc: Zhou Wang > > Cc: Arnd Bergmann > > Cc: linux-accelerators@lists.ozlabs.org > > Signed-off-by: Greg Kroah-Hartman > > Thanks, Greg > > Tested-by: Zhangfei Gao Wonderful, thanks for testing!