Stefano Stabellini 7bf9a6b465 arm/xen: fix xen_vcpu_info allocation alignment
xen_vcpu_info is a percpu area than needs to be mapped by Xen.
Currently, it could cross a page boundary resulting in Xen being unable
to map it:

[    0.567318] kernel BUG at arch/arm64/xen/../../arm/xen/enlighten.c:164!
[    0.574002] Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP

Fix the issue by using __alloc_percpu and requesting alignment for the
memory allocation.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>

Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2311221501340.2053963@ubuntu-linux-20-04-desktop
Fixes: 24d5373dda7c ("arm/xen: Use alloc_percpu rather than __alloc_percpu")
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2023-11-23 09:32:41 +01:00
..
2023-11-10 09:19:46 -08:00
2023-11-10 16:35:04 -08:00
2023-11-03 15:44:25 -10:00
2023-07-21 10:01:47 -07:00
2023-08-12 10:30:59 +02:00
2023-06-29 15:28:33 -07:00
2023-07-19 06:29:04 +00:00
2023-08-12 10:30:59 +02:00
2023-07-19 15:28:44 +08:00
2023-08-12 10:31:00 +02:00
2023-08-12 10:31:00 +02:00
2023-10-31 17:21:54 -10:00
2023-11-02 14:34:14 -10:00
2023-08-30 16:49:40 -07:00
2023-08-12 10:30:59 +02:00
2023-11-01 15:28:33 -10:00
2023-10-28 21:09:02 +09:00
2023-10-28 21:09:02 +09:00