]> www.infradead.org Git - users/dwmw2/linux.git/commit
xen: fix multicall debug data referencing
authorJuergen Gross <jgross@suse.com>
Mon, 15 Jul 2024 07:47:08 +0000 (09:47 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 23 Jul 2024 10:23:20 +0000 (12:23 +0200)
commit368990a7fe30737c990f628a60d26d9854a9e690
tree3af63590ddc994168d08568094fb7e1637c1e504
parent9fe6a8c5b247e182c1781556794324a8e26a7cd3
xen: fix multicall debug data referencing

The recent adding of multicall debug mixed up the referencing of
the debug data. A __percpu tagged pointer can't be initialized with a
plain pointer, so use another percpu variable for the pointer and set
it on each new cpu via a function.

Fixes: 942d917cb92a ("xen: make multicall debug boot time selectable")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407151106.5s7Mnfpz-lkp@intel.com/
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/multicalls.c
arch/x86/xen/smp_pv.c
arch/x86/xen/xen-ops.h