mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chen Yu <yu.c.chen@intel.com>
Cc: kbuild-all@01.org, pavel@ucw.cz, rjw@rjwysocki.net,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	len.brown@intel.com, rui.zhang@intel.com, x86@kernel.org,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chen Yu <yu.c.chen@intel.com>
Subject: Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map
Date: Thu, 15 Oct 2015 05:04:50 +0800	[thread overview]
Message-ID: <201510150524.FNlN97gI%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444849196-7048-1-git-send-email-yu.c.chen@intel.com>

[-- Attachment #1: Type: text/plain, Size: 6789 bytes --]

Hi Chen,

[auto build test ERROR on tip/x86/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Chen-Yu/PM-hibernate-Print-the-possible-panic-reason-when-resuming-with-inconsistent-e820-map/20151015-030054
config: um-x86_64_defconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=um SUBARCH=x86_64

All error/warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/suspend_64.h:9:0,
                    from arch/x86/include/asm/suspend.h:4,
                    from include/linux/suspend.h:11,
                    from drivers/base/syscore.c:12:
>> arch/x86/um/asm/desc.h:6:0: warning: "LDT_empty" redefined
    #define LDT_empty(info) (\
    ^
   In file included from arch/um/include/asm/mmu.h:10:0,
                    from include/linux/mm_types.h:16,
                    from include/linux/sched.h:27,
                    from include/linux/cgroup.h:11,
                    from include/linux/memcontrol.h:22,
                    from include/linux/swap.h:8,
                    from include/linux/suspend.h:4,
                    from drivers/base/syscore.c:12:
   arch/x86/um/asm/mm_context.h:63:0: note: this is the location of the previous definition
    #define LDT_empty(info) (_LDT_empty(info) && ((info)->lm == 0))
    ^
   In file included from arch/x86/include/asm/suspend.h:4:0,
                    from include/linux/suspend.h:11,
                    from drivers/base/syscore.c:12:
>> arch/x86/include/asm/suspend_64.h:29:18: error: field 'gdt_desc' has incomplete type
     struct desc_ptr gdt_desc;
                     ^
>> arch/x86/include/asm/suspend_64.h:46:13: error: 'restore_registers' redeclared as different kind of symbol
    extern char restore_registers;
                ^
   In file included from arch/um/include/asm/processor-generic.h:14:0,
                    from arch/x86/um/asm/processor.h:33,
                    from arch/x86/include/asm/atomic.h:6,
                    from include/linux/atomic.h:4,
                    from include/linux/mutex.h:18,
                    from drivers/base/syscore.c:10:
   arch/um/include/shared/registers.h:17:12: note: previous declaration of 'restore_registers' was here
    extern int restore_registers(int pid, struct uml_pt_regs *regs);
               ^
   In file included from drivers/base/syscore.c:12:0:
   include/linux/suspend.h:366:20: error: static declaration of 'arch_image_info_check' follows non-static declaration
    static inline bool arch_image_info_check(const char *new,
                       ^
   In file included from include/linux/suspend.h:11:0,
                    from drivers/base/syscore.c:12:
   arch/x86/include/asm/suspend.h:8:13: note: previous declaration of 'arch_image_info_check' was here
    extern bool arch_image_info_check(const char *new, const char *old);
                ^
   In file included from drivers/base/syscore.c:12:0:
   include/linux/suspend.h:372:19: error: static declaration of 'arch_image_info_save' follows non-static declaration
    static inline int arch_image_info_save(char *dst,
                      ^
   In file included from include/linux/suspend.h:11:0,
                    from drivers/base/syscore.c:12:
   arch/x86/include/asm/suspend.h:7:12: note: previous declaration of 'arch_image_info_save' was here
    extern int arch_image_info_save(char *dst, char *src, unsigned int limit_len);
               ^

vim +/gdt_desc +29 arch/x86/include/asm/suspend_64.h

^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  23  	unsigned long gs_base, gs_kernel_base, fs_base;
8d783b3e include/asm-x86_64/suspend.h      Pavel Machek          2005-06-25  24  	unsigned long cr0, cr2, cr3, cr4, cr8;
85a0e753 arch/x86/include/asm/suspend_64.h Ondrej Zary           2010-06-08  25  	u64 misc_enable;
85a0e753 arch/x86/include/asm/suspend_64.h Ondrej Zary           2010-06-08  26  	bool misc_enable_saved;
3c321bce include/asm-x86_64/suspend.h      Vivek Goyal           2007-05-02  27  	unsigned long efer;
cc456c4e arch/x86/include/asm/suspend_64.h Konrad Rzeszutek Wilk 2013-05-01  28  	u16 gdt_pad; /* Unused */
cc456c4e arch/x86/include/asm/suspend_64.h Konrad Rzeszutek Wilk 2013-05-01 @29  	struct desc_ptr gdt_desc;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  30  	u16 idt_pad;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  31  	u16 idt_limit;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  32  	unsigned long idt_base;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  33  	u16 ldt;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  34  	u16 tss;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  35  	unsigned long tr;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  36  	unsigned long safety;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  37  	unsigned long return_address;
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  38  } __attribute__((packed));
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  39  
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  40  #define loaddebug(thread,register) \
2b514e74 include/asm-x86_64/suspend.h      Jan Beulich           2006-03-25  41  	set_debugreg((thread)->debugreg##register, register)
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  42  
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  43  /* routines for saving/restoring kernel state */
^1da177e include/asm-x86_64/suspend.h      Linus Torvalds        2005-04-16  44  extern int acpi_save_state_mem(void);
d158cbdf include/asm-x86/suspend_64.h      Rafael J. Wysocki     2007-10-18  45  extern char core_restore_code;
d158cbdf include/asm-x86/suspend_64.h      Rafael J. Wysocki     2007-10-18 @46  extern char restore_registers;
0de80bcc include/asm-x86/suspend_64.h      Rafael J. Wysocki     2007-10-23  47  
1965aae3 arch/x86/include/asm/suspend_64.h H. Peter Anvin        2008-10-22  48  #endif /* _ASM_X86_SUSPEND_64_H */

:::::: The code at line 29 was first introduced by commit
:::::: cc456c4e7cac3837a86aaa7ca3cb9f488d44d196 x86, gdt, hibernate: Store/load GDT for hibernate path.

:::::: TO: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
:::::: CC: H. Peter Anvin <hpa@linux.intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 6753 bytes --]

  parent reply	other threads:[~2015-10-14 21:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 18:59 Chen Yu
2015-10-14 19:39 ` kbuild test robot
2015-10-14 20:10 ` kbuild test robot
2015-10-14 21:00 ` kbuild test robot
2015-10-14 21:04 ` kbuild test robot [this message]
2015-10-15  1:40 ` Chen, Yu C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510150524.FNlN97gI%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yu.c.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®