Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2288110iof; Wed, 8 Jun 2022 01:30:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo6WduDkLkIIn9fSTEskTSOwJWWah0xtxfkdhqXTzqOKn0NLNmtObJCGImh3QFcIzHaPeq X-Received: by 2002:a63:8bc9:0:b0:3fc:b9ca:4516 with SMTP id j192-20020a638bc9000000b003fcb9ca4516mr28852327pge.224.1654677025992; Wed, 08 Jun 2022 01:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654677025; cv=none; d=google.com; s=arc-20160816; b=La1nKZDwu6tO/5F4gzBKamywKUwE9i57UIc4xj+WrFqkohoOjdF7CfNoH3UAlipEL8 UofK5q5Wqu7YYvyLAkEADIbOutd2YZPTzTXllXtOWT1Nx07Lj3GATLE6HI8rh+0qAD0v AGtRnpkWUbIimStMM8fuej0G5co09EfZqMrzHdBB94C8o2L+EPyA7RstmPP7VWCpDviS yNiFoM+T0Ylyc25M09x4ZMuUDOenNnvBgfawQ1cHUVzIglT3zD0HjGLMrzPVrBHAf82m 06++TXLvF1b/oPY3zLKtg7klmXvnZ2zlIAxT0PPSaXL93oLIdy+EJmAh9z+t+ydIoyRb hWGQ== 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=3VSQTJw1wu5CVzzyS2w6cjOCSibZGG1Z45npzQbvBng=; b=tXIEzi8DvBlZk/wEQSN9mevyrfuWiATY3wvqF/RnsdllFT9DwYFvbZl91HynihLarR VNRJdauntJpij0dVAPYJU6VeYpyRNLApuA8NLrcRRrBKV6YpaFxj1q3O4SIeHCTxw++V GTsc06/8/DBBI9tGjqBwIzaqVPubYOk0ckWuFB++WWbr5OSeIO1op/l7FYxrdSAb/jWG JjNv718d0r0iLalsYGyHqRjKG1nO8nuOwaV8jbNLqTKVYx1fhf7XxIKdETqb7XKEscZj 4CWnWVnES0Xtg531+vVgqmly7JlCjo3IBT9MHktsbSThtC9lSspSKVwH/cRxTwSS58/Q k95w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f64-20020a62db43000000b0051897ee8630si24498460pfg.297.2022.06.08.01.30.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:30:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 134843B02B; Wed, 8 Jun 2022 00:59:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392516AbiFHB6S (ORCPT + 99 others); Tue, 7 Jun 2022 21:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1588746AbiFGXzB (ORCPT ); Tue, 7 Jun 2022 19:55:01 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F05291B07A1 for ; Tue, 7 Jun 2022 16:36:20 -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 1nyik1-00033u-HB; Wed, 08 Jun 2022 01:36:05 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Palmer Dabbelt , Ron Economos Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] RISC-V Patches for the 5.19 Merge Window, Part 1 Date: Wed, 08 Jun 2022 01:36:02 +0200 Message-ID: <827324415.0ifERbkFSE@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, 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 Hi Ron, Am Dienstag, 7. Juni 2022, 22:46:52 CEST schrieb Ron Economos: > On 5/31/22 10:13 AM, Palmer Dabbelt wrote: > > The following changes since commit 9282d0996936c5fbf877c0d096a3feb456c878ad: > > > > csky: Move to generic ticket-spinlock (2022-05-11 11:50:15 -0700) > > > > are available in the Git repository at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.19-mw0 > > > > for you to fetch changes up to 7699f7aacf3ebfee51c670b6f796b2797f0f7487: > > > > RISC-V: Prepare dropping week attribute from arch_kexec_apply_relocations[_add] (2022-05-30 16:04:37 -0700) > > > > ---------------------------------------------------------------- > > RISC-V Patches for the 5.19 Merge Window, Part 1 > > > > * Support for the Svpbmt extension, which allows memory attributes to be > > encoded in pages. > > > > > > Heiko Stuebner (12): > > riscv: integrate alternatives better into the main architecture > > riscv: allow different stages with alternatives > > riscv: implement module alternatives > > riscv: implement ALTERNATIVE_2 macro > > riscv: extend concatenated alternatives-lines to the same length > > riscv: prevent compressed instructions in alternatives > > riscv: move boot alternatives to after fill_hwcap > > riscv: Fix accessing pfn bits in PTEs for non-32bit variants > > riscv: add RISC-V Svpbmt extension support > > riscv: remove FIXMAP_PAGE_IO and fall back to its default value > > riscv: don't use global static vars to store alternative data > > riscv: add memory-type errata for T-Head > > > An issue was found on the HiFive Unmatched with the 5.19-rc1 kernel. The > following warning occurs during boot: > > riscv64 kernel: > ---------------------------------------------------------------- > riscv64 kernel: WARNING: Missing the following errata may cause > potential issues > riscv64 kernel: SiFive Errata[0]:cip-453 > riscv64 kernel: SiFive Errata[1]:cip-1200 > riscv64 kernel: Please enable the corresponding Kconfig to apply them > riscv64 kernel: > ---------------------------------------------------------------- > > I've manually bisected the problem to this commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ff689fd21cb13098305bae3f8d0c0065df2e2fc1 hmm, on first glance I can't really see how that specific commit would affect Sifive erratas. Patches directly before this one did change alternative / errata things though. (1) From looking at your output, it seems at least CONFIG_ERRATA_SIFIVE is enabled as the general sifive errata code is running, but are the individual erratas also still enabled in your config? They're default=y forever and weren't touched by the svpbmt series, but it'd be nice to know how the config looks, to see if the Kconfig settings are strange somewhere (2) Going from the list on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=ff689fd21cb13098305bae3f8d0c0065df2e2fc1 could you maybe check if it's really working with the parent of the commit you found. (i.e. patches before the svpbmt addition). Also just to be sure, it still works correctly with 5.18, right? Thanks Heiko