1. 24 2月, 2021 1 次提交
  2. 22 2月, 2021 6 次提交
    • M
      kbuild: check the minimum linker version in Kconfig · 02aff859
      Masahiro Yamada 提交于
      Unify the two scripts/ld-version.sh and scripts/lld-version.sh, and
      check the minimum linker version like scripts/cc-version.sh did.
      
      I tested this script for some corner cases reported in the past:
      
       - GNU ld version 2.25-15.fc23
         as reported by commit 8083013f ("ld-version: Fix it on Fedora")
      
       - GNU ld (GNU Binutils) 2.20.1.20100303
         as reported by commit 0d61ed17 ("ld-version: Drop the 4th and
         5th version components")
      
      This script show an error message if the linker is too old:
      
        $ make LD=ld.lld-9
          SYNC    include/config/auto.conf
        ***
        *** Linker is too old.
        ***   Your LLD version:    9.0.1
        ***   Minimum LLD version: 10.0.1
        ***
        scripts/Kconfig.include:50: Sorry, this linker is not supported.
        make[2]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
        make[1]: *** [Makefile:600: syncconfig] Error 2
        make: *** [Makefile:708: include/config/auto.conf] Error 2
      
      I also moved the check for gold to this script, so gold is still rejected:
      
        $ make LD=gold
          SYNC    include/config/auto.conf
        gold linker is not supported as it is not capable of linking the kernel proper.
        scripts/Kconfig.include:50: Sorry, this linker is not supported.
        make[2]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
        make[1]: *** [Makefile:600: syncconfig] Error 2
        make: *** [Makefile:708: include/config/auto.conf] Error 2
      
      Thanks to David Laight for suggesting shell script improvements.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Acked-by: NNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: NNathan Chancellor <nathan@kernel.org>
      Tested-by: NNathan Chancellor <nathan@kernel.org>
      02aff859
    • M
      kbuild: remove ld-version macro · 05f6bbf2
      Masahiro Yamada 提交于
      There is no direct user of ld-version; you can use CONFIG_LD_VERSION
      if needed.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: NNathan Chancellor <nathan@kernel.org>
      05f6bbf2
    • M
      scripts: add generic syscallhdr.sh · b9da928a
      Masahiro Yamada 提交于
      Most of architectures generate syscall headers at the compile time
      in a similar way.
      
      As of v5.11-rc1, 12 architectures duplicate similar shell scripts:
      
        $ find arch -name syscallhdr.sh | sort
        arch/alpha/kernel/syscalls/syscallhdr.sh
        arch/arm/tools/syscallhdr.sh
        arch/ia64/kernel/syscalls/syscallhdr.sh
        arch/m68k/kernel/syscalls/syscallhdr.sh
        arch/microblaze/kernel/syscalls/syscallhdr.sh
        arch/mips/kernel/syscalls/syscallhdr.sh
        arch/parisc/kernel/syscalls/syscallhdr.sh
        arch/powerpc/kernel/syscalls/syscallhdr.sh
        arch/sh/kernel/syscalls/syscallhdr.sh
        arch/sparc/kernel/syscalls/syscallhdr.sh
        arch/x86/entry/syscalls/syscallhdr.sh
        arch/xtensa/kernel/syscalls/syscallhdr.sh
      
      My goal is to unify them into scripts/syscallhdr.sh.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      b9da928a
    • M
      scripts: add generic syscalltbl.sh · 9df526b0
      Masahiro Yamada 提交于
      Most of architectures generate syscall headers at the compile time
      in a similar way.
      
      The syscall table has the same format for all architectures. Each line
      has up to 5 fields; syscall number, ABI, syscall name, native entry
      point, and compat entry point. The syscall table is processed by
      syscalltbl.sh script into header files.
      
      Despite the same pattern, scripts are maintained per architecture,
      which results in code duplication and bad maintainability.
      
      As of v5.11-rc1, 12 architectures duplicate similar shell scripts:
      
        $ find arch -name syscalltbl.sh | sort
        arch/alpha/kernel/syscalls/syscalltbl.sh
        arch/arm/tools/syscalltbl.sh
        arch/ia64/kernel/syscalls/syscalltbl.sh
        arch/m68k/kernel/syscalls/syscalltbl.sh
        arch/microblaze/kernel/syscalls/syscalltbl.sh
        arch/mips/kernel/syscalls/syscalltbl.sh
        arch/parisc/kernel/syscalls/syscalltbl.sh
        arch/powerpc/kernel/syscalls/syscalltbl.sh
        arch/sh/kernel/syscalls/syscalltbl.sh
        arch/sparc/kernel/syscalls/syscalltbl.sh
        arch/x86/entry/syscalls/syscalltbl.sh
        arch/xtensa/kernel/syscalls/syscalltbl.sh
      
      My goal is to unify them into scripts/syscalltbl.sh.
      
      __SYSCALL_WITH_COMPAT should be defined as follows:
      
      32-bit kernel:
        #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
      
      64-bit kernel:
      
        #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat)
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      9df526b0
    • M
      arch: syscalls: remove $(srctree)/ prefix from syscall tables · 29c5c3ac
      Masahiro Yamada 提交于
      The 'syscall' variables are not directly used in the commands.
      Remove the $(srctree)/ prefix because we can rely on VPATH.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      29c5c3ac
    • M
      arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work · 865fa29f
      Masahiro Yamada 提交于
      The rules in these Makefiles cannot detect the command line change
      because the prerequisite 'FORCE' is missing.
      
      Adding 'FORCE' will result in the headers being rebuilt every time
      because the 'targets' additions are also wrong; the file paths in
      'targets' must be relative to the current Makefile.
      
      Fix all of them so the if_changed rules work correctly.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      865fa29f
  3. 16 2月, 2021 14 次提交
  4. 12 2月, 2021 6 次提交
    • M
      kbuild: LD_VERSION redenomination · 052c805a
      Masahiro Yamada 提交于
      Commit ccbef167 ("Kbuild, lto: add ld-version and ld-ifversion
      macros") introduced scripts/ld-version.sh for GCC LTO.
      
      At that time, this script handled 5 version fields because GCC LTO
      needed the downstream binutils. (https://lkml.org/lkml/2014/4/8/272)
      
      The code snippet from the submitted patch was as follows:
      
          # We need HJ Lu's Linux binutils because mainline binutils does not
          # support mixing assembler and LTO code in the same ld -r object.
          # XXX check if the gcc plugin ld is the expected one too
          # XXX some Fedora binutils should also support it. How to check for that?
          ifeq ($(call ld-ifversion,-ge,22710001,y),y)
              ...
      
      However, GCC LTO was not merged into the mainline after all.
      (https://lkml.org/lkml/2014/4/8/272)
      
      So, the 4th and 5th fields were never used, and finally removed by
      commit 0d61ed17 ("ld-version: Drop the 4th and 5th version
      components").
      
      Since then, the last 4-digits returned by this script is always zeros.
      
      Remove the meaningless last 4-digits. This makes the version format
      consistent with GCC_VERSION, CLANG_VERSION, LLD_VERSION.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Acked-by: NWill Deacon <will@kernel.org>
      Acked-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      052c805a
    • M
      kbuild: Remove $(cc-option,-gdwarf-4) dependency from DEBUG_INFO_DWARF4 · 83272e6d
      Masahiro Yamada 提交于
      The -gdwarf-4 flag is supported by GCC 4.5+, and also by Clang.
      
      You can see it at https://godbolt.org/z/6ed1oW
      
        For gcc 4.5.3 pane,    line 37:    .value 0x4
        For clang 10.0.1 pane, line 117:   .short 4
      
      Given Documentation/process/changes.rst stating GCC 4.9 is the minimal
      version, this cc-option is unneeded.
      
      Note
      ----
      
      CONFIG_DEBUG_INFO_DWARF4 controls the DWARF version only for C files.
      
      As you can see in the top Makefile, -gdwarf-4 is only passed to CFLAGS.
      
        ifdef CONFIG_DEBUG_INFO_DWARF4
        DEBUG_CFLAGS    += -gdwarf-4
        endif
      
      This flag is used when compiling *.c files.
      
      On the other hand, the assembler is always given -gdwarf-2.
      
        KBUILD_AFLAGS   += -Wa,-gdwarf-2
      
      Hence, the debug info that comes from *.S files is always DWARF v2.
      This is simply because GAS supported only -gdwarf-2 for a long time.
      
      Recently, GAS gained the support for --gdwarf-[345] options. [1]
      And, also we have Clang integrated assembler. So, the debug info
      for *.S files might be improved in the future.
      
      In my understanding, the current code is intentional, not a bug.
      
      [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=31bf18645d98b4d3d7357353be840e320649a67dSigned-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: NNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: NNathan Chancellor <natechancellor@gmail.com>
      83272e6d
    • T
      Makefile: use smaller dictionary size for xz module compression · db4632c6
      Tor Vic 提交于
      By default, xz without parameters uses a dictionary size of 8 MB.
      However, most modules are much smaller than that.
      The xz manpage states that 'increasing dictionary size usually improves
      compression ratio, but a dictionary bigger than the uncompressed file
      is waste of memory'.
      Use a dictionary size of 2 MB for module compression, resulting in
      slightly higher compression speed while still maintaining a good
      compression ratio.
      Signed-off-by: NTor Vic <torvic9@mailbox.org>
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      db4632c6
    • M
      ia64: remove generated/nr-irqs.h generation to fix build warning · fa1e160b
      Masahiro Yamada 提交于
      Randy reports the following warning when building ARCH=ia64 with
      CONFIG_IA64_PALINFO=m:
      
      ../scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' will not be built even though obj-m is specified.
      ../scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
      
      This message is actually false-positive, and you can get palinfo.ko
      correctly built. It is emitted in the archprepare stage, where Kbuild
      descends into arch/ia64/kernel to generate include/generated/nr-irqs.h
      instead of any kind of kernel objects.
      
      arch/ia64/kernel/nr-irqs.c was introduced by commit 213060a4
      ("[IA64] pvops: paravirtualize NR_IRQS") to pre-calculate:
      
         NR_IRQS = max(IA64_NATIVE_NR_IRQS, XEN_NR_IRQS, FOO_NR_IRQS...)
      
      Since commit d52eefb4 ("ia64/xen: Remove Xen support for ia64"), this
      union contains just one field, making NR_IRQS and IA64_NATIVE_NR_IRQS
      always match.
      
      So, the following hard-coding now works:
      
        #define NR_IRQS                IA64_NATIVE_NR_IRQS
      
      If you need to re-introduce NR_IRQS = max(...) gimmick in the future,
      please try to implement it in asm-offsets.c instead of a separate file.
      It will be possible because the header inclusion has been consolidated
      to make asm-offsets.c independent of <asm/irqs.h>.
      Reported-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: NRandy Dunlap <rdunlap@infradead.org>
      Tested-by: NRandy Dunlap <rdunlap@infradead.org>
      fa1e160b
    • M
      ia64: remove unneeded header includes from <asm/mca.h> · a5b7c61e
      Masahiro Yamada 提交于
      <asm/mca.h> includes too many unneeded headers.
      
      This commit cuts off a lot of header includes.
      
      What we need to include are:
      
       - <linux/percpu.h> for DECLARE_PER_CPU(u64, ia64_mca_pal_base)
       - <linux/threads.h> for NR_CPUS
       - <linux/types.h> for u8, u64, size_t, etc.
       - <asm/ptrace.h> for KERNEL_STACK_SIZE
      
      The other header includes are actually unneeded.
      
      <asm/mca.h> previously included 436 headers, and now it includes
      only 138. I confirmed <asm/mca.h> is still self-contained.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NArd Biesheuvel <ardb@kernel.org>
      a5b7c61e
    • M
      ia64: do not typedef struct pal_min_state_area_s · 2770ef7c
      Masahiro Yamada 提交于
      Documentation/process/coding-style.rst says:
      
        Please don't use things like ``vps_t``.
        It's a **mistake** to use typedef for structures and pointers.
      
      This commit converts as follows:
      
        struct pal_min_state_area_s  ->  struct pal_min_state_area
               pal_min_state_area_t  ->  struct pal_min_state_area
      
      My main motivation for this is to slim down the include directives
      of <asm/mca.h> in the next commit.
      
      Currently, <asm/mca.h> is required to include <asm/pal.h> directly
      or indirectly due to (pal_min_state_area_t *). Otherwise, it would
      have no idea what pal_min_state_area_t is.
      
      Replacing it with (struct pal_min_state_area *) will relax the header
      dependency since it is enough to tell it is a pointer to a structure,
      and to resolve the size of struct pal_min_state_area. It will make
      <asm/mca.h> independent of <asm/pal.h>.
      
      <asm/pal.h> typedef's a lot of structures, but it is trivial to
      convert the others in the same way.
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: NRandy Dunlap <rdunlap@infradead.org>
      2770ef7c
  5. 08 2月, 2021 9 次提交
    • L
      Linux 5.11-rc7 · 92bf2261
      Linus Torvalds 提交于
      92bf2261
    • L
      Merge tag 'libnvdimm-fixes-5.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · b75dba7f
      Linus Torvalds 提交于
      Pull libnvdimm fixes from Dan Williams:
       "A fix for a crash scenario that has been present since the initial
        merge, a minor regression in sysfs attribute visibility, and a fix for
        some flexible array warnings.
      
        The bulk of this pull is an update to the libnvdimm unit test
        infrastructure to test non-ACPI platforms. Given there is zero
        regression risk for test updates, and the tests enable validation of
        bits headed towards the next merge window, I saw no reason to hold the
        new tests back. Santosh originally submitted this before the v5.11
        window opened.
      
        Summary:
      
         - Fix a crash when sysfs accesses race 'dimm' driver probe/remove.
      
         - Fix a regression in 'resource' attribute visibility necessary for
           mapping badblocks and other physical address interrogations.
      
         - Fix some flexible array warnings
      
         - Expand the unit test infrastructure for non-ACPI platforms"
      
      * tag 'libnvdimm-fixes-5.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        libnvdimm/dimm: Avoid race between probe and available_slots_show()
        ndtest: Add papr health related flags
        ndtest: Add nvdimm control functions
        ndtest: Add regions and mappings to the test buses
        ndtest: Add dimm attributes
        ndtest: Add dimms to the two buses
        ndtest: Add compatability string to treat it as PAPR family
        testing/nvdimm: Add test module for non-nfit platforms
        libnvdimm/namespace: Fix visibility of namespace resource attribute
        libnvdimm/pmem: Remove unused header
        ACPI: NFIT: Fix flexible_array.cocci warnings
      b75dba7f
    • L
      Merge tag 'dma-mapping-5.11-2' of git://git.infradead.org/users/hch/dma-mapping · ff92acb2
      Linus Torvalds 提交于
      Pull dma-mapping fix from Christoph Hellwig:
       "Fix a 32 vs 64-bit padding issue in the new benchmark code (Barry
        Song)"
      
      * tag 'dma-mapping-5.11-2' of git://git.infradead.org/users/hch/dma-mapping:
        dma-mapping: benchmark: use u8 for reserved field in uAPI structure
      ff92acb2
    • L
      Merge tag 'irq_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · fc6c0ae5
      Linus Torvalds 提交于
      Pull irq fixes from Borislav Petkov:
      
       - Prevent device managed IRQ allocation helpers from returning IRQ 0
      
       - A fix for MSI activation of PCI endpoints with multiple MSIs
      
      * tag 'irq_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq: Prevent [devm_]irq_alloc_desc from returning irq 0
        genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
      fc6c0ae5
    • L
      Merge tag 'core_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c6792d44
      Linus Torvalds 提交于
      Pull syscall entry fixes from Borislav Petkov:
      
       - For syscall user dispatch, separate prctl operation from syscall
         redirection range specification before the API has been made official
         in 5.11.
      
       - Ensure tasks using the generic syscall code do trap after returning
         from a syscall when single-stepping is requested.
      
      * tag 'core_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        entry: Use different define for selector variable in SUD
        entry: Ensure trap after single-step on system call return
      c6792d44
    • L
      Merge tag 'sched_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6fed85df
      Linus Torvalds 提交于
      Pull scheduler fix from Borislav Petkov:
       "Revert an attempt to not spread IRQ threads on isolated CPUs which has
        a bunch of problems"
      
      * tag 'sched_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "lib: Restrict cpumask_local_spread to houskeeping CPUs"
      6fed85df
    • L
      Merge tag 'timers_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 814daadb
      Linus Torvalds 提交于
      Pull timer fixes from Borislav Petkov:
       "Two more timers-related fixes for v5.11:
      
         - Use a freezable workqueue for RTC sync because the sync can happen
           at any time and trigger suspend assertion checks in the i2c
           subsystem.
      
         - Correct a previous RTC validation change to check only bit 6 in
           register D because some Intel machines use bits 0-5"
      
      * tag 'timers_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        ntp: Use freezable workqueue for RTC synchronization
        rtc: mc146818: Dont test for bit 0-5 in Register D
      814daadb
    • L
      Merge tag 'x86_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e24f9c5f
      Linus Torvalds 提交于
      Pull x86 fixes from Borislav Petkov:
       "I hope this is the last batch of x86/urgent updates for this round:
      
         - Remove superfluous EFI PGD range checks which lead to those
           assertions failing with certain kernel configs and LLVM.
      
         - Disable setting breakpoints on facilities involved in #DB exception
           handling to avoid infinite loops.
      
         - Add extra serialization to non-serializing MSRs (IA32_TSC_DEADLINE
           and x2 APIC MSRs) to adhere to SDM's recommendation and avoid any
           theoretical issues.
      
         - Re-add the EPB MSR reading on turbostat so that it works on older
           kernels which don't have the corresponding EPB sysfs file.
      
         - Add Alder Lake to the list of CPUs which support split lock.
      
         - Fix %dr6 register handling in order to be able to set watchpoints
           with gdb again.
      
         - Disable CET instrumentation in the kernel so that gcc doesn't add
           ENDBR64 to kernel code and thus confuse tracing"
      
      * tag 'x86_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/efi: Remove EFI PGD build time checks
        x86/debug: Prevent data breakpoints on cpu_dr7
        x86/debug: Prevent data breakpoints on __per_cpu_offset
        x86/apic: Add extra serialization for non-serializing MSRs
        tools/power/turbostat: Fallback to an MSR read for EPB
        x86/split_lock: Enable the split lock feature on another Alder Lake CPU
        x86/debug: Fix DR6 handling
        x86/build: Disable CET instrumentation in the kernel
      e24f9c5f
    • L
      Merge tag 'kbuild-fixes-v5.11-2' of... · 2db138bb
      Linus Torvalds 提交于
      Merge tag 'kbuild-fixes-v5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Use the 'python3' command to invoke python scripts because some
         distributions do not provide the 'python' command any more.
      
       - Clean-up and update documents
      
       - Use pkg-config to search libcrypto
      
       - Fix duplicated debug flags
      
       - Ignore some more stubs in scripts/kallsyms.c
      
      * tag 'kbuild-fixes-v5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kallsyms: fix nonconverging kallsyms table with lld
        kbuild: fix duplicated flags in DEBUG_CFLAGS
        scripts/clang-tools: switch explicitly to Python 3
        kbuild: remove PYTHON variable
        Documentation/llvm: Add a section about supported architectures
        Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"
        scripts: use pkg-config to locate libcrypto
        kconfig: mconf: fix HOSTCC call
        doc: gcc-plugins: update gcc-plugins.rst
        kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc
        Documentation/Kbuild: Remove references to gcc-plugin.sh
        scripts: switch explicitly to Python 3
      2db138bb
  6. 07 2月, 2021 4 次提交
    • L
      Merge tag '5.11-rc6-smb3' of git://git.samba.org/sfrench/cifs-2.6 · 825b5991
      Linus Torvalds 提交于
      Pull cifs fixes from Steve French:
       "Three small smb3 fixes for stable"
      
      * tag '5.11-rc6-smb3' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: report error instead of invalid when revalidating a dentry fails
        smb3: fix crediting for compounding when only one request in flight
        smb3: Fix out-of-bounds bug in SMB2_negotiate()
      825b5991
    • L
      Merge tag 'riscv-for-linus-5.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · f7455e5d
      Linus Torvalds 提交于
      Pull RISC-V fixes from Palmer Dabbelt:
       "A handful of fixes for this week:
      
         - A fix to avoid evalating the VA twice in virt_addr_valid, which
           fixes some WARNs under DEBUG_VIRTUAL.
      
         - Two fixes related to STRICT_KERNEL_RWX: one that fixes some
           permissions when strict is disabled, and one to fix some alignment
           issues when strict is enabled.
      
         - A fix to disallow the selection of MAXPHYSMEM_2GB on RV32, which
           isn't valid any more but may still show up in some oldconfigs.
      
        We still have the HiFive Unleashed ethernet phy reset regression, so
        there will likely be something coming next week"
      
      * tag 'riscv-for-linus-5.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: Define MAXPHYSMEM_1GB only for RV32
        riscv: Align on L1_CACHE_BYTES when STRICT_KERNEL_RWX
        RISC-V: Fix .init section permission update
        riscv: virt_addr_valid must check the address belongs to linear mapping
      f7455e5d
    • L
      Merge tag 'powerpc-5.11-7' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · f06279ea
      Linus Torvalds 提交于
      Pull powerpc fixes from Michael Ellerman:
      
       - A fix for a change we made to __kernel_sigtramp_rt64() which confused
         glibc's backtrace logic, and also changed the semantics of that
         symbol, which was arguably an ABI break.
      
       - A fix for a stack overwrite in our VSX instruction emulation.
      
       - A couple of fixes for the Makefile logic in the new C VDSO.
      
      Thanks to Masahiro Yamada, Naveen N.  Rao, Raoni Fassina Firmino, and
      Ravi Bangoria.
      
      * tag 'powerpc-5.11-7' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics
        powerpc/vdso64: remove meaningless vgettimeofday.o build rule
        powerpc/vdso: fix unnecessary rebuilds of vgettimeofday.o
        powerpc/sstep: Fix array out of bound warning
      f06279ea
    • L
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 4a7859ea
      Linus Torvalds 提交于
      Pull ARM fixes from Russell King:
      
       - Fix latent bug with DC21285 (Footbridge PCI bridge) configuration
         accessors that affects GCC >= 4.9.2
      
       - Fix misplaced tegra_uart_config in decompressor
      
       - Ensure signal page contents are initialised
      
       - Fix kexec oops
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: kexec: fix oops after TLB are invalidated
        ARM: ensure the signal page contains defined contents
        ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor
        ARM: footbridge: fix dc21285 PCI configuration accessors
      4a7859ea