* [joro:sev-es-client-v5.6-rc1 60/62] arch/x86/kernel/sev-es.c:296:26: error: 'native_play_dead' undeclared
@ 2020-02-11 22:23 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-11 22:23 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2556 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-client-v5.6-rc1
head: 12f30df5e3e9037d01b41fa676867672c2e02519
commit: 6a6bb8dd8a60d8265081bb1a5f89ecc530eef048 [60/62] x86/sev-es: Support CPU offline/online
config: x86_64-randconfig-a002-20200212 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout 6a6bb8dd8a60d8265081bb1a5f89ecc530eef048
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/sev-es.c: In function 'encrypted_state_init_ghcbs':
arch/x86/kernel/sev-es.c:315:2: error: 'smp_ops' undeclared (first use in this function)
smp_ops.play_dead = sev_es_play_dead;
^~~~~~~
arch/x86/kernel/sev-es.c:315:2: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kernel/sev-es.c:296:26: error: 'native_play_dead' undeclared (first use in this function)
#define sev_es_play_dead native_play_dead
^
arch/x86/kernel/sev-es.c:315:22: note: in expansion of macro 'sev_es_play_dead'
smp_ops.play_dead = sev_es_play_dead;
^~~~~~~~~~~~~~~~
vim +/native_play_dead +296 arch/x86/kernel/sev-es.c
279
280 void sev_es_play_dead(void)
281 {
282 play_dead_common();
283
284 /* IRQs now disabled */
285
286 sev_es_ap_hlt_loop();
287
288 /*
289 * If we get here, the VCPU was woken up again. Jump to CPU
290 * startup code to get it back online.
291 */
292
293 start_cpu();
294 }
295 #else /* CONFIG_HOTPLUG_CPU */
> 296 #define sev_es_play_dead native_play_dead
297 #endif /* CONFIG_HOTPLUG_CPU */
298
299 void encrypted_state_init_ghcbs(void)
300 {
301 int cpu;
302
303 if (!sev_es_active())
304 return;
305
306 /* Initialize per-cpu GHCB pages */
307 for_each_possible_cpu(cpu) {
308 struct ghcb *ghcb = &per_cpu(ghcb_page, cpu);
309
310 set_memory_decrypted((unsigned long)ghcb,
311 sizeof(ghcb_page) >> PAGE_SHIFT);
312 memset(ghcb, 0, sizeof(*ghcb));
313 }
314
> 315 smp_ops.play_dead = sev_es_play_dead;
316 }
317
---
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: 33881 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-11 22:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-11 22:23 [joro:sev-es-client-v5.6-rc1 60/62] arch/x86/kernel/sev-es.c:296:26: error: 'native_play_dead' undeclared kbuild 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.