All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] x86/vdso changes for 4.1
@ 2015-03-26  1:11 Andy Lutomirski
       [not found] ` <efe1ec29eda830b1d0030882706f3dac99ce1f73.1427482063.git.luto@kernel.org>
  2015-03-27 18:48 ` [GIT PULL 1/4] x86,vdso: fix the x86 vdso2c tool includes Andy Lutomirski
  0 siblings, 2 replies; 40+ messages in thread
From: Andy Lutomirski @ 2015-03-26  1:11 UTC (permalink / raw)
  To: Ingo Molnar, X86 ML, linux-kernel
  Cc: Andrey Skvortsov, Magnus Damm, Denys Vlasenko

Hi Ingo,

Here are my queued vdso changes for 4.1.  There's nothing particularly
interesting.  The change "x86, vdso: Remove x32 intermediates during
'make clean'" isn't on any mailing lists, but it's utterly trivial (I
just noticed that one of the other patches here was slightly
incomplete while tidying this up for the pull request).

Please pull into your favorite branch.

My kvmclock rewrite is once again deferred because KVM still hasn't
fixed a bug I need fixed first.  Grump.  On the off chance that the
bug gets fixed very soon and I can get my patch reviewed quickly, I
just might send you another pull request.  Otherwise 4.2 (or 4.3
or...?) it is.

Thanks,
Andy

The following changes since commit b57c0b5175ddbe9b477801f9994a5b330702c1ba:

  Merge tag 'pr-20150201-x86-entry' of
git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux into x86/asm
(2015-02-03 12:24:08 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
tags/pr-x86-vdso-20150325

for you to fetch changes up to 7fa2ad4a63bc6f52e214125900d54165ef06cc10:

  x86, vdso: Remove x32 intermediates during 'make clean' (2015-03-25
17:55:07 -0700)

----------------------------------------------------------------
x86/vdso changes for 4.1

This boring build stuff plus Denys' deletion of pointless SS code.
The interesting change I have queued up is unlikely to be ready for
4.1, so it's not included here.

----------------------------------------------------------------
Andrey Skvortsov (1):
      x86, vdso: teach 'make clean' remove generated vdso-image-*.c files

Andy Lutomirski (1):
      x86, vdso: Remove x32 intermediates during 'make clean'

Denys Vlasenko (1):
      x86: vdso32/syscall.S: do not load __USER32_DS to %ss

Tommi Kyntola (1):
      x86,vdso: fix the x86 vdso2c tool includes

 arch/x86/vdso/Makefile         | 4 ++--
 arch/x86/vdso/vdso32/syscall.S | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile
index 09297c8e1fcd..706d4670351d 100644
--- a/arch/x86/vdso/Makefile
+++ b/arch/x86/vdso/Makefile
@@ -50,7 +50,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
 $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
     $(call if_changed,vdso)

-HOST_EXTRACFLAGS += -I$(srctree)/tools/include
+HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi
 hostprogs-y            += vdso2c

 quiet_cmd_vdso2c = VDSO2C  $@
@@ -205,4 +205,4 @@ $(vdso_img_insttargets): install_%: $(obj)/%.dbg
$(MODLIB)/vdso FORCE
 PHONY += vdso_install $(vdso_img_insttargets)
 vdso_install: $(vdso_img_insttargets) FORCE

-clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
+clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
vdso-image-*.c vdsox32.so*
diff --git a/arch/x86/vdso/vdso32/syscall.S b/arch/x86/vdso/vdso32/syscall.S
index 5415b5613d55..6b286bb5251c 100644
--- a/arch/x86/vdso/vdso32/syscall.S
+++ b/arch/x86/vdso/vdso32/syscall.S
@@ -19,8 +19,6 @@ __kernel_vsyscall:
 .Lpush_ebp:
     movl    %ecx, %ebp
     syscall
-    movl    $__USER32_DS, %ecx
-    movl    %ecx, %ss
     movl    %ebp, %ecx
     popl    %ebp
 .Lpop_ebp:

^ permalink raw reply related	[flat|nested] 40+ messages in thread
* [PATCH] x86,vdso: fix the x86 vdso2c tool includes
@ 2015-02-16 14:15 Tommi Kyntola
  2015-02-16 16:29 ` Andy Lutomirski
  0 siblings, 1 reply; 40+ messages in thread
From: Tommi Kyntola @ 2015-02-16 14:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andy Lutomirski


The build-time tool arch/x86/vdso/vdso2c.c includes <linux/elf.h>,
but cannot find it, unless the build host happens to provide it.
It should be reading the uapi linux/elf.h

This build regression came along with the vdso2c between 
3.15 and 3.16.

Signed-off-by: Tommi Kyntola <tommi.kyntola@gmail.com>
---
 arch/x86/vdso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile
index 5a4affe..745e9fe 100644
--- a/arch/x86/vdso/Makefile
+++ b/arch/x86/vdso/Makefile
@@ -50,7 +50,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
 $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
 	$(call if_changed,vdso)
 
-HOST_EXTRACFLAGS += -I$(srctree)/tools/include
+HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi
 hostprogs-y			+= vdso2c
 
 quiet_cmd_vdso2c = VDSO2C  $@
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2015-04-23 19:50 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26  1:11 [GIT PULL] x86/vdso changes for 4.1 Andy Lutomirski
     [not found] ` <efe1ec29eda830b1d0030882706f3dac99ce1f73.1427482063.git.luto@kernel.org>
2015-03-27 18:47   ` [GIT PULL 2/4] x86: vdso32/syscall.S: do not load __USER32_DS to %ss Andy Lutomirski
2015-03-27 18:48 ` [GIT PULL 1/4] x86,vdso: fix the x86 vdso2c tool includes Andy Lutomirski
2015-03-27 18:48   ` [GIT PULL 2/4] x86: vdso32/syscall.S: do not load __USER32_DS to %ss Andy Lutomirski
2015-03-31 12:38     ` [tip:x86/vdso] x86/vdso32/syscall.S: Do " tip-bot for Denys Vlasenko
2015-04-23  7:37       ` Brian Gerst
2015-04-23  8:49         ` Andy Lutomirski
2015-04-23  9:07           ` Andy Lutomirski
2015-04-23  9:23           ` Denys Vlasenko
2015-04-23  9:47           ` Borislav Petkov
2015-04-23  9:56           ` Denys Vlasenko
2015-04-23 10:18             ` Borislav Petkov
2015-04-23 10:26               ` Denys Vlasenko
2015-04-23 10:44                 ` Borislav Petkov
2015-04-23 11:05                   ` Denys Vlasenko
2015-04-23 15:48                   ` Andy Lutomirski
2015-04-23 16:41                     ` Denys Vlasenko
2015-04-23 16:50                       ` Andy Lutomirski
2015-04-23 17:14                         ` Borislav Petkov
2015-04-23 18:24                           ` Andy Lutomirski
2015-04-23 18:36                             ` Linus Torvalds
2015-04-23 18:52                             ` Borislav Petkov
2015-04-23 19:20                               ` Andy Lutomirski
2015-04-23 19:50                               ` Denys Vlasenko
2015-04-23  9:20         ` Denys Vlasenko
2015-04-23  9:56           ` Borislav Petkov
2015-04-23 11:11             ` Brian Gerst
2015-04-23 11:28           ` Brian Gerst
2015-04-23 11:46             ` Denys Vlasenko
2015-04-23 12:01               ` Brian Gerst
2015-04-23 12:35                 ` Denys Vlasenko
2015-04-23 11:12         ` Denys Vlasenko
2015-03-27 18:48   ` [GIT PULL 3/4] x86, vdso: teach 'make clean' remove generated vdso-image-*.c files Andy Lutomirski
2015-03-31 12:38     ` [tip:x86/vdso] x86/vdso: Teach 'make clean' to " tip-bot for Andrey Skvortsov
2015-03-27 18:48   ` [GIT PULL 4/4] x86, vdso: Remove x32 intermediates during 'make clean' Andy Lutomirski
2015-03-31 12:39     ` [tip:x86/vdso] x86/vdso: Remove x32 intermediates during ' make clean' tip-bot for Andy Lutomirski
2015-03-31 12:38   ` [tip:x86/vdso] x86/vdso: Fix the x86 vdso2c tool includes tip-bot for Tommi Kyntola
  -- strict thread matches above, loose matches on Subject: below --
2015-02-16 14:15 [PATCH] x86,vdso: fix " Tommi Kyntola
2015-02-16 16:29 ` Andy Lutomirski
     [not found]   ` <CAO2cUkRstHcKzy+sMvaQoXHBjTX1yheN2EMQW-wCd0tDRCLNYQ@mail.gmail.com>
2015-02-16 20:40     ` Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.