[PATCH] kvm: powerpc: book3s: Disable preemption while accessing paca xics_phys filed
Denis Kirjanov
kirjanov at gmail.com
Wed Mar 29 19:54:01 AEDT 2017
> Can you tell me what actual problem (other than the warning) this is
> fixing?
Since we're running with CONFIG_DEBUG_PREEMPT and CONFIG_SMP
get_paca defined as:
#define get_paca() ((void) debug_smp_processor_id(), local_paca)
instead of direct access to r13 so it's possible that we're preempted
on a different CPU.
> cheers
>
--
Regards / Mit besten Grüßen,
Denis
More information about the Linuxppc-dev
mailing list