]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'uml-for-linux-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2025 19:25:03 +0000 (12:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2025 19:25:03 +0000 (12:25 -0700)
Pull UML updates from Johannes Berg:

 - proper nofault accesses and read-only rodata

 - hostfs fix for host inode number reuse

 - fixes for host errno handling

 - various cleanups/small fixes

* tag 'uml-for-linux-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
  um: Rewrite the sigio workaround based on epoll and tgkill
  um: Prohibit the VM_CLONE flag in run_helper_thread()
  um: Switch to the pthread-based helper in sigio workaround
  um: ubd: Switch to the pthread-based helper
  um: Add pthread-based helper support
  um: x86: clean up elf specific definitions
  um: Store full CSGSFS and SS register from mcontext
  um: virt-pci: Refactor virtio_pcidev into its own module
  um: work around sched_yield not yielding in time-travel mode
  um/locking: Remove semicolon from "lock" prefix
  um: Update min_low_pfn to match changes in uml_reserved
  um: use str_yes_no() to remove hardcoded "yes" and "no"
  um: hostfs: avoid issues on inode number reuse by host
  um: Allocate vdso page pointer statically
  um: remove copy_from_kernel_nofault_allowed
  um: mark rodata read-only and implement _nofault accesses
  um: Pass the correct Rust target and options with gcc

1  2 
arch/um/kernel/mem.c
arch/um/kernel/um_arch.c
fs/hostfs/hostfs_kern.c

index 379f33a1babfdbaa1968b3959f51edd897ae76af,61b5a5ede01c1bad78b140ea18da8c07cd86e3c8..76bec7de81b5244de938abfa0dc04b3624428076
@@@ -66,11 -68,11 +68,12 @@@ void __init arch_mm_preinit(void
        map_memory(brk_end, __pa(brk_end), uml_reserved - brk_end, 1, 1, 0);
        memblock_free((void *)brk_end, uml_reserved - brk_end);
        uml_reserved = brk_end;
 -
 -      /* this will put all low memory onto the freelists */
 -      memblock_free_all();
+       min_low_pfn = PFN_UP(__pa(uml_reserved));
        max_pfn = max_low_pfn;
 +}
 +
 +void __init mem_init(void)
 +{
        kmalloc_ok = 1;
  }
  
Simple merge
Simple merge