Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jürgen Groß
On 05.02.21 14:00, Jan Beulich wrote: On 05.02.2021 11:56, Jürgen Groß wrote: As we need to consider backports of processor bug mitigations in old guests, too, I think we need to have a "catch-all" fallback. Not being able to run an old updated guest until we add handling for a new MSR isn't a

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jan Beulich
On 05.02.2021 12:32, Andrew Cooper wrote: > On 05/02/2021 10:56, Jürgen Groß wrote: >> On 05.02.21 11:14, Jan Beulich wrote: >>> On 04.11.2020 11:50, Jan Beulich wrote: On 03.11.2020 18:31, Andrew Cooper wrote: > We should have the impacted MSRs handled explicitly, with a note > statin

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jan Beulich
On 05.02.2021 11:56, Jürgen Groß wrote: > As we need to consider backports of processor bug mitigations > in old guests, too, I think we need to have a "catch-all" > fallback. > > Not being able to run an old updated guest until we add handling > for a new MSR isn't a viable option IMO. I'm not s

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Roger Pau Monné
On Fri, Feb 05, 2021 at 11:32:07AM +, Andrew Cooper wrote: > On 05/02/2021 10:56, Jürgen Groß wrote: > > On 05.02.21 11:14, Jan Beulich wrote: > >> (simply re-sending what was sent over 2 months ago) > >> > >> On 04.11.2020 11:50, Jan Beulich wrote: > >>> On 03.11.2020 18:31, Andrew Cooper wrot

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jürgen Groß
On 05.02.21 12:32, Andrew Cooper wrote: On 05/02/2021 10:56, Jürgen Groß wrote: On 05.02.21 11:14, Jan Beulich wrote: (simply re-sending what was sent over 2 months ago) On 04.11.2020 11:50, Jan Beulich wrote: On 03.11.2020 18:31, Andrew Cooper wrote: On 03/11/2020 17:06, Jan Beulich wrote:

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Andrew Cooper
On 05/02/2021 10:56, Jürgen Groß wrote: > On 05.02.21 11:14, Jan Beulich wrote: >> (simply re-sending what was sent over 2 months ago) >> >> On 04.11.2020 11:50, Jan Beulich wrote: >>> On 03.11.2020 18:31, Andrew Cooper wrote: On 03/11/2020 17:06, Jan Beulich wrote: > Prior to 4.15 Linux,

Re: Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jürgen Groß
On 05.02.21 11:14, Jan Beulich wrote: (simply re-sending what was sent over 2 months ago) On 04.11.2020 11:50, Jan Beulich wrote: On 03.11.2020 18:31, Andrew Cooper wrote: On 03/11/2020 17:06, Jan Beulich wrote: Prior to 4.15 Linux, when running in PV mode, did not install a #GP handler early

Ping²: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2021-02-05 Thread Jan Beulich
(simply re-sending what was sent over 2 months ago) On 04.11.2020 11:50, Jan Beulich wrote: > On 03.11.2020 18:31, Andrew Cooper wrote: >> On 03/11/2020 17:06, Jan Beulich wrote: >>> Prior to 4.15 Linux, when running in PV mode, did not install a #GP >>> handler early enough to cover for example t

Ping: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2020-11-23 Thread Jan Beulich
On 04.11.2020 11:50, Jan Beulich wrote: > On 03.11.2020 18:31, Andrew Cooper wrote: >> On 03/11/2020 17:06, Jan Beulich wrote: >>> Prior to 4.15 Linux, when running in PV mode, did not install a #GP >>> handler early enough to cover for example the rdmsrl_safe() of >>> MSR_K8_TSEG_ADDR in bsp_init_

Re: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2020-11-04 Thread Jan Beulich
On 03.11.2020 18:31, Andrew Cooper wrote: > On 03/11/2020 17:06, Jan Beulich wrote: >> Prior to 4.15 Linux, when running in PV mode, did not install a #GP >> handler early enough to cover for example the rdmsrl_safe() of >> MSR_K8_TSEG_ADDR in bsp_init_amd() (not to speak of the unguarded read >> o

Re: [PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2020-11-03 Thread Andrew Cooper
On 03/11/2020 17:06, Jan Beulich wrote: > Prior to 4.15 Linux, when running in PV mode, did not install a #GP > handler early enough to cover for example the rdmsrl_safe() of > MSR_K8_TSEG_ADDR in bsp_init_amd() (not to speak of the unguarded read > of MSR_K7_HWCR later in the same function). The r

[PATCH] x86/PV: conditionally avoid raising #GP for early guest MSR accesses

2020-11-03 Thread Jan Beulich
Prior to 4.15 Linux, when running in PV mode, did not install a #GP handler early enough to cover for example the rdmsrl_safe() of MSR_K8_TSEG_ADDR in bsp_init_amd() (not to speak of the unguarded read of MSR_K7_HWCR later in the same function). The respective change (42b3a4cb5609 "x86/xen: Support