Received: by 10.223.176.5 with SMTP id f5csp20177wra; Fri, 2 Feb 2018 15:41:35 -0800 (PST) X-Google-Smtp-Source: AH8x224r1HzOyA2PAtHLx4lN+04iaINojGTXk1qND3ap1z+27zVSthEuNPY+T424AwtT1VF6koFG X-Received: by 10.98.74.20 with SMTP id x20mr42122936pfa.191.1517614895280; Fri, 02 Feb 2018 15:41:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517614895; cv=none; d=google.com; s=arc-20160816; b=u8ZhCQ9cr+a89BgjB+ezFsahlSLOAK33j23qUj+wmgvBZSqtVmawsxRUcRKJzpaCTY fv8adeEvasu1CAx0b+ySAbYutU5zuk0fF9LZxT/Vwec2XA9raOnsE43NKS9HbiEoQaUf OWpG68M32eVek4rnS6YdzXRKEtQfuHHH9mbwkIokgdaYZYBxfKSFqZ6VbQDywRwIOt5G 0pTPsYIq434mjlRt3ItpmYIw+XQh0egxaCscRDynmtnUWDmBWNSBBIBXtVUuSzLWLEji K25BqK0k5lCYgM4JQ2vQdPZlZA99z2hbbtzqHPn/E3LiUOCxNWZM00UXlB/rq2AR8FtU Q4yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=tZ8p+13mX+2Jor+mBeF6TAYX3mXz+HDW2Teajvc/Cjg=; b=tTWp9iCGWU+fE7Oy+4f+f4AcL61vGmy3QJGnNPc7XZ+sQFaN2qmP8LUBF+bGN6wLsD Xh7OgyoPgOKs1MG8rnorNwmLNSk9DlOykB0fa856CmfXbEeieSbXffZKbi22WxcNFvpd 2TerlISWcIsdh3qjLY0H2Q5KrQXIIKHHN5YvSY0sbBEgbrzLrQa8GMIaZ/q+ZUR1Rs1F UI+Y/2Lv9kiZo2DdSkQAdLIGtp0yBbbdavH6vZa0pmw7HyHwFCSLOBZ46+z5hDY4dHWy MSj8ElDYQEkCwIItkPzZ5Nhe2b5FiaW12qOUmaFUwfvZ3fuTAsri9MvqZatPaMpvQhHf iWGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=KHxU+x2s; 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 e6-v6si2655009plo.702.2018.02.02.15.41.20; Fri, 02 Feb 2018 15:41:35 -0800 (PST) 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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=KHxU+x2s; 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 S1752374AbeBBX07 (ORCPT + 99 others); Fri, 2 Feb 2018 18:26:59 -0500 Received: from mail-bn3nam01on0070.outbound.protection.outlook.com ([104.47.33.70]:10112 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751669AbeBBX0v (ORCPT ); Fri, 2 Feb 2018 18:26:51 -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=tZ8p+13mX+2Jor+mBeF6TAYX3mXz+HDW2Teajvc/Cjg=; b=KHxU+x2sFDB/8tgYfQj3TXIrwUNgvjhpq7GtkAf91JSdfTU5IrsjfcRy4FO1G2LoAZXvjPgQSxYulFh8O/d1bj5uqRwwq0WD7jtOLPShaMh3menS+urmLnMns+85f9ITRSXBVv0pAJnxoo1zccJjqKkziZXPtM3EZpIVAqg1YbM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Janakarajan.Natarajan@amd.com; Received: from [10.236.18.253] (165.204.77.1) by BN6PR12MB1363.namprd12.prod.outlook.com (10.168.228.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.11; Fri, 2 Feb 2018 23:26:47 +0000 Subject: Re: [PATCH v4 3/3] x86/kvm: Expose AMD Core Perf Extension flag to guests To: kbuild test robot Cc: kbuild-all@01.org, kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Paolo Bonzini , Radim Krcmar , Len Brown , Kyle Huey , Tom Lendacky , Borislav Petkov , Grzegorz Andrejczuk , Kan Liang References: <201802030310.MucL4Uiq%fengguang.wu@intel.com> From: "Natarajan, Janakarajan" Message-ID: <49f7c379-87e9-bf01-1590-63dcd7726d7d@amd.com> Date: Fri, 2 Feb 2018 17:26:41 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <201802030310.MucL4Uiq%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR12CA0042.namprd12.prod.outlook.com (10.172.49.28) To BN6PR12MB1363.namprd12.prod.outlook.com (10.168.228.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 69d07e73-8239-4856-665a-08d56a946f04 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:BN6PR12MB1363; X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1363;3:Rr3lN5mwkO5RKX/ba5EMfRaDsCP4LDX3oj0tDJAnAwWd1hsL81ZfG47MAKFM6IqOdTeZmqEvlIpi592yD3TMdJjkN4kDPJxpDyXZZTaNIyorD+5Kh1OFQSpVlGNf8w/jqCAzULtYhjYGnUqpErQ6RuprAHcktN+zqxrXAEn2fWKpGZ3hStBrtOJS2rmHBbZwrTEP94gRs42UtV1GXCvD2YQWmCUzE0RhNG332CQ09GyIyAginoLFc3uKjdGhHJDF;25:AvdNbG/SHvRFOgdcpRyEOS117AwvWJvSIIpyHDKzWKyzq9f5pyTfsxqiw6/dCmNv8VMvGW0l0wvGSsuwXwUvTgL3IEO96l8IWWxH+RKu2Yd2W2xYofA9gaIN5PS1/1NHe5e5a7HuiIAA/adcjWR2TUpHK3eeiCf0YJMEAn2H+OhODS7hUUGX0aSJOaE9HR4AyA9KmhJIz85uTgnb1daJ2d5OexvxiPF/CQ6vWfmCys/GBSL396I8IPnp+forOlHZOvOMZ2KLNOW2eVMrXcPIfOhVNDehz3Gub30V/FTb3GS0hh11FddE8mCZr1UZG2pxHfVEov896hJbJgJ3OvDOOQ==;31:+yHy3lTCPmGvaxWGMIpLl5WHYQZ/r0DK7maEulcLNHL/mv0krYONwmpgL6E1ABIvfCWAD6Dm+i9xgNHu9iy8xtgFljrovuf8n8V67Qr0IL1D0ZOgEdAfoIjE+u90UqvLY78QPzpr01wYFx4XeOfGWXYqhbKO6vB0mV+BZWAKd50WeMp+nQKiNROgf3kf9v1dbuLvqDS+KIbHmn0A2Jblh7cYvuhhrDwO88kC1/9TSjg= X-MS-TrafficTypeDiagnostic: BN6PR12MB1363: X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1363;20:z/zRYIKz6DezB7InEr/TS7HptPhLezaH4I2WosIKIIedITjk73+3VQk0f95htLg+1nucw0UZxRchsIA6LxG4GCjgfBTDpoYwidbLdVOmDsEeAHnK4ukZt6WjOa+I08rjdMun2kxOnz/94/HWWo/ISxEBS84+taqjK/yweDTyC1GffL0Jdh5ZbRZgtwk7taesdbF8qE8Z+6py92bYFRbeQhNbc2G45+apVy9eKs6aBKdYyKU3Zz/tix8Q973sAPtPf1qptoxTv3UOyuzWkibtv/S/xSLm3N0G7lH9zUOb7a1P4n9IukmPXHtoqmIdfh8gCZipyVoOI2q4DPXVv7BO1mCajOitJ86e6aUhFKW6veGwZBjHrtNWkXry7XWSmoK0K+9Kw50sXIkOAjaa0/9KEmRXtBmBnE2diFv8oTG9ABx0NCwbUotPVHJtc0LcruUmD59GDxCvIxpk/0xsVgJr/JzzBnuKMrzid+XFiqqAJrqI0lIG2IxD1o3uctAqlKRn;4:SK6XxBurIaXmI0p4sazmNpghDigDr5BBeHDG0fMqFM0bVltgNa36EOG1M2+C2uvJELkkEZL+JNJfdloG+Z3Ou3smIyMq4iwEuI+Jqqza7FqD+7mvxrxQswLvw6DOWO2ofRYbiZDuDGYsm15pvp5ZcZscUQ/TfiLmfsAb+Z6L9OYIVyJv7MWllxM97FTam7gbRRVQTdd1gLTfcUeRfsqC/GYUjWQ+I+4HFoNzlqT/+lUYfO9S7ckoBNS2NwnzkpAxQlu+lFuxzHEEuQb/xjhVyjbCPyFn4gBgxMUzKlf9u2wYXO6y/7j/JxNR6PQdf9tdG0ovLk2DutIP+3w4fR1l62RblRMcTYvSTspWZn9HplQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(162533806227266); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231101)(2400082)(944501161)(10201501046)(3002001)(6055026)(6041288)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BN6PR12MB1363;BCL:0;PCL:0;RULEID:;SRVR:BN6PR12MB1363; X-Forefront-PRVS: 05715BE7FD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39860400002)(366004)(39380400002)(376002)(346002)(396003)(199004)(189003)(386003)(67846002)(25786009)(230700001)(53936002)(52116002)(90366009)(86362001)(6916009)(5660300001)(50466002)(16576012)(54906003)(31686004)(72206003)(36756003)(47776003)(186003)(2486003)(65806001)(68736007)(478600001)(345774005)(52146003)(106356001)(58126008)(65826007)(966005)(77096007)(16526019)(65956001)(26005)(23676004)(66066001)(4326008)(64126003)(8676002)(229853002)(81156014)(59450400001)(97736004)(6246003)(105586002)(6666003)(81166006)(8936002)(76176011)(6306002)(83506002)(31696002)(7416002)(7736002)(305945005)(2906002)(316002)(53546011)(6116002)(2950100002)(6486002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1363;H:[10.236.18.253];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: =?utf-8?B?MTtCTjZQUjEyTUIxMzYzOzIzOnJ3bDVQdVNOZnZyODNLVTNaRjBVanBHQkFm?= =?utf-8?B?UHpQTWhkazlVL1dwTjZMNXg5UUg4NGlwSVA3NDIyak5DMFRzOXp1WmdPM0E2?= =?utf-8?B?TWFhdU1lYlRTZXlyV2JnSGNnc2Y1SCtINTNLQkhGbUZIWXNxdUlmdUFHdW1T?= =?utf-8?B?L1VXUklJWjZDWjlpdmJ5V0RTdUNwVlB5NTg4bFpWWUY4a1MxY3J3RGZNTG9a?= =?utf-8?B?K1lXankySkQxbmIwbnBpWFNyQ1NrK2E4bHRMY3pKa0FIZXZWYU53UmNDZyt0?= =?utf-8?B?aGd5c1BTV2oveXFvdHQ1Rk5KUWxWRDQ0dGFLOVlQNVdKS01Cb3UvbVZDc3c2?= =?utf-8?B?RjNPL2ZzZDd6dE5ZNkFxWnNlZzhlUW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C0mRHiZ70fIyTF4HGTYE+M0Y2XMpcxQOsKkCVCW/APw+AEizzbhCn3mjHp2dnmvB4mJk+K22FMR7w9fEIiCB2Tvcpw/GCrPpvxUnkD1UIexPcF0R7fBk+YtyHkxIvpY+MmLGBy9Cfhy3NXpRo8L7dFGZ6h X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2018 23:26:47.0477 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 69d07e73-8239-4856-665a-08d56a946f04 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1363 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/2/2018 2:03 PM, kbuild test robot wrote: > Hi Janakarajan, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on tip/x86/core] > [also build test WARNING on v4.15] > [cannot apply to kvm/linux-next next-20180202] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] This patch uses functions defined in commit 'd6321d493319bfd406c484e8359c6101cbda39d3 KVM: x86: generalize guest_cpuid_has_ helpers'. https://lkml.org/lkml/2017/8/2/811 > > url: https://github.com/0day-ci/linux/commits/Janakarajan-Natarajan/Support-Perf-Extensions-on-AMD-KVM-guests/20180202-231344 > reproduce: > # apt-get install sparse > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones prefixed by >>) > >>> arch/x86/kvm/cpuid.c:58:6: sparse: symbol 'perf_ext_supported' was not declared. Should it be > Please review and possibly fold the followup patch. > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation