tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-5.10
head: 900aea7691ecf9b39e819be55f95a940c75cc3ac
commit: 36c5708fe6f882433a4915efa46f05ad58b52eb3 [48/49] arm64: mte: Allow
PTRACE_PEEKMTETAGS access to the zero page
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.10
git checkout 36c5708fe6f882433a4915efa46f05ad58b52eb3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> arch/arm64/kernel/cpufeature.c:1706:1: error: expected identifier
or '(' before '}' token
1706 | }
| ^
vim +1706 arch/arm64/kernel/cpufeature.c
8ef8f360cf30be Dave Martin 2020-03-16 1695
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1696 #ifdef CONFIG_ARM64_MTE
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1697 static void cpu_enable_mte(struct
arm64_cpu_capabilities const *cap)
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1698 {
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1699 /*
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1700 * Clear the tags in the zero page. This
needs to be done via the
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1701 * linear map which has the Tagged
attribute.
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1702 */
36c5708fe6f882 Catalin Marinas 2021-02-10 1703 if (!test_and_set_bit(PG_mte_tagged,
&ZERO_PAGE(0)->flags))
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1704
mte_clear_page_tags(lm_alias(empty_zero_page));
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1705 }
34bfeea4a9e9cd Catalin Marinas 2020-05-04 @1706 }
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1707 #endif /* CONFIG_ARM64_MTE */
34bfeea4a9e9cd Catalin Marinas 2020-05-04 1708
:::::: The code at line 1706 was first introduced by commit
:::::: 34bfeea4a9e9cdae713637541f240c3adfdfede3 arm64: mte: Clear the tags when a page is
mapped in user-space with PROT_MTE
:::::: TO: Catalin Marinas <catalin.marinas(a)arm.com>
:::::: CC: Catalin Marinas <catalin.marinas(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org