Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5528486pxb; Mon, 14 Feb 2022 00:54:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp+B5Nl10qQHv3O4K0TTqMiGRZhKytR+DpEsrraHcQ+BzQMMmgpZnxIsxa6OwZrzVLgT91 X-Received: by 2002:a17:90b:f85:: with SMTP id ft5mr13537916pjb.18.1644828886275; Mon, 14 Feb 2022 00:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644828886; cv=none; d=google.com; s=arc-20160816; b=iq3pu+7Y61xxWrY8kmVAxOHgTZVhSNOD/6EHT4A60uQRC16nD8+LyBQhbYkpWIJn7x U8YHDIlLFco4ADDl8bDzVf4R1f8CHpbk/PJq5xcEdztqLygzfgv1/nDjFe/U7Q1kzn7T hZKPfKC3GFOB4KqZeVRgHI5CrDaDar2aV3d8x9AAFTHfHB8JC/2MP6wfNWppZJWhrq1t apOQJ9Hy9qb1iVIwf+pjGRhKYDwuJOq0Hiy2yiG2ig+nQPzFoGtvys4HeWpl3F1a9mV2 RS0ireqfrLo55F3BwcISU0yivk6Mi7pcUbddanuLuCNfFED1QfMRidTNg4fSis0QT5Nf tIlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=JEibxPGvz4zlvz8cnCgwsSaVEcxlPUvz1ybP2YVe2lw=; b=RbB2lz5p0zxG4TLaXPg4Hf7tI7vJ4aBpLAHLnHbVzB1N/dL9lwrn0Q3y1RfgJKteP2 /WF/1OcgMf5SRphoDM/UekgJ/jK4//ntVnf2UmjRTg+zJawh+OPpXVyopl8YMLuLSOIC G7QTLNIHTJapgrTFyXMTYdrYAjoHJWWb2qeT7/UUsS0E6bZDutTjR+umD/0PlJN3lt/W xo1++gFd5LjeKUoLdkHD5Ou+rSK9cufj9Q827cK3zXcq1iPtfGd23BG+1X1P8+vN23UG d3h2zzLUz+CtNVHomnGjbeQVmowbQaTVpbWFAgTqPl1RhCzXX7VsF2ROrLdf9Lquj43X GeXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=I5wIQ5mn; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UEJaJz8S; 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 r8si28158755pff.43.2022.02.14.00.54.31; Mon, 14 Feb 2022 00:54:46 -0800 (PST) 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=@sholland.org header.s=fm2 header.b=I5wIQ5mn; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UEJaJz8S; 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 S240080AbiBNDmY (ORCPT + 99 others); Sun, 13 Feb 2022 22:42:24 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240068AbiBNDmW (ORCPT ); Sun, 13 Feb 2022 22:42:22 -0500 Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87F0155BEF for ; Sun, 13 Feb 2022 19:42:15 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 9F15B580218; Sun, 13 Feb 2022 22:42:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 13 Feb 2022 22:42:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=JEibxPGvz4zlvz 8cnCgwsSaVEcxlPUvz1ybP2YVe2lw=; b=I5wIQ5mnPRhiGXUuQ5NkhC/FzDfS0R 8fAA0gG1hjZGSvhsgvrJeGhM3o/9QvE5RD8nLaDxIdgED9yOlpsJNv2ZKxQejCVK Qwp7M2YdhVPEnxbIgm8sHBq7kMNDgBKtgr8KXGgU6K5uzyR3nhwN4ZxymO1GzMSd OLVDLrO0fxSx4ZxqhrMI1FHABal3UQlA6RyzyvG05a3KYsHIepiysrhWOmW9SiMt K+pkGbgcA4MUiLWA2bZ1VT/XhMmP8sb+kypG2U06IFMyji3fNGP8q/IDD6+Dh3bV YOFQw7BkNrHgc5+59aSjhK6Bz+BnlkqV+w57Wa8EPmq9EltpRb829Feg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=JEibxPGvz4zlvz8cnCgwsSaVEcxlPUvz1ybP2YVe2 lw=; b=UEJaJz8SjMfnmljMJTY+Rkas67dWAiQF88GmhwQuUEVinalhmW1pMnUDa rYzl90E0rWFAK1mx6VAq8G1Oh2ozQ2RhMS0i6sD32j2gtAGlRi54/R8gWJiUeF9o xfrNKL4gXNcpRrDyNJwoE4rGG9SA/SmttoSVAWm3LzbHM5jh0Z7z6yLj1FLL3hcU +2LkZEPO0OKDUd/QOu1+nVb7N17YjIF5XUo/W22/krAA5NEQEedU4ChYNbmFurD2 TSPwptED95gwh2pn3gkdgDlbI7Zbiv4EDG+UJ7ABK0nxMHAF28NwupOtKmYnqop7 h8DSPLv9N2/76gQvNvZnMYodNqN1Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedugdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpefgveffteelheffjeeukedvkedviedtheevgeefkeehueeiieeuteeu gfettdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Feb 2022 22:42:11 -0500 (EST) Subject: Re: [PATCH v6 14/14] riscv: add memory-type errata for T-Head To: Heiko Stuebner , palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, wefu@redhat.com, liush@allwinnertech.com, guoren@kernel.org, atishp@atishpatra.org, anup@brainfault.org, drew@beagleboard.org, hch@lst.de, arnd@arndb.de, wens@csie.org, maxime@cerno.tech, gfavor@ventanamicro.com, andrea.mondelli@huawei.com, behrensj@mit.edu, xinhaoqu@huawei.com, huffman@cadence.com, mick@ics.forth.gr, allen.baum@esperantotech.com, jscheid@ventanamicro.com, rtrauben@gmail.com, cmuellner@linux.com, philipp.tomsich@vrull.eu References: <20220209123800.269774-1-heiko@sntech.de> <20220209123800.269774-15-heiko@sntech.de> From: Samuel Holland Message-ID: <0f5e7f77-abe9-046e-7296-2f22cb7e5b86@sholland.org> Date: Sun, 13 Feb 2022 21:42:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20220209123800.269774-15-heiko@sntech.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 2/9/22 6:38 AM, Heiko Stuebner wrote: > Some current cpus based on T-Head cores implement memory-types > way different than described in the svpbmt spec even going > so far as using PTE bits marked as reserved. > > Add the T-Head vendor-id and necessary errata code to > replace the affected instructions. > > Signed-off-by: Heiko Stuebner Tested-by: Samuel Holland