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 7F984C3DA4A for ; Thu, 8 Aug 2024 23:20:58 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From: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=YUVqsyvuuqd3EGANDtFg25g5rz458MXufVkUSQ2tFo8=; b=OwBkV2Gamd0f+lTVjvwk2Nmltc dcg13cgaIg00Gx2iEpNmTi1IackKdS/YkiZn3AvtLDVeIno+8Sj/TJ8EC7QujaD61vpNJi8nhI1aA lJ87SLxPJ2TW6VbQq4teiwT7a8gFsDHQC6RQTIxi1jdmbYUHfQAl5Rz7Mqfct6UNYSUkZUM/A8hpB I23EL4dEb04veyekE06k/e0nbCcEIJLPIm7K52ggQF6foUZpKAKZ0JzTufuxrLnNT+nSbRLPhq1VI XBP/HgzPkLE3N9+I4xggeZcCRkJ7VgeOJ1tDb7eEMHsK4AaJ8hFrUpwVKP71P1BKygWngjRSLbH5Q 0nlL6/og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scCQz-00000009hrB-2tA2; Thu, 08 Aug 2024 23:20:41 +0000 Received: from out-183.mta0.migadu.com ([2001:41d0:1004:224b::b7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scCQP-00000009hmG-12Wx for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 23:20:07 +0000 Date: Thu, 8 Aug 2024 16:19:49 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1723159200; 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=YUVqsyvuuqd3EGANDtFg25g5rz458MXufVkUSQ2tFo8=; b=wBP/JqjJS/jqJGckbKURoEzLSU/ifQ0Bx/Dh+5ffIhrjAc7P9UBxnLQ+KLlHhXhcvHKRUj RW9EbngFYGzJS1PauH/ZXf1CZfcH9noD4Bn6hg/bXU30I38KnhiejSCbNj7CMpUOuZFaDe R4pvPlRmAvsc3HYAR+Vh3ewii2y+jFs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Shameerali Kolothum Thodi Cc: "kvmarm@lists.linux.dev" , "linux-arm-kernel@lists.infradead.org" , "maz@kernel.org" , "will@kernel.org" , "catalin.marinas@arm.com" , "james.morse@arm.com" , "suzuki.poulose@arm.com" , yuzenghui , "Wangzhou (B)" , Linuxarm Subject: Re: [PATCH] KVM: arm64: Disable OS double lock visibility by default and ignore VMM writes Message-ID: References: <20240808125711.14368-1-shameerali.kolothum.thodi@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-20240808_162005_673669_31B94C38 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. 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 Thu, Aug 08, 2024 at 06:38:41PM +0000, Shameerali Kolothum Thodi wrote: [...] > > > > Would you be willing to cook up a patch that just opens up the > > DoubleLock field to downgrades? > > Sure. Will do.(And we might need more as well. Let me see.) That'd be great, we've been playing a game of whack-a-mole with the ID registers for some time. If you could handle all of the other fields associated with the register(s) you need to tweak (e.g. DFR0 in this case) that would be *extremely* helpful. -- Thanks, Oliver