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 3BA3DC4332F for ; Fri, 9 Dec 2022 18:31:30 +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=dIk4IbsRwmdjvgbmYCKc8dFLvetKh3qQ6DOeeEXH7fA=; b=vLxruypJ5jQYsf CdEB5IYkl8FTAPlvy47ZzhEWxpqzOc9He40UoK1074+kqxCNohHKNuQFToMqZ0gH99XX5olRdbzn9 PEGG8nH4qeIfeX9JsGJn/3Bb85yCtd+2M6gTL7uds07Q3oR4pIvkrlr2s/PBLg1sHfrWVkathima1 bAWrosF6yxH1FhRYjlF1JvQn4CvWSg/ld9KfBLlX4r836wXVlvJkNvyxyX42r3RcB8WZ0QgcPdqcb vDRIn4SdcbAbIuCeoc1vP1yXJiasvznk7Fny8YbUwwz8ulgmZB4/caVzxVK49SWws09NW6hSuubXV BIqseoKBjEwrDzEiWNDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3i8k-00ALX4-Sv; Fri, 09 Dec 2022 18:30:31 +0000 Received: from out-122.mta0.migadu.com ([91.218.175.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3i8f-00ALTS-5c for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 18:30:28 +0000 Date: Fri, 9 Dec 2022 18:30:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670610621; 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=Sp1A6UXIoqNJWGJtdonH4Zsm1F89DCGx3ZYcZ2op3bM=; b=jR4PiHfMsMGnm69Suf71e/70K7WEW4Ckwww6P2DbR1hvNOndJUptnkqHKMBTt6fIGBmQdr ov89mpeQhS51X1/M2mDXZLGgvayYnsNMKQf+C//bfr73BRyk9BbiZau9RKlj5+SRQzhmAd 54D8anc79u/KgI2hxA84HnHQ8nsdRfk= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: David Matlack Cc: Paolo Bonzini , Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Huacai Chen , Aleksandar Markovic , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , Sean Christopherson , Andrew Morton , Anshuman Khandual , Nadav Amit , "Matthew Wilcox (Oracle)" , Vlastimil Babka , "Liam R. Howlett" , Suren Baghdasaryan , Peter Xu , xu xin , Arnd Bergmann , Yu Zhao , Colin Cross , Hugh Dickins , Ben Gardon , Mingwei Zhang , Krish Sadhukhan , Ricardo Koller , Jing Zhang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org Subject: Re: [RFC PATCH 23/37] KVM: MMU: Move VM-level TDP MMU state to struct kvm Message-ID: References: <20221208193857.4090582-1-dmatlack@google.com> <20221208193857.4090582-24-dmatlack@google.com> 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-20221209_103025_745471_75F042B0 X-CRM114-Status: GOOD ( 17.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: , 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, Dec 09, 2022 at 09:57:15AM -0800, David Matlack wrote: > On Fri, Dec 9, 2022 at 9:32 AM Oliver Upton wrote: > > > > Hey David, > > > > On Thu, Dec 08, 2022 at 11:38:43AM -0800, David Matlack wrote: > > > Move VM-level TDP MMU state to struct kvm so it can be accessed by > > > common code in a future commit. > > > > > > No functional change intended. > > > > Could you instead introduce a structure to hold all of the MMU state and > > stick that in struct kvm? If the goal is to eventually supersede all > > uses of the arm64 pgtable library we are going to need the ability to > > operate outside of a KVM VM context. > > This patch does introduce a tdp_mmu struct to hold all of the TDP MMU > state. Did you have something else in mind? No, I'm just an idiot without caffeine. I read the patch then forgot about it when reading the changelog. Sorry! -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel