Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1457397pxb; Mon, 22 Feb 2021 02:22:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz01LMEAPeeFMwrEIXjKX/93r0CAsHg1THbl3JevwlOyxKUN1XTY3aflZ5+PQO9C1HRmMNi X-Received: by 2002:a05:6402:74a:: with SMTP id p10mr14741805edy.136.1613989349617; Mon, 22 Feb 2021 02:22:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613989349; cv=none; d=google.com; s=arc-20160816; b=VGrfeAqy8KCjXlYg1oPMXqPEmn0xRkIDZWPmK6PVcPAoW6tYKQtyVkm4RjLOf4gQIb fHUSf6hR5E0x6U5U0NJUiehm3zyr4bio0ckAJkjyz0TTYRdqrd3MDe3unh/Q4bVRdE1s 1xWsMyA2NfZapm2lRMSlQov++mo2Ldd3KRdoCmZLK1BvZBnM1/g0+A2rAeionX7gr6FK PXbolEjKwhiNUNp15MhWfDidOEoeemAFdjEIA3T5b9NHGlTzVeYA8yABsT6/qM7HpgjM BI7uKQSUMku/oH5xxqvq36gJvREhgenp8x74+u8F8TMqBXqsnX12gRAKBCfmTBidLhTv Ukcw== 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=jqrZ9o2ASN5akD88hAC25nkBz+M3fdiYTEO2MDdzKQE=; b=ZGJPr2PwVm582U5STQsB2ub1Vh+d4fUkhB2mYS9hh1+fLg1DnAMErnKTYWjCRqKqgy UInTiKXj0k1dZ/SeUpqeutXpoIuyJ5v9v9ONYMAwgI/xCHVScVTgTe2OMU16RRJGKfIe b2giMM7AC4EO5RYanYCrCv8/ioqhuHnm1f2m/RR1wAWl9IMYL9S5/BiHJ/tbbuxaj/Lu KwfGsC1nseTEZn/lGXv8wb+d9jIk/mhFcHBYAkvvGnLdhB8WPbxAaKYkU/VOIHBbtFDJ m5L1UdyXdQUz+z3tnvB7C4YqPU1iBhpOlQdPtXD04J2r7CBXylbKQ+ngajEKLoB/b/Jh royg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz15si11270422ejb.290.2021.02.22.02.22.05; Mon, 22 Feb 2021 02:22:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230125AbhBVKVj (ORCPT + 99 others); Mon, 22 Feb 2021 05:21:39 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:52328 "EHLO mail-wm1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhBVKVi (ORCPT ); Mon, 22 Feb 2021 05:21:38 -0500 Received: by mail-wm1-f47.google.com with SMTP id p3so2835909wmc.2; Mon, 22 Feb 2021 02:21:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jqrZ9o2ASN5akD88hAC25nkBz+M3fdiYTEO2MDdzKQE=; b=EltAjHHrDhCWuvvepWB334bmL2nekHymABVwrA58UiNIXcEUtlZC1jSXL/TBoc9hwt CNyR0epgofOEwA6DycbjKEYODfS963tdNQ6fGZT9lDBjT9KPqlw+rfImcaeBIl9lFlBj RzcWypSVwfFNsOGdtX8gmYqWMjtrUA1OkzE67oAbmDLdaVYnn+g8NBZ2dlL4qLEjeWj/ sdrmyqjNkJX1UMiAvmF4sEbsJUeCSqCP+y1pcnCu/62ySect9K6VpKNYvNVdKYErGLI5 Z8YK7WX/x5lRG1JbUAJ4YvNDli7ge+L+ZUlrvogOa7v2B12vBOIkbgjHNMH6otZsLw9S bS/w== X-Gm-Message-State: AOAM530qaYHDQYcoPR3OJpXXVlSEYL92zMPdkrqy/+MzTAkHk7hG+RL0 LUN4XPhLeseZBDSK5sgNkmQ= X-Received: by 2002:a05:600c:19c6:: with SMTP id u6mr9172317wmq.65.1613989256338; Mon, 22 Feb 2021 02:20:56 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id t16sm10088771wrq.53.2021.02.22.02.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:20:55 -0800 (PST) Date: Mon, 22 Feb 2021 10:20:54 +0000 From: Wei Liu To: Michael Kelley Cc: will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, arnd@arndb.de, wei.liu@kernel.org, ardb@kernel.org, daniel.lezcano@linaro.org, kys@microsoft.com Subject: Re: [PATCH v8 1/6] arm64: hyperv: Add Hyper-V hypercall and register access utilities Message-ID: <20210222102054.7ktopdg2jcao7itz@liuwe-devbox-debian-v2> References: <1613690194-102905-1-git-send-email-mikelley@microsoft.com> <1613690194-102905-2-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1613690194-102905-2-git-send-email-mikelley@microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 03:16:29PM -0800, Michael Kelley wrote: > hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level > Functional Spec (TLFS), and #includes the architecture-independent > part of hyperv-tlfs.h in include/asm-generic. The published TLFS > is distinctly oriented to x86/x64, so the ARM64-specific > hyperv-tlfs.h includes information for ARM64 that is not yet formally > published. The TLFS is available here: > > docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs > > mshyperv.h defines Linux-specific structures and routines for > interacting with Hyper-V on ARM64, and #includes the architecture- > independent part of mshyperv.h in include/asm-generic. > > Use these definitions to provide utility functions to make > Hyper-V hypercalls and to get and set Hyper-V provided > registers associated with a virtual processor. > > Signed-off-by: Michael Kelley Reviewed-by: Wei Liu