mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] x86/urgent for v6.5-rc1
@ 2023-07-09  8:08 Borislav Petkov
  2023-07-09 17:46 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2023-07-09  8:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: x86-ml, lkml

Hi Linus,

please pull a single urgent x86 fix for 6.5-rc1.

Thx.

---

The following changes since commit 0303c9729afc4094ef53e552b7b8cff7436028d6:

  x86/efi: Make efi_set_virtual_address_map IBT safe (2023-06-30 15:26:24 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.5_rc1

for you to fetch changes up to fe3e0a13e597c1c8617814bf9b42ab732db5c26e:

  x86/xen: Fix secondary processors' FPU initialization (2023-07-05 11:44:16 +0200)

----------------------------------------------------------------
- Do FPU AP initialization on Xen PV too which got missed by the recent
  boot reordering work

----------------------------------------------------------------
Juergen Gross (1):
      x86/xen: Fix secondary processors' FPU initialization

 arch/x86/xen/smp_pv.c | 1 +
 1 file changed, 1 insertion(+)

-- 
Regards/Gruss,
    Boris.

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

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

* Re: [GIT PULL] x86/urgent for v6.5-rc1
  2023-07-09  8:08 [GIT PULL] x86/urgent for v6.5-rc1 Borislav Petkov
@ 2023-07-09 17:46 ` pr-tracker-bot
  0 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2023-07-09 17:46 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linus Torvalds, x86-ml, lkml

The pull request you sent on Sun, 9 Jul 2023 10:08:38 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.5_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/51e3d7c27446c3af97e8a467ecc99bc2936d885c

Thank you!

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

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

* Re: [GIT pull] x86/urgent for v6.5-rc1
  2023-07-01 18:08 [GIT pull] " Thomas Gleixner
@ 2023-07-01 18:43 ` pr-tracker-bot
  0 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2023-07-01 18:43 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Linus Torvalds, linux-kernel, x86

The pull request you sent on Sat,  1 Jul 2023 20:08:20 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2023-07-01

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

Thank you!

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

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

* [GIT pull] x86/urgent for v6.5-rc1
@ 2023-07-01 18:08 Thomas Gleixner
  2023-07-01 18:43 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2023-07-01 18:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, x86

Linus,

please pull the latest x86/urgent branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2023-07-01

up to:  0303c9729afc: x86/efi: Make efi_set_virtual_address_map IBT safe


A single regression fix for x86:

  Moving the invocation of arch_cpu_finalize_init() earlier in the boot
  process caused a boot regression on IBT enabled system.

  The root cause is not the move of arch_cpu_finalize_init() itself. The
  system fails to boot because the subsequent efi_enter_virtual_mode() code
  has a non-IBT safe EFI call inside. This was never noticed because IBT
  was enabled after the EFI initialization.

  Switching the EFI call to use the IBT safe wrapper cures the problem.

Thanks,

	tglx

------------------>
Thomas Gleixner (1):
      x86/efi: Make efi_set_virtual_address_map IBT safe


 arch/x86/platform/efi/efi_64.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c
index 232acf418cfb..77f7ac3668cb 100644
--- a/arch/x86/platform/efi/efi_64.c
+++ b/arch/x86/platform/efi/efi_64.c
@@ -853,9 +853,9 @@ efi_set_virtual_address_map(unsigned long memory_map_size,
 
 	/* Disable interrupts around EFI calls: */
 	local_irq_save(flags);
-	status = efi_call(efi.runtime->set_virtual_address_map,
-			  memory_map_size, descriptor_size,
-			  descriptor_version, virtual_map);
+	status = arch_efi_call_virt(efi.runtime, set_virtual_address_map,
+				    memory_map_size, descriptor_size,
+				    descriptor_version, virtual_map);
 	local_irq_restore(flags);
 
 	efi_fpu_end();


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

end of thread, other threads:[~2023-07-09 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-09  8:08 [GIT PULL] x86/urgent for v6.5-rc1 Borislav Petkov
2023-07-09 17:46 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2023-07-01 18:08 [GIT pull] " Thomas Gleixner
2023-07-01 18:43 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®