Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1999705lfo; Sat, 28 May 2022 13:18:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNE1+QMT55+4SCZo8jkPGajeCC0ZBQGElrGwvwRbJx6BzRW8vYifGIcTv++RovzzmEHY04 X-Received: by 2002:a05:6a00:1890:b0:518:91bc:fbde with SMTP id x16-20020a056a00189000b0051891bcfbdemr34570215pfh.66.1653769082101; Sat, 28 May 2022 13:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653769082; cv=none; d=google.com; s=arc-20160816; b=Ibz7CHDzEirrWJ8NpNwM635hls1PmjgEP+FRWjEhLjF4DeDWtyB48J3pZhxMeqVzXk 0YKgr/bR6RnQAmSaYjTvgphD4I/GUX/tIVCBtXKuvbWWjinmPGMV5DeZZ6T3hQ5HqyQd KWp/GVCERTSheSvEsgXZWolXZn+MgMsO5y1j4gNp5IhAFPtyGBKryZ2c5b/IZhy0hojv /m840X3KnhICzEKYO+FDIpw8K0BNBOI/4al+1hRu0eXUT+ftzUVXdEsSc7/ESS1HuBR/ jaOgfggKnHqx59tiD6Hl8If+gfO5NzP03D6+aKSTBLkWpJxW0QEhQdrP7CphxbWUSDFC i2pg== 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:date:subject:cc:to:from; bh=R+DhUway0LUieN/mEFPHKxTIKtNRiObS/k92GW0jTK0=; b=kkygB1ckG2yBR1ROuEyJBSJcHm5jMJrKNiiVAzZrVWYzin/Qx/ifxUD3zpsCKX61Ii a5MC1sniNx1bS1vsLX7U6nbyu/K1pJkbs+Fj9EJyTmABJDOlD87Ox3pHiNb0ECfBgQ2p WkfKmIwNStwy/oGeasZkgoJ7Krac6E1cJkTRJ0u5lqOWh1MBk3hGOy4D6dLRWfZwLZKA 4nrGrGBugj8RY2/romTUOjRbDRcRsDoGlIVCrhsfBPdnue61VeJtjX7UWNGGHfWU0QPj v9VKJvpis4o8eqHAiVNPG8e2CA4SQ1t0fHjt/DdwPgLAEUBbT34cMRNknztwh3TwmbWY uGuQ== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l2-20020a622502000000b005182fda1b23si9786136pfl.236.2022.05.28.13.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1907315EA5C; Sat, 28 May 2022 12:29:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243421AbiEZU46 (ORCPT + 99 others); Thu, 26 May 2022 16:56:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238799AbiEZU44 (ORCPT ); Thu, 26 May 2022 16:56:56 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DC446A066 for ; Thu, 26 May 2022 13:56:53 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuKXJ-0006ZH-B6; Thu, 26 May 2022 22:56:49 +0200 From: Heiko Stuebner To: palmer@dabbelt.com, paul.walmsley@sifive.com Cc: 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, hch@lst.de, Heiko Stuebner Subject: [PATCH v2 0/5] riscv: some svpbmt fixes Date: Thu, 26 May 2022 22:56:41 +0200 Message-Id: <20220526205646.258337-1-heiko@sntech.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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(-) -- 2.35.1