From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [joro:sev-es-client-v5.6-rc1 60/62] arch/x86/kernel/sev-es.c:296:26: error: 'native_play_dead' undeclared
Date: Wed, 12 Feb 2020 06:23:06 +0800 [thread overview]
Message-ID: <202002120643.BiqUnqsH%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-02-11 22:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002120643.BiqUnqsH%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.