Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3941461imm; Mon, 20 Aug 2018 07:16:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx+pfXgKH3cSKQMRStY2hO52A7gnI6YrSjoi4xk+9rNj5J4WCE5YGhopiPawAuN7z7vr5oI X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr49022683pfd.181.1534774600471; Mon, 20 Aug 2018 07:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534774600; cv=none; d=google.com; s=arc-20160816; b=qoAvkE9yIPiu06pXhLDxI1/6nz5h/uEW+WN8cB3G7h9uSZWjP4HPFA75DdSzN0R1yL 6bf/Fb8q0pid2/Jxl8fGM28CCfbCsHHUimhX3BiO1M5pO05FBK5r0E9T+0be5bFaxMEk ASDfJUkV2a4PzElKoPcuQRUFPlp8C/mPAOYF0b9yTfGKpNBWsMn3294A+iB311mB0QRw ZPob934tZ6rc961WUlx0L4hJ/rU+Uqg9EQW1ua8Wyde5HfVGkqzUwbrtV59eGqNscK2f FcxSz1pFuAlRWYGi4r8bSV45GIma5aMZAtR1ssqKe/hQj0DKcpvy0xYL3A4t8UkpfOJn 2vmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from:arc-authentication-results; bh=xvGrVruq/jl1bH/KsEcC7VvjuoFByEAiD7wjY4g2Pz8=; b=oZTNp/nF3USvNTaIPtPyKWXIWOlJde73QQwq7naTIXmH/JflpJc09x66fKG33gxlDM wd8kGnu2h37/NZAo3HqCgEOhhOuFI6N5cOI3iyubZ+xpGwPkH5uygkAKFsE5+y5o4NTE sPfc/B/Igx3accgtvtgjQ6XYMMpD/DiHjwPoptFoLefsodteiGu+qQmFSWTnH1GEzw7Z n2gihObipvEWAheVJUMG2Uf1vJ3ewia937XwtVQIlxrZrOHF2vdBhyjtv6QeIa8na0t8 AdI8syh7oaZw1nn+CEjLoTuZ55xGFC5ZYHybpKiXzDckJntlCUmg+FmsQ5+tajDfS4Uk u14g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb14-v6si2253813plb.178.2018.08.20.07.16.25; Mon, 20 Aug 2018 07:16:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727408AbeHTQu2 (ORCPT + 99 others); Mon, 20 Aug 2018 12:50:28 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:41547 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726705AbeHTQu1 (ORCPT ); Mon, 20 Aug 2018 12:50:27 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 887A62886BB48; Mon, 20 Aug 2018 21:34:42 +0800 (CST) Received: from localhost.localdomain (10.143.28.90) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.399.0; Mon, 20 Aug 2018 21:34:37 +0800 From: Dongjiu Geng To: , , , , , , Subject: [PATCH] KVM: Documentation: rename the capability of KVM_CAP_ARM_SET_SERROR_ESR Date: Mon, 20 Aug 2018 17:39:25 -0400 Message-ID: <1534801165-41525-1-git-send-email-gengdongjiu@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.143.28.90] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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