Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3956531imm; Mon, 20 Aug 2018 07:31:03 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxcE3lyNOnnrzKfxEeme8Wb4ctUl01A9yefTquWRTfFxMSz67qC+PKp2VUJ8YexoV0UK/8A X-Received: by 2002:a63:1344:: with SMTP id 4-v6mr4144010pgt.423.1534775463681; Mon, 20 Aug 2018 07:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534775463; cv=none; d=google.com; s=arc-20160816; b=a2WS7DpHieXxzgfBheOtcpKySatHYY9CRnY2J+voY/LsS6tG50ThUaWMuEYHpdfxYy yWiD74h9d6/J+elvOpO8Ncmz5HiR159YbxPMgGyBt8cwwEBeaGiP/XTy5ddgGLbvpr9p +A9bYAj5tTpU6ObLHBc4EL7KcEdEUdpZ0dJZfU4kdiEfYrPXMrJ5phhW0jcVlwGDEn2S vILohwnidUvlJpLRmfQ20ce17l1cUhUEv1c5deJCiRGBdYGEd0G7urZthuZSHKhL1mlu U0lnHTnC8SAkTt6YnBbg0UEjSOTP06VYFFplqIrrh/eUWfdX3akK7RWMUlFZlqxDbz2x RbMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=CDXvDTmUFH2i4BF3JJa4Ne3N31skO5XG/VGgmD8qcns=; b=kUFeo424lmc+M18obX7gx6gBpzfxnK7S76b7hC9KGbiBQbHq4gRqFQxNXFCKNwDVKp 5+1SYLeL7TKK6RI3JkdURszq9aYNfz1p5kZSKYPqLYFvMJNaj8ghsMyrsLGPNvsXiDnt amtINaBaqTGIRNCyNmET/n4uy+QuiXr+ZO3Ad40b8ze88Puoy33WmZOpZlarpeeYEMOk mNTW3K6iWhvzU1d/Lt7bQb+C+o2Mk8ROESy/nUjIZqiaqFMuJC9FjbdyYRI5sBdDEumB 24PZ1b14wiDNVuc+TGddCrBaVsSvh9SUhth2R/Gxj/g39Kzwm7FEJdnV1bAgEq4oPHeV E3uA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba10-v6si9776363plb.228.2018.08.20.07.30.48; Mon, 20 Aug 2018 07:31:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726884AbeHTRpW (ORCPT + 99 others); Mon, 20 Aug 2018 13:45:22 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:55000 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726077AbeHTRpV (ORCPT ); Mon, 20 Aug 2018 13:45:21 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 081EC402B032; Mon, 20 Aug 2018 14:29:29 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.43.2.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B70D763F56; Mon, 20 Aug 2018 14:29:27 +0000 (UTC) Date: Mon, 20 Aug 2018 16:29:25 +0200 From: Andrew Jones To: Dongjiu Geng Cc: christoffer.dall@arm.com, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH] KVM: Documentation: rename the capability of KVM_CAP_ARM_SET_SERROR_ESR Message-ID: <20180820142925.zw2vgplbutfcvvos@kamzik.brq.redhat.com> References: <1534801165-41525-1-git-send-email-gengdongjiu@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534801165-41525-1-git-send-email-gengdongjiu@huawei.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 20 Aug 2018 14:29:29 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 20 Aug 2018 14:29:29 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'drjones@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 20, 2018 at 05:39:25PM -0400, Dongjiu Geng wrote: > In the documentation description, this capability's name is > KVM_CAP_ARM_SET_SERROR_ESR, but in the header file this > capability's name is KVM_CAP_ARM_INJECT_SERROR_ESR, so change > the documentation description to make it same. > > Signed-off-by: Dongjiu Geng > --- > In the Documentation/virtual/kvm/api.txt: > > +8.19 KVM_CAP_ARM_SET_SERROR_ESR > > In the include/uapi/linux/kvm.h: > +#define KVM_CAP_ARM_INJECT_SERROR_ESR 156 > > So in above two files, the capability's name is not same, it > is better to use a same name. > --- > Documentation/virtual/kvm/api.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt > index 0acdbac..c664064 100644 > --- a/Documentation/virtual/kvm/api.txt > +++ b/Documentation/virtual/kvm/api.txt > @@ -909,10 +909,10 @@ Serviceability (RAS) Specification"). > > SError exceptions always have an ESR value. Some CPUs have the ability to > specify what the virtual SError's ESR value should be. These systems will > -advertise KVM_CAP_ARM_SET_SERROR_ESR. In this case exception.has_esr will > +advertise KVM_CAP_ARM_INJECT_SERROR_ESR. In this case exception.has_esr will > always have a non-zero value when read, and the agent making an SError pending > should specify the ISS field in the lower 24 bits of exception.serror_esr. If > -the system supports KVM_CAP_ARM_SET_SERROR_ESR, but user-space sets the events > +the system supports KVM_CAP_ARM_INJECT_SERROR_ESR, but user-space sets the events > with exception.has_esr as zero, KVM will choose an ESR. > > Specifying exception.has_esr on a system that does not support it will return > @@ -4749,7 +4749,7 @@ hypercalls: > HvFlushVirtualAddressSpace, HvFlushVirtualAddressSpaceEx, > HvFlushVirtualAddressList, HvFlushVirtualAddressListEx. > > -8.19 KVM_CAP_ARM_SET_SERROR_ESR > +8.19 KVM_CAP_ARM_INJECT_SERROR_ESR > > Architectures: arm, arm64 > > -- > 2.7.4 > Reported-by: Andrew Jones Reviewed-by: Andrew Jones Thanks, drew