Add 32 bit VDSO time function support

2014-03-03 Thread Stefani Seibold
Hi, i want ask if there is a change to bring the patch back to tip? As requested the glibc patch is now available at http://seibold.net/glibc.patch Any idea how to bring this patch into glibc? Is the process similar to the kernel? - Stefani -- To unsubscribe from this list: send the line

Re: Add 32 bit VDSO time function support

2014-03-04 Thread Stefani Seibold
Am Montag, den 03.03.2014, 23:20 -0800 schrieb H. Peter Anvin: Pretty much... contact the glibc maintainers. However, with glibc being a GNU project you will have to sign a copyright transfer. On March 3, 2014 11:02:08 PM PST, Stefani Seibold stef...@seibold.net wrote: Hi, i want ask

Ping: Add 32 bit VDSO time function support

2014-03-04 Thread Stefani Seibold
Hi, again i want ask if there is a change to bring the patch back to tip and/or linux next? I also need a review of [Patch v22 10/12] x86: Add 32 bit VDSO time support for 64 bit kernel. Some more tests and acked-by would be also fine :-) Till the 32 bit VDSO time functions are not in the

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-06 Thread Stefani Seibold
:38 +0800 schrieb Fengguang Wu: Hi Stefani, I got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/vdso commit 4dea8e4824b363c53f320d328040d7c6c5921419 Author: Stefani Seibold stef...@seibold.net AuthorDate: Mon Mar 3 22:12:20

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-07 Thread Stefani Seibold
cannot pay the invoice). Also i get no support by people who ask me to do this work. I am really pissed of. - Stefani Am Freitag, den 07.03.2014, 17:15 +0800 schrieb Fengguang Wu: Hi Stefani, On Fri, Mar 07, 2014 at 09:47:14AM +0100, Stefani Seibold wrote: Hi Fengguang, i was now able

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-07 Thread Stefani Seibold
Am Freitag, den 07.03.2014, 18:21 +0800 schrieb Fengguang Wu: Hi Stefani, On Fri, Mar 07, 2014 at 10:57:28AM +0100, Stefani Seibold wrote: Hi Fengguang, did you test the config i had sent to you? My test was all done with current 3.14-rc tree. And with this i have no problem

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-07 Thread Stefani Seibold
Am Freitag, den 07.03.2014, 10:56 -0800 schrieb Andy Lutomirski: On Thu, Mar 6, 2014 at 11:21 PM, Stefani Seibold stef...@seibold.net wrote: Hi Fengguang, i have build a kernel with the config, but my kvm is unable to start it. I will try to find a way to test your kernek config. One

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Stefani Seibold
Am Samstag, den 08.03.2014, 07:44 +0800 schrieb Fengguang Wu: Hi Stefani, So i tried my best, but without support it is impossible to find all issues. But mostly what i get was bureaucracy afflictions I complied, but now it is time to help finding the issues. And not only do a

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Stefani Seibold
Am Freitag, den 07.03.2014, 15:07 -0800 schrieb Andy Lutomirski: On Fri, Mar 7, 2014 at 1:53 PM, Stefani Seibold stef...@seibold.net wrote: Am Freitag, den 07.03.2014, 10:56 -0800 schrieb Andy Lutomirski: On Thu, Mar 6, 2014 at 11:21 PM, Stefani Seibold stef...@seibold.net wrote: Hi

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-10 Thread Stefani Seibold
Am Montag, den 10.03.2014, 10:12 -0700 schrieb Andy Lutomirski: On Mon, Mar 10, 2014 at 8:11 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Mar 10, 2014 8:01 AM, H. Peter Anvin h...@linux.intel.com wrote: I have mentioned in the past wanting to move the fixmap to the low part

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-12 Thread Stefani Seibold
Am Dienstag, den 11.03.2014, 10:09 -0700 schrieb Linus Torvalds: On Tue, Mar 11, 2014 at 9:50 AM, Andy Lutomirski l...@amacapital.net wrote: Looking forward, would it be reasonable to have an extensible set of flags that live in the ELF interpreter's headers somewhere No. Not reasonable.

Re: [PATCH v15 0/10] Add 32 bit VDSO time function support

2014-02-13 Thread Stefani Seibold
Am Donnerstag, den 13.02.2014, 22:47 -0800 schrieb H. Peter Anvin: Hi, I tried this patchset, but it fails to compile on i386 make allyesconfig. -hpa I tried make allyseconfig on my i386, but the resulting config will always set CONFIG_X86_64=y, so it fails with

[PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-14 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v16 07/10] introduce VVAR marco for vdso32

2014-02-14 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h

[PATCH v16 06/10] cleanup __vdso_gettimeofday

2014-02-14 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2

[PATCH v16 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-14 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold stef...@seibold.net

[PATCH v16 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-14 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso

[PATCH v16 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-14 Thread Stefani Seibold
bit address space. This will be done with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct. Signed-off-by: Stefani Seibold stef...@seibold.net --- include/linux/mm.h | 3 +++ mm/mmap.c | 20 2 files changed, 19 insertions(+), 4 deletions

[PATCH v16 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-14 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vdso.h | 3

[PATCH v16 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-14 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86

[PATCH v16 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-14 Thread Stefani Seibold
for 32- and 64-bit access - The inner struct clock was removed to pack the whole struct. The unsigned seq would be handled by functions derivated from seqcount_t. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vgtod.h | 69

[PATCH v16 03/10] revamp vclock_gettime.c

2014-02-14 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 85

Re: [PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-15 Thread Stefani Seibold
Am Freitag, den 14.02.2014, 14:32 -0800 schrieb H. Peter Anvin: I still get build errors. Oops, i did it again... i386 allyesconfig, i386 allmodconfig as well as a more basic i386 configuration: arch/x86/vdso/vdso32-int80.so.dbg: undefined symbols found make[4]: ***

Re: [PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-15 Thread Stefani Seibold
Am Freitag, den 14.02.2014, 14:40 -0800 schrieb Andy Lutomirski: On Fri, Feb 14, 2014 at 12:52 AM, Stefani Seibold stef...@seibold.net wrote: This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. Is there any chance you can shove

[PATCH v17 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-15 Thread Stefani Seibold
bit address space. This will be done with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct. Signed-off-by: Stefani Seibold stef...@seibold.net --- include/linux/mm.h | 3 +++ mm/mmap.c | 20 2 files changed, 19 insertions(+), 4 deletions

[PATCH v17 06/10] cleanup __vdso_gettimeofday

2014-02-15 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2

[PATCH v17 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-15 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold stef...@seibold.net

[PATCH v17 0/10] Add 32 bit VDSO time function support

2014-02-15 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v17 07/10] introduce VVAR marco for vdso32

2014-02-15 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h

[PATCH v17 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-15 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vdso.h | 3

[PATCH v17 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-15 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86

[PATCH v17 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-15 Thread Stefani Seibold
for 32- and 64-bit access - The inner struct clock was removed to pack the whole struct. The unsigned seq would be handled by functions derivated from seqcount_t. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vgtod.h | 69

[PATCH v17 03/10] revamp vclock_gettime.c

2014-02-15 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 85

[PATCH v17 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-15 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso

Re: [PATCH v17 0/10] Add 32 bit VDSO time function support

2014-02-15 Thread Stefani Seibold
Am Samstag, den 15.02.2014, 20:14 -0800 schrieb H. Peter Anvin: On 02/15/2014 08:32 AM, Stefani Seibold wrote: This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. x86-64 allyesconfig: AS arch/x86/vdso/vdso32/int80.o /home

Re: [PATCH v17 0/10] Add 32 bit VDSO time function support

2014-02-16 Thread Stefani Seibold
Am Samstag, den 15.02.2014, 20:14 -0800 schrieb H. Peter Anvin: On 02/15/2014 08:32 AM, Stefani Seibold wrote: This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. x86-64 allyesconfig: AS arch/x86/vdso/vdso32/int80.o /home

[PATCH v18 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-16 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86

[PATCH v18 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-16 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vdso.h | 3

[PATCH v18 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-16 Thread Stefani Seibold
bit address space. This will be done with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct. Signed-off-by: Stefani Seibold stef...@seibold.net --- include/linux/mm.h | 3 +++ mm/mmap.c | 20 2 files changed, 19 insertions(+), 4 deletions

[PATCH v18 06/10] cleanup __vdso_gettimeofday

2014-02-16 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2

[PATCH v18 07/10] introduce VVAR marco for vdso32

2014-02-16 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h

[PATCH v18 03/10] revamp vclock_gettime.c

2014-02-16 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 85

[PATCH v18 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-16 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso

[PATCH v18 0/10] Add 32 bit VDSO time function support

2014-02-16 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v18 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-16 Thread Stefani Seibold
for 32- and 64-bit access - The inner struct clock was removed to pack the whole struct. The unsigned seq would be handled by functions derivated from seqcount_t. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vgtod.h | 69

[PATCH v18 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-16 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold stef...@seibold.net

Re: [tip:x86/vdso] x86, vdso: Instead of dummy functions, include linux/spinlock_up.h

2014-02-16 Thread Stefani Seibold
Hi Peter, Am Sonntag, den 16.02.2014, 20:06 -0800 schrieb H. Peter Anvin: On 02/16/2014 07:51 PM, tip-bot for H. Peter Anvin wrote: Commit-ID: bd9ee7fd99f127ee1306289415141d45792c97f3 Gitweb: http://git.kernel.org/tip/bd9ee7fd99f127ee1306289415141d45792c97f3 Author: H. Peter

Re: [tip:x86/vdso] x86, vdso: Instead of dummy functions, include linux/spinlock_up.h

2014-02-17 Thread Stefani Seibold
Am Montag, den 17.02.2014, 01:27 -0800 schrieb H. Peter Anvin: On 02/16/2014 11:42 PM, Stefani Seibold wrote: I think for the first time it will be okay to kick out the _ASM_X86_SPINLOCK_H hack and accept the C=1 warnings. At next step it is necessary to make the whole BUILD_VDSO32 path

[PATCH v19 07/10] introduce VVAR marco for vdso32

2014-02-17 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h

[PATCH v19 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-17 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso

[PATCH v19 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-17 Thread Stefani Seibold
bit address space. This will be done with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct. Signed-off-by: Stefani Seibold stef...@seibold.net --- include/linux/mm.h | 3 +++ mm/mmap.c | 20 2 files changed, 19 insertions(+), 4 deletions

Re: [tip:x86/vdso] x86, vdso: Instead of dummy functions, include linux/spinlock_up.h

2014-02-17 Thread Stefani Seibold
Am Montag, den 17.02.2014, 01:50 -0800 schrieb H. Peter Anvin: On 02/17/2014 01:46 AM, Stefani Seibold wrote: Am Montag, den 17.02.2014, 01:27 -0800 schrieb H. Peter Anvin: On 02/16/2014 11:42 PM, Stefani Seibold wrote: I think for the first time it will be okay to kick out

[PATCH v19 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-17 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vdso.h | 3

[PATCH v19 03/10] revamp vclock_gettime.c

2014-02-17 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 85

[PATCH v19 00/10] Add 32 bit VDSO time function support

2014-02-17 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v19 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-17 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86

[PATCH v19 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-17 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold stef...@seibold.net

[PATCH v19 06/10] cleanup __vdso_gettimeofday

2014-02-17 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2

[PATCH v19 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-17 Thread Stefani Seibold
for 32- and 64-bit access - The inner struct clock was removed to pack the whole struct. The unsigned seq would be handled by functions derivated from seqcount_t. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vgtod.h | 71 ++-- arch/x86

[PATCH v20 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-19 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vdso.h | 3

[PATCH v20 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-19 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso

[PATCH v20 00/10] Final: Add 32 bit VDSO time function support

2014-02-19 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v20 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-19 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86

[PATCH v20 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-19 Thread Stefani Seibold
bit address space. This will be done with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct. Signed-off-by: Stefani Seibold stef...@seibold.net --- include/linux/mm.h | 3 +++ mm/mmap.c | 20 2 files changed, 19 insertions(+), 4 deletions

[PATCH v20 06/10] cleanup __vdso_gettimeofday

2014-02-19 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2

[PATCH v20 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-19 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold stef...@seibold.net

[PATCH v20 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-19 Thread Stefani Seibold
for 32- and 64-bit access - The inner struct clock was removed to pack the whole struct. The unsigned seq would be handled by functions derivated from seqcount_t. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vgtod.h | 71 +-- arch/x86

[PATCH v20 07/10] introduce VVAR marco for vdso32

2014-02-19 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h

[PATCH v20 03/10] revamp vclock_gettime.c

2014-02-19 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 85

Re: [PATCH v20 00/10] Final: Add 32 bit VDSO time function support

2014-02-20 Thread Stefani Seibold
Am Donnerstag, den 20.02.2014, 15:10 -0800 schrieb H. Peter Anvin: On 02/19/2014 01:09 AM, Stefani Seibold wrote: This kind of helper must be integrated into glibc, for x86 64 bit and PowerPC it is already there. Who is doing the glibc work? I don't know. I hoped this would

Re: [PATCH v15 10/10] do conditional fixmap of VVAR and HPET page

2014-02-12 Thread Stefani Seibold
Am Mittwoch, den 12.02.2014, 12:57 -0800 schrieb Andy Lutomirski: On Wed, Feb 12, 2014 at 12:40 PM, stef...@seibold.net wrote: From: Stefani Seibold Stefani Seibold stef...@seibold.net This patch adds conditional fixmap of the VVAR and HPET pages for a 32 bit kernel Signed-off

[PATCH] x86, vdso32: fix out of memory handling setup vDSO

2014-03-20 Thread Stefani Seibold
This patch add a correct out of memory handling for setup a 32 bit vDSO. The patch is against tip commit 4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vdso32-setup.c | 17 - 1 file changed, 16 insertions(+), 1

Re: [PATCH] x86, vdso32: fix out of memory handling setup vDSO

2014-03-20 Thread Stefani Seibold
Am Donnerstag, den 20.03.2014, 10:53 +0100 schrieb Thomas Gleixner: On Thu, 20 Mar 2014, Stefani Seibold wrote: This patch add a correct out of memory handling for setup a 32 bit vDSO. The patch is against tip commit 4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Signed-off-by: Stefani

[PATCH v2] x86, vdso32: fix out of memory handling setup vDSO

2014-03-20 Thread Stefani Seibold
This patch add a correct out of memory handling for setup a 32 bit vDSO. The patch is against tip commit 4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vdso32-setup.c | 19 +-- 1 file changed, 17 insertions(+), 2

Re: Insane kfifo_put API

2013-06-16 Thread Stefani Seibold
I have cross checked this use case. This was tested, but i doesn't work any more. So i need a little bit time to fix it. The macro for this are a little bit tricky, but i think there is a way to solve this issue. For the next two weeks i am heavy busy in a final project stage, so please be

[PATCH] add new prctl for a per process wide close on exec

2013-10-22 Thread Stefani Seibold
only a single open. In both cases the resource cannot reopened after a close. Sigh! What do you think? ChangeLog: 2013-10-21 First release to the mailing list 2013-10-22 Fix fork for non main threads The patch is against 3.12.0-rc6 Greetings, Stefani Signed-off-by: Stefani Seibold stef

Re: [PATCH] add new prctl for a per process wide close on exec

2013-10-24 Thread Stefani Seibold
Am Dienstag, den 22.10.2013, 20:48 +0100 schrieb Al Viro: On Tue, Oct 22, 2013 at 09:27:18PM +0200, Stefani Seibold wrote: This patch will increase security since no developers can review all libraries which there are using. Also in a team of developers it is not always possible

[PATCH] add new prctl for a per process wide close on exec V.3

2013-10-27 Thread Stefani Seibold
! ChangeLog: 2013-10-21 First release to the mailing list 2013-10-22 Fix fork for non main threads 2013-10-27 Add a lock flag which prevents overwrite the CLOEXEC policy The patch is against 3.12.0-rc6 Greetings, Stefani Signed-off-by: Stefani Seibold stef...@seibold.net --- fs/exec.c

[PATCH] kfifo API type safety

2013-10-27 Thread Stefani Seibold
there are currently only six users of kfifo_put(). The code is also cleaner by kicking out the if (0) expressions. The patch is against 3.12.0-rc6 - Stefani Signed-off-by: Stefani Seibold stef...@seibold.net --- drivers/gpu/drm/drm_flip_work.c | 2 +- drivers/iio/industrialio-event.c

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-02-01 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 16:10 -0800 schrieb Andi Kleen: @@ -1335,7 +1335,6 @@ config ARCH_SPARSEMEM_ENABLE config ARCH_SPARSEMEM_DEFAULT def_bool y - depends on X86_64 Is that really needed? Why does the vdso need sparsemem? No, it is from the previous patch. I will

Re: [PATCH 3/4] Add 32 bit VDSO time support for 32 bit kernel

2014-02-02 Thread Stefani Seibold
-#define VDSO_HIGH_BASE 0xe000U /* CONFIG_COMPAT_VDSO address */ +#define VDSO_HIGH_BASE 0xc000U /* CONFIG_COMPAT_VDSO address */ This is odd. Can you explain it? He needs 3 pages instead of 1 after his changes. Not every kernel hackers a male.

Re: [PATCH 6/8] cleanup __vdso_gettimeofday

2014-02-02 Thread Stefani Seibold
Seibold stef...@seibold.net This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 7

Re: [PATCH 7/8] Add 32 bit VDSO time support for 32 bit kernel

2014-02-02 Thread Stefani Seibold
Am Sonntag, den 02.02.2014, 08:46 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 3:27 AM, stef...@seibold.net wrote: From: Stefani Seibold stef...@seibold.net This patch add the time support for 32 bit a VDSO to a 32 bit kernel. [...] Can you address the review comments from

Re: [PATCH 7/8] Add 32 bit VDSO time support for 32 bit kernel

2014-02-02 Thread Stefani Seibold
Am Sonntag, den 02.02.2014, 16:12 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 1:39 PM, Stefani Seibold stef...@seibold.net wrote: Am Sonntag, den 02.02.2014, 08:46 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 3:27 AM, stef...@seibold.net wrote: From: Stefani Seibold

Re: [PATCH 7/8] Add 32 bit VDSO time support for 32 bit kernel

2014-02-03 Thread Stefani Seibold
Am Montag, den 03.02.2014, 08:36 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 11:44 PM, Stefani Seibold stef...@seibold.net wrote: Am Sonntag, den 02.02.2014, 16:12 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 1:39 PM, Stefani Seibold stef...@seibold.net wrote: Am

Re: [PATCH 7/8] Add 32 bit VDSO time support for 32 bit kernel

2014-02-03 Thread Stefani Seibold
Am Montag, den 03.02.2014, 14:04 -0800 schrieb Andy Lutomirski: On Mon, Feb 3, 2014 at 2:01 PM, Stefani Seibold stef...@seibold.net wrote: Am Montag, den 03.02.2014, 08:36 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 11:44 PM, Stefani Seibold stef...@seibold.net wrote: Am

Re: VDSO support for 32bit time functions

2014-01-21 Thread Stefani Seibold
Hi Grek, On Monday, the 20.01.2014, 23:51 -0800 wrote Greg KH: Hi Stefani, About a year ago you posted a big patch to implement VDSO support for 32bit functions, and the response was a request to clean it up a bit by breaking up the generic bits into a series to make it easier to review /

Re: [PATCH 0/4] Add 32 bit VDSO time function support

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 07:31 -0800 schrieb H. Peter Anvin: On 01/30/2014 02:49 AM, stef...@seibold.net wrote: The VDSO page for a 32 bit resided now on 0xc000, followed by the VVAR and HPET page. Any reason to not move the vdso base page to the top, in order to avoid

Re: [PATCH 3/4] Add 32 bit VDSO support for 32 kernel

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 07:30 -0800 schrieb H. Peter Anvin: On 01/30/2014 02:49 AM, stef...@seibold.net wrote: From: Stefani Seibold stef...@seibold.net This patch add the support for 32 bit VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 10:05 -0800 schrieb Andy Lutomirski: On Thu, Jan 30, 2014 at 2:49 AM, stef...@seibold.net wrote: diff --git a/arch/x86/include/asm/compat.h b/arch/x86/include/asm/compat.h index 59c6c40..45ba688 100644 --- a/arch/x86/include/asm/compat.h +++

Re: [PATCH 3/4] Add 32 bit VDSO support for 32 kernel

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 10:17 -0800 schrieb Andy Lutomirski: +struct vsyscall_gtod_data vvar_vsyscall_gtod_data + __attribute__((visibility(hidden))); + +u32 hpet_counter + __attribute__((visibility(hidden))); + +#define gtod (vvar_vsyscall_gtod_data) Is it

Re: [PATCH 4/4] Add 32 bit VDSO support for 64 kernel

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 10:21 -0800 schrieb Andy Lutomirski: On Thu, Jan 30, 2014 at 2:49 AM, stef...@seibold.net wrote: From: Stefani Seibold stef...@seibold.net This patch add the support for the IA32 Emulation Layer to run 32 bit applications on a 64 bit kernel. Due

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 11:51 -0800 schrieb Andy Lutomirski: On Thu, Jan 30, 2014 at 11:27 AM, Stefani Seibold stef...@seibold.net wrote: Am Donnerstag, den 30.01.2014, 10:05 -0800 schrieb Andy Lutomirski: On Thu, Jan 30, 2014 at 2:49 AM, stef...@seibold.net wrote: diff --git

Re: [x86,vdso32] kernel BUG at mm/swap.c:134!

2014-03-23 Thread Stefani Seibold
/git/tip/tip.git x86/vdso commit 4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Author: Stefani Seibold stef...@seibold.net AuthorDate: Mon Mar 17 23:22:13 2014 +0100 Commit: H. Peter Anvin h...@linux.intel.com CommitDate: Tue Mar 18 12:52:54 2014 -0700 x86, vdso32: handle 32 bit vDSO

[PATCH] x86, vdso: fix size of get_unmapped_area()

2014-03-23 Thread Stefani Seibold
-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vdso32-setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 791c1cb..0034898 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c

Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)

2014-05-02 Thread Stefani Seibold
On Mon, 2014-04-28 at 20:20 +0200, Alessandro Zummo wrote: On Mon, 28 Apr 2014 11:16:37 -0700 John Stultz john.stu...@linaro.org wrote: This breaks the API since there is no more misc device /dev/rtc available without a udev rule or a link to /dev/rtc0. So yea.. I feel like that

Re: Missing USB XHCI and EHCI reset for kexec

2014-04-15 Thread Stefani Seibold
Am Montag, den 14.04.2014, 12:27 -0400 schrieb Alan Stern: On Mon, 14 Apr 2014 stef...@seibold.net wrote: Zitat von Alan Stern st...@rowland.harvard.edu: 6[ 167.936921] usb 2-2.1: new full-speed USB device number 3 using ohci-pci 6[ 168.067890] usb 2-2.1: New USB device

Re: Missing USB XHCI and EHCI reset for kexec

2014-04-15 Thread Stefani Seibold
Am Montag, den 14.04.2014, 13:58 -0400 schrieb Alan Stern: On Mon, 14 Apr 2014, Stefani Seibold wrote: An other PowerPC device which is nearly eactly the same HW but without this USB HUB works perfectly. Maybe you should replace that hub with a different brand. Thats

Re: Missing USB XHCI and EHCI reset for kexec

2014-04-15 Thread Stefani Seibold
Am Dienstag, den 15.04.2014, 15:33 -0300 schrieb Thadeu Lima de Souza Cascardo: On Tue, Apr 15, 2014 at 05:00:28PM +0200, stef...@seibold.net wrote: Zitat von Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com: On Tue, Apr 15, 2014 at 12:04:17PM +0200, stef...@seibold.net wrote:

Re: X86: kexec issues with i915 in 3.14

2014-04-15 Thread Stefani Seibold
On Tuesday, 15.04.2014, 16:54 +0800 wrote Jiang Liu: Hi Stefanin, As David has mentioned, the warning messages indicates the VGA controller hasn't been shut down correctly during reboot and keeps doing DMA write operations after loading the new kernel. Do you have found any older kernel

<    1   2   3   4   5   6   >