Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp518019rwb; Fri, 4 Aug 2023 17:23:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2g34phrJIhvbqyFfYjT+zbUW/yVkR6Ce7pDRY3kEflFJxQAMTiVZ6hxPESsXidvTiYUg/ X-Received: by 2002:a17:906:535e:b0:988:7d68:9fee with SMTP id j30-20020a170906535e00b009887d689feemr2816894ejo.34.1691195004840; Fri, 04 Aug 2023 17:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691195004; cv=none; d=google.com; s=arc-20160816; b=g41yDKgi3EntQMTTEBFq6P438sMUmoY3JfUSLeqXsq0V7G0QBQDzIHk6nCy0RNSd7X y19Qe6oByCPNqUMYblaKd9hdxFWjZg3tXEAjQsZYZJjg5MkVyxFJXwrEDgqhhMuQLQdB BQUE1G57OlJIq/O8hCGG9Li/zgoCYBLCPsXrOUEOL2HFiWvEne39zE2xQOP4iNAqMfPL DCiaYSdVZuzRcN/mEcCWBGLzi7M+SFpvFy8izu945zaz0GyDQZUVi6OE9Vdc/a65AoZo ZUpU7fng4I7knVnoBCTl3pYsY2A3JgnaJFZxaZeSaQpcWT27Q9GAoj1dV3HFgBlPdoYD tvkQ== 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; bh=bgaGHeK+x45T0uBposuXNDHy4W2O36LVGsjSTOp7FtE=; fh=2usisubBwlErID8ehdLxL4hE2Wazf+Qx7r00VBAUfcQ=; b=buxyFht15ATQg4waxL7wqA0BMn4Su06UIYRwX9yldAYlNLeVADReu7wC6i5c/kqE39 UjWVtXVKhK4s6oSTvkp62DobzTenoZA+ijkpHP2bUYonXvfAt1pW43Nym/SpcjSPqOwA Mw4EIraJmRTg5DeMNy+8aPIjDP3v0YdYSBpWwh6KJprrB78BSAT9IeZp4MjJUUAwxERE jslabk1BFQ0yfWjKEzwsjoJjxoYHv+lMPjlHI9Pibz8tAnp0JlUj31LZIuZ0f6bTeRu0 CenQmgFDj39WSCVQZgJsv78mhsX7MzB0yGv8BAVr4IZWCJ9BD2X+XsssXqAvee/fSUJC ju0Q== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g22-20020a170906395600b0099bccef89f8si1597108eje.74.2023.08.04.17.23.00; Fri, 04 Aug 2023 17:23:24 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjHDXer (ORCPT + 99 others); Fri, 4 Aug 2023 19:34:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjHDXeq (ORCPT ); Fri, 4 Aug 2023 19:34:46 -0400 Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com [209.85.160.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D72B3AAF; Fri, 4 Aug 2023 16:34:45 -0700 (PDT) Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-1bfb91ac4edso325456fac.3; Fri, 04 Aug 2023 16:34:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691192084; x=1691796884; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bgaGHeK+x45T0uBposuXNDHy4W2O36LVGsjSTOp7FtE=; b=OaIZKfpTQ6JY4Pun04bkWu9FsvWrOkqI8yRtyUh2xRRbQ7P3MYrkKUn3uFGoFV5XJY V4LkMZUHy8VeW4L6pF/XEpW11x9K7SKqrtFICl+WdqrqPgBl7DyXssY6xM1yyo9oJhII IR/Lc+e+rsi4IuVZz7uU2g31ukGFrtHnsU7wWrlsHrkLd9eKHUaNY7rjcbvPuDP96GVA mLTt+rTEBFwlU7/0711xMeaWBPrjnnkNgUV2LFoNHTh0snnHXzwhr3FO5/ORD2ZwFp2d 4rWeBQOZgzzkK4DHS2CCZv+DKy96AbQKk9AQfXD6Ug11tqjvRDwtKOg6XxoAWaI3IoEY 7mBw== X-Gm-Message-State: AOJu0YwR7eAfgNMWTOXE4DDG1IyaDi1gq59gTAhcyEEIMoFQxhYRFWS9 gJD58s3vUzERlqkfPeySJzU= X-Received: by 2002:a05:6870:3288:b0:1bb:4d4e:ea69 with SMTP id q8-20020a056870328800b001bb4d4eea69mr3758911oac.54.1691192084434; Fri, 04 Aug 2023 16:34:44 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id ev6-20020a17090aeac600b00268b9862343sm4637377pjb.24.2023.08.04.16.34.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 16:34:43 -0700 (PDT) Date: Fri, 4 Aug 2023 23:34:36 +0000 From: Wei Liu To: Tianyu Lan Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, daniel.lezcano@linaro.org, arnd@arndb.de, michael.h.kelley@microsoft.com, Tianyu Lan , linux-arch@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, vkuznets@redhat.com Subject: Re: [PATCH V4 0/9] x86/hyperv: Add AMD sev-snp enlightened guest support on hyperv Message-ID: References: <20230804152254.686317-1-ltykernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230804152254.686317-1-ltykernel@gmail.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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 Fri, Aug 04, 2023 at 11:22:44AM -0400, Tianyu Lan wrote: > From: Tianyu Lan [...] > Tianyu Lan (9): > x86/hyperv: Add sev-snp enlightened guest static key > x86/hyperv: Set Virtual Trust Level in VMBus init message > x86/hyperv: Mark Hyper-V vp assist page unencrypted in SEV-SNP > enlightened guest > drivers: hv: Mark percpu hvcall input arg page unencrypted in SEV-SNP > enlightened guest > x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp > enlightened guest > clocksource: hyper-v: Mark hyperv tsc page unencrypted in sev-snp > enlightened guest > x86/hyperv: Add smp support for SEV-SNP guest > x86/hyperv: Add hyperv-specific handling for VMMCALL under SEV-ES I applied all but the last patch to hyperv-next. Thanks. > x86/hyperv: Initialize cpu and memory for SEV-SNP enlightened guest