Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2588512rwb; Fri, 2 Dec 2022 11:56:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qSR9S7++3c4hF1QXPOXA+oMRsMDGxsfXFe4h3FUK3bsh7VLHt46BZeHUpSRQ+HHqS6Glj X-Received: by 2002:a17:906:3da2:b0:7ac:a2b7:6c96 with SMTP id y2-20020a1709063da200b007aca2b76c96mr59242409ejh.412.1670010997747; Fri, 02 Dec 2022 11:56:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670010997; cv=none; d=google.com; s=arc-20160816; b=QZ3RiN719AmmuAEtSX+wWm1t+XN34cTrxnZGTAWbZnNBr9SjpTCZKor6WCFTf35Dto +AAOdTTy0MEdTguoCh1qkoXW6YATS67+tvAkJjuvN+Rtb7CB7fWcTSaoSBIMifYxBQR5 2wgMnOTZgvrWSXUGkyjY3+ITAxr5HgM5j1+W6pPkoUckBC/m6rfzX0VTNO5++nAinMWK /hNAaOq5kogY4xrjdQadyUYB09UdVjzDPut3jnjhopRW1tTwbfRHGr1SI2q1wbQPeHjJ hDvutm4tWjPbWBfRGRaVi7/4twpWT78nDHacbUgfuDi4xsI4kaxUX5vKZw6Ls+PqNqLQ WhpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=QF7YyY0zCO4x691PE+6++2gBpkKD4tpfGa6u+JeBMx4=; b=qPnw6tUr9ac2UjNAN2bcQsMSq2UBa1tb8b+Ik/+wxCoi7gqv7hQwPa9P76laEDHpN6 N3ey2dzfsz3hRbg2NHgvMj/fl1Ne+oIyRuh5xdxsUsfV/SWpegmYpQBe4jj0RtxC1xGu LDEC2VZGUC2O9gw0RY04OsDel5pqx/4M9rSuJe5+D1D+ybcOfMJvQ+HxE9wDkKcEMeUG LUjVkFtaszzw1OlmUJHIqddDjBqaem4giawDtQ4mkhGJndmNuPU3WMBFj/GOE0bVy7j/ rTiaIaKL7Ppm9LNXmf23ZttqI4Bbq5B2PaHLuRzSoZcYpIeWqOtM83pT8W2FZQpQypRI FRUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=EXkS9mLp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt5-20020a170907728500b007bf9de4fe93si7238225ejc.154.2022.12.02.11.56.17; Fri, 02 Dec 2022 11:56:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=EXkS9mLp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234424AbiLBSzN (ORCPT + 83 others); Fri, 2 Dec 2022 13:55:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234685AbiLBSzC (ORCPT ); Fri, 2 Dec 2022 13:55:02 -0500 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDDB3AC1A for ; Fri, 2 Dec 2022 10:54:57 -0800 (PST) Date: Fri, 2 Dec 2022 18:54:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670007296; 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=QF7YyY0zCO4x691PE+6++2gBpkKD4tpfGa6u+JeBMx4=; b=EXkS9mLpz+vLNs65I4j2M/dADkhs3aXj6C2J9/QQBDtzZvHcNqfe16I74H5FqC54X6IZh1 vDlLk2ztWLvPpDhIQey3K7nj4r9t8dEgpELG+MGppVJXr0vTOFEn8BqpFWmyYmdKr0UKQZ 7KgvNJRzvcj4Zw0lGfzfhiHCt5vdOM8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: Akihiko Odaki , linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Mathieu Poirier , Suzuki K Poulose , Alexandru Elisei , James Morse , Will Deacon , Catalin Marinas , asahi@lists.linux.dev, Alyssa Rosenzweig , Sven Peter , Hector Martin Subject: Re: [PATCH 0/3] KVM: arm64: Handle CCSIDR associativity mismatches Message-ID: References: <20221201104914.28944-1-akihiko.odaki@daynix.com> <867czbmlh1.wl-maz@kernel.org> <87k03au36k.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k03au36k.wl-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 01, 2022 at 11:14:43PM +0000, Marc Zyngier wrote: > On Thu, 01 Dec 2022 18:29:51 +0000, > Oliver Upton wrote: > > Could we extend your suggestion about accepting different topologies to > > effectively tolerate _any_ topology provided by userspace? KVM can > > default to the virtual topology, but a well-informed userspace could > > still provide different values to its guest. No point in trying to > > babyproofing the UAPI further, IMO. > > I think this is *exactly* what I suggested. Any valid topology should > be able to be restored, as we currently present the VM with any > topology the host HW may have. This must be preserved. Ah, I was narrowly reading into the conversation as it relates to the M2 implementation, my bad. SGTM :) -- Thanks, Oliver