1. 28 Mar, 2022 1 commit
  2. 27 Mar, 2022 25 commits
  3. 25 Mar, 2022 12 commits
    • Linus Torvalds's avatar
      Merge tag 's390-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · d710d370
      Linus Torvalds authored
      Pull s390 updates from Vasily Gorbik:
      
       - Raise minimum supported machine generation to z10, which comes with
         various cleanups and code simplifications (usercopy/spectre
         mitigation/etc).
      
       - Rework extables and get rid of anonymous out-of-line fixups.
      
       - Page table helpers cleanup. Add set_pXd()/set_pte() helper functions.
         Covert pte_val()/pXd_val() macros to functions.
      
       - Optimize kretprobe handling by avoiding extra kprobe on
         __kretprobe_trampoline.
      
       - Add support for CEX8 crypto cards.
      
       - Allow to trigger AP bus rescan via writing to /sys/bus/ap/scans.
      
       - Add CONFIG_EXPOLINE_EXTERN option to build the kernel without COMDAT
         group sections which simplifies kpatch support.
      
       - Always use the packed stack layout and extend kernel unwinder tests.
      
       - Add sanity checks for ftrace code patching.
      
       - Add s390dbf debug log for the vfio_ap device driver.
      
       - Various virtual vs physical address confusion fixes.
      
       - Various small fixes and improvements all over the code.
      
      * tag 's390-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (69 commits)
        s390/test_unwind: add kretprobe tests
        s390/kprobes: Avoid additional kprobe in kretprobe handling
        s390: convert ".insn" encoding to instruction names
        s390: assume stckf is always present
        s390/nospec: move to single register thunks
        s390: raise minimum supported machine generation to z10
        s390/uaccess: Add copy_from/to_user_key functions
        s390/nospec: align and size extern thunks
        s390/nospec: add an option to use thunk-extern
        s390/nospec: generate single register thunks if possible
        s390/pci: make zpci_set_irq()/zpci_clear_irq() static
        s390: remove unused expoline to BC instructions
        s390/irq: use assignment instead of cast
        s390/traps: get rid of magic cast for per code
        s390/traps: get rid of magic cast for program interruption code
        s390/signal: fix typo in comments
        s390/asm-offsets: remove unused defines
        s390/test_unwind: avoid build warning with W=1
        s390: remove .fixup section
        s390/bpf: encode register within extable entry
        ...
      d710d370
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20220325' of https://github.com/jcmvbkbc/linux-xtensa · 744465da
      Linus Torvalds authored
      Pull Xtensa updates from Max Filippov:
      
       - remove dependency on the compiler's libgcc
      
       - allow selection of internal kernel ABI via Kconfig
      
       - enable compiler plugins support for gcc-12 or newer
      
       - various minor cleanups and fixes
      
      * tag 'xtensa-20220325' of https://github.com/jcmvbkbc/linux-xtensa:
        xtensa: define update_mmu_tlb function
        xtensa: fix xtensa_wsr always writing 0
        xtensa: enable plugin support
        xtensa: clean up kernel exit assembly code
        xtensa: rearrange NMI exit path
        xtensa: merge stack alignment definitions
        xtensa: fix DTC warning unit_address_format
        xtensa: fix stop_machine_cpuslocked call in patch_text
        xtensa: make secondary reset vector support conditional
        xtensa: add kernel ABI selection to Kconfig
        xtensa: don't link with libgcc
        xtensa: add helpers for division, remainder and shifts
        xtensa: add missing XCHAL_HAVE_WINDOWED check
        xtensa: use XCHAL_NUM_AREGS as pt_regs::areg size
        xtensa: rename PT_SIZE to PT_KERNEL_SIZE
        xtensa: Remove unused early_read_config_byte() et al declarations
        xtensa: use strscpy to copy strings
        net: xtensa: use strscpy to copy strings
      744465da
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 1f1c153e
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
       "Livepatch support for 32-bit is probably the standout new feature,
        otherwise mostly just lots of bits and pieces all over the board.
      
        There's a series of commits cleaning up function descriptor handling,
        which touches a few other arches as well as LKDTM. It has acks from
        Arnd, Kees and Helge.
      
        Summary:
      
         - Enforce kernel RO, and implement STRICT_MODULE_RWX for 603.
      
         - Add support for livepatch to 32-bit.
      
         - Implement CONFIG_DYNAMIC_FTRACE_WITH_ARGS.
      
         - Merge vdso64 and vdso32 into a single directory.
      
         - Fix build errors with newer binutils.
      
         - Add support for UADDR64 relocations, which are emitted by some
           toolchains. This allows powerpc to build with the latest lld.
      
         - Fix (another) potential userspace r13 corruption in transactional
           memory handling.
      
         - Cleanups of function descriptor handling & related fixes to LKDTM.
      
        Thanks to Abdul Haleem, Alexey Kardashevskiy, Anders Roxell, Aneesh
        Kumar K.V, Anton Blanchard, Arnd Bergmann, Athira Rajeev, Bhaskar
        Chowdhury, Cédric Le Goater, Chen Jingwen, Christophe JAILLET,
        Christophe Leroy, Corentin Labbe, Daniel Axtens, Daniel Henrique
        Barboza, David Dai, Fabiano Rosas, Ganesh Goudar, Guo Zhengkui, Hangyu
        Hua, Haren Myneni, Hari Bathini, Igor Zhbanov, Jakob Koschel, Jason
        Wang, Jeremy Kerr, Joachim Wiberg, Jordan Niethe, Julia Lawall, Kajol
        Jain, Kees Cook, Laurent Dufour, Madhavan Srinivasan, Mamatha Inamdar,
        Maxime Bizon, Maxim Kiselev, Maxim Kochetkov, Michal Suchanek,
        Nageswara R Sastry, Nathan Lynch, Naveen N. Rao, Nicholas Piggin,
        Nour-eddine Taleb, Paul Menzel, Ping Fang, Pratik R. Sampat, Randy
        Dunlap, Ritesh Harjani, Rohan McLure, Russell Currey, Sachin Sant,
        Segher Boessenkool, Shivaprasad G Bhat, Sourabh Jain, Thierry Reding,
        Tobias Waldekranz, Tyrel Datwyler, Vaibhav Jain, Vladimir Oltean,
        Wedson Almeida Filho, and YueHaibing"
      
      * tag 'powerpc-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (179 commits)
        powerpc/pseries: Fix use after free in remove_phb_dynamic()
        powerpc/time: improve decrementer clockevent processing
        powerpc/time: Fix KVM host re-arming a timer beyond decrementer range
        powerpc/tm: Fix more userspace r13 corruption
        powerpc/xive: fix return value of __setup handler
        powerpc/64: Add UADDR64 relocation support
        powerpc: 8xx: fix a return value error in mpc8xx_pic_init
        powerpc/ps3: remove unneeded semicolons
        powerpc/64: Force inlining of prevent_user_access() and set_kuap()
        powerpc/bitops: Force inlining of fls()
        powerpc: declare unmodified attribute_group usages const
        powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n
        powerpc/secvar: fix refcount leak in format_show()
        powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
        powerpc: Move C prototypes out of asm-prototypes.h
        powerpc/kexec: Declare kexec_paca static
        powerpc/smp: Declare current_set static
        powerpc: Cleanup asm-prototypes.c
        powerpc/ftrace: Use STK_GOT in ftrace_mprofile.S
        powerpc/ftrace: Regroup PPC64 specific operations in ftrace_mprofile.S
        ...
      1f1c153e
    • Linus Torvalds's avatar
      Merge tag 'mips_5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 9a8b3d5f
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
      
       - added support for QCN550x (ath79)
      
       - enabled KCSAN
      
       - removed TX39XX support
      
       - various cleanups and fixes
      
      * tag 'mips_5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (31 commits)
        MIPS: Fix build error for loongson64 and sgi-ip27
        MIPS: ingenic: correct unit node address
        MIPS: Fix wrong comments in asm/prom.h
        MIPS: Remove redundant definitions of device_tree_init()
        MIPS: Remove redundant check in device_tree_init()
        MIPS: pgalloc: fix memory leak caused by pgd_free()
        MIPS: RB532: fix return value of __setup handler
        MIPS: Only use current_stack_pointer on GCC
        MIPS: boot/compressed: Use array reference for image bounds
        mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
        mips: remove reference to "newer Loongson-3"
        mips: Always permit to build u-boot images
        MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
        DEC: Limit PMAX memory probing to R3k systems
        mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
        MIPS: fix fortify panic when copying asm exception handlers
        mips: ralink: fix a refcount leak in ill_acc_of_setup()
        mips: Implement "current_stack_pointer"
        MIPS: Remove TX39XX support
        MIPS: Modernize READ_IMPLIES_EXEC
        ...
      9a8b3d5f
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 34af78c4
      Linus Torvalds authored
      Pull iommu updates from Joerg Roedel:
      
       - IOMMU Core changes:
            - Removal of aux domain related code as it is basically dead and
              will be replaced by iommu-fd framework
            - Split of iommu_ops to carry domain-specific call-backs separatly
            - Cleanup to remove useless ops->capable implementations
            - Improve 32-bit free space estimate in iova allocator
      
       - Intel VT-d updates:
            - Various cleanups of the driver
            - Support for ATS of SoC-integrated devices listed in ACPI/SATC
              table
      
       - ARM SMMU updates:
            - Fix SMMUv3 soft lockup during continuous stream of events
            - Fix error path for Qualcomm SMMU probe()
            - Rework SMMU IRQ setup to prepare the ground for PMU support
            - Minor cleanups and refactoring
      
       - AMD IOMMU driver:
            - Some minor cleanups and error-handling fixes
      
       - Rockchip IOMMU driver:
            - Use standard driver registration
      
       - MSM IOMMU driver:
            - Minor cleanup and change to standard driver registration
      
       - Mediatek IOMMU driver:
            - Fixes for IOTLB flushing logic
      
      * tag 'iommu-updates-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (47 commits)
        iommu/amd: Improve amd_iommu_v2_exit()
        iommu/amd: Remove unused struct fault.devid
        iommu/amd: Clean up function declarations
        iommu/amd: Call memunmap in error path
        iommu/arm-smmu: Account for PMU interrupts
        iommu/vt-d: Enable ATS for the devices in SATC table
        iommu/vt-d: Remove unused function intel_svm_capable()
        iommu/vt-d: Add missing "__init" for rmrr_sanity_check()
        iommu/vt-d: Move intel_iommu_ops to header file
        iommu/vt-d: Fix indentation of goto labels
        iommu/vt-d: Remove unnecessary prototypes
        iommu/vt-d: Remove unnecessary includes
        iommu/vt-d: Remove DEFER_DEVICE_DOMAIN_INFO
        iommu/vt-d: Remove domain and devinfo mempool
        iommu/vt-d: Remove iova_cache_get/put()
        iommu/vt-d: Remove finding domain in dmar_insert_one_dev_info()
        iommu/vt-d: Remove intel_iommu::domains
        iommu/mediatek: Always tlb_flush_all when each PM resume
        iommu/mediatek: Add tlb_lock in tlb_flush_all
        iommu/mediatek: Remove the power status checking in tlb flush all
        ...
      34af78c4
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 6f2689a7
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This series consists of the usual driver updates (qla2xxx, pm8001,
        libsas, smartpqi, scsi_debug, lpfc, iscsi, mpi3mr) plus minor updates
        and bug fixes.
      
        The high blast radius core update is the removal of write same, which
        affects block and several non-SCSI devices. The other big change,
        which is more local, is the removal of the SCSI pointer"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (281 commits)
        scsi: scsi_ioctl: Drop needless assignment in sg_io()
        scsi: bsg: Drop needless assignment in scsi_bsg_sg_io_fn()
        scsi: lpfc: Copyright updates for 14.2.0.0 patches
        scsi: lpfc: Update lpfc version to 14.2.0.0
        scsi: lpfc: SLI path split: Refactor BSG paths
        scsi: lpfc: SLI path split: Refactor Abort paths
        scsi: lpfc: SLI path split: Refactor SCSI paths
        scsi: lpfc: SLI path split: Refactor CT paths
        scsi: lpfc: SLI path split: Refactor misc ELS paths
        scsi: lpfc: SLI path split: Refactor VMID paths
        scsi: lpfc: SLI path split: Refactor FDISC paths
        scsi: lpfc: SLI path split: Refactor LS_RJT paths
        scsi: lpfc: SLI path split: Refactor LS_ACC paths
        scsi: lpfc: SLI path split: Refactor the RSCN/SCR/RDF/EDC/FARPR paths
        scsi: lpfc: SLI path split: Refactor PLOGI/PRLI/ADISC/LOGO paths
        scsi: lpfc: SLI path split: Refactor base ELS paths and the FLOGI path
        scsi: lpfc: SLI path split: Introduce lpfc_prep_wqe
        scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4
        scsi: lpfc: SLI path split: Refactor lpfc_iocbq
        scsi: lpfc: Use kcalloc()
        ...
      6f2689a7
    • Linus Torvalds's avatar
      Merge tag 'for-5.18/dm-changes' of... · b1f8ccda
      Linus Torvalds authored
      Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mike Snitzer:
      
       - Significant refactoring and fixing of how DM core does bio-based IO
         accounting with focus on fixing wildly inaccurate IO stats for
         dm-crypt (and other DM targets that defer bio submission in their own
         workqueues). End result is proper IO accounting, made possible by
         targets being updated to use the new dm_submit_bio_remap() interface.
      
       - Add hipri bio polling support (REQ_POLLED) to bio-based DM.
      
       - Reduce dm_io and dm_target_io structs so that a single dm_io (which
         contains dm_target_io and first clone bio) weighs in at 256 bytes.
         For reference the bio struct is 128 bytes.
      
       - Various other small cleanups, fixes or improvements in DM core and
         targets.
      
       - Update MAINTAINERS with my kernel.org email address to allow
         distinction between my "upstream" and "Red" Hats.
      
      * tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (46 commits)
        dm: consolidate spinlocks in dm_io struct
        dm: reduce size of dm_io and dm_target_io structs
        dm: switch dm_target_io booleans over to proper flags
        dm: switch dm_io booleans over to proper flags
        dm: update email address in MAINTAINERS
        dm: return void from __send_empty_flush
        dm: factor out dm_io_complete
        dm cache: use dm_submit_bio_remap
        dm: simplify dm_sumbit_bio_remap interface
        dm thin: use dm_submit_bio_remap
        dm: add WARN_ON_ONCE to dm_submit_bio_remap
        dm: support bio polling
        block: add ->poll_bio to block_device_operations
        dm mpath: use DMINFO instead of printk with KERN_INFO
        dm: stop using bdevname
        dm-zoned: remove the ->name field in struct dmz_dev
        dm: remove unnecessary local variables in __bind
        dm: requeue IO if mapping table not yet available
        dm io: remove stale comment block for dm_io()
        dm thin metadata: remove unused dm_thin_remove_block and __remove
        ...
      b1f8ccda
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 2dacc1e5
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
      
       - Minor bug fixes in mlx5, mthca, pvrdma, rtrs, mlx4, hfi1, hns
      
       - Minor cleanups: coding style, useless includes and documentation
      
       - Reorganize how multicast processing works in rxe
      
       - Replace a red/black tree with xarray in rxe which improves performance
      
       - DSCP support and HW address handle re-use in irdma
      
       - Simplify the mailbox command handling in hns
      
       - Simplify iser now that FMR is eliminated
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (93 commits)
        RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()
        IB/iser: Fix error flow in case of registration failure
        IB/iser: Generalize map/unmap dma tasks
        IB/iser: Use iser_fr_desc as registration context
        IB/iser: Remove iser_reg_data_sg helper function
        RDMA/rxe: Use standard names for ref counting
        RDMA/rxe: Replace red-black trees by xarrays
        RDMA/rxe: Shorten pool names in rxe_pool.c
        RDMA/rxe: Move max_elem into rxe_type_info
        RDMA/rxe: Replace obj by elem in declaration
        RDMA/rxe: Delete _locked() APIs for pool objects
        RDMA/rxe: Reverse the sense of RXE_POOL_NO_ALLOC
        RDMA/rxe: Replace mr by rkey in responder resources
        RDMA/rxe: Fix ref error in rxe_av.c
        RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT
        RDMA/irdma: Add support for address handle re-use
        RDMA/qib: Fix typos in comments
        RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
        Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
        RDMA/rxe: Remove useless argument for update_state()
        ...
      2dacc1e5
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.18-rc1' of https://github.com/ceph/ceph-client · 85c7000f
      Linus Torvalds authored
      Pull ceph updates from Ilya Dryomov:
       "The highlights are:
      
         - several changes to how snap context and snap realms are tracked
           (Xiubo Li). In particular, this should resolve a long-standing
           issue of high kworker CPU usage and various stalls caused by
           needless iteration over all inodes in the snap realm.
      
         - async create fixes to address hangs in some edge cases (Jeff
           Layton)
      
         - support for getvxattr MDS op for querying server-side xattrs, such
           as file/directory layouts and ephemeral pins (Milind Changire)
      
         - average latency is now maintained for all metrics (Venky Shankar)
      
         - some tweaks around handling inline data to make it fit better with
           netfs helper library (David Howells)
      
        Also a couple of memory leaks got plugged along with a few assorted
        fixups. Last but not least, Xiubo has stepped up to serve as a CephFS
        co-maintainer"
      
      * tag 'ceph-for-5.18-rc1' of https://github.com/ceph/ceph-client: (27 commits)
        ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
        ceph: uninitialized variable in debug output
        ceph: use tracked average r/w/m latencies to display metrics in debugfs
        ceph: include average/stdev r/w/m latency in mds metrics
        ceph: track average r/w/m latency
        ceph: use ktime_to_timespec64() rather than jiffies_to_timespec64()
        ceph: assign the ci only when the inode isn't NULL
        ceph: fix inode reference leakage in ceph_get_snapdir()
        ceph: misc fix for code style and logs
        ceph: allocate capsnap memory outside of ceph_queue_cap_snap()
        ceph: do not release the global snaprealm until unmounting
        ceph: remove incorrect and unused CEPH_INO_DOTDOT macro
        MAINTAINERS: add Xiubo Li as cephfs co-maintainer
        ceph: eliminate the recursion when rebuilding the snap context
        ceph: do not update snapshot context when there is no new snapshot
        ceph: zero the dir_entries memory when allocating it
        ceph: move to a dedicated slabcache for ceph_cap_snap
        ceph: add getvxattr op
        libceph: drop else branches in prepare_read_data{,_cont}
        ceph: fix comments mentioning i_mutex
        ...
      85c7000f
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.18-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · b1b07ba3
      Linus Torvalds authored
      Pull xfs updates from Darrick Wong:
       "The biggest change this cycle is bringing XFS' inode attribute setting
        code back towards alignment with what the VFS does. IOWs, setgid bit
        handling should be a closer match with ext4 and btrfs behavior.
      
        The rest of the branch is bug fixes around the filesystem -- patching
        gaps in quota enforcement, removing bogus selinux audit messages, and
        fixing log corruption and problems with log recovery. There will be a
        second pull request later on in the merge window with more bug fixes.
      
        Dave Chinner will be taking over as XFS maintainer for one release
        cycle, starting from the day 5.18-rc1 drops until 5.19-rc1 is tagged
        so that I can focus on starting a massive design review for the
        (feature complete after five years) online repair feature.
      
        Summary:
      
         - Fix some incorrect mapping state being passed to iomap during COW
      
         - Don't create bogus selinux audit messages when deciding to degrade
           gracefully due to lack of privilege
      
         - Fix setattr implementation to use VFS helpers so that we drop
           setgid consistently with the other filesystems
      
         - Fix link/unlink/rename to check quota limits
      
         - Constify xfs_name_dotdot to prevent abuse of in-kernel symbols
      
         - Fix log livelock between the AIL and inodegc threads during
           recovery
      
         - Fix a log stall when the AIL races with pushers
      
         - Fix stalls in CIL flushes due to pinned inode cluster buffers
           during recovery
      
         - Fix log corruption due to incorrect usage of xfs_is_shutdown vs
           xlog_is_shutdown because during an induced fs shutdown, AIL
           writeback must continue until the log is shut down, even if the
           filesystem has already shut down"
      
      * tag 'xfs-5.18-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: xfs_is_shutdown vs xlog_is_shutdown cage fight
        xfs: AIL should be log centric
        xfs: log items should have a xlog pointer, not a mount
        xfs: async CIL flushes need pending pushes to be made stable
        xfs: xfs_ail_push_all_sync() stalls when racing with updates
        xfs: check buffer pin state after locking in delwri_submit
        xfs: log worker needs to start before intent/unlink recovery
        xfs: constify xfs_name_dotdot
        xfs: constify the name argument to various directory functions
        xfs: reserve quota for target dir expansion when renaming files
        xfs: reserve quota for dir expansion when linking/unlinking files
        xfs: refactor user/group quota chown in xfs_setattr_nonsize
        xfs: use setattr_copy to set vfs inode attributes
        xfs: don't generate selinux audit messages for capability testing
        xfs: add missing cmap->br_state = XFS_EXT_NORM update
      b1b07ba3
    • Linus Torvalds's avatar
      Merge tag 'dax-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · f0614eef
      Linus Torvalds authored
      Pull DAX updates from Dan Williams:
       "Andrew has been shepherding major dax features that touch the core -mm
        through his tree, but I still collect the dax updates that are core-mm
        independent.
      
         - Fix a crash due to a missing rcu_barrier() in dax_fs_exit()
      
         - Fix two miscellaneous doc issues"
      
      * tag 'dax-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        dax: Fix missing kdoc for dax_device
        dax: make sure inodes are flushed before destroy cache
        fsdax: fix function description
      f0614eef
    • Linus Torvalds's avatar
      Merge tag 'cxl-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl · b9132c32
      Linus Torvalds authored
      Pull CXL (Compute Express Link) updates from Dan Williams:
       "This development cycle extends the subsystem to discover CXL resources
        throughout a CXL/PCIe switch topology and respond to hot add/remove
        events anywhere in that topology.
      
        This is more foundational infrastructure in preparation for dynamic
        memory region provisioning support. Recall that CXL memory regions, as
        the new "Theory of Operation" section of
        Documentation/driver-api/cxl/memory-devices.rst describes, bring
        storage volume striping semantics to memory.
      
        The hot add/remove behavior is validated with extensions to the
        cxl_test unit test environment and this test in the cxl-cli test
        suite:
      
            https://github.com/pmem/ndctl/blob/djbw/for-74/cxl/test/cxl-topology.sh
      
        Summary:
      
         - Add a driver for 'struct cxl_memdev' objects responsible for
           CXL.mem operation as distinct from 'cxl_pci' mailbox operations.
      
           Its primary responsibility is enumerating an endpoint 'struct
           cxl_port' and all the 'struct cxl_port' instances between an
           endpoint and the CXL platform root.
      
         - Add a driver for 'struct cxl_port' objects responsible for
           enumerating and operating all Host-managed Device Memory (HDM)
           decoder resources between the platform-level CXL memory
           description, all intervening host bridges / switches, and the HDM
           resources in endpoints.
      
         - Update the cxl_pci driver to validate CXL.mem operation precursors
           to HDM decoder operation like ready-polling, and legacy CXL 1.1
           DVSEC based CXL.mem configuration.
      
         - Add basic lockdep coverage for usage of device_lock() on CXL
           subsystem objects similar to what exists for LIBNVDIMM. Include a
           compile-time switch for which subsystem to validate at run-time.
      
         - Update cxl_test to emulate a one level switch topology.
      
         - Document a "Theory of Operation" for the subsystem.
      
         - Add 'numa_node' and 'serial' attributes to cxl_memdev sysfs
      
         - Include miscellaneous fixes for spec / QEMU CXL emulation
           compatibility and static analysis reports"
      
      * tag 'cxl-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: (48 commits)
        cxl/core/port: Fix NULL but dereferenced coccicheck error
        cxl/port: Hold port reference until decoder release
        cxl/port: Fix endpoint refcount leak
        cxl/core: Fix cxl_device_lock() class detection
        cxl/core/port: Fix unregister_port() lock assertion
        cxl/regs: Fix size of CXL Capability Header Register
        cxl/core/port: Handle invalid decoders
        cxl/core/port: Fix / relax decoder target enumeration
        tools/testing/cxl: Add a physical_node link
        tools/testing/cxl: Enumerate mock decoders
        tools/testing/cxl: Mock one level of switches
        tools/testing/cxl: Fix root port to host bridge assignment
        tools/testing/cxl: Mock dvsec_ranges()
        cxl/core/port: Add endpoint decoders
        cxl/core: Move target_list out of base decoder attributes
        cxl/mem: Add the cxl_mem driver
        cxl/core/port: Add switch port enumeration
        cxl/memdev: Add numa_node attribute
        cxl/pci: Emit device serial number
        cxl/pci: Implement wait for media active
        ...
      b9132c32
  4. 24 Mar, 2022 2 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drm · b14ffae3
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Lots of work all over, Intel improving DG2 support, amdkfd CRIU
        support, msm new hw support, and faster fbdev support.
      
        dma-buf:
         - rename dma-buf-map to iosys-map
      
        core:
         - move buddy allocator to core
         - add pci/platform init macros
         - improve EDID parser deep color handling
         - EDID timing type 7 support
         - add GPD Win Max quirk
         - add yes/no helpers to string_helpers
         - flatten syncobj chains
         - add nomodeset support to lots of drivers
         - improve fb-helper clipping support
         - add default property value interface
      
        fbdev:
         - improve fbdev ops speed
      
        ttm:
         - add a backpointer from ttm bo->ttm resource
      
        dp:
         - move displayport headers
         - add a dp helper module
      
        bridge:
         - anx7625 atomic support, HDCP support
      
        panel:
         - split out panel-lvds and lvds bindings
         - find panels in OF subnodes
      
        privacy:
         - add chromeos privacy screen support
      
        fb:
         - hot unplug fw fb on forced removal
      
        simpledrm:
         - request region instead of marking ioresource busy
         - add panel oreintation property
      
        udmabuf:
         - fix oops with 0 pages
      
        amdgpu:
         - power management code cleanup
         - Enable freesync video mode by default
         - RAS code cleanup
         - Improve VRAM access for debug using SDMA
         - SR-IOV rework special register access and fixes
         - profiling power state request ioctl
         - expose IP discovery via sysfs
         - Cyan skillfish updates
         - GC 10.3.7, SDMA 5.2.7, DCN 3.1.6 updates
         - expose benchmark tests via debugfs
         - add module param to disable XGMI for testing
         - GPU reset debugfs register dumping support
      
        amdkfd:
         - CRIU support
         - SDMA queue fixes
      
        radeon:
         - UVD suspend fix
         - iMac backlight fix
      
        i915:
         - minimal parallel submission for execlists
         - DG2-G12 subplatform added
         - DG2 programming workarounds
         - DG2 accelerated migration support
         - flat CCS and CCS engine support for XeHP
         - initial small BAR support
         - drop fake LMEM support
         - ADL-N PCH support
         - bigjoiner updates
         - introduce VMA resources and async unbinding
         - register definitions cleanups
         - multi-FBC refactoring
         - DG1 OPROM over SPI support
         - ADL-N platform enabling
         - opregion mailbox #5 support
         - DP MST ESI improvements
         - drm device based logging
         - async flip optimisation for DG2
         - CPU arch abstraction fixes
         - improve GuC ADS init to work on aarch64
         - tweak TTM LRU priority hint
         - GuC 69.0.3 support
         - remove short term execbuf pins
      
        nouveau:
         - higher DP/eDP bitrates
         - backlight fixes
      
        msm:
         - dpu + dp support for sc8180x
         - dp support for sm8350
         - dpu + dsi support for qcm2290
         - 10nm dsi phy tuning support
         - bridge support for dp encoder
         - gpu support for additional 7c3 SKUs
      
        ingenic:
         - HDMI support for JZ4780
         - aux channel EDID support
      
        ast:
         - AST2600 support
         - add wide screen support
         - create DP/DVI connectors
      
        omapdrm:
         - fix implicit dma_buf fencing
      
        vc4:
         - add CSC + full range support
         - better display firmware handoff
      
        panfrost:
         - add initial dual-core GPU support
      
        stm:
         - new revision support
         - fb handover support
      
        mediatek:
         - transfer display binding document to yaml format.
         - add mt8195 display device binding.
         - allow commands to be sent during video mode.
         - add wait_for_event for crtc disable by cmdq.
      
        tegra:
         - YUV format support
      
        rcar-du:
         - LVDS support for M3-W+ (R8A77961)
      
        exynos:
         - BGR pixel format for FIMD device"
      
      * tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drm: (1529 commits)
        drm/i915/display: Do not re-enable PSR after it was marked as not reliable
        drm/i915/display: Fix HPD short pulse handling for eDP
        drm/amdgpu: Use drm_mode_copy()
        drm/radeon: Use drm_mode_copy()
        drm/amdgpu: Use ternary operator in `vcn_v1_0_start()`
        drm/amdgpu: Remove pointless on stack mode copies
        drm/amd/pm: fix indenting in __smu_cmn_reg_print_error()
        drm/amdgpu/dc: fix typos in comments
        drm/amdgpu: fix typos in comments
        drm/amd/pm: fix typos in comments
        drm/amdgpu: Add stolen reserved memory for MI25 SRIOV.
        drm/amdgpu: Merge get_reserved_allocation to get_vbios_allocations.
        drm/amdkfd: evict svm bo worker handle error
        drm/amdgpu/vcn: fix vcn ring test failure in igt reload test
        drm/amdgpu: only allow secure submission on rings which support that
        drm/amdgpu: fixed the warnings reported by kernel test robot
        drm/amd/display: 3.2.177
        drm/amd/display: [FW Promotion] Release 0.0.108.0
        drm/amd/display: Add save/restore PANEL_PWRSEQ_REF_DIV2
        drm/amd/display: Wait for hubp read line for Pollock
        ...
      b14ffae3
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 52deda95
      Linus Torvalds authored
      Merge more updates from Andrew Morton:
       "Various misc subsystems, before getting into the post-linux-next
        material.
      
        41 patches.
      
        Subsystems affected by this patch series: procfs, misc, core-kernel,
        lib, checkpatch, init, pipe, minix, fat, cgroups, kexec, kdump,
        taskstats, panic, kcov, resource, and ubsan"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (41 commits)
        Revert "ubsan, kcsan: Don't combine sanitizer with kcov on clang"
        kernel/resource: fix kfree() of bootmem memory again
        kcov: properly handle subsequent mmap calls
        kcov: split ioctl handling into locked and unlocked parts
        panic: move panic_print before kmsg dumpers
        panic: add option to dump all CPUs backtraces in panic_print
        docs: sysctl/kernel: add missing bit to panic_print
        taskstats: remove unneeded dead assignment
        kasan: no need to unset panic_on_warn in end_report()
        ubsan: no need to unset panic_on_warn in ubsan_epilogue()
        panic: unset panic_on_warn inside panic()
        docs: kdump: add scp example to write out the dump file
        docs: kdump: update description about sysfs file system support
        arm64: mm: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef
        x86/setup: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef
        riscv: mm: init: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef
        kexec: make crashk_res, crashk_low_res and crash_notes symbols always visible
        cgroup: use irqsave in cgroup_rstat_flush_locked().
        fat: use pointer to simple type in put_user()
        minix: fix bug when opening a file with O_DIRECT
        ...
      52deda95