Re: [Xen-devel] [PATCH 09/11] x86: Fix merging of new status bits into %dr6

2018-06-08 Thread Jan Beulich
>>> On 04.06.18 at 15:59, wrote: > The current logic used to update %dr6 when injecting #DB is buggy. The > architectural behaviour is to overwrite B{0..3} (rather than accumulate) and > accumulate all other bits. > > Introduce a new merge_dr6() helper, which also takes care of handing RTM >

Re: [Xen-devel] [PATCH 09/11] x86: Fix merging of new status bits into %dr6

2018-06-06 Thread Roger Pau Monné
On Mon, Jun 04, 2018 at 02:59:13PM +0100, Andrew Cooper wrote: > The current logic used to update %dr6 when injecting #DB is buggy. The > architectural behaviour is to overwrite B{0..3} (rather than accumulate) and > accumulate all other bits. > > Introduce a new merge_dr6() helper, which also

[Xen-devel] [PATCH 09/11] x86: Fix merging of new status bits into %dr6

2018-06-04 Thread Andrew Cooper
The current logic used to update %dr6 when injecting #DB is buggy. The architectural behaviour is to overwrite B{0..3} (rather than accumulate) and accumulate all other bits. Introduce a new merge_dr6() helper, which also takes care of handing RTM correctly. Signed-off-by: Andrew Cooper ---