From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5065C0015E for ; Sun, 6 Aug 2023 12:18:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/G7uUHu/8hvYgP927CvY7lVA3WOLGckgsW4Uv22y8Oo=; b=Nf3ETTOQFO64G+ l4jvRRGFDJv3oXoMPDSjMgLm6Qk4/LiYyJ/1ZVePi5KheR631PV6l8MJM76gatsq6ABpcpMK/qjDq zODCjJt4nhbah4ER0GL/ajsF2g4FppVXiQiN3RwiOCAdKERsVCwmAYG7g/pGBjz7Hj250LMP9ALVQ gJHqgNEjb5cALKrz8mLM8rPBmZbJGejHjwLifdMOc0e1/pppLIHMDiKtKIGkpkilQ2DQSZFOJMLk7 gnbdYo75OXSz6IwHgc3N2Rk7INM7TGkEzYhhXCNEbUrvjNXkxTYwAbbW/z03H9DRWustWW6FGozLe G8LTVK97LRSTz8ePq7cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qSciB-00FObj-1D; Sun, 06 Aug 2023 12:18:19 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qSci8-00FObJ-0W for linux-arm-kernel@lists.infradead.org; Sun, 06 Aug 2023 12:18:17 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 994DB6104D; Sun, 6 Aug 2023 12:18:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FF6DC433C7; Sun, 6 Aug 2023 12:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691324295; bh=XCMVR3vxSn0XdgUjdbWtLZfToXOigSgVzP6r26i3Jmw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H8OYnRGXAx37Rwn1pw0e8eW4eMcrrWntq0W2mp4howGlyswosOWX6HnAxyVPDkuRn bhE0yZsLH7KM5rhPshGCBVkD/tmOywY1vxz2AN8dkkWyVuZ43/ovXRC2vf4PNF0WDz 6w6MqmPdX4cv9Vt1NkPH7rw6M9wN5vuy1zntd7WB+H6bizFbYv4xsSi1+kobim8DxW +Xqoem6c456mr7tftIGhOczBYHBVgwfB5Zavi7pNsPO5nwSb//ju+Yyq7E9aAwYnQb 1xr2FGy0gdixfEyg21p2YPYN+khVHFnVPblpV5PAxMd2vt0n1AcQIPlZhy6wz9jgaY ENXDN0EinhuEg== Date: Sun, 6 Aug 2023 20:18:05 +0800 From: Shawn Guo To: Hui Wang Cc: linux-arm-kernel@lists.infradead.org, leoyang.li@nxp.com, s.hauer@pengutronix.de Subject: Re: [PATCH] arm64: dts: ls1028a: add l1 and l2 cache info Message-ID: <20230806121805.GD151430@dragon> References: <20230731084614.59785-1-hui.wang@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230731084614.59785-1-hui.wang@canonical.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230806_051816_248182_E8F37D85 X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jul 31, 2023 at 04:46:14PM +0800, Hui Wang wrote: > When we ran the stress-ng cache related stressors, we got the log as > below: > ubuntu@ubuntu:~$ stress-ng --l1cache 4 > stress-ng: info: [656] defaulting to a 86400 second (1 day, 0.00 secs) run per stressor > stress-ng: info: [656] dispatching hogs: 4 l1cache > stress-ng: info: [657] stress-ng-l1cache: skipping stressor, cannot determine cache level 1 information from kernel > > This is because the l1 and l2 cache info is missing in the devicetree, > ls1028a has dual cortex-a72 cores and has 48KB icache, 32KB dcache and > 1MB l2 ucache: > - icache is 3-way set associative > - dcache is 2-way set associative > - l2cache is 16-way set associative > - line size are 64bytes > > Signed-off-by: Hui Wang Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel