Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp815188pxb; Thu, 15 Apr 2021 07:16:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwByV/nzPMld/ci9fyN3bdEx9Q9SQrBaLz6M0UqMeqKP0Szhg9bXRaLC3eOg0/Hm0nBFLd8 X-Received: by 2002:a17:902:bc4a:b029:e9:8ae7:4091 with SMTP id t10-20020a170902bc4ab02900e98ae74091mr4082741plz.20.1618496179207; Thu, 15 Apr 2021 07:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618496179; cv=none; d=google.com; s=arc-20160816; b=cCHOQhWpb6UL913phBAHiDDRjXoB9x+CcZ9hnA+n1xzhxL4Fk0bDHgsHOTMYn6S4cA T2EjXpJlh9KJ9lLwae+0MsN/H8reVIf+sxNhFGst8GcSTIkbGro7//uERyKilLNUq5ns KyQs4cxRnRWHUQgOb6pNQhC7GfKeaAT35eGL0H/bE+6e8TNKApYyPxuuqlPqAJwv7ivV SuO7v2ICQ40pmveop1BTPk7H7zA1zTktNRxBv4joZZ8wKdt3H2U38tHIfZEvTukQM7AB MdE5odTjgPNiQRDwUFA+b1+O5ZqMo1FRq9KJ63YKRWe34uJ7AnQ6sFxvDFcLpgfFdMca k0iQ== 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=hz1ZY9HWxRoofHmlH+XWpgXg6c/7rbXj8kFMXTJUiXE=; b=hRVV3S/bayNY1ej5j3C50F+DVZBEFJvvKX9oCndy3RUq+PNJdfF2/x0k3aCbYKgBF/ L2b0aixgw247yT9vJWTsUb4T7Zaj/7kPdeRSfl06YVDaA2afYU1H+PJvgijKZG63+ztf OnkW6hrZanXYVlumVMeB75Z+xO4P4Wc8yKZiGOcvQ/ClLT9dLaUKe4exF4Dch9D7B/Bs 3FJrAtz5jMpeFsv5YnBImzQ1jvQo3tK3cUceE9prQO2gTXioSdnfr+wqMejjEZGx3hqK nPQaoqoqXOL7Qg9wC9PZz7da6RIEY4aWSIwRu5W1OqsOrPKParWrC7Q7dAvhwhUZBKik HwKw== 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 d21si3573660pgv.176.2021.04.15.07.16.05; Thu, 15 Apr 2021 07:16:19 -0700 (PDT) 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 S233410AbhDOOOb (ORCPT + 99 others); Thu, 15 Apr 2021 10:14:31 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:53088 "EHLO mail-wm1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233328AbhDOOO3 (ORCPT ); Thu, 15 Apr 2021 10:14:29 -0400 Received: by mail-wm1-f45.google.com with SMTP id y204so11165737wmg.2; Thu, 15 Apr 2021 07:14:05 -0700 (PDT) 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=hz1ZY9HWxRoofHmlH+XWpgXg6c/7rbXj8kFMXTJUiXE=; b=tjLQUD2dfF+TL5y6KmArEWZx+pHJJbT1aZ3cLHWdsF0JCK6dMa4eJUSMssMK19hvc3 TOBGtjq9X8eFfP58y7RA5JWl7tFJU+SwDuMJckSilh6PnJMcKTrBUXGD+2CMf6oRBgA4 fZOEf9t161iPaIMYhEw6w/7NbUqFhsamxheUhdbfcXLAncX9KXf0GsoT6Tl99XP5HslH RA5WrjjpyBoEjwNFwmDqtNZ/Ib6Y56rwmVe53fB9yjRTMd6oUV/+CFg26dsJv7TtcKg6 YKo7f8oJ4Dmk1ywf+s0IlGAfGF43WnW7abpaGOuazk1Lkn6a6gRmyrBfuQyIWaywM36s J54w== X-Gm-Message-State: AOAM5323HewuuEMHcuEeNWbgFI6SMdIFckZc7mShSv4AjDMnVwEKWQOu jeBXNmeRHcN+TvGmmPlXtXY= X-Received: by 2002:a7b:c195:: with SMTP id y21mr3405656wmi.178.1618496045398; Thu, 15 Apr 2021 07:14:05 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id v18sm2798213wmh.28.2021.04.15.07.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 07:14:04 -0700 (PDT) Date: Thu, 15 Apr 2021 14:14:03 +0000 From: Wei Liu To: Vitaly Kuznetsov Cc: kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson , Wanpeng Li , Jim Mattson , Siddharth Chandrasekaran , linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, Wei Liu Subject: Re: [PATCH RFC 01/22] asm-generic/hyperv: add HV_STATUS_ACCESS_DENIED definition Message-ID: <20210415141403.hftsza3ucrf262tq@liuwe-devbox-debian-v2> References: <20210413122630.975617-1-vkuznets@redhat.com> <20210413122630.975617-2-vkuznets@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210413122630.975617-2-vkuznets@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 13, 2021 at 02:26:09PM +0200, Vitaly Kuznetsov wrote: > From TLFSv6.0b, this status means: "The caller did not possess sufficient > access rights to perform the requested operation." > > Signed-off-by: Vitaly Kuznetsov This can be applied to hyperv-next right away. Let me know what you think. Wei. > --- > include/asm-generic/hyperv-tlfs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/asm-generic/hyperv-tlfs.h b/include/asm-generic/hyperv-tlfs.h > index 83448e837ded..e01a3bade13a 100644 > --- a/include/asm-generic/hyperv-tlfs.h > +++ b/include/asm-generic/hyperv-tlfs.h > @@ -187,6 +187,7 @@ enum HV_GENERIC_SET_FORMAT { > #define HV_STATUS_INVALID_HYPERCALL_INPUT 3 > #define HV_STATUS_INVALID_ALIGNMENT 4 > #define HV_STATUS_INVALID_PARAMETER 5 > +#define HV_STATUS_ACCESS_DENIED 6 > #define HV_STATUS_OPERATION_DENIED 8 > #define HV_STATUS_INSUFFICIENT_MEMORY 11 > #define HV_STATUS_INVALID_PORT_ID 17 > -- > 2.30.2 >