lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 21 Dec 2017 06:32:08 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.x86/pti 22/54]
 arch/x86/include/asm/pgtable_32_types.h:48:4: error: 'FIXADDR_START'
 undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti
head:   448c49e07e52076586e9e706212298d865ad7a27
commit: 8b65ec93225592fbc35ab8107fd880e505aae1ef [22/54] x86/cpu_entry_area: Move it out of fixmap
config: i386-randconfig-x016-201751 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout 8b65ec93225592fbc35ab8107fd880e505aae1ef
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   In file included from arch/x86/include/asm/pgtable_types.h:261:0,
                    from arch/x86/include/asm/paravirt_types.h:45,
                    from arch/x86/include/asm/ptrace.h:92,
                    from arch/x86/include/asm/math_emu.h:5,
                    from arch/x86/include/asm/processor.h:12,
                    from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:38,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:81,
                    from include/linux/percpu.h:6,
                    from arch/x86/mm/cpu_entry_area.c:3:
   arch/x86/include/asm/cpu_entry_area.h: In function 'get_cpu_entry_area':
>> arch/x86/include/asm/pgtable_32_types.h:48:4: error: 'FIXADDR_START' undeclared (first use in this function)
     ((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
       ^
>> arch/x86/include/asm/cpu_entry_area.h:53:32: note: in expansion of macro 'CPU_ENTRY_AREA_BASE'
    #define CPU_ENTRY_AREA_RO_IDT  CPU_ENTRY_AREA_BASE
                                   ^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:54:34: note: in expansion of macro 'CPU_ENTRY_AREA_RO_IDT'
    #define CPU_ENTRY_AREA_PER_CPU  (CPU_ENTRY_AREA_RO_IDT + PAGE_SIZE)
                                     ^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:63:21: note: in expansion of macro 'CPU_ENTRY_AREA_PER_CPU'
     unsigned long va = CPU_ENTRY_AREA_PER_CPU + cpu * CPU_ENTRY_AREA_SIZE;
                        ^~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/pgtable_32_types.h:48:4: note: each undeclared identifier is reported only once for each function it appears in
     ((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
       ^
>> arch/x86/include/asm/cpu_entry_area.h:53:32: note: in expansion of macro 'CPU_ENTRY_AREA_BASE'
    #define CPU_ENTRY_AREA_RO_IDT  CPU_ENTRY_AREA_BASE
                                   ^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:54:34: note: in expansion of macro 'CPU_ENTRY_AREA_RO_IDT'
    #define CPU_ENTRY_AREA_PER_CPU  (CPU_ENTRY_AREA_RO_IDT + PAGE_SIZE)
                                     ^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:63:21: note: in expansion of macro 'CPU_ENTRY_AREA_PER_CPU'
     unsigned long va = CPU_ENTRY_AREA_PER_CPU + cpu * CPU_ENTRY_AREA_SIZE;
                        ^~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/x86/mm/cpu_entry_area.c:5:0:
   arch/x86/include/asm/pgtable.h: At top level:
   arch/x86/include/asm/pgtable.h:47:8: error: unknown type name 'spinlock_t'
    extern spinlock_t pgd_lock;
           ^~~~~~~~~~

vim +/FIXADDR_START +48 arch/x86/include/asm/pgtable_32_types.h

    46	
    47	#define CPU_ENTRY_AREA_BASE				\
  > 48		((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
    49	

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

Download attachment ".config.gz" of type "application/gzip" (29581 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ