Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp268136rwl; Thu, 23 Mar 2023 16:05:10 -0700 (PDT) X-Google-Smtp-Source: AKy350a4LxCUnAcKFYwJ3mZxFUv2imvqMoPHrtQ4MMQKPS7KSLVQaMsxfH0WOZPmE7hd7T2Sp0z/ X-Received: by 2002:a17:907:3f88:b0:909:4a93:d9d2 with SMTP id hr8-20020a1709073f8800b009094a93d9d2mr1045118ejc.2.1679612710471; Thu, 23 Mar 2023 16:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679612710; cv=none; d=google.com; s=arc-20160816; b=t+lKmP/3kv0htl5h0IwVRgg8ZwdhFZl+6DQ4FgvHHizpVGtT5tl6mBvn4vJ/U2iDFX b62SeI9CAXSv4YT/ZC9U61dG3fbM6iTeBALvDbXIlBdcVSwI4Jsn4YbespvN3L0xzAoi VEmd/iUiIRmLzjp7gkpYUZr7q/aPm7JsjjweT+BGNgarm8QRlyIr4wKfvmZVxw3pC+m4 2Ocn9KZxF2/t7F78ibxSLEtr3wSczOtE4LqBgRmR4P66RLCSwE51CgVOUrky6yk63PL6 Q9kfAV/D11P4wjPs+OIDNOtwnqECw+quBuU3odf7kAyaizzleHywzEGQzgLLUTRwsc5g xzUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=qekwgGC0xRX3K6DWcKWey+3EZoIXPhmnZFalhCYYdOw=; b=r95xfxSqqag4Cm6zYgz29fsDey4Jm3Wm5jaoaNXHIXW12ySEE3orb8bJ10ufpCVHIr z9o/IRP9F+sowqXHCctQ2z1YWTdu8ovrpeWBxq2/keDLORRay6nSF0TsHTMyNnb3/GYX 0lBc8deJeiKnPgB9snZ0vWQO8n4hvcurM0moFDvpusVFVdkvxA5frt2JoJXioYF2ORLh TWW1UOu/21uwApyDWc9Cby8S+4RtvFlAf2cMsUhCXQUavpB9WJrPdXrZ0gXbyCYiTSxW VBLxN1JPBgbfWo9Q0nGmElAiHZtchdm9jFXZ29L0T2IeBzVPZqEVW7ehJn9hHmG0auqy omdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VsIRj7Th; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ud26-20020a170907c61a00b00932a33a374csi11246367ejc.170.2023.03.23.16.04.45; Thu, 23 Mar 2023 16:05:10 -0700 (PDT) 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=@google.com header.s=20210112 header.b=VsIRj7Th; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjCWXDt (ORCPT + 99 others); Thu, 23 Mar 2023 19:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjCWXDr (ORCPT ); Thu, 23 Mar 2023 19:03:47 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BC1BEC4B for ; Thu, 23 Mar 2023 16:03:46 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-5458201ab8cso668517b3.23 for ; Thu, 23 Mar 2023 16:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679612625; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=qekwgGC0xRX3K6DWcKWey+3EZoIXPhmnZFalhCYYdOw=; b=VsIRj7Thrs8LotUFl5cLTOnXbLC0XnExZXKRdypgTtuQ8rhoABNg+8iK8K00Bq7o7h dD5DkxIp97Ozv9U9s575NFrcIr5/XJL8LNFT6Wt44ib//kEqh3UFFXXGsCqkuohgoREf bwgo5qGHA+dZUNOxICbtmfC7jaxMCDvY+EDYhumRc0+ot9fjWxZwzsgzFoemDiHAes4I bEtRfqAZeX32oDUMONrr/w20gtAPGSbdzr1MUzZK1FpVs9iSMoiTDzRCXcy395VrxiqQ DooqBZn/WPAtRcJ+JkOaM08xNA08nI9Wlv65I9ttQmf+lPXdf4Auf1weoTurCSkn7oGz IFuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679612625; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qekwgGC0xRX3K6DWcKWey+3EZoIXPhmnZFalhCYYdOw=; b=LKvquuyubPgpav3jO2LrP5as9TdIt7aEwHgqJqPM5yz4wUWqg8gHFojeFBqbyS+jsK /eMi3LxqDJKnmWSysG0qsuV+ntaYJuLkWBUA1dkP8KSgqKvi+T2gReoRWiOrMr2QG4RE AoeQ0hjRhQF0TaDsJDhbnUtk7I6y+gZPHNSx+42zWebMDREcUszt7gGsUYlKc2b0DEr/ QbyJjkpwiAh1na0S2JgC3q3vl0QomnIAD3DHT9JOLVH6BpH6b0v1CbBPCKGiUMwDQFsS f9Z2qYZug1jlGPGDIThrnuXXSn5FfWFdrNSw0EgGrNH5beCP+dUTKUOI8Gfii8s9uu21 M5Qw== X-Gm-Message-State: AAQBX9fVo4h23tJ4NXDDeXbklD4gAHT8quyLHJDWt0aM2tb3nP4puj3J pdbftwlsSPo6XJ3DzIIgwatOWqGvG2k= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:bd46:0:b0:533:99bb:c296 with SMTP id n6-20020a81bd46000000b0053399bbc296mr101924ywk.5.1679612625458; Thu, 23 Mar 2023 16:03:45 -0700 (PDT) Date: Thu, 23 Mar 2023 16:02:04 -0700 In-Reply-To: <20230202182809.1929122-1-bgardon@google.com> Mime-Version: 1.0 References: <20230202182809.1929122-1-bgardon@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <167961243530.2554153.5370298632861319341.b4-ty@google.com> Subject: Re: [PATCH 00/21] KVM: x86/MMU: Formalize the Shadow MMU From: Sean Christopherson To: Sean Christopherson , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Ben Gardon Cc: Paolo Bonzini , Peter Xu , David Matlack , Vipin Sharma , Ricardo Koller Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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, 02 Feb 2023 18:27:48 +0000, Ben Gardon wrote: > This series makes the Shadow MMU a distinct part of the KVM x86 MMU, > implemented in separate files, with a defined interface to common code. > > When the TDP (Two Dimensional Paging) MMU was added to x86 KVM, it came in > a separate file with a (reasonably) clear interface. This lead to many > points in the KVM MMU like this: > > [...] Applied the first three to kvm-x86 mmu, which just makes me look like a jerk since they're all my patches. :-( [01/21] KVM: x86/mmu: Rename slot rmap walkers to add clarity and clean up code https://github.com/kvm-x86/linux/commit/727ae3770132 [02/21] KVM: x86/mmu: Replace comment with an actual lockdep assertion on mmu_lock https://github.com/kvm-x86/linux/commit/eddd9e8302de [03/21] KVM: x86/mmu: Clean up mmu.c functions that put return type on separate line https://github.com/kvm-x86/linux/commit/f3d90f901d18 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes