* arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
@ 2023-08-22 7:27 kernel test robot
2023-08-22 10:30 ` Jarkko Sakkinen
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2023-08-22 7:27 UTC (permalink / raw)
To: Sean Christopherson
Cc: oe-kbuild-all, linux-kernel, Borislav Petkov, Serge Ayoun,
Jarkko Sakkinen
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f7757129e3dea336c407551c98f50057c22bb266
commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections
date: 2 years, 9 months ago
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230822/202308221542.11UpkVfp-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230822/202308221542.11UpkVfp-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/202308221542.11UpkVfp-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'
vim +124 arch/x86/kernel/cpu/sgx/main.c
117
118 /**
119 * A section metric is concatenated in a way that @low bits 12-31 define the
120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the
121 * metric.
122 */
123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
> 124 {
125 return (low & GENMASK_ULL(31, 12)) +
126 ((high & GENMASK_ULL(19, 0)) << 32);
127 }
128
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
2023-08-22 7:27 arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric' kernel test robot
@ 2023-08-22 10:30 ` Jarkko Sakkinen
0 siblings, 0 replies; 4+ messages in thread
From: Jarkko Sakkinen @ 2023-08-22 10:30 UTC (permalink / raw)
To: kernel test robot, Sean Christopherson
Cc: oe-kbuild-all, linux-kernel, Borislav Petkov, Serge Ayoun
On Tue Aug 22, 2023 at 10:27 AM EEST, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: f7757129e3dea336c407551c98f50057c22bb266
> commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections
> date: 2 years, 9 months ago
> config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230822/202308221542.11UpkVfp-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20230822/202308221542.11UpkVfp-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/202308221542.11UpkVfp-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> >> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
> >> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'
>
>
> vim +124 arch/x86/kernel/cpu/sgx/main.c
>
> 117
> 118 /**
> 119 * A section metric is concatenated in a way that @low bits 12-31 define the
> 120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the
> 121 * metric.
> 122 */
> 123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
> > 124 {
> 125 return (low & GENMASK_ULL(31, 12)) +
> 126 ((high & GENMASK_ULL(19, 0)) << 32);
> 127 }
> 128
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
https://lkml.org/lkml/2023/8/22/379
BR, Jarkko
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
@ 2023-11-05 22:56 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-11-05 22:56 UTC (permalink / raw)
To: Sean Christopherson
Cc: oe-kbuild-all, linux-kernel, Borislav Petkov, Serge Ayoun,
Jarkko Sakkinen
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3
commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections
date: 3 years ago
config: x86_64-randconfig-004-20230909 (https://download.01.org/0day-ci/archive/20231106/202311060610.IeqWTTWK-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/20231106/202311060610.IeqWTTWK-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/202311060610.IeqWTTWK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: expecting prototype for A section metric is concatenated in a way that @low bits 12(). Prototype was for sgx_calc_section_metric() instead
vim +124 arch/x86/kernel/cpu/sgx/main.c
117
118 /**
119 * A section metric is concatenated in a way that @low bits 12-31 define the
120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the
121 * metric.
122 */
123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
> 124 {
125 return (low & GENMASK_ULL(31, 12)) +
126 ((high & GENMASK_ULL(19, 0)) << 32);
127 }
128
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread* arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
@ 2024-01-06 18:35 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-01-06 18:35 UTC (permalink / raw)
To: Sean Christopherson
Cc: llvm, oe-kbuild-all, linux-kernel, Borislav Petkov, Serge Ayoun,
Jarkko Sakkinen
Hi Sean,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 95c8a35f1c017327eab3b6a2ff5c04255737c856
commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections
date: 3 years, 2 months ago
config: x86_64-buildonly-randconfig-006-20240105 (https://download.01.org/0day-ci/archive/20240107/202401070210.pQcalZHm-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240107/202401070210.pQcalZHm-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/202401070210.pQcalZHm-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: expecting prototype for A section metric is concatenated in a way that @low bits 12(). Prototype was for sgx_calc_section_metric() instead
vim +124 arch/x86/kernel/cpu/sgx/main.c
117
118 /**
119 * A section metric is concatenated in a way that @low bits 12-31 define the
120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the
121 * metric.
122 */
123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
> 124 {
125 return (low & GENMASK_ULL(31, 12)) +
126 ((high & GENMASK_ULL(19, 0)) << 32);
127 }
128
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-06 18:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 7:27 arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric' kernel test robot
2023-08-22 10:30 ` Jarkko Sakkinen
-- strict thread matches above, loose matches on Subject: below --
2023-11-05 22:56 kernel test robot
2024-01-06 18:35 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox