Re: [Patch v1] Bug fix - Integer overflow when cpu frequency > u32 max value.

2022-12-18 Thread Jan Beulich
On 17.12.2022 21:17, Elliott Mitchell wrote: > Note to Xen and Linux distribution maintainers: I suggest this needs a > point release of Xen. A large processor manufacturer has recently > released such a processor. A great number of people are going to be > rather unhappy in short order without t

Re: [Patch v1] Bug fix - Integer overflow when cpu frequency > u32 max value.

2022-12-18 Thread Jan Beulich
On 18.12.2022 01:18, Andrew Cooper wrote: > On 17/12/2022 5:42 pm, Neowutran wrote: >> diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c >> index b01acd390d..7c77ec8902 100644 >> --- a/xen/arch/x86/time.c >> +++ b/xen/arch/x86/time.c >> @@ -2585,7 +2585,7 @@ int tsc_set_info(struct domain *d,

Re: [Patch v1] Bug fix - Integer overflow when cpu frequency > u32 max value.

2022-12-17 Thread Andrew Cooper
On 17/12/2022 5:42 pm, Neowutran wrote: > diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c > index b01acd390d..7c77ec8902 100644 > --- a/xen/arch/x86/time.c > +++ b/xen/arch/x86/time.c > @@ -2585,7 +2585,7 @@ int tsc_set_info(struct domain *d, > case TSC_MODE_ALWAYS_EMULATE: > d

Re: [Patch v1] Bug fix - Integer overflow when cpu frequency > u32 max value.

2022-12-17 Thread Elliott Mitchell
On Sat, Dec 17, 2022 at 06:42:05PM +0100, Neowutran wrote: > xen/arch/x86/time.c: Bug fix - Integer overflow when cpu frequency > u32 max > value. > > What is was trying to do: I was trying to install QubesOS on my new computer > (AMD zen4 processor). Guest VM were unusably slow / unusable. > >

[Patch v1] Bug fix - Integer overflow when cpu frequency > u32 max value.

2022-12-17 Thread Neowutran
xen/arch/x86/time.c: Bug fix - Integer overflow when cpu frequency > u32 max value. What is was trying to do: I was trying to install QubesOS on my new computer (AMD zen4 processor). Guest VM were unusably slow / unusable. What is the issue: The cpu frequency reported is wrong for linux guest in