1. 26 Feb, 2021 6 commits
  2. 25 Feb, 2021 11 commits
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 6fbd6cf8
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - Fix false-positive build warnings for ARCH=ia64 builds
      
       - Optimize dictionary size for module compression with xz
      
       - Check the compiler and linker versions in Kconfig
      
       - Fix misuse of extra-y
      
       - Support DWARF v5 debug info
      
       - Clamp SUBLEVEL to 255 because stable releases 4.4.x and 4.9.x
         exceeded the limit
      
       - Add generic syscall{tbl,hdr}.sh for cleanups across arches
      
       - Minor cleanups of genksyms
      
       - Minor cleanups of Kconfig
      
      * tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (38 commits)
        initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
        kbuild: remove deprecated 'always' and 'hostprogs-y/m'
        kbuild: parse C= and M= before changing the working directory
        kbuild: reuse this-makefile to define abs_srctree
        kconfig: unify rule of config, menuconfig, nconfig, gconfig, xconfig
        kconfig: omit --oldaskconfig option for 'make config'
        kconfig: fix 'invalid option' for help option
        kconfig: remove dead code in conf_askvalue()
        kconfig: clean up nested if-conditionals in check_conf()
        kconfig: Remove duplicate call to sym_get_string_value()
        Makefile: Remove # characters from compiler string
        Makefile: reuse CC_VERSION_TEXT
        kbuild: check the minimum linker version in Kconfig
        kbuild: remove ld-version macro
        scripts: add generic syscallhdr.sh
        scripts: add generic syscalltbl.sh
        arch: syscalls: remove $(srctree)/ prefix from syscall tables
        arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work
        gen_compile_commands: prune some directories
        kbuild: simplify access to the kernel's version
        ...
      6fbd6cf8
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 6f9972bb
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Miscellaneous ext4 cleanups and bug fixes. Pretty boring this cycle..."
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: add .kunitconfig fragment to enable ext4-specific tests
        ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
        ext4: reset retry counter when ext4_alloc_file_blocks() makes progress
        ext4: fix potential htree index checksum corruption
        ext4: factor out htree rep invariant check
        ext4: Change list_for_each* to list_for_each_entry*
        ext4: don't try to processed freed blocks until mballoc is initialized
        ext4: use DEFINE_MUTEX() for mutex lock
      6f9972bb
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 5b47b10e
      Linus Torvalds authored
      Pull PCI updates from Bjorn Helgaas:
       "Enumeration:
         - Remove unnecessary locking around _OSC (Bjorn Helgaas)
         - Clarify message about _OSC failure (Bjorn Helgaas)
         - Remove notification of PCIe bandwidth changes (Bjorn Helgaas)
         - Tidy checking of syscall user config accessors (Heiner Kallweit)
      
        Resource management:
         - Decline to resize resources if boot config must be preserved (Ard
           Biesheuvel)
         - Fix pci_register_io_range() memory leak (Geert Uytterhoeven)
      
        Error handling (Keith Busch):
         - Clear error status from the correct device
         - Retain error recovery status so drivers can use it after reset
         - Log the type of Port (Root or Switch Downstream) that we reset
         - Always request a reset for Downstream Ports in frozen state
      
        Endpoint framework and NTB (Kishon Vijay Abraham I):
         - Make *_get_first_free_bar() take into account 64 bit BAR
         - Add helper API to get the 'next' unreserved BAR
         - Make *_free_bar() return error codes on failure
         - Remove unused pci_epf_match_device()
         - Add support to associate secondary EPC with EPF
         - Add support in configfs to associate two EPCs with EPF
         - Add pci_epc_ops to map MSI IRQ
         - Add pci_epf_ops to expose function-specific attrs
         - Allow user to create sub-directory of 'EPF Device' directory
         - Implement ->msi_map_irq() ops for cadence
         - Configure LM_EP_FUNC_CFG based on epc->function_num_map for cadence
         - Add EP function driver to provide NTB functionality
         - Add support for EPF PCI Non-Transparent Bridge
         - Add specification for PCI NTB function device
         - Add PCI endpoint NTB function user guide
         - Add configfs binding documentation for pci-ntb endpoint function
      
        Broadcom STB PCIe controller driver:
         - Add support for BCM4908 and external PERST# signal controller
           (Rafał Miłecki)
      
        Cadence PCIe controller driver:
         - Retrain Link to work around Gen2 training defect (Nadeem Athani)
         - Fix merge botch in cdns_pcie_host_map_dma_ranges() (Krzysztof
           Wilczyński)
      
        Freescale Layerscape PCIe controller driver:
         - Add LX2160A rev2 EP mode support (Hou Zhiqiang)
         - Convert to builtin_platform_driver() (Michael Walle)
      
        MediaTek PCIe controller driver:
         - Fix OF node reference leak (Krzysztof Wilczyński)
      
        Microchip PolarFlare PCIe controller driver:
         - Add Microchip PolarFire PCIe controller driver (Daire McNamara)
      
        Qualcomm PCIe controller driver:
         - Use PHY_REFCLK_USE_PAD only for ipq8064 (Ansuel Smith)
         - Add support for ddrss_sf_tbu clock for sm8250 (Dmitry Baryshkov)
      
        Renesas R-Car PCIe controller driver:
         - Drop PCIE_RCAR config option (Lad Prabhakar)
         - Always allocate MSI addresses in 32bit space (Marek Vasut)
      
        Rockchip PCIe controller driver:
         - Add FriendlyARM NanoPi M4B DT binding (Chen-Yu Tsai)
         - Make 'ep-gpios' DT property optional (Chen-Yu Tsai)
      
        Synopsys DesignWare PCIe controller driver:
         - Work around ECRC configuration hardware defect (Vidya Sagar)
         - Drop support for config space in DT 'ranges' (Rob Herring)
         - Change size to u64 for EP outbound iATU (Shradha Todi)
         - Add upper limit address for outbound iATU (Shradha Todi)
         - Make dw_pcie ops optional (Jisheng Zhang)
         - Remove unnecessary dw_pcie_ops from al driver (Jisheng Zhang)
      
        Xilinx Versal CPM PCIe controller driver:
         - Fix OF node reference leak (Pan Bian)
      
        Miscellaneous:
         - Remove tango host controller driver (Arnd Bergmann)
         - Remove IRQ handler & data together (altera-msi, brcmstb, dwc)
           (Martin Kaiser)
         - Fix xgene-msi race in installing chained IRQ handler (Martin
           Kaiser)
         - Apply CONFIG_PCI_DEBUG to entire drivers/pci hierarchy (Junhao He)
         - Fix pci-bridge-emul array overruns (Russell King)
         - Remove obsolete uses of WARN_ON(in_interrupt()) (Sebastian Andrzej
           Siewior)"
      
      * tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (69 commits)
        PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
        PCI: qcom: Add support for ddrss_sf_tbu clock
        dt-bindings: PCI: qcom: Document ddrss_sf_tbu clock for sm8250
        PCI: al: Remove useless dw_pcie_ops
        PCI: dwc: Don't assume the ops in dw_pcie always exist
        PCI: dwc: Add upper limit address for outbound iATU
        PCI: dwc: Change size to u64 for EP outbound iATU
        PCI: dwc: Drop support for config space in 'ranges'
        PCI: layerscape: Convert to builtin_platform_driver()
        PCI: layerscape: Add LX2160A rev2 EP mode support
        dt-bindings: PCI: layerscape: Add LX2160A rev2 compatible strings
        PCI: dwc: Work around ECRC configuration issue
        PCI/portdrv: Report reset for frozen channel
        PCI/AER: Specify the type of Port that was reset
        PCI/ERR: Retain status from error notification
        PCI/AER: Clear AER status from Root Port when resetting Downstream Port
        PCI/ERR: Clear status of the reporting device
        dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B
        PCI: rockchip: Make 'ep-gpios' DT property optional
        Documentation: PCI: Add PCI endpoint NTB function user guide
        ...
      5b47b10e
    • Linus Torvalds's avatar
      Merge tag 'nds32-for-linux-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux · 6c15f9e8
      Linus Torvalds authored
      Pull nds32 updates from Greentime Hu:
       "Code clean-up and refinement"
      
      * tag 'nds32-for-linux-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux:
        nds32: Fix bogus reference to <asm/procinfo.h>
        nds32: use get_kernel_nofault in dump_mem
        nds32: remove dump_instr
        nds32: configs: Cleanup CONFIG_CROSS_COMPILE
        nds32: Replace <linux/clk-provider.h> by <linux/of_clk.h>
      6c15f9e8
    • Geert Uytterhoeven's avatar
      nds32: Fix bogus reference to <asm/procinfo.h> · 40e0dd85
      Geert Uytterhoeven authored
      Andestech(nds32) never had <asm/procinfo.h>.
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
      Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
      40e0dd85
    • Christoph Hellwig's avatar
      nds32: use get_kernel_nofault in dump_mem · fa2f478a
      Christoph Hellwig authored
      Use the proper get_kernel_nofault helper to access an unsafe kernel
      pointer without faulting instead of playing with set_fs and get_user.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarNick Hu <nickhu@andestech.com>
      Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
      Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
      fa2f478a
    • Christoph Hellwig's avatar
      nds32: remove dump_instr · 9d63fecf
      Christoph Hellwig authored
      dump_inst has a return before actually doing anything, so just drop the
      whole thing.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarNick Hu <nickhu@andestech.com>
      Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
      Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
      9d63fecf
    • Krzysztof Kozlowski's avatar
      nds32: configs: Cleanup CONFIG_CROSS_COMPILE · e99da8af
      Krzysztof Kozlowski authored
      CONFIG_CROSS_COMPILE is gone since commit f1089c92 ("kbuild: remove
      CONFIG_CROSS_COMPILE support").
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
      Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
      e99da8af
    • Geert Uytterhoeven's avatar
      nds32: Replace <linux/clk-provider.h> by <linux/of_clk.h> · d7cc16b4
      Geert Uytterhoeven authored
      The Andes platform code is not a clock provider, and just needs to call
      of_clk_init().
      
      Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
      Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
      Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
      d7cc16b4
    • Linus Torvalds's avatar
      Merge tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 29c395c7
      Linus Torvalds authored
      Pull x86 irq entry updates from Thomas Gleixner:
       "The irq stack switching was moved out of the ASM entry code in course
        of the entry code consolidation. It ended up being suboptimal in
        various ways.
      
        This reworks the X86 irq stack handling:
      
         - Make the stack switching inline so the stackpointer manipulation is
           not longer at an easy to find place.
      
         - Get rid of the unnecessary indirect call.
      
         - Avoid the double stack switching in interrupt return and reuse the
           interrupt stack for softirq handling.
      
         - A objtool fix for CONFIG_FRAME_POINTER=y builds where it got
           confused about the stack pointer manipulation"
      
      * tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool: Fix stack-swizzle for FRAME_POINTER=y
        um: Enforce the usage of asm-generic/softirq_stack.h
        x86/softirq/64: Inline do_softirq_own_stack()
        softirq: Move do_softirq_own_stack() to generic asm header
        softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig
        x86: Select CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK
        x86/softirq: Remove indirection in do_softirq_own_stack()
        x86/entry: Use run_sysvec_on_irqstack_cond() for XEN upcall
        x86/entry: Convert device interrupts to inline stack switching
        x86/entry: Convert system vectors to irq stack macro
        x86/irq: Provide macro for inlining irq stack switching
        x86/apic: Split out spurious handling code
        x86/irq/64: Adjust the per CPU irq stack pointer by 8
        x86/irq: Sanitize irq stack tracking
        x86/entry: Fix instrumentation annotation
      29c395c7
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 4c48faba
      Linus Torvalds authored
      Merge misc updates from Andrew Morton:
       "A few small subsystems and some of MM.
      
        172 patches.
      
        Subsystems affected by this patch series: hexagon, scripts, ntfs,
        ocfs2, vfs, and mm (slab-generic, slab, slub, debug, pagecache, swap,
        memcg, pagemap, mprotect, mremap, page-reporting, vmalloc, kasan,
        pagealloc, memory-failure, hugetlb, vmscan, z3fold, compaction,
        mempolicy, oom-kill, hugetlbfs, and migration)"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (172 commits)
        mm/migrate: remove unneeded semicolons
        hugetlbfs: remove unneeded return value of hugetlb_vmtruncate()
        hugetlbfs: fix some comment typos
        hugetlbfs: correct some obsolete comments about inode i_mutex
        hugetlbfs: make hugepage size conversion more readable
        hugetlbfs: remove meaningless variable avoid_reserve
        hugetlbfs: correct obsolete function name in hugetlbfs_read_iter()
        hugetlbfs: use helper macro default_hstate in init_hugetlbfs_fs
        hugetlbfs: remove useless BUG_ON(!inode) in hugetlbfs_setattr()
        hugetlbfs: remove special hugetlbfs_set_page_dirty()
        mm/hugetlb: change hugetlb_reserve_pages() to type bool
        mm, oom: fix a comment in dump_task()
        mm/mempolicy: use helper range_in_vma() in queue_pages_test_walk()
        numa balancing: migrate on fault among multiple bound nodes
        mm, compaction: make fast_isolate_freepages() stay within zone
        mm/compaction: fix misbehaviors of fast_find_migrateblock()
        mm/compaction: correct deferral logic for proactive compaction
        mm/compaction: remove duplicated VM_BUG_ON_PAGE !PageLocked
        mm/compaction: remove rcu_read_lock during page compaction
        z3fold: simplify the zhdr initialization code in init_z3fold_page()
        ...
      4c48faba
  3. 24 Feb, 2021 23 commits