Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2832099rwb; Fri, 11 Nov 2022 15:56:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ke5GozX8pllPMSTobQ9wWtg6me5uK1F9xY6gMCWM80hRZGefBvSof2e7UY03udWYf1Bnl X-Received: by 2002:a05:6402:35c4:b0:462:fb18:3b45 with SMTP id z4-20020a05640235c400b00462fb183b45mr3460150edc.243.1668210985041; Fri, 11 Nov 2022 15:56:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668210985; cv=none; d=google.com; s=arc-20160816; b=R8U2OdVfpmPaH4jWo7WJ1nOfVOZhY8pNHxYnhwrilgbZ7U5VTrILDt5DCIpRho0OM7 DY1Qh6zUTL0UX1rAXS1dH/V3hNV0mQUv+0puBYfr0bun3/4JY6drX4Pg1I/iFEIiVNF3 YohVCkVSYVgvJwctmV1NAc7/FuUX+Jji3OTZhfs68fxooUVLAY2+tsu4rwD4Sz9Rz9Fm FmMYzn8/vK9wVpgAml8qjeqAQ6OjrYRuJEOdml+SsuiC4GyoDwhXfbNAktM2BS6AAEjj QCVKHT1yr9wxR5bRYq4iv2muFjtuFWszvJ/+YhnC1qJD+lS2S6PxWM+fmJO0aGUXvAIJ 8leA== 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=CceDJwu4ypXsDOy5RyvkArTdWmXqZ/+EiaX7nGSzCyg=; b=ETaFtmLT8nL/fesF0Tk0fqjAq8NL5Ho8odpCdK+lf9ChpdQXb/yvT2bdimZG9lMIsT Isp/XAoWxmBgu42YbKMNpvQf7ly2JV6e04Mn5JEy5DKxjUktfrjXs4ALLaa391TARZVA yqHyKQ0XCYchW55kURz94Gl463NT0sYmvi/kBm/6UGLSqCa9ca9q/J5jKBOAgm3U6VVs 3ZFA5RDzJ59tqdf8GdJF6owQXmmUmOB/8yxtEafHOec7ET0Vax3+cmVWosCEQPou+MVC wRKPajKaVqWw1e3V+kIaJKS0A6HTVCZguru9xyYS6YbQ60UKrcYUTCG9D0WvIehw9Ye+ dJqA== 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 f8-20020a056402354800b0046054d6b3a8si3409297edd.302.2022.11.11.15.56.03; Fri, 11 Nov 2022 15:56:25 -0800 (PST) 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 S234607AbiKKXjo (ORCPT + 90 others); Fri, 11 Nov 2022 18:39:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234648AbiKKXji (ORCPT ); Fri, 11 Nov 2022 18:39:38 -0500 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3DB582C78; Fri, 11 Nov 2022 15:39:35 -0800 (PST) Received: by mail-wr1-f42.google.com with SMTP id j15so8264338wrq.3; Fri, 11 Nov 2022 15:39:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=CceDJwu4ypXsDOy5RyvkArTdWmXqZ/+EiaX7nGSzCyg=; b=43bjiocMtz4C0a84+qr5TzS2P8fExLSFLyDe7caREsr9ZH7n97SaNLOk5ZnBNUwUeo spybXx57stZ1HNPQLsT9z0VeY1ezUCNs9/ZZEt0+D7PyDMNwHAgJgueMRBsJ64A+bjwI cg4Ukq7PalER+410C6laJv787Zj1kJqkmKUg4yqbMdxOmBkCFmHLfaUZFQG8NuVICBrZ Njk5BFLUbL1yW6de/JOPaTjLqhrM9Al/Qq+/dTqcNkas0DsILweUZ0xs4aedLjWFpi7f Az1Rsv0vN0ZAi434AxH7QRBXqXAyO7CFInswjKQCKGxRW/c1EvCXiqOvbZVx+wtBup95 YouA== X-Gm-Message-State: ANoB5pka5J62P6AUkuyp9sRQJgyOpiyWE7Be8o04Q4lWhW37z57/2P9D bXtlI3knomFgQAnQqnDb6MU= X-Received: by 2002:a05:6000:136e:b0:236:783e:5947 with SMTP id q14-20020a056000136e00b00236783e5947mr2382171wrz.168.1668209974157; Fri, 11 Nov 2022 15:39:34 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id a16-20020a056000051000b002365730eae8sm2995917wrf.55.2022.11.11.15.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 15:39:33 -0800 (PST) Date: Fri, 11 Nov 2022 23:39:31 +0000 From: Wei Liu To: Anirudh Rayabharam Cc: Saurabh Sengar , ssengar@microsoft.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, mikelley@microsoft.com, tglx@linutronix.de, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com Subject: Re: [PATCH v2] x86/Hyper-V: Expand definition of struct hv_vp_assist_page Message-ID: References: <1667587123-31645-1-git-send-email-ssengar@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_NONE,RCVD_IN_MSPIKE_H2,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 Mon, Nov 07, 2022 at 04:03:07PM +0530, Anirudh Rayabharam wrote: > On Fri, Nov 04, 2022 at 11:38:43AM -0700, Saurabh Sengar wrote: > > The struct hv_vp_assist_page has 24 bytes which is defined as u64[3], > > expand that to expose vtl_entry_reason, vtl_ret_x64rax and vtl_ret_x64rcx > > field. vtl_entry_reason is updated by hypervisor for the entry reason as > > to why the VTL was entered on the virtual processor. > > Guest updates the vtl_ret_* fields to provide the register values to > > restore on VTL return. The specific register values that are restored > > which will be updated on vtl_ret_x64rax and vtl_ret_x64rcx. > > Also added the missing fields for synthetic_time_unhalted_timer_expired, > > virtualization_fault_information and intercept_message. I did a bit of stylistic changes to the commit message and queued this up to hyperv-next. Thanks.