From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbcGGK06 (ORCPT ); Thu, 7 Jul 2016 06:26:58 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:52174 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751560AbcGGK05 (ORCPT ); Thu, 7 Jul 2016 06:26:57 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="8482308" From: "Wei, Jiangang" To: "lkp@intel.com" CC: "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "fenghua.yu@intel.com" , "ebiederm@xmission.com" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "Izumi, Taku" , "kbuild-all@01.org" Subject: Re: [PATCH] kexec: Fix kdump failure with notsc Thread-Topic: [PATCH] kexec: Fix kdump failure with notsc Thread-Index: AQHR2CBcRSPfW1I3Eke/KqmS116DgaAMIcOAgAAbZwA= Date: Thu, 7 Jul 2016 10:26:47 +0000 Message-ID: <1467887078.2119.63.camel@localhost> References: <201607071617.dgK52iri%fengguang.wu@intel.com> In-Reply-To: <201607071617.dgK52iri%fengguang.wu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.167.226.50] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 X-yoursite-MailScanner-ID: 3669541C0BAA.A9BAC X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: weijg.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u67AR2i5031513 Hi all, I fixed the compile error and sent the v2. Please ignore this serial. Thanks, wei On Thu, 2016-07-07 at 16:46 +0800, kbuild test robot wrote: > Hi, > > [auto build test ERROR on tip/x86/core] > [also build test ERROR on v4.7-rc6 next-20160706] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Wei-Jiangang/kexec-Fix-kdump-failure-with-notsc/20160707-152535 > config: x86_64-randconfig-s5-07071541 (attached as .config) > compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > arch/x86/kernel/machine_kexec_64.c: In function 'machine_kexec': > >> arch/x86/kernel/machine_kexec_64.c:272:33: error: implicit declaration of function 'lapic_disabled' [-Werror=implicit-function-declaration] > if (image->preserve_context || lapic_disabled()) { > ^~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > > vim +/lapic_disabled +272 arch/x86/kernel/machine_kexec_64.c > > 266 save_ftrace_enabled = __ftrace_enabled_save(); > 267 > 268 /* Interrupts aren't acceptable while we reboot */ > 269 local_irq_disable(); > 270 hw_breakpoint_disable(); > 271 > > 272 if (image->preserve_context || lapic_disabled()) { > 273 #ifdef CONFIG_X86_IO_APIC > 274 /* > 275 * We need to put APICs in legacy mode so that we can > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation > >