From: kernel test robot <lkp@intel.com>
To: Jason Andryuk <jason.andryuk@amd.com>,
Juergen Gross <jgross@suse.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Brian Gerst <brgerst@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, xen-devel@lists.xenproject.org,
linux-kernel@vger.kernel.org,
Jason Andryuk <jason.andryuk@amd.com>
Subject: Re: [PATCH v2 5/5] x86/pvh: Add 64bit relocation page tables
Date: Fri, 16 Aug 2024 10:10:59 +0800 [thread overview]
Message-ID: <202408160915.PcKFvj8w-lkp@intel.com> (raw)
In-Reply-To: <20240814195053.5564-6-jason.andryuk@amd.com>
Hi Jason,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/x86/core]
[also build test ERROR on xen-tip/linux-next tip/master linus/master v6.11-rc3 next-20240815]
[cannot apply to tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jason-Andryuk/xen-sync-elfnote-h-from-xen-tree/20240815-035238
base: tip/x86/core
patch link: https://lore.kernel.org/r/20240814195053.5564-6-jason.andryuk%40amd.com
patch subject: [PATCH v2 5/5] x86/pvh: Add 64bit relocation page tables
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240816/202408160915.PcKFvj8w-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240816/202408160915.PcKFvj8w-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408160915.PcKFvj8w-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/pgtable_64.h:6,
from arch/x86/platform/pvh/head.S:19:
>> arch/x86/include/asm/pgtable_64_types.h:49: warning: "SHARED_KERNEL_PMD" redefined
49 | #define SHARED_KERNEL_PMD 0
|
In file included from arch/x86/include/asm/pgtable_32_types.h:11,
from arch/x86/include/asm/pgtable_types.h:275,
from arch/x86/include/asm/boot.h:6,
from arch/x86/platform/pvh/head.S:18:
arch/x86/include/asm/pgtable-3level_types.h:30: note: this is the location of the previous definition
30 | #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
|
arch/x86/include/asm/pgtable_64_types.h:75: warning: "PGDIR_SHIFT" redefined
75 | #define PGDIR_SHIFT 39
|
arch/x86/include/asm/pgtable-3level_types.h:37: note: this is the location of the previous definition
37 | #define PGDIR_SHIFT 30
|
>> arch/x86/include/asm/pgtable_64_types.h:76: warning: "PTRS_PER_PGD" redefined
76 | #define PTRS_PER_PGD 512
|
arch/x86/include/asm/pgtable-3level_types.h:38: note: this is the location of the previous definition
38 | #define PTRS_PER_PGD 4
|
arch/x86/include/asm/pgtable_64_types.h:99: warning: "PMD_SIZE" redefined
99 | #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
|
arch/x86/include/asm/pgtable_32_types.h:12: note: this is the location of the previous definition
12 | # define PMD_SIZE (1UL << PMD_SHIFT)
|
arch/x86/include/asm/pgtable_64_types.h:103: warning: "PGDIR_SIZE" redefined
103 | #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
arch/x86/include/asm/pgtable_32_types.h:20: note: this is the location of the previous definition
20 | #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
>> arch/x86/include/asm/pgtable_64_types.h:210: warning: "PGD_KERNEL_START" redefined
210 | #define PGD_KERNEL_START ((PAGE_SIZE / 2) / sizeof(pgd_t))
|
arch/x86/include/asm/pgtable-3level_types.h:53: note: this is the location of the previous definition
53 | #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
arch/x86/include/asm/pgtable_64.h: Assembler messages:
>> arch/x86/include/asm/pgtable_64.h:279: Error: invalid operands (*UND* and *ABS* sections) for `>>'
vim +279 arch/x86/include/asm/pgtable_64.h
09ef8f8e864fcb Jason Andryuk 2024-08-14 278
09ef8f8e864fcb Jason Andryuk 2024-08-14 @279 L4_PAGE_OFFSET = l4_index(__PAGE_OFFSET_BASE_L4)
09ef8f8e864fcb Jason Andryuk 2024-08-14 280 L4_START_KERNEL = l4_index(__START_KERNEL_map)
09ef8f8e864fcb Jason Andryuk 2024-08-14 281
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-08-16 2:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-14 19:50 [PATCH v2 0/5] x86/pvh: Make 64bit PVH entry relocatable Jason Andryuk
2024-08-14 19:50 ` [PATCH v2 1/5] xen: sync elfnote.h from xen tree Jason Andryuk
2024-08-14 19:50 ` [PATCH v2 2/5] x86/pvh: Make PVH entrypoint PIC for x86-64 Jason Andryuk
2024-08-14 19:50 ` [PATCH v2 3/5] x86/pvh: Set phys_base when calling xen_prepare_pvh() Jason Andryuk
2024-08-14 19:50 ` [PATCH v2 4/5] x86/kernel: Move page table macros to header Jason Andryuk
2024-08-15 7:07 ` Juergen Gross
2024-08-14 19:50 ` [PATCH v2 5/5] x86/pvh: Add 64bit relocation page tables Jason Andryuk
2024-08-15 22:55 ` kernel test robot
2024-08-16 1:39 ` kernel test robot
2024-08-16 2:10 ` kernel test robot [this message]
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=202408160915.PcKFvj8w-lkp@intel.com \
--to=lkp@intel.com \
--cc=boris.ostrovsky@oracle.com \
--cc=bp@alien8.de \
--cc=brgerst@gmail.com \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jason.andryuk@amd.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oleksandr_tyshchenko@epam.com \
--cc=pbonzini@redhat.com \
--cc=sstabellini@kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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