Re: [PATCH v3 07/22] x86/mtrr: expose functions for pausing caching

2025-07-07 Thread Jan Beulich
On 06.07.2025 19:34, Sergii Dmytruk wrote: > On Wed, Jul 02, 2025 at 04:57:12PM +0200, Jan Beulich wrote: >>> @@ -440,9 +436,10 @@ static DEFINE_SPINLOCK(set_atomicity_lock); >>> * has been called. >>> */ >>> >>> -static bool prepare_set(void) >>> +struct mtrr_pausing_state mtrr_pause_caching(v

Re: [PATCH v3 07/22] x86/mtrr: expose functions for pausing caching

2025-07-06 Thread Sergii Dmytruk
On Wed, Jul 02, 2025 at 04:57:12PM +0200, Jan Beulich wrote: > > @@ -440,9 +436,10 @@ static DEFINE_SPINLOCK(set_atomicity_lock); > > * has been called. > > */ > > > > -static bool prepare_set(void) > > +struct mtrr_pausing_state mtrr_pause_caching(void) > > These becoming non-static without be

Re: [PATCH v3 07/22] x86/mtrr: expose functions for pausing caching

2025-07-02 Thread Jan Beulich
On 30.05.2025 15:17, Sergii Dmytruk wrote: > This allows the functionality to be reused by other units that need to > update MTRRs. > > This also gets rid of a static variable. > > Signed-off-by: Sergii Dmytruk This may want to be split. > --- a/xen/arch/x86/cpu/mtrr/generic.c > +++ b/xen/arch

[PATCH v3 07/22] x86/mtrr: expose functions for pausing caching

2025-05-30 Thread Sergii Dmytruk
This allows the functionality to be reused by other units that need to update MTRRs. This also gets rid of a static variable. Signed-off-by: Sergii Dmytruk --- xen/arch/x86/cpu/mtrr/generic.c | 51 - xen/arch/x86/include/asm/mtrr.h | 8 ++ 2 files changed, 3