Skip to content
Snippets Groups Projects
  1. Dec 05, 2024
    • Andy Shevchenko's avatar
      x86/Documentation: Update algo in init_size description of boot protocol · 0c92af9e
      Andy Shevchenko authored
      
      [ Upstream commit be4ca6c53e66cb275cf0d71f32dac0c4606b9dc0 ]
      
      The init_size description of boot protocol has an example of the runtime
      start address for the compressed bzImage. For non-relocatable kernel
      it relies on the pref_address value (if not 0), but for relocatable case
      only pays respect to the load_addres and kernel_alignment, and it is
      inaccurate for the latter. Boot loader must consider the pref_address
      as the Linux kernel relocates to it before being decompressed as nicely
      described in this commit message a year ago:
      
        43b1d3e6 ("kexec: Allocate kernel above bzImage's pref_address")
      
      Due to this documentation inaccuracy some of the bootloaders (*) made a
      mistake in the calculations and if kernel image is big enough, this may
      lead to unbootable configurations.
      
      *)
        In particular, kexec-tools missed that and resently got a couple of
        changes which will be part of v2.0.30 release. For the record,
        commit 43b1d3e6 only fixed the kernel kexec implementation and
        also missed to update the init_size description.
      
      While at it, make an example C-like looking as it's done elsewhere in
      the document and fix indentation as presribed by the reStructuredText
      specifications, so the syntax highliting will work properly.
      
      Fixes: 43b1d3e6 ("kexec: Allocate kernel above bzImage's pref_address")
      Fixes: d297366b ("x86: document new bzImage fields")
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Link: https://lore.kernel.org/r/20241125105005.1616154-1-andriy.shevchenko@linux.intel.com
      
      
      Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
      0c92af9e
  2. Sep 05, 2024
  3. Sep 04, 2024
    • Mike Rapoport (Microsoft)'s avatar
      docs: move numa=fake description to kernel-parameters.txt · 101d6470
      Mike Rapoport (Microsoft) authored
      NUMA emulation can be now enabled on arm64 and riscv in addition to x86.
      
      Move description of numa=fake parameters from x86 documentation of
      admin-guide/kernel-parameters.txt
      
      Link: https://lkml.kernel.org/r/20240807064110.1003856-27-rppt@kernel.org
      
      
      Suggested-by: default avatarZi Yan <ziy@nvidia.com>
      Signed-off-by: default avatarMike Rapoport (Microsoft) <rppt@kernel.org>
      Reviewed-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> [arm64 + CXL via QEMU]
      Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
      Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
      Cc: Alexander Gordeev <agordeev@linux.ibm.com>
      Cc: Andreas Larsson <andreas@gaisler.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
      Cc: Dave Hansen <dave.hansen@linux.intel.com>
      Cc: Davidlohr Bueso <dave@stgolabs.net>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Heiko Carstens <hca@linux.ibm.com>
      Cc: Huacai Chen <chenhuacai@kernel.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
      Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Palmer Dabbelt <palmer@dabbelt.com>
      Cc: Rafael J. Wysocki <rafael@kernel.org>
      Cc: Rob Herring (Arm) <robh@kernel.org>
      Cc: Samuel Holland <samuel.holland@sifive.com>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Will Deacon <will@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      101d6470
  4. Jul 03, 2024
  5. Jul 02, 2024
  6. Jun 17, 2024
  7. Jun 11, 2024
  8. May 02, 2024
  9. Apr 24, 2024
  10. Mar 25, 2024
  11. Mar 24, 2024
  12. Mar 12, 2024
  13. Feb 22, 2024
  14. Feb 20, 2024
  15. Feb 16, 2024
  16. Feb 03, 2024
  17. Jan 25, 2024
  18. Jan 11, 2024
  19. Jan 10, 2024
  20. Dec 12, 2023
  21. Dec 09, 2023
  22. Nov 17, 2023
  23. Nov 06, 2023
  24. Oct 17, 2023
  25. Oct 12, 2023
  26. Oct 11, 2023
  27. Oct 10, 2023
  28. Sep 24, 2023
  29. Sep 22, 2023
  30. Aug 18, 2023
  31. Aug 07, 2023
  32. Aug 02, 2023
Loading