Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1891220iog; Thu, 16 Jun 2022 16:38:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sky0eEdr4Hji3TLFhlvMxVO7J5ny5St9XxOtlWvpOV7kK7C+2wzeYFtEBST+i0I1u5+f4p X-Received: by 2002:a17:906:58cb:b0:70a:751c:91fc with SMTP id e11-20020a17090658cb00b0070a751c91fcmr6598917ejs.258.1655422698701; Thu, 16 Jun 2022 16:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655422698; cv=none; d=google.com; s=arc-20160816; b=goTwBRZoPu6oSB1d7FxyO1H6nrcYyI1FrCUTWlIg4U0dgPdOPRB+q4GBks/ChKXygU G+k+5IadFZDF5+ArVAmjppPzYEFunto28p2errdiluBXx5vZZvcH82UBIYlaZDlX4D/n Aoce1h5d0yT7qxOI93sIE5896GFWfN9ADD3duiu1p3ZNLV+iYITJvDxbwxINhqc7Fc0g poFyWqB+EtQJTCTF6Fx3ASIjRQWOy7er5IpSlV2XpnRq3jvdQ+fAumKWSJTaTkpocBoF W0BDu5b9XZCYvPkI1ytOmx5Tjahi2wk+fenPITP1TuVgNpAqhOSoK4i3MdIVewNab1Q1 RUBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=wDHYazrSJbs5DQzniIUtQnffNw9K72mrEtU5mGnXyTM=; b=GF385LSbmHIrwysROAlgYxrmc7MTYNAH0QhFtL9T6QbpD9M9V0xeJIKHO12oPjLZiV 2gAIMfcC7m+Q2c+5ihXLperMM+Va49kMAItWWxXthGfsfoA6b3YEhEFMa8SquNMMBRs+ sG8Gv07EoMzQPu9ToZFq4ZD+bj3ZGfbXnLPdpOSjWebO2KuPinBb3S1zaxEr0i4r7LTN MfuGUk7m6ltIvEeOaYJyWr3lQCSOZnsVDYeRFizZ26d/iN4ioxol6B92qv9CS7f3+fW0 XBELepsAzT7zTxSKO4e96t8+KyGP3woNXAT/4+VT++ctKIX7CkMqmwr5QDwmYCAovtOD v+Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=CDhgd1tW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020a056402518e00b0042df0646ba2si4390623edd.30.2022.06.16.16.37.53; Thu, 16 Jun 2022 16:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=CDhgd1tW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379199AbiFPXDo (ORCPT + 99 others); Thu, 16 Jun 2022 19:03:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379320AbiFPXDh (ORCPT ); Thu, 16 Jun 2022 19:03:37 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108F556C1D for ; Thu, 16 Jun 2022 16:03:34 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id g16-20020a17090a7d1000b001ea9f820449so3055289pjl.5 for ; Thu, 16 Jun 2022 16:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=wDHYazrSJbs5DQzniIUtQnffNw9K72mrEtU5mGnXyTM=; b=CDhgd1tWWuBnt3ODMFgRWChX4ZlhHDlNvk/KAnZvEM2Uh/2LxA7JlQqCAmIaIJ62Uq rjXr/O6k48kIcIKrhSGjKh010fJuX9FsZ1rt562IC6L5MxUV3swhFUMnabNLL65hn5aC O930jLdTFS18cl69MGnuTRlHwpjEb15YQyeuu3kf3gijZfiKPFgA2/6NAd/Xq/LNyy9h zTZMtfii0pTLVp0GC9cS6axH6lcZ27aHXQcLo4kMkovEhlsML1g7Mr140bcS+b5UGtEb 3nH6yHy10Jz8Uqv9yjX/uc/MFdPj1BroBrZCEIenEA71dKuCij6itLoQ5Ln6P+jrzm9F ue0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=wDHYazrSJbs5DQzniIUtQnffNw9K72mrEtU5mGnXyTM=; b=SPosz9EZh9AxomRIRGUnelTl9k9uyQfTgl1UGKXjOvP6DQ96wiaW0pxD0JA55Hq/9a ZHf7ikfO5UL5N09754THIy3piawH81ANfvvLMoSH7z8vUslG9FRgqSDGqe3cF2tyF9WA 8WUIAGB4VxPA48X0GJxi37yigEoLgMFB1Qyr+RAl6bvYMnvjlq/+JNVuqZyZ/TqzXccF KD99fOniCnlwHpjNUfXWYJHuGlYePIQZqDuWJImf1J97p+NV11XRl5I4vzRzhffqDJJI VsLIxhKGNB+o57UKkive0afg2O6042Iks1sfeSlHHl9uh5gQe6pNgIUYiAllZqIgcRs0 qz5A== X-Gm-Message-State: AJIora9vFzy+Aw+Wh0uGoG2P9m8HjemINRFrboYYizFEBNF3Vm68KiFv ONwIC9So6M/c2tL/BqTyzRyHl+Cd+Y2CRQ== X-Received: by 2002:a17:902:e30c:b0:16a:2ee:c232 with SMTP id q12-20020a170902e30c00b0016a02eec232mr1288991plc.123.1655420613404; Thu, 16 Jun 2022 16:03:33 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id x16-20020a17090a165000b001e667f932cdsm4291967pje.53.2022.06.16.16.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 16:03:32 -0700 (PDT) Date: Thu, 16 Jun 2022 16:03:32 -0700 (PDT) X-Google-Original-Date: Thu, 16 Jun 2022 16:03:29 PDT (-0700) Subject: Re: [PATCH v2 0/5] riscv: some svpbmt fixes In-Reply-To: <20220526205646.258337-1-heiko@sntech.de> CC: Paul Walmsley , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wefu@redhat.com, guoren@kernel.org, mick@ics.forth.gr, samuel@sholland.org, cmuellner@linux.com, philipp.tomsich@vrull.eu, Christoph Hellwig , heiko@sntech.de From: Palmer Dabbelt To: heiko@sntech.de Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 May 2022 13:56:41 PDT (-0700), heiko@sntech.de wrote: > Some additionals comments and notes from autobuilders received > after the series got applied, warranted some changes. > > So this is a small collection of cleanups for the svpbmt v10 series. > > changes in v2: > - add Guo's Review > - add patch dropping the use of function pointers in code > that can run before relocation > > Heiko Stuebner (5): > riscv: drop cpufeature_apply_feature tracking variable > riscv: Improve description for RISCV_ISA_SVPBMT Kconfig symbol > riscv: make patch-function pointer more generic in > cpu_manufacturer_info struct > riscv: fix dependency for t-head errata > riscv: remove usage of function-pointers from cpufeatures and t-head > errata > > arch/riscv/Kconfig | 9 ++++++-- > arch/riscv/Kconfig.erratas | 1 + > arch/riscv/errata/thead/errata.c | 38 ++++++++++---------------------- > arch/riscv/kernel/alternative.c | 18 +++++++-------- > arch/riscv/kernel/cpufeature.c | 37 +++++++++---------------------- > 5 files changed, 40 insertions(+), 63 deletions(-) IMO only three of these are actually fixes, the rest are cleanups. I've got ahead and put everything on a branch, with riscv: Improve description for RISCV_ISA_SVPBMT Kconfig symbol riscv: drop cpufeature_apply_feature tracking variable riscv: fix dependency for t-head errata first. Those are on fixes, the whole thing is in for-next. Thanks!