Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp992710lql; Tue, 12 Mar 2024 04:33:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8jm88TOt73LDAX2VWZpZJSEOvpNDlQMm6lkZ2BqEpRnvGZIt65I85Bu4Iqwz9iv7Zcri6M+6k1YR9Eh3YuXYu4mmZx2aOOzyrbP2mLw== X-Google-Smtp-Source: AGHT+IFO2odGquSg1cY6ktY+nLh0350FQawOoo5VD1Up/0ekl92DxvTv/vOJAGKMc3SphUy4FVpt X-Received: by 2002:ac8:5e4f:0:b0:42e:d2e9:8da1 with SMTP id i15-20020ac85e4f000000b0042ed2e98da1mr14109963qtx.6.1710243216620; Tue, 12 Mar 2024 04:33:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710243216; cv=pass; d=google.com; s=arc-20160816; b=U465LLjMDLQB4TXMRMD2xA0aL6CqJZfhckOHvq9t4+qksy/tVQw72sUaxyP5NZuseS LrwPsNg5oQEbZiXw/BTn0ybZ5DzMD/EtEPU94j2Q3IcP7KCmQPEtAakXQaeJJOfkckwx pbq8SEftB6zp8lZGgwfxuv/aJ03qqdIlz0+jxZ5GZ+LouEVGufMIE8JBdGrCAbmsBpju 8z2LG0iFsQr6YpcVh6eBLG5OIpn0ZT2D7qFD5frNBvd3EaOpKnADPQUfJeHxBuvQRrdj D0aQaEqOipYmwG7UMvVpqjn3bSBnBQDAmUGM3f9+DzobWzeaU7v63k5sAH306I/YDVaw GihA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:from:date:message-id; bh=pJX3UbzQDCFvf5jiE5iyIWIk8OLrnrGEabd3yhfIy8c=; fh=SGcIsZYl7rE3tnvBXvCRTWOtj1ogo4vbsirp2oTvkQs=; b=IiKVWu6rhQxWaKmnHu+TBfl0X4fcoxwW6MDuCGAdELEvsSOo75197beEF7bQWUl0OI t4Eh0qdWMW4f22mwqQrkplyI6aTp7MHlMpxpD8tnhLvMDrfxJzAWVaih8mMameBtf4yH iBdgXxiE36ZIJ68d6tjrAnvGAYAKTadXIPPoRKQwefuu+Hixs4vtCqGjEutkt9ulddna XLiTEza4clZHG9WLE6d2U0TaFPTyg9s5bGHpSWxfVUbNNDe/sddaf8rKCGF9GI8PB1TA 9M6oKc8ueLbMjf1fsv6EUeRyQKPUcBktPf4boLk3CTkCzZVok9anckuN0r7xuGyawt3N I9Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-100178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c15-20020ac87d8f000000b0042f1b6ffcf1si7407475qtd.408.2024.03.12.04.33.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 04:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-100178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 57DAC1C2179D for ; Tue, 12 Mar 2024 11:33:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90B2679B8E; Tue, 12 Mar 2024 11:33:27 +0000 (UTC) Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83D6720304; Tue, 12 Mar 2024 11:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710243207; cv=none; b=KEq12A4KH5Eh5gZObD6MHT4f43ss7JQbin/K3OscunAGyJCwu8Su0ontfdanqOjR3/TxOWZnuEXN1/PvH2wspciJTpVirXn3gBt3YOjiBy1BvuGhDWGoiPpKrd0upA3FIArgaonyDa0oBxj6YKwobUcdWtlumvDE50rz49dM2As= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710243207; c=relaxed/simple; bh=cR7pbgnUEuaLGoCwMBI6KTYXYo4LlhwxbSp3LNaXAqw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=lq0vwMVi1s0QqwF0FcFWFrEMUkOXNpA4ONLvkk8k9gk0me6ATQgb52SudjjpNEB04E79Ye0Q5u+mX09iLAPWMIU3lWtkOdSELIaInzgaA3gmXoxBN3KMdMoV07D2yceO9GdTEOUEP7wQYr7P3zrkJgeFijdSSU8LyqXB1CYhCkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=hisilicon.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.190 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=hisilicon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4TvBLC0yzQz1xqhD; Tue, 12 Mar 2024 19:31:31 +0800 (CST) Received: from kwepemd100008.china.huawei.com (unknown [7.221.188.193]) by mail.maildlp.com (Postfix) with ESMTPS id 5C5EF1A016C; Tue, 12 Mar 2024 19:33:15 +0800 (CST) Received: from [10.67.121.2] (10.67.121.2) by kwepemd100008.china.huawei.com (7.221.188.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Tue, 12 Mar 2024 19:33:14 +0800 Message-ID: <65F03D79.2070008@hisilicon.com> Date: Tue, 12 Mar 2024 19:33:13 +0800 From: Wei Xu User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To: Yang Xiwen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiancheng Xue , Alex Elder , Peter Griffin CC: , , , Subject: Re: [PATCH v3 0/3] arm64: dts: hi3798cv200: fix GICR size, add cache info, maintenance irq and GICH, GICV spaces References: <20240219-cache-v3-0-a33c57534ae9@outlook.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemd100008.china.huawei.com (7.221.188.193) Hi Yang, On 2024/3/12 19:19, Yang Xiwen wrote: > On 2/19/2024 11:05 PM, Yang Xiwen via B4 Relay wrote: >> The patchset fixes some warnings reported by the kernel during boot. >> >> The cache size info is from Processor_Datasheet_v2XX.pdf [1], Section >> 2.2.1 Master Processor. >> >> The cache line size and the set-associative info are from Cortex-A53 >> Documentation [2]. >> >> From the doc, it can be concluded that L1 i-cache is 4-way assoc, L1 >> d-cache is 2-way assoc and L2 cache is 16-way assoc. Calculate the dts >> props accordingly. >> >> Also, to use KVM's VGIC code, GICH, GICV registers spaces and maintenance >> IRQ are added to the dts with verification. >> >> [1]: https://github.com/96boards/documentation/blob/master/enterprise/poplar/hardware-docs/Processor_Datasheet_v2XX.pdf >> [2]: https://developer.arm.com/documentation/ddi0500/j/Level-1-Memory-System >> >> Signed-off-by: Yang Xiwen >> --- >> Changes in v3: >> - send patches to stable (Andrew Lunn) >> - rewrite the commit logs more formally (Andrew Lunn) >> - rename l2-cache0 to l2-cache (Krzysztof Kozlowski) >> - Link to v2: https://lore.kernel.org/r/20240218-cache-v2-0-1fd919e2bd3e@outlook.com >> >> Changes in v2: >> - arm64: dts: hi3798cv200: add GICH, GICV register spces and >> maintainance IRQ. >> - Link to v1: https://lore.kernel.org/r/20240218-cache-v1-0-2c0a8a4472e7@outlook.com >> >> --- >> Yang Xiwen (3): >> arm64: dts: hi3798cv200: fix the size of GICR >> arm64: dts: hi3798cv200: add GICH, GICV register space and irq >> arm64: dts: hi3798cv200: add cache info >> >> arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 43 +++++++++++++++++++++++++- >> 1 file changed, 42 insertions(+), 1 deletion(-) >> --- >> base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d >> change-id: 20240218-cache-11c8bf7566c2 >> >> Best regards, > > May someone apply this patchset to their tree so that it can land in stable at the end? This is a fix, not adding new functionalities. It's been 2 weeks already. > Sorry for the delay, I am too busy to catch up with this cycle. I will go through this patch set and maybe apply it during the next cycle. Best Regards, Wei