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 3A374C4828E for ; Fri, 2 Feb 2024 20:33:17 +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=5RHQGvJRiol3McZBdAh5NZflL3svSqePebAr/Gg593o=; b=P118oY72+6Sm5e 4tgMu9Y8NjsknPdyU0lJkzQ/v/K8w2RQ910XKu29fYIdGRBZsFqnsSNnJMvbSE2bFqgNfFzw+Bz9A CkBvFWb8Fin3v+lohCKltBBroOzO+pe5H0IimtEbv1n2kFA5zEBCgNegsiDnzxaKRhl1VTMRugUwW zokndQXB2BdgMI+qZgGwwUUJk7eUaN5DnUxB8xcvUkrLjL1UT8jvSdxXFGCT5F92wXyufygAtsNGZ /iw4PCJDMyf66PHFXr/lK+7BGH2J96xjUMePvchPDxtgFaT7mnRwOw6BRlMhvQw/CNsfSw2ymZbCd vY36naqCBKtBlh7CjMpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW0DT-0000000DNzA-3SSM; Fri, 02 Feb 2024 20:32:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVz31-0000000D9VA-0QX7 for linux-arm-kernel@bombadil.infradead.org; Fri, 02 Feb 2024 19:17:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YX/YmSgOL3ZRbb8FDX2ykhx1yGPO/NRhs6QxOJjbMjA=; b=cFddsv6kq3KboWTs862NrSFpOX 1lt58YrWVs7Lljiasr+dhCsLeSNYwKyoeair+ETpJO8i9OwVBCT0jlTYzK27HED1ZxrFoJk22w7ZX 2HyIkL2qBSOfYlJRhlK9nwMvCLtOVe+BudYjV74AXxFsjyotWnCKNbskXo+weIZ5WAZ1SzPkwaPPh 45t+VsSdNTV/8ANpJkkAjkUn4ej9qCR3dIXclN+bYQL0Zg9n4tkmissrPnqDV54goJAN6hPZeuukm 0FXyFFc0dvsXbZMqjlN5D6URmRVevfyXtkBjw4WVmEGPlGReBBNZ4LsojDV8c9TBBKg5kMRks508q U6WaLMBQ==; Received: from out-186.mta0.migadu.com ([91.218.175.186]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVz2x-0000000ABzS-12Af for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 19:17:57 +0000 Date: Fri, 2 Feb 2024 19:17:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1706901463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YX/YmSgOL3ZRbb8FDX2ykhx1yGPO/NRhs6QxOJjbMjA=; b=Qg1f8Q5piP4sjG5RkM8r0F5ZHUcvMUB56G/tUN5LPFNTr2iIpgAXjGz2uAX9E3sO9OFD0q iy6diIEnCbctPWQOnrQf8K/4+EG89W6F+1RFtEeT5rTSDy1I0Wde53tsLOJ4eMW9k0KSEk xLml+SmR31VewZZV93BX/ZQ/eGY76dg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Joey Gouly , Mark Brown Subject: Re: [PATCH v2 06/25] KVM: arm64: nv: Add sanitising to VNCR-backed HCRX_EL2 Message-ID: References: <20240130204533.693853-1-maz@kernel.org> <20240130204533.693853-7-maz@kernel.org> <86h6iq7w3x.wl-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_191755_573779_0713492A X-CRM114-Status: GOOD ( 13.06 ) 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 Fri, Feb 02, 2024 at 05:15:51PM +0000, Oliver Upton wrote: > On Fri, Feb 02, 2024 at 02:56:50PM +0000, Marc Zyngier wrote: > > No amount of warnings will do, because people don't give a damn. > > > > I'm actually in favour of something far more radical: we snapshot the > > raw value of all the used RES0/1, and put BUILD_BUG_ON()s that fire if > > any value has changed. They will have to touch the KVM code to fix > > that, and we catch them red-handed. > > Oh I like that a lot more. Unsure which registers you planned to give this treatment, but all of the ID registers we know about should probably go in this bucket too. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel