All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] x86/boot changes for v5.7
@ 2020-03-31  7:53 Ingo Molnar
  2020-03-31 17:36 ` Linus Torvalds
  2020-03-31 19:15 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Ingo Molnar @ 2020-03-31  7:53 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Borislav Petkov, Peter Zijlstra,
	Andrew Morton

Linus,

Please pull the latest x86-boot-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus

   # HEAD: c90beea22a2bece4b0bbb39789bf835504421594 x86/boot/compressed: Fix debug_puthex() parameter type

Misc cleanups and small enhancements all around the map.

  out-of-topic modifications in x86-boot-for-linus:
  ---------------------------------------------------
  drivers/firmware/efi/libstub/Makefile# 003602ad5516: x86/*/Makefile: Use -fno-asy

 Thanks,

	Ingo

------------------>
Arvind Sankar (6):
      x86/boot/compressed/64: Use LEA to initialize boot stack pointer
      x86/boot/compressed/64: Use 32-bit (zero-extended) MOV for z_output_len
      x86/boot/compressed/64: Remove .bss/.pgtable from bzImage
      x86/boot/compressed: Remove .eh_frame section from bzImage
      x86/*/Makefile: Use -fno-asynchronous-unwind-tables to suppress .eh_frame sections
      x86/vmlinux: Drop unneeded linker script discard of .eh_frame

Guenter Roeck (1):
      x86/setup: Fix static memory detection

Joerg Roedel (1):
      x86/boot/compressed: Fix debug_puthex() parameter type


 arch/x86/boot/Makefile                |  1 +
 arch/x86/boot/compressed/Makefile     |  1 +
 arch/x86/boot/compressed/head_64.S    |  8 +++-----
 arch/x86/boot/compressed/misc.h       |  2 +-
 arch/x86/boot/setup.ld                |  1 -
 arch/x86/include/asm/dwarf2.h         |  4 ++--
 arch/x86/include/asm/sections.h       | 20 ++++++++++++++++++++
 arch/x86/kernel/setup.c               |  1 -
 arch/x86/kernel/vmlinux.lds.S         |  7 ++-----
 arch/x86/realmode/rm/Makefile         |  1 +
 arch/x86/realmode/rm/realmode.lds.S   |  1 -
 drivers/firmware/efi/libstub/Makefile |  3 ++-
 12 files changed, 33 insertions(+), 17 deletions(-)


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

* Re: [GIT PULL] x86/boot changes for v5.7
  2020-03-31  7:53 [GIT PULL] x86/boot changes for v5.7 Ingo Molnar
@ 2020-03-31 17:36 ` Linus Torvalds
  2020-03-31 17:48   ` Borislav Petkov
  2020-03-31 19:15 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2020-03-31 17:36 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linux Kernel Mailing List, Thomas Gleixner, Borislav Petkov,
	Peter Zijlstra, Andrew Morton

On Tue, Mar 31, 2020 at 12:53 AM Ingo Molnar <mingo@kernel.org> wrote:
>
>       x86/*/Makefile: Use -fno-asynchronous-unwind-tables to suppress .eh_frame sections

Ugh.

Looking at that commit, wouldn't it be better to try to move in a
direction where the special 32-bit code (or other stub code) simply
uses the actual KBUILD_CFLAGS as a base for what they do.

For example, in that EFI case, arm64 seems to do things the right way,
and this is literally the x86 code being inferior.

Both 32-bit and 64-bit arm seem to just filter out the flags that
don't work for it the stub code.

And honestly, that seems to be the *much* better approach.

The x86 approach is just rewriting the the cflags from scratch
inevitably has these kinds of odd special cases they it misses.

Wouldn't it be much better to try to standardize around that arm model instead?

I've pulled this, but it hurts to see these kinds of magical hackery.

              Linus

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

* Re: [GIT PULL] x86/boot changes for v5.7
  2020-03-31 17:36 ` Linus Torvalds
@ 2020-03-31 17:48   ` Borislav Petkov
  0 siblings, 0 replies; 4+ messages in thread
From: Borislav Petkov @ 2020-03-31 17:48 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Ingo Molnar, Linux Kernel Mailing List, Thomas Gleixner,
	Peter Zijlstra, Andrew Morton

On Tue, Mar 31, 2020 at 10:36:51AM -0700, Linus Torvalds wrote:
> Wouldn't it be much better to try to standardize around that arm model
> instead?

Yap, as a matter of fact, this did came up recently as one thing that we
should do to avoid "fixes" like that. I'll put it on my TODO list and
won't be mad - at all, actually - if someone beats me to it. :-)

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

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

* Re: [GIT PULL] x86/boot changes for v5.7
  2020-03-31  7:53 [GIT PULL] x86/boot changes for v5.7 Ingo Molnar
  2020-03-31 17:36 ` Linus Torvalds
@ 2020-03-31 19:15 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2020-03-31 19:15 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linus Torvalds, linux-kernel, Thomas Gleixner, Borislav Petkov,
	Peter Zijlstra, Andrew Morton

The pull request you sent on Tue, 31 Mar 2020 09:53:05 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9589351ccf47a85a75180a430627c16bc28da929

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

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

end of thread, other threads:[~2020-03-31 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31  7:53 [GIT PULL] x86/boot changes for v5.7 Ingo Molnar
2020-03-31 17:36 ` Linus Torvalds
2020-03-31 17:48   ` Borislav Petkov
2020-03-31 19:15 ` pr-tracker-bot

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.