From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EC05C25B6E for ; Fri, 27 Oct 2023 06:52:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345290AbjJ0Gwa (ORCPT ); Fri, 27 Oct 2023 02:52:30 -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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!