Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1016201pxb; Wed, 6 Apr 2022 06:47:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIn35A3zbsioz55THSj11zSuVn0jZykOZjB0dUHxO6jIzwgDNKtctprqY6IRf24Cn0cFPR X-Received: by 2002:a17:902:a9c7:b0:156:8951:651d with SMTP id b7-20020a170902a9c700b001568951651dmr8682096plr.79.1649252875069; Wed, 06 Apr 2022 06:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649252875; cv=none; d=google.com; s=arc-20160816; b=zxodjmmnecpJTYkjuzULtLsljdnI25XU2Rew001o2C5FcqsVO8hcrh+FC2gZ4iAHRV 8oLHCo9s+nuYridpxx4O6A67Y0xwr4DXzEEpFWVe2/Htkma41D1xChTriFXSuJEOQjzk OUzZ3+gwTMyC5aYx+GQcktcVCUzoSH3X4/lQsfO6kbU2hEtWU2eC4mFmBXCu+oPFmhFu 6nrOIkKYEnNyzOa2/1gkw+a9+jgjhozXxsKwX0pl3KIxtrpNeO3lwXTauFE2ho3eMQA1 Onkk4x8HHmnNDeJH9QCmHk/J/pmEhnw5qlur2oyRsO6XK/EzZr3V6OKgiHDUWxaH2m+Y zoVg== 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:date:dkim-signature; bh=v2FjWdRnczI9WKt4ClfJ913bandBLADmN4fX24w4Ui4=; b=zt0S8LVaChvCIx3l/IQqsVZzsJIcEsHxlDkKKeQuhGzWC9A2r/dVyf4a4xSEVdm6j8 bSNyG8XSCDAiWb27IkoQ195IbqRjuZYXEKjHDHQGkqflzSLxSEbUWejYxpqo9JiRMv1B yLZ1og4VFsbbR+Weczs5rvg/l//PFCv6qFXCH3rbIii8XDihASb0aLYyqb9xjOsCgP5d yojF+wm5SBiihhT4uPREXnPYaXO9nU6S6sI3HC1ajyY1WN/BxCYgwRAb7Cn42caOfuls i3lu7BY9/ufq+QEo3yxq7+kavEgJs8jM8yAW97pz6uMCRmeML+KbNK8UqXAwOCp5NG1K S7Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=CW65VH61; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t125-20020a637883000000b003816043f0cesi16242133pgc.707.2022.04.06.06.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:47:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=CW65VH61; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0E66258632F; Wed, 6 Apr 2022 04:43:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356810AbiDEUQW (ORCPT + 99 others); Tue, 5 Apr 2022 16:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573366AbiDES5N (ORCPT ); Tue, 5 Apr 2022 14:57:13 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A90F7B8239; Tue, 5 Apr 2022 11:55:12 -0700 (PDT) Received: from zn.tnic (p2e55dff8.dip0.t-ipconnect.de [46.85.223.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 37C3B1EC0374; Tue, 5 Apr 2022 20:55:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649184907; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=v2FjWdRnczI9WKt4ClfJ913bandBLADmN4fX24w4Ui4=; b=CW65VH61kzlILvC1aaS6x77amEDhT358yeIFIwhXHg0LUuLo1KxyindYNWNBcB1Epm/PUa Jqj4LEo84G6aE0DNebEuwx7BIznR/jTVutvGPaZnMXa8z6VxzJHewH2E+sqx/sDun0fsBh Oj7RQRh1ieLt6mNg0xVJpuSJWuKqmes= Date: Tue, 5 Apr 2022 20:55:05 +0200 From: Borislav Petkov To: Brijesh Singh , Paolo Bonzini Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , Joerg Roedel , Tom Lendacky , "H. Peter Anvin" , Ard Biesheuvel , Sean Christopherson , Vitaly Kuznetsov , Jim Mattson , Andy Lutomirski , Dave Hansen , Sergio Lopez , Peter Gonda , Peter Zijlstra , Srinivas Pandruvada , David Rientjes , Dov Murik , Tobin Feldman-Fitzthum , Michael Roth , Vlastimil Babka , "Kirill A . Shutemov" , Andi Kleen , "Dr . David Alan Gilbert" , brijesh.ksingh@gmail.com, tony.luck@intel.com, marcorr@google.com, sathyanarayanan.kuppuswamy@linux.intel.com, Venu Busireddy Subject: Re: [PATCH v12 2.1/46] KVM: SVM: Create a separate mapping for the SEV-ES save area Message-ID: References: <20220307213356.2797205-3-brijesh.singh@amd.com> <20220405182743.308853-1-brijesh.singh@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220405182743.308853-1-brijesh.singh@amd.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Apr 05, 2022 at 01:27:43PM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > The save area for SEV-ES/SEV-SNP guests, as used by the hardware, is > different from the save area of a non SEV-ES/SEV-SNP guest. > > This is the first step in defining the multiple save areas to keep them > separate and ensuring proper operation amongst the different types of > guests. Create an SEV-ES/SEV-SNP save area and adjust usage to the new > save area definition where needed. > > Reviewed-by: Venu Busireddy > Signed-off-by: Tom Lendacky > Signed-off-by: Brijesh Singh > --- > > Hi Paolo, > > Now there is a conflict when applying this patch on 5.18-rc1. Please > use the updated patch when merging the first four patches from the > series. Right, or if you'd prefer I carried them through the tip tree, lemme know. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette