Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Jan Beulich
>>> On 01.03.18 at 12:46, wrote: > On 23/02/18 13:27, Roger Pau Monne wrote: >> Add a basic HPET functionality test, note that this test requires the >> HPET to support level triggered interrupts. >> >> Further improvements should add support for interrupt delivery, and >> testing all the availabl

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Andrew Cooper
On 23/02/18 13:27, Roger Pau Monne wrote: > Add a basic HPET functionality test, note that this test requires the > HPET to support level triggered interrupts. > > Further improvements should add support for interrupt delivery, and > testing all the available timers. > > Signed-off-by: Roger Pau Mo

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Jan Beulich
>>> On 01.03.18 at 11:14, wrote: > Hm, nice. Then I basically need to issue both a LFENCE and MFENCE > because I don't plan to introduce an alternatives framework to XTF > ATM. Or you could skip the test if you find LFENCE isn't serializing on AMD. After all the hypervisor now makes it serializin

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Roger Pau Monné
On Thu, Mar 01, 2018 at 03:04:29AM -0700, Jan Beulich wrote: > >>> On 01.03.18 at 10:55, wrote: > > On Wed, Feb 28, 2018 at 09:24:09AM -0700, Jan Beulich wrote: > >> >>> On 28.02.18 at 16:37, wrote: > >> > On Fri, Feb 23, 2018 at 07:07:18PM +, Wei Liu wrote: > >> >> On Fri, Feb 23, 2018 at 01

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Jan Beulich
>>> On 01.03.18 at 10:55, wrote: > On Wed, Feb 28, 2018 at 09:24:09AM -0700, Jan Beulich wrote: >> >>> On 28.02.18 at 16:37, wrote: >> > On Fri, Feb 23, 2018 at 07:07:18PM +, Wei Liu wrote: >> >> On Fri, Feb 23, 2018 at 01:27:43PM +, Roger Pau Monne wrote: >> >> > --- a/arch/x86/include/a

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-03-01 Thread Roger Pau Monné
On Wed, Feb 28, 2018 at 09:24:09AM -0700, Jan Beulich wrote: > >>> On 28.02.18 at 16:37, wrote: > > On Fri, Feb 23, 2018 at 07:07:18PM +, Wei Liu wrote: > >> On Fri, Feb 23, 2018 at 01:27:43PM +, Roger Pau Monne wrote: > >> > --- a/arch/x86/include/arch/lib.h > >> > +++ b/arch/x86/include/

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-02-28 Thread Jan Beulich
>>> On 28.02.18 at 16:37, wrote: > On Fri, Feb 23, 2018 at 07:07:18PM +, Wei Liu wrote: >> On Fri, Feb 23, 2018 at 01:27:43PM +, Roger Pau Monne wrote: >> > --- a/arch/x86/include/arch/lib.h >> > +++ b/arch/x86/include/arch/lib.h >> > @@ -392,6 +392,20 @@ static inline void write_xcr0(uint

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-02-28 Thread Roger Pau Monné
On Fri, Feb 23, 2018 at 07:07:18PM +, Wei Liu wrote: > On Fri, Feb 23, 2018 at 01:27:43PM +, Roger Pau Monne wrote: > > Add a basic HPET functionality test, note that this test requires the > > HPET to support level triggered interrupts. > > > > Further improvements should add support for

Re: [Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-02-23 Thread Wei Liu
On Fri, Feb 23, 2018 at 01:27:43PM +, Roger Pau Monne wrote: > Add a basic HPET functionality test, note that this test requires the > HPET to support level triggered interrupts. > > Further improvements should add support for interrupt delivery, and > testing all the available timers. > > Si

[Xen-devel] [PATCH RFC 3/3] xtf: add minimal HPET functionality test

2018-02-23 Thread Roger Pau Monne
Add a basic HPET functionality test, note that this test requires the HPET to support level triggered interrupts. Further improvements should add support for interrupt delivery, and testing all the available timers. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper --- arch/x86/include/arch