tree: https://github.com/hnaz/linux-mm master head: 5d9ee416b5701096536c7a63c04dbe25012baa9e commit: 7cb12f5cc10e701db5b74272c313fc71908d818a [294/340] linux-next-git-rejects config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 7cb12f5cc10e701db5b74272c313fc71908d818a # save the attached .config to linux build tree GCC_VERSION=9.2.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/arm64/mm/context.c:266:1: error: expected identifier or '(' before '{' token 266 | { | ^ vim +266 arch/arm64/mm/context.c 21fec3084a2f24 Andrew Morton 2020-03-10 265 21fec3084a2f24 Andrew Morton 2020-03-10 @266 { 21fec3084a2f24 Andrew Morton 2020-03-10 267 unsigned long ttbr1 = read_sysreg(ttbr1_el1); 21fec3084a2f24 Andrew Morton 2020-03-10 268 unsigned long asid = ASID(mm); 21fec3084a2f24 Andrew Morton 2020-03-10 269 unsigned long ttbr0 = phys_to_ttbr(pgd_phys); 21fec3084a2f24 Andrew Morton 2020-03-10 270 21fec3084a2f24 Andrew Morton 2020-03-10 271 /* Skip CNP for the reserved ASID */ 21fec3084a2f24 Andrew Morton 2020-03-10 272 if (system_supports_cnp() && asid) 21fec3084a2f24 Andrew Morton 2020-03-10 273 ttbr0 |= TTBR_CNP_BIT; 21fec3084a2f24 Andrew Morton 2020-03-10 274 21fec3084a2f24 Andrew Morton 2020-03-10 275 /* SW PAN needs a copy of the ASID in TTBR0 for entry */ 21fec3084a2f24 Andrew Morton 2020-03-10 276 if (IS_ENABLED(CONFIG_ARM64_SW_TTBR0_PAN)) 21fec3084a2f24 Andrew Morton 2020-03-10 277 ttbr0 |= FIELD_PREP(TTBR_ASID_MASK, asid); 21fec3084a2f24 Andrew Morton 2020-03-10 278 21fec3084a2f24 Andrew Morton 2020-03-10 279 /* Set ASID in TTBR1 since TCR.A1 is set */ 21fec3084a2f24 Andrew Morton 2020-03-10 280 ttbr1 &= ~TTBR_ASID_MASK; 21fec3084a2f24 Andrew Morton 2020-03-10 281 ttbr1 |= FIELD_PREP(TTBR_ASID_MASK, asid); 21fec3084a2f24 Andrew Morton 2020-03-10 282 21fec3084a2f24 Andrew Morton 2020-03-10 283 write_sysreg(ttbr1, ttbr1_el1); 21fec3084a2f24 Andrew Morton 2020-03-10 284 isb(); 21fec3084a2f24 Andrew Morton 2020-03-10 285 write_sysreg(ttbr0, ttbr0_el1); 21fec3084a2f24 Andrew Morton 2020-03-10 286 isb(); 21fec3084a2f24 Andrew Morton 2020-03-10 287 post_ttbr_update_workaround(); 95e3de3590e3f2 Marc Zyngier 2018-01-02 288 } 95e3de3590e3f2 Marc Zyngier 2018-01-02 289 :::::: The code at line 266 was first introduced by commit :::::: 21fec3084a2f249b381d729e38376fbea0554651 linux-next :::::: TO: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Johannes Weiner <hannes@xxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip