From patchwork Sat Feb 24 02:30:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babu Moger X-Patchwork-Id: 10240169 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B0416056E for ; Sat, 24 Feb 2018 02:31:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21C4529B33 for ; Sat, 24 Feb 2018 02:31:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1270E29B6B; Sat, 24 Feb 2018 02:31:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A52329B33 for ; Sat, 24 Feb 2018 02:30:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752409AbeBXCav (ORCPT ); Fri, 23 Feb 2018 21:30:51 -0500 Received: from mail-bl2nam02on0062.outbound.protection.outlook.com ([104.47.38.62]:45312 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752127AbeBXCat (ORCPT ); Fri, 23 Feb 2018 21:30:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=PmPY3YK6wqhcroVwTVLqDox7Gr6BTdycLAM2Pf1sE5g=; b=5XrvWYJq7Dp6jB792DhggCaEi1qNiW+eJOjKk7S7ugEXpnh9Yualbg1SgUrSKy2VGp7UJyyF1N+fh7dPFSAI5Yn1NbYgOY1KG4YX6Bt35Y/vxL7vYVRpnWoFbwbKGmP2pgJKysq26yei7KSFz0YttDv9kxAWpEqL5qLO9YW0tGI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Babu.Moger@amd.com; Received: from linux-pyp0.amd.com (165.204.77.1) by MWHPR12MB1776.namprd12.prod.outlook.com (2603:10b6:300:113::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Sat, 24 Feb 2018 02:30:46 +0000 From: Babu Moger To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com Cc: mtosatti@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, pixo@polepetko.eu, Gary.Hook@amd.com, babu.moger@amd.com Subject: [PATCH v2 1/5] target/i386: Fix a minor typo found while reviwing Date: Fri, 23 Feb 2018 21:30:21 -0500 Message-Id: <1519439425-27883-2-git-send-email-babu.moger@amd.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1519439425-27883-1-git-send-email-babu.moger@amd.com> References: <1519439425-27883-1-git-send-email-babu.moger@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR06CA0061.namprd06.prod.outlook.com (2603:10b6:3:37::23) To MWHPR12MB1776.namprd12.prod.outlook.com (2603:10b6:300:113::7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 094e3165-0d35-4e8b-300c-08d57b2e9cfd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:MWHPR12MB1776; X-Microsoft-Exchange-Diagnostics: 1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2GE2ni55bkxOgE7MMO6FlnsYJjAA4KmYN5IucKmABG66b1RUEQdFZZ6hMsrgkygq0qym4EUjmVbAauaH5p9gQFI/vbEPp2kHO7p4fSfnJBh8vZEEkwrJ+xMG9zYOWDMZFLifqrTpDMoxlcNDBJ8XoPF7M0wqi54ZUtaN+5YnKyVG9y2+qIOPJEcypABbSCEB99Cs0GbDF07UJWmpkPTrOo0od0cSI3hb/O01jhCu8Tmb+QNI35gWbvZvG9/bKtE+FQwXJJ9oY5vNMtz9nnBla5q0hMD1Bu0Gyj8GJwdUnkZhMSsmV/FG5zIWmkdTTfPJg2I0h6JHpQ/W9O0qE74ss4l//SNzTi4YdMSGAqe; 4:xn0rR2nByj81R/a6eweEpHd8m21IKv2rhUs/Qdbf6XQXQHCNv+0KHLwbyNnodjS1sATEsWXxzpdXxm+IIMvEcTpckqbEUswjLvnH8ONytfSL3q5MzE3amvbD7EqzmbyP7y2qDzHUHjUcuViyFCT4jLxDaT+TtwXzR8utFZ/F5Pq68YD3exfz/Zz2TMlNEbGUF5ULXp+W6KAPfSEBjMnGAd6cSj/1RWKaBABoQ4zVA9e7fJfuo2tdwVOBKKeepfyFcrHuVrABz4fLaVhS3MX0m3/kSYh8OWXz2XthR86+kSaO5Erw8VMxFEufqPyjc/5Z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231208)(944501161)(52105095)(6055026)(6041288)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR12MB1776; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1776; X-Forefront-PRVS: 0593E261C4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(346002)(39380400002)(39860400002)(376002)(199004)(189003)(6486002)(386003)(7736002)(305945005)(4720700003)(2950100002)(6666003)(68736007)(7696005)(52116002)(51416003)(97736004)(106356001)(47776003)(316002)(3846002)(6116002)(66066001)(76176011)(50226002)(53416004)(2906002)(72206003)(105586002)(478600001)(25786009)(53936002)(16526019)(186003)(16586007)(36756003)(86362001)(26005)(50466002)(8936002)(81156014)(8676002)(81166006)(4326008)(48376002)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1776; H:linux-pyp0.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR12MB1776; 23:8vFi70Fimm1Yw7rjWoZDI3BFQJIllhDW3WMshFEcR?= =?us-ascii?Q?JeFlJToh1QQZe+rrT/zhmTC99fJqphKn101MTgVoK/+UzESRrWnQJXnUy/I6?= =?us-ascii?Q?erTLfoOEGexRQ5QidJgq3r5wBwnPhE+Em7zdYbvKLz3+ihKxqO1L8OYfRJQz?= =?us-ascii?Q?RgLZ1lhtN3Y+4vdZ2z8zWxKTX20koLPzbT/k/Hb0T/wtJqBi4Mnen7mfUtvj?= =?us-ascii?Q?5aprYrLZqOgMRPmh/nfPNrlhZ1YEOHOh2gdriwJwzg7CBg/AUfF8LD3ozeNT?= =?us-ascii?Q?qGtpC0rXlPMJcvA/uaj4oeJLXU9e98dm1BXY5j93PS3lIPSOXzvUQgHV068F?= =?us-ascii?Q?IlkONrVC8fTd4OUkwHOvT4fFs31IXx8BgOomPN+IhfLH7aXDNBUEZjZU2yoj?= =?us-ascii?Q?qIFNPUT3j1GsO7rK7XgfddxrXYkISYoHWdZ16+UGcAabOCTVXFWLA+CAP0l+?= =?us-ascii?Q?AAHiZ3oLr+JO8DydpP2Jb3h1z4QTHtbnZAd4WBi9RMt7LcNXI1OAp7mAuAAn?= =?us-ascii?Q?zoHFY0AD9SzbZI71EDu9qqepHs79CKGVW6/TZZYj0tKj/KVjlcOI8Xh601iF?= =?us-ascii?Q?GQUepUjeNzcKWEjBfJuon5vuwuXGmwfIVBykuzoViQ+qgttG52ghC7PIuTco?= =?us-ascii?Q?+PUWfPVO+awfRSnArG8D/e0JkGUCT/ATqaZHzK3+hRD2T4XoFc/IoJkgOjI+?= =?us-ascii?Q?37RjtIrhhr7gSUj3FPwPl5naw8Y+Go5q6qAXVJJMRgkGFtnyGGYJKFcT61ll?= =?us-ascii?Q?S9tebPebutyMZkLGvIFtBeJrmsZdsIrzKwnsTsPUWFZBKqiyiusexXyscQO3?= =?us-ascii?Q?B3pWNTCgx+OZui0M5ry4higMv30M+ACfVJe4fYdBushOhgBzBFe7ju/tZzC8?= =?us-ascii?Q?NYebaA6MDSW1WImqSTecl2zN4hrrKue8gHSgyFwk/UYYwOMzAEdha7K71dXM?= =?us-ascii?Q?hmGuQcbTJtm0WaLGjVS4hI0nmY8rNh76MFxMIFI+VCpaX4nQdmhSzwugniQ5?= =?us-ascii?Q?CJmbMLQ7ugR4W2G+mFVOTZUvuTi9bhXSffQFYO8668sFpyHVjlFMyQ4+NWEh?= =?us-ascii?Q?EwsZaEyiRQXc0hwsa4vsKxV97wUZNfAFOsmqSgi39knm8nON7wMj3VVgfu7L?= =?us-ascii?Q?40r45EO1rsi0kIYV/6lYGiuFkA33EDd?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1776; 6:ComOsdqpgj/AGKIAmigyCUW4xSQUXxvWcXOlXVukZrVn3rqAW61oEtEpExK0d/oJskQEKUYZQ4LGaosLMLk4O+HP8KhIoAszXBEmgwMl63l1XZJG8VxAC8uEOUn9r449dUHP1M5cKxrpwMf1Gx7GB0DzcrzboeMdc19Zab7GCLIKDM8EW3nAJUS8SEc/ICCRaZqM0c55LHwojt9NUfk2DlsRxXfiAZEmZYfULLiRLMYQOFsLIUCA2RS4rqJ4WtBMrSMilydYNySfnk9FeoWSBIFWGrfPlisWsB+cZQDxdggXvLkbOnKPRxOuoV0t6mQZmb7MlxkHJquWXJ2yYTl4T4mtTAsiCy1sceCBpCIDfBE=; 5:R//36H3S4YoNGl0OumHZ2VoF1qQe1vP0iJo6DeiSJSMKWa4DBDazJD+5lFH14t6OEbNVvWCkHBRyl13ZeEnjdVw0xX36SW/aP60NP3j8OrRgmDQ5Kw3riH/z54fgApaL8p2PvucbxeftT3iGM+0rLP50zciSJeQDmlNc0mWzPpY=; 24:6xjDkhYFXuBqxgGMypbIN/5SLxxGePtNfid86UQunS3aPnu0UDIgTT3h4pK8DWIVbQAZ9GH5JzNiB8x6+W8qDx/nLR/hD0gjSZWUyXxEyyg=; 7:TLEpEwqWstgA7oG2xjg7jmaQcJYJWKHvLqiRbkydHBwHZbVmrm6Sw6xXIY8qVSKrUM67ICF35Vu16iN0Vfi7u6LgpJsWXHxlSTuzVXsrndbSTiOVIAjIQ4sQVUEafh8IxHlO82GLHMUKoe80qmSsCJUlyEBAR3sdRpAqLY6uqer/3PDNlIIyBjbwAl5S9NUdLjb8txTL8DSaXiDbW/rnzfmwjySGIgBAzyrma/XEqThv5nwtKVtl47NeQ2T8jpia SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1776; 20:WR1N6+oBZxTUZF+5AT/QdlOGuynqN/i0prFf5FajdRc9+2xKmQyY3/ybeOgDG7SGuualvRnVJW3xpLgoF/HubjLpBZXm7wqCMBYm0yippI9hwmIZomjx3M7k3Fo+b1eCMZjcD+CccN2ko6SHTGvQ4j4NqqWgyCHIJzmIMKenkrIuuCqWpGQFWvIGkV8N8MuFOieh0ymN1ugI98npYvT2YXa1XhjVOJOyopskiW3Jh00I2t139UuRWQyaUQm5IewB X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2018 02:30:46.9094 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 094e3165-0d35-4e8b-300c-08d57b2e9cfd X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1776 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Changed KVM_CPUID_FLAG_SIGNIFCANT_INDEX to KVM_CPUID_FLAG_SIGNIFICANT_INDEX Signed-off-by: Babu Moger --- linux-headers/asm-x86/kvm.h | 2 +- target/i386/kvm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-headers/asm-x86/kvm.h b/linux-headers/asm-x86/kvm.h index f3a9604..6aec661 100644 --- a/linux-headers/asm-x86/kvm.h +++ b/linux-headers/asm-x86/kvm.h @@ -220,7 +220,7 @@ struct kvm_cpuid_entry2 { __u32 padding[3]; }; -#define KVM_CPUID_FLAG_SIGNIFCANT_INDEX (1 << 0) +#define KVM_CPUID_FLAG_SIGNIFICANT_INDEX (1 << 0) #define KVM_CPUID_FLAG_STATEFUL_FUNC (1 << 1) #define KVM_CPUID_FLAG_STATE_READ_NEXT (1 << 2) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index ad4b159..85856b6 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -844,7 +844,7 @@ int kvm_arch_init_vcpu(CPUState *cs) break; } c->function = i; - c->flags = KVM_CPUID_FLAG_SIGNIFCANT_INDEX; + c->flags = KVM_CPUID_FLAG_SIGNIFICANT_INDEX; c->index = j; cpu_x86_cpuid(env, i, j, &c->eax, &c->ebx, &c->ecx, &c->edx);