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 F39A1CAC59A for ; Fri, 19 Sep 2025 15:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A3l/+kGy/dO146BPP77Sy2q4ZsEcLq1NrLxIyg3u39Y=; b=CHQVj0r7IjSzxlNQoNubpMvFb5 QyTLF1Jwb0PJzL5rqBDalckfQ/E4Q2tMmJ4Sj5azyvuQDePcnJNHXtPzAMQKcl8EY1iCezlJ8Ko8H JH7K+qS08eFxa/qwHWkpN/YuRKDvHOquHfwGKURwP7zgjD+b7JjZdYItDvMCm54Sx6qplBjDShwac ZkYm9ZTiTYdFa0gHisVlknSrYT9tXMjdMRhmkedFRsTenxuDVWk5J2/fU1RsbbkpKYa9KPhU0Q5D9 /aIDtLPGoJ9QrHIPr2oCG1AImo6xTHzkkSAOSGcF0LMYHH1uu1QYzUhyEP8okjafmJmuBCcO0zZZk GFATS02Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uzdPx-00000003PdC-0VZJ; Fri, 19 Sep 2025 15:53:01 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uzdPu-00000003Pbo-2bE1 for linux-arm-kernel@lists.infradead.org; Fri, 19 Sep 2025 15:52:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3C51140339; Fri, 19 Sep 2025 15:52:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BF17C4CEF0; Fri, 19 Sep 2025 15:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758297178; bh=yFGsu4mRUbcOYey3GjettGODW0/xY2uQeP05cwu31lU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VAIRxJWW5TdJNhgw1y9EWki5d0DaecSOZpAMHmWhffQUg/FpH38yllPm5m9aFj8Yj jhA6zed0IwzVO7Xnh9EpaE3QCEdytbIca8SKcoW6PJP0j4sc2em2ZuMfRY5Ugg4piv 0l6wkhJMNJeCBx3Zfxq0+FJS7As7X1ElIXEX4nN2vEHpT12KbrbWsGACJzczCn+kBT CiX6Kj2+F41GHgHFDnygXjkRG5lXuBQ5ghpvfNXjPoth6VZJjEnT/C8D4s/yE4WbLd CMzOb2D6ypj2RMaP5PIJ23nSNuOW73qvZ+2ZiFl6luqUPixv5Cqo08aoOMuI6BvDXo x0y8wqbipLTEA== Received: from sofa.misterjones.org ([185.219.108.64] helo=lobster-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1uzdPr-00000007pZi-4BEu; Fri, 19 Sep 2025 15:52:56 +0000 Date: Fri, 19 Sep 2025 16:52:55 +0100 Message-ID: <87wm5uxwvc.wl-maz@kernel.org> From: Marc Zyngier To: Zhou Wang Cc: , , , , , , Subject: Re: [PATCH v2 0/4] Add workaround for HIP10/HIP10C erratum 162200802 In-Reply-To: References: <20250825023954.3516381-1-wangzhou1@hisilicon.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: wangzhou1@hisilicon.com, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, oliver.upton@linux.dev, tangnianyao@huawei.com, wangwudi@hisilicon.com, liuyonglong@huawei.com, prime.zeng@hisilicon.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250919_085258_680814_F1CD80E4 X-CRM114-Status: GOOD ( 16.70 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 01 Sep 2025 11:55:49 +0100, Zhou Wang wrote: > > On 2025/8/25 10:39, Zhou Wang wrote: > > As the discussion from V1 series, V2 series firstly adds GICD.num_LPIs > > writable support, then add HiSilicon erratum 162200802. > > > > Erratum number should be 162200802, make a mistake in V1, so fix it as > > well. > > > > Zhou Wang (4): > > KVM: arm64: Allow userspace to write GICD_TYPER.num_LPIs > > KVM: arm64: selftests: Add test for GICD.num_LPIs > > Documentation: KVM: arm64: Add GICD_TYPER.num_LPIs writable > > description > > ARM64: errata: Add workaround for HIP10/HIP10C erratum 162200802 > > Hi Marc and Oliver, > > As the discussion in V1 series, this series firstly adds GICD.num_LPIs > writable support, then add erratum patch. Given the state of this HW (as per [1]), I'd rather we start by working out the strategy at the GIC level, rather than exposing stuff to userspace before we agree on a way to make it work in the kernel. Thanks, M. [1] https://lore.kernel.org/r/20250909110615.129179-1-wangzhou1@hisilicon.com -- Jazz isn't dead. It just smells funny.