1. 15 6月, 2022 2 次提交
  2. 01 6月, 2022 2 次提交
    • A
      efi: clean up Kconfig dependencies on CONFIG_EFI · 75ed63d9
      Ard Biesheuvel 提交于
      Geert reports that the new option CONFIG_EFI_DISABLE_RUNTIME is user
      visible even when EFI support is disabled, which is unnecessary and
      clutters the Kconfig interface.
      
      So let's move this option into the existing Kconfig submenu that already
      depends on CONFIG_EFI, and while at it, give some other options the same
      treatment.
      
      Also clean up a small wart where the efi/ subdirectory is listed twice.
      Let's just list it unconditionally so that both EFI and UEFI_CPER based
      pieces will be built independently (the latter only depends on the
      former on !X86)
      Signed-off-by: NArd Biesheuvel <ardb@kernel.org>
      75ed63d9
    • A
      efi/x86: libstub: Make DXE calls mixed mode safe · 31f1a0ed
      Ard Biesheuvel 提交于
      The newly added DXE calls use 64-bit quantities, which means we need to
      marshall them explicitly when running in mixed mode. Currently, we get
      away without it because we just bail when GetMemorySpaceDescriptor()
      fails, which is guaranteed to happen due to the function argument mixup.
      
      Let's fix this properly, though, by defining the macros that describe
      how to marshall the arguments. While at it, drop an incorrect cast on a
      status variable.
      Signed-off-by: NArd Biesheuvel <ardb@kernel.org>
      31f1a0ed
  3. 20 5月, 2022 2 次提交
  4. 19 5月, 2022 1 次提交
  5. 16 5月, 2022 1 次提交
  6. 13 5月, 2022 1 次提交
    • P
      printk: stop including cache.h from printk.h · 534aa1dc
      Peter Collingbourne 提交于
      An inclusion of cache.h in printk.h was added in 2014 in commit
      c28aa1f0 ("printk/cache: mark printk_once test variable
      __read_mostly") in order to bring in the definition of __read_mostly.  The
      usage of __read_mostly was later removed in commit 3ec25826 ("printk:
      Tie printk_once / printk_deferred_once into .data.once for reset") which
      made the inclusion of cache.h unnecessary, so remove it.
      
      We have a small amount of code that depended on the inclusion of cache.h
      from printk.h; fix that code to include the appropriate header.
      
      This fixes a circular inclusion on arm64 (linux/printk.h -> linux/cache.h
      -> asm/cache.h -> linux/kasan-enabled.h -> linux/static_key.h ->
      linux/jump_label.h -> linux/bug.h -> asm/bug.h -> linux/printk.h) that
      would otherwise be introduced by the next patch.
      
      Build tested using {allyesconfig,defconfig} x {arm64,x86_64}.
      
      Link: https://linux-review.googlesource.com/id/I8fd51f72c9ef1f2d6afd3b2cbc875aa4792c1fba
      Link: https://lkml.kernel.org/r/20220427195820.1716975-1-pcc@google.comSigned-off-by: NPeter Collingbourne <pcc@google.com>
      Cc: Alexander Potapenko <glider@google.com>
      Cc: Andrey Konovalov <andreyknvl@gmail.com>
      Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: Roman Gushchin <roman.gushchin@linux.dev>
      Cc: Vlastimil Babka <vbabka@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      534aa1dc
  7. 06 5月, 2022 2 次提交
  8. 03 5月, 2022 6 次提交
  9. 29 4月, 2022 23 次提交