All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm64:for-next/ghostbusters 9/19] arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb'
@ 2020-09-25 15:23 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-09-25 15:23 UTC (permalink / raw)
  To: Will Deacon; +Cc: clang-built-linux, kbuild-all, linux-arm-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/ghostbusters
head:   9a313c5d65a5f10ddf605022e9220e52946326f0
commit: 13d4ca202f2cde01512b290eeaeee35938a7b351 [9/19] arm64: Rewrite Spectre-v2 mitigation code
config: arm64-randconfig-r023-20200920 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 6a6b06f5262bb96523eceef4a42fe8e60ae2a630)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=13d4ca202f2cde01512b290eeaeee35938a7b351
        git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
        git fetch --no-tags arm64 for-next/ghostbusters
        git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror,-Wimplicit-function-declaration]
           install_bp_hardening_cb(cb);
           ^
   arch/arm64/kernel/proton-pack.c:303:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror,-Wimplicit-function-declaration]
           install_bp_hardening_cb(qcom_link_stack_sanitisation);
           ^
   2 errors generated.

vim +/install_bp_hardening_cb +287 arch/arm64/kernel/proton-pack.c

   261	
   262	static enum mitigation_state spectre_v2_enable_fw_mitigation(void)
   263	{
   264		bp_hardening_cb_t cb;
   265		enum mitigation_state state;
   266	
   267		state = spectre_v2_get_cpu_fw_mitigation_state();
   268		if (state != SPECTRE_MITIGATED)
   269			return state;
   270	
   271		if (spectre_v2_mitigations_off())
   272			return SPECTRE_VULNERABLE;
   273	
   274		switch (arm_smccc_1_1_get_conduit()) {
   275		case SMCCC_CONDUIT_HVC:
   276			cb = call_hvc_arch_workaround_1;
   277			break;
   278	
   279		case SMCCC_CONDUIT_SMC:
   280			cb = call_smc_arch_workaround_1;
   281			break;
   282	
   283		default:
   284			return SPECTRE_VULNERABLE;
   285		}
   286	
 > 287		install_bp_hardening_cb(cb);
   288		return SPECTRE_MITIGATED;
   289	}
   290	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 46968 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [arm64:for-next/ghostbusters 9/19] arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb'
@ 2020-09-25 15:23 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-09-25 15:23 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/ghostbusters
head:   9a313c5d65a5f10ddf605022e9220e52946326f0
commit: 13d4ca202f2cde01512b290eeaeee35938a7b351 [9/19] arm64: Rewrite Spectre-v2 mitigation code
config: arm64-randconfig-r023-20200920 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 6a6b06f5262bb96523eceef4a42fe8e60ae2a630)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=13d4ca202f2cde01512b290eeaeee35938a7b351
        git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
        git fetch --no-tags arm64 for-next/ghostbusters
        git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror,-Wimplicit-function-declaration]
           install_bp_hardening_cb(cb);
           ^
   arch/arm64/kernel/proton-pack.c:303:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror,-Wimplicit-function-declaration]
           install_bp_hardening_cb(qcom_link_stack_sanitisation);
           ^
   2 errors generated.

vim +/install_bp_hardening_cb +287 arch/arm64/kernel/proton-pack.c

   261	
   262	static enum mitigation_state spectre_v2_enable_fw_mitigation(void)
   263	{
   264		bp_hardening_cb_t cb;
   265		enum mitigation_state state;
   266	
   267		state = spectre_v2_get_cpu_fw_mitigation_state();
   268		if (state != SPECTRE_MITIGATED)
   269			return state;
   270	
   271		if (spectre_v2_mitigations_off())
   272			return SPECTRE_VULNERABLE;
   273	
   274		switch (arm_smccc_1_1_get_conduit()) {
   275		case SMCCC_CONDUIT_HVC:
   276			cb = call_hvc_arch_workaround_1;
   277			break;
   278	
   279		case SMCCC_CONDUIT_SMC:
   280			cb = call_smc_arch_workaround_1;
   281			break;
   282	
   283		default:
   284			return SPECTRE_VULNERABLE;
   285		}
   286	
 > 287		install_bp_hardening_cb(cb);
   288		return SPECTRE_MITIGATED;
   289	}
   290	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 46968 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [arm64:for-next/ghostbusters 9/19] arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb'
@ 2020-09-22  2:31 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-09-22  2:31 UTC (permalink / raw)
  To: Will Deacon; +Cc: kbuild-all, linux-arm-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/ghostbusters
head:   9a313c5d65a5f10ddf605022e9220e52946326f0
commit: 13d4ca202f2cde01512b290eeaeee35938a7b351 [9/19] arm64: Rewrite Spectre-v2 mitigation code
config: arm64-randconfig-r005-20200920 (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
        git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
        # 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@intel.com>

All errors (new ones prefixed by >>):

   arch/arm64/kernel/proton-pack.c: In function 'spectre_v2_enable_fw_mitigation':
>> arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror=implicit-function-declaration]
     287 |  install_bp_hardening_cb(cb);
         |  ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

# https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=13d4ca202f2cde01512b290eeaeee35938a7b351
git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
git fetch --no-tags arm64 for-next/ghostbusters
git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
vim +/install_bp_hardening_cb +287 arch/arm64/kernel/proton-pack.c

   261	
   262	static enum mitigation_state spectre_v2_enable_fw_mitigation(void)
   263	{
   264		bp_hardening_cb_t cb;
   265		enum mitigation_state state;
   266	
   267		state = spectre_v2_get_cpu_fw_mitigation_state();
   268		if (state != SPECTRE_MITIGATED)
   269			return state;
   270	
   271		if (spectre_v2_mitigations_off())
   272			return SPECTRE_VULNERABLE;
   273	
   274		switch (arm_smccc_1_1_get_conduit()) {
   275		case SMCCC_CONDUIT_HVC:
   276			cb = call_hvc_arch_workaround_1;
   277			break;
   278	
   279		case SMCCC_CONDUIT_SMC:
   280			cb = call_smc_arch_workaround_1;
   281			break;
   282	
   283		default:
   284			return SPECTRE_VULNERABLE;
   285		}
   286	
 > 287		install_bp_hardening_cb(cb);
   288		return SPECTRE_MITIGATED;
   289	}
   290	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37494 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [arm64:for-next/ghostbusters 9/19] arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb'
@ 2020-09-22  2:31 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-09-22  2:31 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/ghostbusters
head:   9a313c5d65a5f10ddf605022e9220e52946326f0
commit: 13d4ca202f2cde01512b290eeaeee35938a7b351 [9/19] arm64: Rewrite Spectre-v2 mitigation code
config: arm64-randconfig-r005-20200920 (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
        git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
        # 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@intel.com>

All errors (new ones prefixed by >>):

   arch/arm64/kernel/proton-pack.c: In function 'spectre_v2_enable_fw_mitigation':
>> arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb' [-Werror=implicit-function-declaration]
     287 |  install_bp_hardening_cb(cb);
         |  ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

# https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=13d4ca202f2cde01512b290eeaeee35938a7b351
git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
git fetch --no-tags arm64 for-next/ghostbusters
git checkout 13d4ca202f2cde01512b290eeaeee35938a7b351
vim +/install_bp_hardening_cb +287 arch/arm64/kernel/proton-pack.c

   261	
   262	static enum mitigation_state spectre_v2_enable_fw_mitigation(void)
   263	{
   264		bp_hardening_cb_t cb;
   265		enum mitigation_state state;
   266	
   267		state = spectre_v2_get_cpu_fw_mitigation_state();
   268		if (state != SPECTRE_MITIGATED)
   269			return state;
   270	
   271		if (spectre_v2_mitigations_off())
   272			return SPECTRE_VULNERABLE;
   273	
   274		switch (arm_smccc_1_1_get_conduit()) {
   275		case SMCCC_CONDUIT_HVC:
   276			cb = call_hvc_arch_workaround_1;
   277			break;
   278	
   279		case SMCCC_CONDUIT_SMC:
   280			cb = call_smc_arch_workaround_1;
   281			break;
   282	
   283		default:
   284			return SPECTRE_VULNERABLE;
   285		}
   286	
 > 287		install_bp_hardening_cb(cb);
   288		return SPECTRE_MITIGATED;
   289	}
   290	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37494 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-25 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 15:23 [arm64:for-next/ghostbusters 9/19] arch/arm64/kernel/proton-pack.c:287:2: error: implicit declaration of function 'install_bp_hardening_cb' kernel test robot
2020-09-25 15:23 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22  2:31 kernel test robot
2020-09-22  2:31 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.