Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-11-02 Thread Matwey V. Kornilov
I've added Yann and Michal to the discussion. The issue is that we have hostprogs-y := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test in Documentation/prctl/Makefile and disable-tsc-ctxt-sw-stress-test has x86 assembler inside and must be restricted only to this

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-11-02 Thread Alexander Graf
On 02.11.14 08:46, Matwey V. Kornilov wrote: > I wish I knew. We need KBuild guru to ask how to take into account > host architecture. Hrm. At least this patch makes things more consistent with the other Documentation makefiles: Documentation/timers/Makefile:hostprogs-$(CONFIG_X86) := hpet_exam

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-11-02 Thread Matwey V. Kornilov
I wish I knew. We need KBuild guru to ask how to take into account host architecture. 2014-11-02 0:16 GMT+03:00 Alexander Graf : > > > On 01.11.14 13:03, Matwey V. Kornilov wrote: >> 28.10.2014 16:12, Alexander Graf пишет: >>> >>> >>> Am 28.10.2014 um 13:47 schrieb Jonathan Corbet : >>>

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-11-01 Thread Alexander Graf
On 01.11.14 13:03, Matwey V. Kornilov wrote: > 28.10.2014 16:12, Alexander Graf пишет: >> >> >> >>> Am 28.10.2014 um 13:47 schrieb Jonathan Corbet : >>> >>> On Mon, 27 Oct 2014 20:07:51 -0400 >>> Peter Foley wrote: >>> > The prctl test code in Documentation/ tries to show how to > use a

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-11-01 Thread Matwey V. Kornilov
28.10.2014 16:12, Alexander Graf пишет: > > > >> Am 28.10.2014 um 13:47 schrieb Jonathan Corbet : >> >> On Mon, 27 Oct 2014 20:07:51 -0400 >> Peter Foley wrote: >> The prctl test code in Documentation/ tries to show how to use a call that only makes sense on x86. Restrict it there >>>

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-10-28 Thread Alexander Graf
> Am 28.10.2014 um 13:47 schrieb Jonathan Corbet : > > On Mon, 27 Oct 2014 20:07:51 -0400 > Peter Foley wrote: > >>> The prctl test code in Documentation/ tries to show how to >>> use a call that only makes sense on x86. Restrict it there >>> so that other platforms don't try to call asm("rdt

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-10-28 Thread Jonathan Corbet
On Mon, 27 Oct 2014 20:07:51 -0400 Peter Foley wrote: > > The prctl test code in Documentation/ tries to show how to > > use a call that only makes sense on x86. Restrict it there > > so that other platforms don't try to call asm("rdtsc"). > > > > Signed-off-by: Alexander Graf > > Acked-by: P

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-10-27 Thread Peter Foley
On Mon, Oct 27, 2014 at 8:03 PM, Alexander Graf wrote: > The prctl test code in Documentation/ tries to show how to > use a call that only makes sense on x86. Restrict it there > so that other platforms don't try to call asm("rdtsc"). > > Signed-off-by: Alexander Graf Acked-by: Peter Foley -- T

[PATCH] Documentation: Restrict TSC test code to x86

2014-10-27 Thread Alexander Graf
The prctl test code in Documentation/ tries to show how to use a call that only makes sense on x86. Restrict it there so that other platforms don't try to call asm("rdtsc"). Signed-off-by: Alexander Graf --- Documentation/prctl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff