Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3810974rwb; Tue, 8 Nov 2022 08:36:56 -0800 (PST) X-Google-Smtp-Source: AMsMyM7fBiYD4bsiMPF1thMbgZSdYu75x20muA1decoFdqrlSJF/5zZj8b/f8RT20SQIUWScIQXV X-Received: by 2002:a17:907:9602:b0:780:8c9f:f99a with SMTP id gb2-20020a170907960200b007808c9ff99amr54907991ejc.465.1667925416163; Tue, 08 Nov 2022 08:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667925416; cv=none; d=google.com; s=arc-20160816; b=szYNgcEQtrcC2gar/6QyjwgdjiosBMOjYb8Dsr3CHhSmcDbU9vI8+6RHrUCXmvoMmy 3zERq/3mtRqeLFGLaYnrIW1D+E3EV3EakbjbLjhr0lmfHgFbuccgLywtMTQVtmvq6WWg w9v0RT3QMVp6y5TG8cWRVU1HgFumIVd5OP5dce9CerZz8cNAeULbRsydDv4PnGCn1qyr sPnROi5v7WMAhLjJ2lZwpKTkkgKE6kubNmzL3rHcGBqMoo8DX1lgYnVaUt+OsA2DKllf Nb09lgp56QiguOgWGnnk2mvzU8g6y8C31RTNQy5e1pqu3t1M/Ex12HsKKzg9PPQ3VFCj xN5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=404WNsRDTZuvBNWt6golBe+DuzAUYU3vChiC9f02kFQ=; b=tFCQeKJ/pNypvyeDk1zfHOpZ//sur1sqd+RMJ8+ySw9ToZriYc70fNvJgf+w5TIkxN pBopMRy9ROtTczLHiXvnSlKm7xuRQkSh35UovCi9E60vllxdKHiHCNC3AQd7z28rT4u9 s+sUVrN8yS43S6tobnPpa+qMppXAdK+OKvjwKBCDOwRl0olJUANrbaqgEBAA1AS+9iW2 6CYUqvbmEPoooYl0Hjvo4IMnzXuanTU+kfLNKFQFZ+iUe+T+ZiZsI4kHfFJ+qcJl3hR1 Ld0v7jVAcRFQ1c8qVSctm87VcPSrGZXxmf/qVlCsihrUCFkBG7uMDaLEGFLbpatil6pV rFrA== 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=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb4-20020a1709077e8400b0078debc9d30esi12434323ejc.29.2022.11.08.08.36.33; Tue, 08 Nov 2022 08:36:56 -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; 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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234207AbiKHQEg (ORCPT + 91 others); Tue, 8 Nov 2022 11:04:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233856AbiKHQEe (ORCPT ); Tue, 8 Nov 2022 11:04:34 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A3EB140FF; Tue, 8 Nov 2022 08:04:33 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 334E223A; Tue, 8 Nov 2022 08:03:35 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0EB0E3F73D; Tue, 8 Nov 2022 08:03:25 -0800 (PST) Date: Tue, 8 Nov 2022 16:03:23 +0000 From: Sudeep Holla To: Pierre Gondois Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , Gavin Shan , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Jani Nikula , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH 1/5] cacheinfo: Use riscv's init_cache_level() as generic OF implem Message-ID: <20221108160323.kqotjshjxr67muaf@bogus> References: <20221108110424.166896-1-pierre.gondois@arm.com> <20221108110424.166896-2-pierre.gondois@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108110424.166896-2-pierre.gondois@arm.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Tue, Nov 08, 2022 at 12:04:17PM +0100, Pierre Gondois wrote: > Riscv's implementation of init_of_cache_level() is following > the Devicetree Specification v0.3 regarding caches, cf.: > - s3.7.3 'Internal (L1) Cache Properties' > - s3.8 'Multi-level and Shared Cache Nodes' > > Allow reusing the implementation by moving it. > Reviewed-by: Sudeep Holla -- Regards, Sudeep