Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6473312rwn; Tue, 13 Sep 2022 05:00:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR5KvY8GdRXJu/xYI3j4GzbPhJC7QQbVXXIz2gpZnI5IzM+O2jl7d4/q1hdEI2jhwhfegehx X-Received: by 2002:a17:907:2c4f:b0:77e:ac5:a734 with SMTP id hf15-20020a1709072c4f00b0077e0ac5a734mr5709303ejc.597.1663070426323; Tue, 13 Sep 2022 05:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663070426; cv=none; d=google.com; s=arc-20160816; b=vGuyEDYEX6sASYdrm3l9I7WsU+/vuBHI+WI1+uTdn63J08UgzMp5M8HTOv2y3bSOhg E/EuHzu7M4ASVfcANd+LI+2sFHIBqZD2Ogws2/pTVl7f1IBKYlfXlumIeh2c2Q9qjbFi VmJBxfIIuhcq9mcyMZyqdMRfHHij650dcLHNNpQiTcmjE9Rh8OAOvETicT29V8UhM5kX XhIiWgWSLi1seyQWLL4+kPf7V7Yuj2p8s7/czfx0reqFCV+gsQ2VlDPKps9Xv3kr9s4H w0QASFe2HHQlvbUKkY12NwMoF9w2JN3m7u1xkDaPya2sq8wIPsMT+jwSomxdcBQXoiTw ZO+w== 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=0l7XLLqgwT3W10aSK3+OyANf4e6EbAJV7SQUqZxY4z4=; b=ZhTt5hTFYKm9xm7STgNiP+JntTLqoIGTnARvLstDdLrpSreU6bU9ooYjtK3MBO6Hnj V9MDqTgB8iYNu4zr2ak6sDL+P9HKN0NVRaDBJt3Ju12AT80MdLu3HzHYB0quFhS6NXaY fTO1TamgSYS//I9M3FhRioilFoBoD/Ll/afEkcxv3b18S9mbiGY2grQ3zXDJ+Z1uLDge dghoRBlD/yoau+kpffFg+Su5YxpqTIoJEHpfX0TmN3gkVQaQCxX3wLBsIfBW9rnzFUko pDIaNM8dKDXpkupZI84WlkDOY51opgoLX/n/FDrlSTRq1xnqC0+s4JAaFzgSi0iAm7Yv PESg== 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 fi6-20020a056402550600b004516b10a1a4si5817238edb.307.2022.09.13.04.59.59; Tue, 13 Sep 2022 05:00:26 -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 S231773AbiIMLiz (ORCPT + 99 others); Tue, 13 Sep 2022 07:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231927AbiIMLiw (ORCPT ); Tue, 13 Sep 2022 07:38:52 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8624558ED for ; Tue, 13 Sep 2022 04:38:49 -0700 (PDT) Received: from [185.122.133.20] (helo=phil.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 1oY4FR-0004VS-Mb; Tue, 13 Sep 2022 13:38:37 +0200 From: Heiko Stuebner To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: samuel@sholland.org, guoren@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] riscv: make t-head erratas depend on MMU Date: Tue, 13 Sep 2022 13:38:36 +0200 Message-ID: <3452718.iIbC2pHGDl@phil> In-Reply-To: <20220907154932.2858518-1-heiko@sntech.de> References: <20220907154932.2858518-1-heiko@sntech.de> 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 Mittwoch, 7. September 2022, 17:49:32 CEST schrieb Heiko Stuebner: > Both basic extensions of SVPBMT and ZICBOM depend on CONFIG_MMU. > Make the T-Head errata implementations of the similar functionality > also depend on it to prevent build errors. > > Fixes: a35707c3d850 ("riscv: add memory-type errata for T-Head") > Fixes: d20ec7529236 ("riscv: implement cache-management errata for T-Head SoCs") > Reported-by: kernel test robot > Signed-off-by: Heiko Stuebner could you take a look at this too please? As it would make the lkp robot happy :-) Thanks Heiko > --- > arch/riscv/Kconfig.erratas | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/Kconfig.erratas b/arch/riscv/Kconfig.erratas > index 6850e9389930..f3623df23b5f 100644 > --- a/arch/riscv/Kconfig.erratas > +++ b/arch/riscv/Kconfig.erratas > @@ -46,7 +46,7 @@ config ERRATA_THEAD > > config ERRATA_THEAD_PBMT > bool "Apply T-Head memory type errata" > - depends on ERRATA_THEAD && 64BIT > + depends on ERRATA_THEAD && 64BIT && MMU > select RISCV_ALTERNATIVE_EARLY > default y > help > @@ -57,7 +57,7 @@ config ERRATA_THEAD_PBMT > > config ERRATA_THEAD_CMO > bool "Apply T-Head cache management errata" > - depends on ERRATA_THEAD > + depends on ERRATA_THEAD && MMU > select RISCV_DMA_NONCOHERENT > default y > help >