Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp152176iog; Fri, 17 Jun 2022 00:28:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sw6LtaGcYKFBsgnEyksPmte58eF4o7IuvT7sypNxKnEhWgSBohOIifi2d1nSAzyhADBbjz X-Received: by 2002:a17:90b:3701:b0:1ea:9f82:59ef with SMTP id mg1-20020a17090b370100b001ea9f8259efmr9184100pjb.239.1655450883245; Fri, 17 Jun 2022 00:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655450883; cv=none; d=google.com; s=arc-20160816; b=suYBsu2ue+JZg5Hw548IUt8O9mWMtxNHEgE/B0P7h5APpFnA5L2tiFwMawnGPU0/WS qTDs3FYP8beWBAWxrwH1u8MrfCpXiI5flNCTxFaXihjXBuSgAMAimpP17cbX/eJGrQAQ gIPoPhS/cGq3Qez07s5SRUiQqpLB7/Z0JR1xX5OsJqNUUlDvLjqPQ1YVHKg1ue3hwFx/ tvUx8Kv3oczU8tVxD2+YzPT5cdb3Tcgawsfx5v1o53L6Kv92eFIboMTawQoBe5qWGXF9 b3LBayMzmD6eelyVXzlyfn/VPECheVaQZEcEfYcDei4m+lBNGVeZjUvne5L3MC8dMAe6 KDxg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=AcxIaAyB1bVdX6jzEFWkNdxAffyC2Ia36909pyH9iB4=; b=a8JMummayjnh/6Qx70vVjJUGJFJC60t1ZeYHHv0IJax2PpaVoVn69KwM1NuvKTtTyH SHB7sklFVyZ4C5DFE6mx5oXTFq1cByjwUwIaiSBC1ypd03+ltbd7eunJkLxsxhK6R8KV 2NIOUEBhDXiACsOAo3ySHRUZ5Hi6MRHV65LWH0z2jOrY6+ZA6pLXVuZr9qRQLNTXfKwV XaSEaHC6XPpr0wADA4JR6ow93pyPd1/zCM7wyN+TSo61qkHfHWpE74Fiw9/lHkMYIhvR Gnb/UTOQ2RjdnfRhvV/HaYZRCi1l3HrhOv/JirRnlzc3FjdM8q8eVMxcGEYA7hrca93u NoPw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h1-20020a635301000000b003fe30cc898bsi2226989pgb.664.2022.06.17.00.27.48; Fri, 17 Jun 2022 00:28:03 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380481AbiFQHNq (ORCPT + 99 others); Fri, 17 Jun 2022 03:13:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380406AbiFQHNo (ORCPT ); Fri, 17 Jun 2022 03:13:44 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD30B13FA5 for ; Fri, 17 Jun 2022 00:13:38 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o26Ag-0002uA-Uy; Fri, 17 Jun 2022 09:13:34 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-riscv@lists.infradead.org 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 , Palmer Dabbelt Subject: Re: [PATCH v2 0/5] riscv: some svpbmt fixes Date: Fri, 17 Jun 2022 09:13:34 +0200 Message-ID: <37631570.10thIPus4b@diego> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Hi Palmer, Am Freitag, 17. Juni 2022, 01:03:32 CEST schrieb Palmer Dabbelt: > 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 a lot. For the fixes I think Nathan's "riscv: Fix ALT_THEAD_PMA's asm parameters" [0] would also be quite important. Heiko [0] https://lore.kernel.org/r/20220518184529.454008-1-nathan@kernel.org