]> Git Repo - linux.git/commitdiff
Merge tag 'for-linus-6.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <[email protected]>
Tue, 19 Nov 2024 02:26:57 +0000 (18:26 -0800)
committerLinus Torvalds <[email protected]>
Tue, 19 Nov 2024 02:26:57 +0000 (18:26 -0800)
Pull xen updates from Juergen Gross:

 - a series for booting as a PVH guest, doing some cleanups after the
   previous work to make PVH boot code position independent

 - a fix of the xenbus driver avoiding a leak in an error case

* tag 'for-linus-6.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
  x86/pvh: Avoid absolute symbol references in .head.text
  x86/xen: Avoid relocatable quantities in Xen ELF notes
  x86/pvh: Omit needless clearing of phys_base
  x86/pvh: Use correct size value in GDT descriptor
  x86/pvh: Call C code via the kernel virtual mapping

1  2 
arch/x86/kernel/vmlinux.lds.S

index feb8102a9ca78cd4e2224a9ce710b17f68f3b835,60e5ac9b64e6e2603d2d47d23e20dd1616f47e8b..65199843155c7ccc85f28c02b102391c9479e462
@@@ -491,9 -491,6 +491,9 @@@ SECTION
  . = ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE),
           "kernel image bigger than KERNEL_IMAGE_SIZE");
  
 +/* needed for Clang - see arch/x86/entry/entry.S */
 +PROVIDE(__ref_stack_chk_guard = __stack_chk_guard);
 +
  #ifdef CONFIG_X86_64
  /*
   * Per-cpu symbols which need to be offset from __per_cpu_load
@@@ -531,3 -528,22 +531,22 @@@ INIT_PER_CPU(irq_stack_backing_store)
  #endif
  
  #endif /* CONFIG_X86_64 */
+ /*
+  * The symbols below are referenced using relative relocations in the
+  * respective ELF notes. This produces build time constants that the
+  * linker will never mark as relocatable. (Using just ABSOLUTE() is not
+  * sufficient for that).
+  */
+ #ifdef CONFIG_XEN
+ #ifdef CONFIG_XEN_PV
+ xen_elfnote_entry_value =
+       ABSOLUTE(xen_elfnote_entry) + ABSOLUTE(startup_xen);
+ #endif
+ xen_elfnote_hypercall_page_value =
+       ABSOLUTE(xen_elfnote_hypercall_page) + ABSOLUTE(hypercall_page);
+ #endif
+ #ifdef CONFIG_PVH
+ xen_elfnote_phys32_entry_value =
+       ABSOLUTE(xen_elfnote_phys32_entry) + ABSOLUTE(pvh_start_xen - LOAD_OFFSET);
+ #endif
This page took 0.070971 seconds and 4 git commands to generate.