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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7675C433F5 for ; Tue, 16 Nov 2021 18:26:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9C4336322C for ; Tue, 16 Nov 2021 18:26:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234339AbhKPS3b (ORCPT ); Tue, 16 Nov 2021 13:29:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233583AbhKPS3b (ORCPT ); Tue, 16 Nov 2021 13:29:31 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F6B7C061746 for ; Tue, 16 Nov 2021 10:26:34 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id u17so18139489plg.9 for ; Tue, 16 Nov 2021 10:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=U0muw/pk5BQDok3Q5lPpJXidVuYkuyrdzH8jZXEAbNc=; b=awbmYI68su+KL24wmN9QlTGjCxBVTsbebJn6HnREIiE1hcieUyaSquNCC1P7Q0EKIc QoTOxpNQOxGZr9EgcoHfrTl9WlDQaYLHND+B0ej4SbEPnLsNvB90eGdle+cdGPlJNqX2 dnS0gZo+9kHQQrzVBEmJs2HirTQ3F7492T7YGy2stGJxRAOO8JpVY1N7vJFwyfnEqbCf W/t8ZlLALbLhAVx5p3ozRSDSeyPedenNTuA1o39ssb0eZUJhqKtmArMydGjGWczJ4oRA wzu63aLTDcEhWxXPSc9jmisFBRo+HtRa5HS1sQwswAPl2NCnBF9ZFnCQoixIyJDBN8RP qlJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=U0muw/pk5BQDok3Q5lPpJXidVuYkuyrdzH8jZXEAbNc=; b=Cs7v3cx5M48tTx4V8H2w0kLpE6iDRoqm3igtH8Xqrz8FRvxOmOOzBAVEHYNFEjwni3 0FUHrxh0Q7rIXum75CK0MqjsFfsMtRZmAp96lhqPvmyELTgne7Ol9bh7OaJoM5s1G5+r i0fflCNhmOBUfHCRAiZ92TngsDB31nNVD1svjUX7DU4LAtM66MM4LCZm3m9A7+5+4lpU nEdvkvOMSIg+nHE6nZbLlVp+KWgGx7BvmtYP1n5QohJ239mBdilvDWuUo//DzMz3q0g4 d6f4ijw5B2fBqK8cL6saABM8yo7za5giBYoNYpiklY3HXISueTbJzn8gAReKJ7Lci5QR uyIg== X-Gm-Message-State: AOAM532uMHBr0X+Vg/hSw1ber3Ei2kwzhZb9Rs1A+lyZfGyUu06yf7Wh 6sfkIEYAydG2dwYIi5sSt7Evuw== X-Google-Smtp-Source: ABdhPJw8HRH8xYD3IacFC4bFZ9REYP2/8EOdbVoGt1XfjR4JZepz4sWi/UhJMw10juH4zM+78SNn7g== X-Received: by 2002:a17:90b:357:: with SMTP id fh23mr1422161pjb.238.1637087193552; Tue, 16 Nov 2021 10:26:33 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id w189sm2148500pfd.164.2021.11.16.10.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 10:26:32 -0800 (PST) Date: Tue, 16 Nov 2021 18:26:29 +0000 From: Sean Christopherson To: Joerg Roedel Cc: Andy Lutomirski , Marc Orr , "Dr. David Alan Gilbert" , Borislav Petkov , Dave Hansen , Peter Gonda , Brijesh Singh , the arch/x86 maintainers , Linux Kernel Mailing List , kvm list , linux-coco@lists.linux.dev, linux-mm@kvack.org, Linux Crypto Mailing List , Thomas Gleixner , Ingo Molnar , Tom Lendacky , "H. Peter Anvin" , Ard Biesheuvel , Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Dave Hansen , Sergio Lopez , "Peter Zijlstra (Intel)" , Srinivas Pandruvada , David Rientjes , Dov Murik , Tobin Feldman-Fitzthum , Michael Roth , Vlastimil Babka , "Kirill A . Shutemov" , Andi Kleen , Tony Luck , Sathyanarayanan Kuppuswamy , Marc Zyngier , Will Deacon , Quentin Perret Subject: Re: [PATCH Part2 v5 00/45] Add AMD Secure Nested Paging (SEV-SNP) Hypervisor Support Message-ID: References: <061ccd49-3b9f-d603-bafd-61a067c3f6fa@intel.com> <8a244d34-2b10-4cf8-894a-1bf12b59cf92@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Nov 16, 2021, Joerg Roedel wrote: > But as Marc already pointed out, the kernel needs a plan B when an RMP > happens anyway due to some bug. I don't see why unexpected RMP #PF is a special snowflake that needs a different plan than literally every other type of unexpected #PF in the kernel.