linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
@ 2018-07-03  1:50 Masahiro Yamada
  2018-07-03  1:50 ` [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds Masahiro Yamada
  2018-07-03  7:20 ` [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Richard Weinberger
  0 siblings, 2 replies; 7+ messages in thread
From: Masahiro Yamada @ 2018-07-03  1:50 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, x86
  Cc: Masahiro Yamada, H. Peter Anvin, linux-um, linux-kernel,
	Richard Weinberger, Andy Lutomirski, Jeff Dike


At first, I sent the first patch to UML ML,
but they did not pick it up.
Instead, I was able to get Acked-by from Richard,
one of the UML maintainers.

https://patchwork.kernel.org/patch/10399787/

I am resending it to x86 ML.



Masahiro Yamada (2):
  x86/build/vdso: remove unused vdso-syms.lds
  x86/build/vdso: simplify cmd_vdso2c

 arch/x86/entry/vdso/Makefile |  4 +---
 arch/x86/um/vdso/.gitignore  |  1 -
 arch/x86/um/vdso/Makefile    | 16 ----------------
 3 files changed, 1 insertion(+), 20 deletions(-)

-- 
2.7.4



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

* [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds
  2018-07-03  1:50 [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Masahiro Yamada
@ 2018-07-03  1:50 ` Masahiro Yamada
  2018-07-03  7:20 ` [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Richard Weinberger
  1 sibling, 0 replies; 7+ messages in thread
From: Masahiro Yamada @ 2018-07-03  1:50 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, x86
  Cc: Richard Weinberger, Jeff Dike, linux-um, linux-kernel,
	Masahiro Yamada, H. Peter Anvin

This file contains symbol values, and was originally linked into
vmlinux, but I have no idea what it was actually used for.

Since commit 827880ec260b ("x86/um: thin archives build fix"), it is
not even linked.  Now it is completely orphan, and no problem has
been reported.  It is a proof that this file was not needed in the
first place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Richard Weinberger <richard@nod.at>
Acked-by: Ingo Molnar <mingo@kernel.org>
---

 arch/x86/um/vdso/.gitignore |  1 -
 arch/x86/um/vdso/Makefile   | 16 ----------------
 2 files changed, 17 deletions(-)

diff --git a/arch/x86/um/vdso/.gitignore b/arch/x86/um/vdso/.gitignore
index 9cac6d0..f8b69d8 100644
--- a/arch/x86/um/vdso/.gitignore
+++ b/arch/x86/um/vdso/.gitignore
@@ -1,2 +1 @@
-vdso-syms.lds
 vdso.lds
diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile
index b2d6967..822ccdb 100644
--- a/arch/x86/um/vdso/Makefile
+++ b/arch/x86/um/vdso/Makefile
@@ -53,22 +53,6 @@ $(vobjs): KBUILD_CFLAGS += $(CFL)
 CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
 
-targets += vdso-syms.lds
-extra-$(VDSO64-y)			+= vdso-syms.lds
-
-#
-# Match symbols in the DSO that look like VDSO*; produce a file of constants.
-#
-sed-vdsosym := -e 's/^00*/0/' \
-	-e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p'
-quiet_cmd_vdsosym = VDSOSYM $@
-define cmd_vdsosym
-	$(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
-endef
-
-$(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE
-	$(call if_changed,vdsosym)
-
 #
 # The DSO images are built using a special linker script.
 #
-- 
2.7.4


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


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

* Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
  2018-07-03  1:50 [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Masahiro Yamada
  2018-07-03  1:50 ` [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds Masahiro Yamada
@ 2018-07-03  7:20 ` Richard Weinberger
  2018-07-03  7:35   ` Ingo Molnar
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Weinberger @ 2018-07-03  7:20 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Jeff Dike, x86, linux-um, linux-kernel, Ingo Molnar,
	Andy Lutomirski, H. Peter Anvin, Thomas Gleixner

Masahiro,

Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada:
> 
> At first, I sent the first patch to UML ML,
> but they did not pick it up.
> Instead, I was able to get Acked-by from Richard,
> one of the UML maintainers.
> 
> https://patchwork.kernel.org/patch/10399787/
> 
> I am resending it to x86 ML.

Uhh, I thought you want to carry this via your tree?
I don't mind picking up these patches.

Thanks,
//richard

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


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

* Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
  2018-07-03  7:20 ` [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Richard Weinberger
@ 2018-07-03  7:35   ` Ingo Molnar
  2018-07-03  7:37     ` Masahiro Yamada
  2018-07-03  7:49     ` Richard Weinberger
  0 siblings, 2 replies; 7+ messages in thread
From: Ingo Molnar @ 2018-07-03  7:35 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Masahiro Yamada, Ingo Molnar, Thomas Gleixner, x86,
	H. Peter Anvin, linux-um, linux-kernel, Andy Lutomirski,
	Jeff Dike


* Richard Weinberger <richard@nod.at> wrote:

> Masahiro,
> 
> Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada:
> > 
> > At first, I sent the first patch to UML ML,
> > but they did not pick it up.
> > Instead, I was able to get Acked-by from Richard,
> > one of the UML maintainers.
> > 
> > https://patchwork.kernel.org/patch/10399787/
> > 
> > I am resending it to x86 ML.
> 
> Uhh, I thought you want to carry this via your tree?
> I don't mind picking up these patches.

I already picked them up, as one of them affects the x86 tree.

Is that OK?

Thanks,

	Ingo


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

* Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
  2018-07-03  7:35   ` Ingo Molnar
@ 2018-07-03  7:37     ` Masahiro Yamada
  2018-07-03  7:49     ` Richard Weinberger
  1 sibling, 0 replies; 7+ messages in thread
From: Masahiro Yamada @ 2018-07-03  7:37 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Richard Weinberger, Ingo Molnar, Thomas Gleixner, X86 ML,
	H. Peter Anvin, linux-um, Linux Kernel Mailing List,
	Andy Lutomirski, Jeff Dike

2018-07-03 16:35 GMT+09:00 Ingo Molnar <mingo@kernel.org>:
>
> * Richard Weinberger <richard@nod.at> wrote:
>
>> Masahiro,
>>
>> Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada:
>> >
>> > At first, I sent the first patch to UML ML,
>> > but they did not pick it up.
>> > Instead, I was able to get Acked-by from Richard,
>> > one of the UML maintainers.
>> >
>> > https://patchwork.kernel.org/patch/10399787/
>> >
>> > I am resending it to x86 ML.
>>
>> Uhh, I thought you want to carry this via your tree?
>> I don't mind picking up these patches.
>
> I already picked them up, as one of them affects the x86 tree.
>
> Is that OK?
>
> Thanks,
>
>         Ingo


No problem on my side.

Thank you!


-- 
Best Regards
Masahiro Yamada


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

* Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
  2018-07-03  7:35   ` Ingo Molnar
  2018-07-03  7:37     ` Masahiro Yamada
@ 2018-07-03  7:49     ` Richard Weinberger
  2018-07-03  7:57       ` Ingo Molnar
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Weinberger @ 2018-07-03  7:49 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Masahiro Yamada, Ingo Molnar, Thomas Gleixner, x86,
	H. Peter Anvin, linux-um, linux-kernel, Andy Lutomirski,
	Jeff Dike

Am Dienstag, 3. Juli 2018, 09:35:33 CEST schrieb Ingo Molnar:
> 
> * Richard Weinberger <richard@nod.at> wrote:
> 
> > Masahiro,
> > 
> > Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada:
> > > 
> > > At first, I sent the first patch to UML ML,
> > > but they did not pick it up.
> > > Instead, I was able to get Acked-by from Richard,
> > > one of the UML maintainers.
> > > 
> > > https://patchwork.kernel.org/patch/10399787/
> > > 
> > > I am resending it to x86 ML.
> > 
> > Uhh, I thought you want to carry this via your tree?
> > I don't mind picking up these patches.
> 
> I already picked them up, as one of them affects the x86 tree.
> 
> Is that OK?

Perfectly fine with me.

Thanks,
//richard


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

* Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups
  2018-07-03  7:49     ` Richard Weinberger
@ 2018-07-03  7:57       ` Ingo Molnar
  0 siblings, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2018-07-03  7:57 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Masahiro Yamada, Ingo Molnar, Thomas Gleixner, x86,
	H. Peter Anvin, linux-um, linux-kernel, Andy Lutomirski,
	Jeff Dike


* Richard Weinberger <richard@nod.at> wrote:

> Am Dienstag, 3. Juli 2018, 09:35:33 CEST schrieb Ingo Molnar:
> > 
> > * Richard Weinberger <richard@nod.at> wrote:
> > 
> > > Masahiro,
> > > 
> > > Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada:
> > > > 
> > > > At first, I sent the first patch to UML ML,
> > > > but they did not pick it up.
> > > > Instead, I was able to get Acked-by from Richard,
> > > > one of the UML maintainers.
> > > > 
> > > > https://patchwork.kernel.org/patch/10399787/
> > > > 
> > > > I am resending it to x86 ML.
> > > 
> > > Uhh, I thought you want to carry this via your tree?
> > > I don't mind picking up these patches.
> > 
> > I already picked them up, as one of them affects the x86 tree.
> > 
> > Is that OK?
> 
> Perfectly fine with me.

Thanks! Timing for upstream merge would be v4.18.

	Ingo


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

end of thread, other threads:[~2018-07-03  7:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-03  1:50 [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Masahiro Yamada
2018-07-03  1:50 ` [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds Masahiro Yamada
2018-07-03  7:20 ` [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Richard Weinberger
2018-07-03  7:35   ` Ingo Molnar
2018-07-03  7:37     ` Masahiro Yamada
2018-07-03  7:49     ` Richard Weinberger
2018-07-03  7:57       ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).