Re: [Xen-devel] [PATCH v6 8/9] xen/x86: add some cr3 helpers

2018-04-10 Thread Jan Beulich
>>> On 10.04.18 at 09:58, wrote: > --- a/xen/include/asm-x86/processor.h > +++ b/xen/include/asm-x86/processor.h > @@ -288,6 +288,16 @@ static inline void write_cr3(unsigned long val) > asm volatile ( "mov %0, %%cr3" : : "r" (val) : "memory" ); > } > > +static inline

[Xen-devel] [PATCH v6 8/9] xen/x86: add some cr3 helpers

2018-04-10 Thread Juergen Gross
Add some helper macros to access the address and pcid parts of cr3. Use those helpers where appropriate. Signed-off-by: Juergen Gross --- V6: - new patch (Andrew Cooper) --- xen/arch/x86/debug.c| 2 +- xen/arch/x86/domain_page.c | 2 +-