Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1227102imm; Wed, 17 Oct 2018 15:56:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV62sAyBRlPXIN3JGd61FKX5DqYzNoFAADmQ/1E646MgE00KfTtPYIWV7qSzfrGq+0eaG+M1i X-Received: by 2002:a17:902:758f:: with SMTP id j15-v6mr28325909pll.160.1539816970044; Wed, 17 Oct 2018 15:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539816970; cv=none; d=google.com; s=arc-20160816; b=t2CmAv3AZAUk1A5mXHvtdjDyaQor5OFFIIcQkLWXvePDXFskZ/ey/sXBoSOUU5ppjX ClVCyrD25bTLGLZZUULkUItOy1fuT8I7cyEszycCtUpX0r2Hvj9Ec3qKpK69nyf4CPp1 xMDsf1TZMVu9fqQrYV+Q5+K7zFS72DL7K3IOWH/coGqfw3h28wKzaDvZ1qgSVU4z3HKw vXfRVF+dh7r7rU+4RNxlqOecVKMCTmAgl6QsbeDhOUJAf8MQBKJDKa/ij36cN8arUs69 1UeufLBb8pNigYP/RHfd5yQEUVYQa/CksNN+38Tkx5fHKDDHWCK68jMaBNHqPwMJEm85 IFXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=pzZq7HlnONQ8Z1pzd1JXTO7O+9gbvh/+hzqiCxVz0GM=; b=hvuW7siiSx4xBftYOIddLqqeaMBfp+cuJZGVTjPxC9kImwA/p6pT6uGr/TN+L3zjpP tqvuuQeviov/jw1xLZL+MK2D0iGm4GOXMuqBo8YBVmxBiVL4ngcSmRIsfrv/MJU8YG6s 4YQWTsRNrU5FdQrWezwqd/6ASb+qmABpAZKQVIpegdZ9f4ToNUk7nBrBMtKjfyz1ZGiX pBjBPQBXiy+3lMWvi1gAkk3TDrZgz5uHMbnIokh7gELLwgegJjDs/Al7b1N1cevf1XHi cwSTNDmpvZ26oc9QHfSEMcGHWfC8WMixjqey8xrCaWAUOEznZ2JLjMlpxrbYZr0FZFxp RYkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g0LbKisO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13-v6si19138445pgc.119.2018.10.17.15.55.54; Wed, 17 Oct 2018 15:56:10 -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; dkim=pass header.i=@kernel.org header.s=default header.b=g0LbKisO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727585AbeJRGxV (ORCPT + 99 others); Thu, 18 Oct 2018 02:53:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:41814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbeJRGxU (ORCPT ); Thu, 18 Oct 2018 02:53:20 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E984421470; Wed, 17 Oct 2018 22:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539816926; bh=pfh0pEYGgqduT7XsFHV3mKgQQPEEmNAiQ42oGbHLCY0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g0LbKisOX1h9l1aK+aBepWBxIfuGtXwFI8LfonLP4B9ksYbxfWq+7uEJI/UbE5bCJ 9RibVR6si9nWIQUNZdvA3d+K1rX/YTtY1/nKUrj3n7n0HtUP+V3Yiv/eXIft1yTmoT BrMFjvpJg0JM1VdbvYnMGmnoLb051nzyi3h4EDg4= From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , David Ahern , Drew Schmitt , Jiri Olsa , Namhyung Kim , Paolo Bonzini , Wang Nan Subject: [PATCH 02/11] tools headers uapi: Sync kvm.h copy Date: Wed, 17 Oct 2018 19:54:52 -0300 Message-Id: <20181017225501.32150-3-acme@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181017225501.32150-1-acme@kernel.org> References: <20181017225501.32150-1-acme@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo To pick up the changes introduced in: 6fbbde9a1969 ("KVM: x86: Control guest reads of MSR_PLATFORM_INFO") That is not yet used in tools such as 'perf trace'. The type of the change in this file, a simple integer parameter to the KVM_CHECK_EXTENSION ioctl should be easier to implement tho, adding to the libbeauty TODO list. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h' diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h Cc: Adrian Hunter Cc: David Ahern Cc: Drew Schmitt Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paolo Bonzini Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-67h1bio5bihi1q6dy7hgwwx8@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/uapi/linux/kvm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h index 07548de5c988..251be353f950 100644 --- a/tools/include/uapi/linux/kvm.h +++ b/tools/include/uapi/linux/kvm.h @@ -952,6 +952,7 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_S390_HPAGE_1M 156 #define KVM_CAP_NESTED_STATE 157 #define KVM_CAP_ARM_INJECT_SERROR_ESR 158 +#define KVM_CAP_MSR_PLATFORM_INFO 159 #ifdef KVM_CAP_IRQ_ROUTING -- 2.14.4