Skip to content
  1. Dec 19, 2020
  2. Dec 16, 2020
  3. Dec 15, 2020
    • Linus Torvalds's avatar
      Merge tag 'timers-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 533369b1
      Linus Torvalds authored
      Pull timers and timekeeping updates from Thomas Gleixner:
       "Core:
      
         - Robustness improvements for the NOHZ tick management
      
         - Fixes and consolidation of the NTP/RTC synchronization code
      
         - Small fixes and improvements in various places
      
         - A set of function documentation udpates and fixes
      
         Drivers:
      
         - Cleanups and improvements in various clocksoure/event drivers
      
         - Removal of the EZChip NPS clocksource driver as the platfrom
           support was removed from ARC
      
         - The usual set of new device tree binding and json conversions
      
         - The RTC driver which have been acked by the RTC maintainer:
      
             * fix a long standing bug in the MC146818 library code which can
               cause reading garbage during the RTC internal update.
      
             * changes related to the NTP/RTC consolidation work"
      
      * tag 'timers-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (46 commits)
        ntp: Fix prototype in the !CONFIG_GENERIC_CMOS_UPDATE case
        tick/sched: Make jiffies update quick check more robust
        ntp: Consolidate the RTC update implementation
        ntp: Make the RTC sync offset less obscure
        ntp, rtc: Move rtc_set_ntp_time() to ntp code
        ntp: Make the RTC synchronization more reliable
        rtc: core: Make the sync offset default more realistic
        rtc: cmos: Make rtc_cmos sync offset correct
        rtc: mc146818: Reduce spinlock section in mc146818_set_time()
        rtc: mc146818: Prevent reading garbage
        clocksource/drivers/sh_cmt: Fix potential deadlock when calling runtime PM
        clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI
        clocksource/drivers/arm_arch_timer: Use stable count reader in erratum sne
        clocksource/drivers/dw_apb_timer_of: Add error handling if no clock available
        clocksource/drivers/riscv: Make RISCV_TIMER depends on RISCV_SBI
        clocksource/drivers/ingenic: Fix section mismatch
        clocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent()
        dt-bindings: timer: renesas: tmu: Convert to json-schema
        dt-bindings: timer: renesas: tmu: Document r8a774e1 bindings
        clocksource/drivers/orion: Add missing clk_disable_unprepare() on error path
        ...
      533369b1
    • Linus Torvalds's avatar
      Merge tag 'perf-kprobes-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 76d4acf2
      Linus Torvalds authored
      Pull perf/kprobes updates from Thomas Gleixner:
       "Make kretprobes lockless to avoid the rp->lock performance and
        potential lock ordering issues"
      
      * tag 'perf-kprobes-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/atomics: Regenerate the atomics-check SHA1's
        kprobes: Replace rp->free_instance with freelist
        freelist: Implement lockless freelist
        asm-generic/atomic: Add try_cmpxchg() fallbacks
        kprobes: Remove kretprobe hash
        llist: Add nonatomic __llist_add() and __llist_dell_all()
      76d4acf2
    • Linus Torvalds's avatar
      Merge tag 'perf-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8a8ca83e
      Linus Torvalds authored
      Pull perf updates from Thomas Gleixner:
       "Core:
      
         - Better handling of page table leaves on archictectures which have
           architectures have non-pagetable aligned huge/large pages. For such
           architectures a leaf can actually be part of a larger entry.
      
         - Prevent a deadlock vs exec_update_mutex
      
        Architectures:
      
         - The related updates for page size calculation of leaf entries
      
         - The usual churn to support new CPUs
      
         - Small fixes and improvements all over the place"
      
      * tag 'perf-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        perf/x86/intel: Add Tremont Topdown support
        uprobes/x86: Fix fall-through warnings for Clang
        perf/x86: Fix fall-through warnings for Clang
        kprobes/x86: Fix fall-through warnings for Clang
        perf/x86/intel/lbr: Fix the return type of get_lbr_cycles()
        perf/x86/intel: Fix rtm_abort_event encoding on Ice Lake
        x86/kprobes: Restore BTF if the single-stepping is cancelled
        perf: Break deadlock involving exec_update_mutex
        sparc64/mm: Implement pXX_leaf_size() support
        powerpc/8xx: Implement pXX_leaf_size() support
        arm64/mm: Implement pXX_leaf_size() support
        perf/core: Fix arch_perf_get_page_size()
        mm: Introduce pXX_leaf_size()
        mm/gup: Provide gup_get_pte() more generic
        perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY
        perf/x86/intel/uncore: Add Rocket Lake support
        perf/x86/msr: Add Rocket Lake CPU support
        perf/x86/cstate: Add Rocket Lake CPU support
        perf/x86/intel: Add Rocket Lake CPU support
        perf,mm: Handle non-page-table-aligned hugetlbfs
        ...
      8a8ca83e
    • Linus Torvalds's avatar
      Merge tag 'locking-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e857b6fc
      Linus Torvalds authored
      Pull locking updates from Thomas Gleixner:
       "A moderate set of locking updates:
      
         - A few extensions to the rwsem API and support for opportunistic
           spinning and lock stealing
      
         - lockdep selftest improvements
      
         - Documentation updates
      
         - Cleanups and small fixes all over the place"
      
      * tag 'locking-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
        seqlock: kernel-doc: Specify when preemption is automatically altered
        seqlock: Prefix internal seqcount_t-only macros with a "do_"
        Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g
        locking/rwsem: Remove reader optimistic spinning
        locking/rwsem: Enable reader optimistic lock stealing
        locking/rwsem: Prevent potential lock starvation
        locking/rwsem: Pass the current atomic count to rwsem_down_read_slowpath()
        locking/rwsem: Fold __down_{read,write}*()
        locking/rwsem: Introduce rwsem_write_trylock()
        locking/rwsem: Better collate rwsem_read_trylock()
        rwsem: Implement down_read_interruptible
        rwsem: Implement down_read_killable_nested
        refcount: Fix a kernel-doc markup
        completion: Drop init_completion define
        atomic: Update MAINTAINERS
        atomic: Delete obsolete documentation
        seqlock: Rename __seqprop() users
        lockdep/selftest: Add spin_nest_lock test
        lockdep/selftests: Fix PROVE_RAW_LOCK_NESTING
        seqlock: avoid -Wshadow warnings
        ...
      e857b6fc
    • Linus Torvalds's avatar
      Merge tag 'core-rcu-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8c1dccc8
      Linus Torvalds authored
      Pull RCU updates from Thomas Gleixner:
       "RCU, LKMM and KCSAN updates collected by Paul McKenney.
      
        RCU:
         - Avoid cpuinfo-induced IPI pileups and idle-CPU IPIs
      
         - Lockdep-RCU updates reducing the need for __maybe_unused
      
         - Tasks-RCU updates
      
         - Miscellaneous fixes
      
         - Documentation updates
      
         - Torture-test updates
      
        KCSAN:
         - updates for selftests, avoiding setting watchpoints on NULL pointers
      
         - fix to watchpoint encoding
      
        LKMM:
         - updates for documentation along with some updates to example-code
           litmus tests"
      
      * tag 'core-rcu-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (72 commits)
        srcu: Take early exit on memory-allocation failure
        rcu/tree: Defer kvfree_rcu() allocation to a clean context
        rcu: Do not report strict GPs for outgoing CPUs
        rcu: Fix a typo in rcu_blocking_is_gp() header comment
        rcu: Prevent lockdep-RCU splats on lock acquisition/release
        rcu/tree: nocb: Avoid raising softirq for offloaded ready-to-execute CBs
        rcu,ftrace: Fix ftrace recursion
        rcu/tree: Make struct kernel_param_ops definitions const
        rcu/tree: Add a warning if CPU being onlined did not report QS already
        rcu: Clarify nocb kthreads naming in RCU_NOCB_CPU config
        rcu: Fix single-CPU check in rcu_blocking_is_gp()
        rcu: Implement rcu_segcblist_is_offloaded() config dependent
        list.h: Update comment to explicitly note circular lists
        rcu: Panic after fixed number of stalls
        x86/smpboot:  Move rcu_cpu_starting() earlier
        rcu: Allow rcu_irq_enter_check_tick() from NMI
        tools/memory-model: Label MP tests' producers and consumers
        tools/memory-model: Use "buf" and "flag" for message-passing tests
        tools/memory-model: Add types to litmus tests
        tools/memory-model: Add a glossary of LKMM terms
        ...
      8c1dccc8
    • Linus Torvalds's avatar
      Merge tag 'core-entry-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1ac0884d
      Linus Torvalds authored
      Pull core entry/exit updates from Thomas Gleixner:
       "A set of updates for entry/exit handling:
      
         - More generalization of entry/exit functionality
      
         - The consolidation work to reclaim TIF flags on x86 and also for
           non-x86 specific TIF flags which are solely relevant for syscall
           related work and have been moved into their own storage space. The
           x86 specific part had to be merged in to avoid a major conflict.
      
         - The TIF_NOTIFY_SIGNAL work which replaces the inefficient signal
           delivery mode of task work and results in an impressive performance
           improvement for io_uring. The non-x86 consolidation of this is
           going to come seperate via Jens.
      
         - The selective syscall redirection facility which provides a clean
           and efficient way to support the non-Linux syscalls of WINE by
           catching them at syscall entry and redirecting them to the user
           space emulation. This can be utilized for other purposes as well
           and has been designed carefully to avoid overhead for the regular
           fastpath. This includes the core changes and the x86 support code.
      
         - Simplification of the context tracking entry/exit handling for the
           users of the generic entry code which guarantee the proper ordering
           and protection.
      
         - Preparatory changes to make the generic entry code accomodate S390
           specific requirements which are mostly related to their syscall
           restart mechanism"
      
      * tag 'core-entry-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (36 commits)
        entry: Add syscall_exit_to_user_mode_work()
        entry: Add exit_to_user_mode() wrapper
        entry_Add_enter_from_user_mode_wrapper
        entry: Rename exit_to_user_mode()
        entry: Rename enter_from_user_mode()
        docs: Document Syscall User Dispatch
        selftests: Add benchmark for syscall user dispatch
        selftests: Add kselftest for syscall user dispatch
        entry: Support Syscall User Dispatch on common syscall entry
        kernel: Implement selective syscall userspace redirection
        signal: Expose SYS_USER_DISPATCH si_code type
        x86: vdso: Expose sigreturn address on vdso to the kernel
        MAINTAINERS: Add entry for common entry code
        entry: Fix boot for !CONFIG_GENERIC_ENTRY
        x86: Support HAVE_CONTEXT_TRACKING_OFFSTACK
        context_tracking: Only define schedule_user() on !HAVE_CONTEXT_TRACKING_OFFSTACK archs
        sched: Detect call to schedule from critical entry code
        context_tracking: Don't implement exception_enter/exit() on CONFIG_HAVE_CONTEXT_TRACKING_OFFSTACK
        context_tracking: Introduce HAVE_CONTEXT_TRACKING_OFFSTACK
        x86: Reclaim unused x86 TI flags
        ...
      1ac0884d
    • Linus Torvalds's avatar
      Merge tag 'docs-5.11' of git://git.lwn.net/linux · ff613595
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "A much quieter cycle for documentation (happily), with, one hopes, the
        bulk of the churn behind us. Significant stuff in this pull includes:
      
         - A set of new Chinese translations
      
         - Italian translation updates
      
         - A mechanism from Mauro to automatically format
           Documentation/features for the built docs
      
         - Automatic cross references without explicit :ref: markup
      
         - A new reset-controller document
      
         - An extensive new document on reporting problems from Thorsten
      
        That last patch also adds the CC-BY-4.0 license to LICENSES/dual;
        there was some discussion on this, but we seem to have consensus and
        an ack from Greg for that addition"
      
      * tag 'docs-5.11' of git://git.lwn.net/linux: (50 commits)
        docs: fix broken cross reference in translations/zh_CN
        docs: Note that sphinx 1.7 will be required soon
        docs: update requirements to install six module
        docs: reporting-issues: move 'outdated, need help' note to proper place
        docs: Update documentation to reflect what TAINT_CPU_OUT_OF_SPEC means
        docs: add a reset controller chapter to the driver API docs
        docs: make reporting-bugs.rst obsolete
        docs: Add a new text describing how to report bugs
        LICENSES: Add the CC-BY-4.0 license
        Documentation: fix multiple typos found in the admin-guide subdirectory
        Documentation: fix typos found in admin-guide subdirectory
        kernel-doc: Fix example in Nested structs/unions
        docs: clean up sysctl/kernel: titles, version
        docs: trace: fix event state structure name
        docs: nios2: add missing ReST file
        scripts: get_feat.pl: reduce table width for all features output
        scripts: get_feat.pl: change the group by order
        scripts: get_feat.pl: make complete table more coincise
        scripts: kernel-doc: fix parsing function-like typedefs
        Documentation: fix typos found in process, dev-tools, and doc-guide subdirectories
        ...
      ff613595
    • Linus Torvalds's avatar
      Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · f9b4240b
      Linus Torvalds authored
      Pull misc fixes from Christian Brauner:
       "This contains several fixes which felt worth being combined into a
        single branch:
      
         - Use put_nsproxy() instead of open-coding it switch_task_namespaces()
      
         - Kirill's work to unify lifecycle management for all namespaces. The
           lifetime counters are used identically for all namespaces types.
           Namespaces may of course have additional unrelated counters and
           these are not altered. This work allows us to unify the type of the
           counters and reduces maintenance cost by moving the counter in one
           place and indicating that basic lifetime management is identical
           for all namespaces.
      
         - Peilin's fix adding three byte padding to Dmitry's
           PTRACE_GET_SYSCALL_INFO uapi struct to prevent an info leak.
      
         - Two smal patches to convert from the /* fall through */ comment
           annotation to the fallthrough keyword annotation which I had taken
           into my branch and into -next before df561f66 ("treewide: Use
           fallthrough pseudo-keyword") made it upstream which fixed this
           tree-wide.
      
           Since I didn't want to invalidate all testing for other commits I
           didn't rebase and kept them"
      
      * tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        nsproxy: use put_nsproxy() in switch_task_namespaces()
        sys: Convert to the new fallthrough notation
        signal: Convert to the new fallthrough notation
        time: Use generic ns_common::count
        cgroup: Use generic ns_common::count
        mnt: Use generic ns_common::count
        user: Use generic ns_common::count
        pid: Use generic ns_common::count
        ipc: Use generic ns_common::count
        uts: Use generic ns_common::count
        net: Use generic ns_common::count
        ns: Add a common refcount into ns_common
        ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info()
      f9b4240b
    • Linus Torvalds's avatar
      Merge tag 'time-namespace-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 6d93a197
      Linus Torvalds authored
      Pull time namespace updates from Christian Brauner:
       "When time namespaces were introduced we missed to virtualize the
        'btime' field in /proc/stat. This confuses tasks which are in another
        time namespace with a virtualized boottime which is common in some
        container workloads. This contains Michael's series to fix 'btime'
        which Thomas asked me to take through my tree.
      
        To fix 'btime' virtualization we simply subtract the offset of the
        time namespace's boottime from btime before printing the stats. Note
        that since start_boottime of processes are seconds since boottime and
        the boottime stamp is now shifted according to the time namespace's
        offset, the offset of the time namespace also needs to be applied
        before the process stats are given to userspace. This avoids that
        processes shown by tools such as 'ps' appear as time travelers in the
        corresponding time namespace.
      
        Selftests are included to verify that btime virtualization in
        /proc/stat works as expected"
      
      * tag 'time-namespace-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        namespace: make timens_on_fork() return nothing
        selftests/timens: added selftest for /proc/stat btime
        fs/proc: apply the time namespace offset to /proc/stat btime
        timens: additional helper functions for boottime offset handling
      6d93a197
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 0ca2ce81
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
      
       - Expose tag address bits in siginfo. The original arm64 ABI did not
         expose any of the bits 63:56 of a tagged address in siginfo. In the
         presence of user ASAN or MTE, this information may be useful. The
         implementation is generic to other architectures supporting tags
         (like SPARC ADI, subject to wiring up the arch code). The user will
         have to opt in via sigaction(SA_EXPOSE_TAGBITS) so that the extra
         bits, if available, become visible in si_addr.
      
       - Default to 32-bit wide ZONE_DMA. Previously, ZONE_DMA was set to the
         lowest 1GB to cope with the Raspberry Pi 4 limitations, to the
         detriment of other platforms. With these changes, the kernel scans
         the Device Tree dma-ranges and the ACPI IORT information before
         deciding on a smaller ZONE_DMA.
      
       - Strengthen READ_ONCE() to acquire when CONFIG_LTO=y. When building
         with LTO, there is an increased risk of the compiler converting an
         address dependency headed by a READ_ONCE() invocation into a control
         dependency and consequently allowing for harmful reordering by the
         CPU.
      
       - Add CPPC FFH support using arm64 AMU counters.
      
       - set_fs() removal on arm64. This renders the User Access Override
         (UAO) ARMv8 feature unnecessary.
      
       - Perf updates: PMU driver for the ARM DMC-620 memory controller, sysfs
         identifier file for SMMUv3, stop event counters support for i.MX8MP,
         enable the perf events-based hard lockup detector.
      
       - Reorganise the kernel VA space slightly so that 52-bit VA
         configurations can use more virtual address space.
      
       - Improve the robustness of the arm64 memory offline event notifier.
      
       - Pad the Image header to 64K following the EFI header definition
         updated recently to increase the section alignment to 64K.
      
       - Support CONFIG_CMDLINE_EXTEND on arm64.
      
       - Do not use tagged PC in the kernel (TCR_EL1.TBID1==1), freeing up 8
         bits for PtrAuth.
      
       - Switch to vmapped shadow call stacks.
      
       - Miscellaneous clean-ups.
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (78 commits)
        perf/imx_ddr: Add system PMU identifier for userspace
        bindings: perf: imx-ddr: add compatible string
        arm64: Fix build failure when HARDLOCKUP_DETECTOR_PERF is enabled
        arm64: mte: fix prctl(PR_GET_TAGGED_ADDR_CTRL) if TCF0=NONE
        arm64: mark __system_matches_cap as __maybe_unused
        arm64: uaccess: remove vestigal UAO support
        arm64: uaccess: remove redundant PAN toggling
        arm64: uaccess: remove addr_limit_user_check()
        arm64: uaccess: remove set_fs()
        arm64: uaccess cleanup macro naming
        arm64: uaccess: split user/kernel routines
        arm64: uaccess: refactor __{get,put}_user
        arm64: uaccess: simplify __copy_user_flushcache()
        arm64: uaccess: rename privileged uaccess routines
        arm64: sdei: explicitly simulate PAN/UAO entry
        arm64: sdei: move uaccess logic to arch/arm64/
        arm64: head.S: always initialize PSTATE
        arm64: head.S: cleanup SCTLR_ELx initialization
        arm64: head.S: rename el2_setup -> init_kernel_el
        arm64: add C wrappers for SET_PSTATE_*()
        ...
      0ca2ce81
    • Linus Torvalds's avatar
      Merge tag 's390-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 58659247
      Linus Torvalds authored
      Pull s390 updates from Heiko Carstens:
      
       - Add support for the hugetlb_cma command line option to allocate
         gigantic hugepages using CMA
      
       - Add arch_get_random_long() support.
      
       - Add ap bus userspace notifications.
      
       - Increase default size of vmalloc area to 512GB and otherwise let it
         increase dynamically by the size of physical memory. This should fix
         all occurrences where the vmalloc area was not large enough.
      
       - Completely get rid of set_fs() (aka select SET_FS) and rework address
         space handling while doing that; making address space handling much
         more simple.
      
       - Reimplement getcpu vdso syscall in C.
      
       - Add support for extended SCLP responses (> 4k). This allows e.g. to
         handle also potential large system configurations.
      
       - Simplify KASAN by removing 3-level page table support and only
         supporting 4-levels from now on.
      
       - Improve debug-ability of the kernel decompressor code, which now
         prints also stack traces and symbols in case of problems to the
         console.
      
       - Remove more power management leftovers.
      
       - Other various fixes and improvements all over the place.
      
      * tag 's390-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (62 commits)
        s390/mm: add support to allocate gigantic hugepages using CMA
        s390/crypto: add arch_get_random_long() support
        s390/smp: perform initial CPU reset also for SMT siblings
        s390/mm: use invalid asce for user space when switching to init_mm
        s390/idle: fix accounting with machine checks
        s390/idle: add missing mt_cycles calculation
        s390/boot: add build-id to decompressor
        s390/kexec_file: fix diag308 subcode when loading crash kernel
        s390/cio: fix use-after-free in ccw_device_destroy_console
        s390/cio: remove pm support from ccw bus driver
        s390/cio: remove pm support from css-bus driver
        s390/cio: remove pm support from IO subchannel drivers
        s390/cio: remove pm support from chsc subchannel driver
        s390/vmur: remove unused pm related functions
        s390/tape: remove unsupported PM functions
        s390/cio: remove pm support from eadm-sch drivers
        s390: remove pm support from console drivers
        s390/dasd: remove unused pm related functions
        s390/zfcp: remove pm support from zfcp driver
        s390/ap: let bus_register() add the AP bus sysfs attributes
        ...
      58659247
    • Linus Torvalds's avatar
      Merge tag 'm68k-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · 0b03befa
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven:
      
       - fix WARNING splat in pmac_zilog driver
      
       - fix ADB input device regression
      
       - assume maintainership for adb-iop and via-macii
      
       - minor fixes and improvements
      
       - defconfig updates
      
      * tag 'm68k-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        MAINTAINERS: Update m68k Mac entry
        macintosh/adb-iop: Send correct poll command
        macintosh/adb-iop: Always wait for reply message from IOP
        m68k: Fix WARNING splat in pmac_zilog driver
        m68k: Add a missing ELF_DETAILS in link script
        m68k: Drop redundant NOTES in link script
        m68k: mac: Update Kconfig help
        m68k: mac: Remove redundant VIA register writes
        m68k: mac: Remove dead code
        m68k: mac: Refactor iop_preinit() and iop_init()
        m68k: defconfig: Enable KUnit tests
        m68k: defconfig: Update defconfigs for v5.10-rc1
        m68k: Remove unused mach_max_dma_address
        m68k: Avoid xchg() warning
      0b03befa
    • Linus Torvalds's avatar
      Merge branch 'radeon-fixes' (Radeon and amdgpu fixes) · 2c075f38
      Linus Torvalds authored
      
      
      Merge radeon and amdgpu fixes for boot problems.
      
      The drm merge ended up causing my AMD workstation to not boot.  When
      reporting this, Alex Deucher correctly blamed commit 28a68f82
      ("drm/radeon/ttm: use multihop") and pointed to these two fixes that
      were already in the drm-misc tree:
      
        95e3d610 ("drm/radeon: fix check order in radeon_bo_move")
        aefec409 ("drm/amdgpu: fix check order in amdgpu_bo_move")
      
      Since I hate doing merges with a known-bad base, I've cherry-picked
      these fixes into a branch of their own, just to be able to continue my
      merge window.  The original commits will eventually come in as
      duplicates through the normal channels, but in the meantime we have a
      tree that isn't broken with basically every AMD GPU out there.
      
      Acked-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      
      * cherry-picked from the drm-misc tree:
        drm/radeon: fix check order in radeon_bo_move
        drm/amdgpu: fix check order in amdgpu_bo_move
      2c075f38
    • Christian König's avatar
      drm/radeon: fix check order in radeon_bo_move · 68b111bf
      Christian König authored
      
      
      Reorder the code to fix checking if blitting is available.
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Fixes: 28a68f82 ("drm/radeon/ttm: use multihop")
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/403847/
      
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      68b111bf
    • Christian König's avatar
      drm/amdgpu: fix check order in amdgpu_bo_move · 228ddee8
      Christian König authored
      
      
      Reorder the code to fix checking if blitting is available.
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/401019/
      
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      228ddee8
    • Linus Torvalds's avatar
      Merge tag 'x86_build_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 84292fff
      Linus Torvalds authored
      Pull x86 build updates from Borislav Petkov:
       "Two x86 build fixes:
      
         - Fix the vmlinux size check on 64-bit along with adding useful
           clarifications on the topic (Arvind Sankar)
      
         - Remove -m16 workaround now that the GCC versions that need it are
           unsupported (Nick Desaulniers)"
      
      * tag 'x86_build_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/build: Remove -m16 workaround for unsupported versions of GCC
        x86/build: Fix vmlinux size check on 64-bit
      84292fff
    • Linus Torvalds's avatar
      Merge tag 'x86_cache_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8ba27ae3
      Linus Torvalds authored
      Pull x86 cache resource control updates from Borislav Petkov:
      
       - add logic to correct MBM total and local values fixing errata SKX99
         and BDF102 (Fenghua Yu)
      
       - cleanups
      
      * tag 'x86_cache_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/resctrl: Clean up unused function parameter in rmdir path
        x86/resctrl: Constify kernfs_ops
        x86/resctrl: Correct MBM total and local values
        Documentation/x86: Rename resctrl_ui.rst and add two errata to the file
      8ba27ae3
    • Linus Torvalds's avatar
      Merge tag 'x86_cleanups_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 405f868f
      Linus Torvalds authored
      Pull x86 cleanups from Borislav Petkov:
       "Another branch with a nicely negative diffstat, just the way I
        like 'em:
      
         - Remove all uses of TIF_IA32 and TIF_X32 and reclaim the two bits in
           the end (Gabriel Krisman Bertazi)
      
         - All kinds of minor cleanups all over the tree"
      
      * tag 'x86_cleanups_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        x86/ia32_signal: Propagate __user annotation properly
        x86/alternative: Update text_poke_bp() kernel-doc comment
        x86/PCI: Make a kernel-doc comment a normal one
        x86/asm: Drop unused RDPID macro
        x86/boot/compressed/64: Use TEST %reg,%reg instead of CMP $0,%reg
        x86/head64: Remove duplicate include
        x86/mm: Declare 'start' variable where it is used
        x86/head/64: Remove unused GET_CR2_INTO() macro
        x86/boot: Remove unused finalize_identity_maps()
        x86/uaccess: Document copy_from_user_nmi()
        x86/dumpstack: Make show_trace_log_lvl() static
        x86/mtrr: Fix a kernel-doc markup
        x86/setup: Remove unused MCA variables
        x86, libnvdimm/test: Remove COPY_MC_TEST
        x86: Reclaim TIF_IA32 and TIF_X32
        x86/mm: Convert mmu context ia32_compat into a proper flags field
        x86/elf: Use e_machine to check for x32/ia32 in setup_additional_pages()
        elf: Expose ELF header on arch_setup_additional_pages()
        x86/elf: Use e_machine to select start_thread for x32
        elf: Expose ELF header in compat_start_thread()
        ...
      405f868f
    • Linus Torvalds's avatar
      Merge tag 'x86_mm_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 54d79483
      Linus Torvalds authored
      Pull x86 mm update from Borislav Petkov:
       "A single improvement to check ident_pud_init()'s return value (Arvind
        Sankar)"
      
      * tag 'x86_mm_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mm/ident_map: Check for errors from ident_pud_init()
      54d79483
    • Linus Torvalds's avatar
      Merge tag 'x86_misc_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9c70f046
      Linus Torvalds authored
      Pull misc x86 updates from Borislav Petkov:
       "The main part of this branch is the ongoing fight against windmills in
        an attempt to have userspace tools not poke at naked MSRs.
      
        This round deals with MSR_IA32_ENERGY_PERF_BIAS and removes direct
        poking into it by our in-tree tools in favor of the proper
        "energy_perf_bias" sysfs interface which we already have.
      
        In addition, the msr.ko write filtering's error message points to a
        new summary page which contains the info we collected from helpful
        reporters about which userspace tools write MSRs:
      
            https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about
      
        along with the current status of their conversion.
      
        The rest is the usual small fixes and improvements"
      
      * tag 'x86_misc_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/msr: Add a pointer to an URL which contains further details
        x86/pci: Fix the function type for check_reserved_t
        selftests/x86: Add missing .note.GNU-stack sections
        selftests/x86/fsgsbase: Fix GS == 1, 2, and 3 tests
        x86/msr: Downgrade unrecognized MSR message
        x86/msr: Do not allow writes to MSR_IA32_ENERGY_PERF_BIAS
        tools/power/x86_energy_perf_policy: Read energy_perf_bias from sysfs
        tools/power/turbostat: Read energy_perf_bias from sysfs
        tools/power/cpupower: Read energy_perf_bias from sysfs
        MAINTAINERS: Cleanup SGI-related entries
      9c70f046
    • Linus Torvalds's avatar
      Merge tag 'x86_platform_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ae1c1a8f
      Linus Torvalds authored
      Pull x86 platform updates from Borislav Petkov:
      
       - add a new uv_sysfs driver and expose read-only information from UV
         BIOS (Justin Ernst and Mike Travis)
      
       - the usual set of small fixes
      
      * tag 'x86_platform_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/platform/uv: Update sysfs documentation
        x86/platform/uv: Add deprecated messages to /proc info leaves
        x86/platform/uv: Add sysfs hubless leaves
        x86/platform/uv: Add sysfs leaves to replace those in procfs
        x86/platform/uv: Add kernel interfaces for obtaining system info
        x86/platform/uv: Make uv_pcibus_kset and uv_hubs_kset static
        x86/platform/uv: Fix an error code in uv_hubs_init()
        x86/platform/uv: Update MAINTAINERS for uv_sysfs driver
        x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/
        x86/platform/uv: Add new uv_sysfs platform driver
        x86/platform/uv: Add and export uv_bios_* functions
        x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface
      ae1c1a8f
    • Linus Torvalds's avatar
      Merge tag 'x86_cpu_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0d712978
      Linus Torvalds authored
      Pull x86 cpuid updates from Borislav Petkov:
       "Only AMD-specific changes this time:
      
         - Save the AMD physical die ID into cpuinfo_x86.cpu_die_id and
           convert all code to use it (Yazen Ghannam)
      
         - Remove a dead and unused TSEG region remapping workaround on AMD
           (Arvind Sankar)"
      
      * tag 'x86_cpu_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/cpu/amd: Remove dead code for TSEG region remapping
        x86/topology: Set cpu_die_id only if DIE_TYPE found
        EDAC/mce_amd: Use struct cpuinfo_x86.cpu_die_id for AMD NodeId
        x86/CPU/AMD: Remove amd_get_nb_id()
        x86/CPU/AMD: Save AMD NodeId as cpu_die_id
      0d712978
    • Linus Torvalds's avatar
      Merge tag 'x86_sgx_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5583ff67
      Linus Torvalds authored
      Pull x86 SGC support from Borislav Petkov:
       "Intel Software Guard eXtensions enablement. This has been long in the
        making, we were one revision number short of 42. :)
      
        Intel SGX is new hardware functionality that can be used by
        applications to populate protected regions of user code and data
        called enclaves. Once activated, the new hardware protects enclave
        code and data from outside access and modification.
      
        Enclaves provide a place to store secrets and process data with those
        secrets. SGX has been used, for example, to decrypt video without
        exposing the decryption keys to nosy debuggers that might be used to
        subvert DRM. Software has generally been rewritten specifically to run
        in enclaves, but there are also projects that try to run limited
        unmodified software in enclaves.
      
        Most of the functionality is concentrated into arch/x86/kernel/cpu/sgx/
        except the addition of a new mprotect() hook to control enclave page
        permissions and support for vDSO exceptions fixup which will is used
        by SGX enclaves.
      
        All this work by Sean Christopherson, Jarkko Sakkinen and many others"
      
      * tag 'x86_sgx_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (30 commits)
        x86/sgx: Return -EINVAL on a zero length buffer in sgx_ioc_enclave_add_pages()
        x86/sgx: Fix a typo in kernel-doc markup
        x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment
        x86/sgx: Return -ERESTARTSYS in sgx_ioc_enclave_add_pages()
        selftests/sgx: Use a statically generated 3072-bit RSA key
        x86/sgx: Clarify 'laundry_list' locking
        x86/sgx: Update MAINTAINERS
        Documentation/x86: Document SGX kernel architecture
        x86/sgx: Add ptrace() support for the SGX driver
        x86/sgx: Add a page reclaimer
        selftests/x86: Add a selftest for SGX
        x86/vdso: Implement a vDSO for Intel SGX enclave call
        x86/traps: Attempt to fixup exceptions in vDSO before signaling
        x86/fault: Add a helper function to sanitize error code
        x86/vdso: Add support for exception fixup in vDSO functions
        x86/sgx: Add SGX_IOC_ENCLAVE_PROVISION
        x86/sgx: Add SGX_IOC_ENCLAVE_INIT
        x86/sgx: Add SGX_IOC_ENCLAVE_ADD_PAGES
        x86/sgx: Add SGX_IOC_ENCLAVE_CREATE
        x86/sgx: Add an SGX misc driver interface
        ...
      5583ff67
    • Linus Torvalds's avatar
      Merge tag 'x86_microcode_update_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 85fe40ca
      Linus Torvalds authored
      Pull x86 microcode loader update from Borislav Petkov:
       "This one wins the award for most boring pull request ever. But that's
        a good thing - this is how I like 'em and the microcode loader
        *should* be boring. :-)
      
        A single cleanup removing "break" after a return statement (Tom Rix)"
      
      * tag 'x86_microcode_update_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/microcode/amd: Remove unneeded break
      85fe40ca
    • Linus Torvalds's avatar
      Merge tag 'ras_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2b34233c
      Linus Torvalds authored
      Pull x86 RAS updates from Borislav Petkov:
      
       - Enable additional logging mode on older Xeons (Tony Luck)
      
       - Pass error records logged by firmware through the MCE decoding chain
         to provide human-readable error descriptions instead of raw values
         (Smita Koralahalli)
      
       - Some #MC handler fixes (Gabriele Paoloni)
      
       - The usual small fixes and cleanups all over.
      
      * tag 'ras_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mce: Rename kill_it to kill_current_task
        x86/mce: Remove redundant call to irq_work_queue()
        x86/mce: Panic for LMCE only if mca_cfg.tolerant < 3
        x86/mce: Move the mce_panic() call and 'kill_it' assignments to the right places
        x86/mce, cper: Pass x86 CPER through the MCA handling chain
        x86/mce: Use "safe" MSR functions when enabling additional error logging
        x86/mce: Correct the detection of invalid notifier priorities
        x86/mce: Assign boolean values to a bool variable
        x86/mce: Enable additional error logging on certain Intel CPUs
        x86/mce: Remove unneeded break
      2b34233c
    • Linus Torvalds's avatar
      Merge tag 'edac_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · 9e7f2588
      Linus Torvalds authored
      Pull EDAC updates from Borislav Petkov:
       "Somewhat busier than usual this cycle:
      
         - Add support for AST2400 and AST2600 hw to aspeed_edac (Troy Lee)
      
         - Remove an orphaned mv64x60_edac driver. Good riddance (Michael
           Ellerman)
      
         - Add a new igen6 driver for Intel client SoCs with an integrated
           memory controller and using in-band ECC (Qiuxu Zhuo and Tony Luck)
      
         - The usual smattering of fixes and cleanups all over"
      
      * tag 'edac_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/mv64x60: Remove orphan mv64x60 driver
        EDAC/aspeed: Add support for AST2400 and AST2600
        ARM: dts: aspeed: Add AST2600 EDAC into common devicetree
        dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support
        EDAC/amd64: Fix PCI component registration
        EDAC/igen6: ecclog_llist can be static
        EDAC/i10nm: Add Intel Sapphire Rapids server support
        EDAC: Add DDR5 new memory type
        EDAC/i10nm: Use readl() to access MMIO registers
        MAINTAINERS: Add entry for Intel IGEN6 EDAC driver
        EDAC/igen6: Add debugfs interface for Intel client SoC EDAC driver
        EDAC/igen6: Add EDAC driver for Intel client SoCs using IBECC
        EDAC/synopsys: Return the correct value in mc_probe()
        MAINTAINERS: Clean up the F: entries for some EDAC drivers
        EDAC: Add three new memory types
        EDAC: Fix some kernel-doc markups
        EDAC: Do not issue useless debug statements in the polling routine
        EDAC/amd64: Remove unneeded breaks
      9e7f2588
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 9e4b0d55
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
       "API:
         - Add speed testing on 1420-byte blocks for networking
      
        Algorithms:
         - Improve performance of chacha on ARM for network packets
         - Improve performance of aegis128 on ARM for network packets
      
        Drivers:
         - Add support for Keem Bay OCS AES/SM4
         - Add support for QAT 4xxx devices
         - Enable crypto-engine retry mechanism in caam
         - Enable support for crypto engine on sdm845 in qce
         - Add HiSilicon PRNG driver support"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (161 commits)
        crypto: qat - add capability detection logic in qat_4xxx
        crypto: qat - add AES-XTS support for QAT GEN4 devices
        crypto: qat - add AES-CTR support for QAT GEN4 devices
        crypto: atmel-i2c - select CONFIG_BITREVERSE
        crypto: hisilicon/trng - replace atomic_add_return()
        crypto: keembay - Add support for Keem Bay OCS AES/SM4
        dt-bindings: Add Keem Bay OCS AES bindings
        crypto: aegis128 - avoid spurious references crypto_aegis128_update_simd
        crypto: seed - remove trailing semicolon in macro definition
        crypto: x86/poly1305 - Use TEST %reg,%reg instead of CMP $0,%reg
        crypto: x86/sha512 - Use TEST %reg,%reg instead of CMP $0,%reg
        crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
        crypto: cpt - Fix sparse warnings in cptpf
        hwrng: ks-sa - Add dependency on IOMEM and OF
        crypto: lib/blake2s - Move selftest prototype into header file
        crypto: arm/aes-ce - work around Cortex-A57/A72 silion errata
        crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
        crypto: ccree - rework cache parameters handling
        crypto: cavium - Use dma_set_mask_and_coherent to simplify code
        crypto: marvell/octeontx - Use dma_set_mask_and_coherent to simplify code
        ...
      9e4b0d55
    • Jonathan Corbet's avatar
      docs: fix broken cross reference in translations/zh_CN · 47e44ed0
      Jonathan Corbet authored
      
      
      Commit 09028e60 ("doc: zh_CN: add translatation for tmpfs") introduced
      a cross reference without adding the appropriate target tag, leading to
      this docs-build warning:
      
        Documentation/translations/zh_CN/filesystems/tmpfs.rst:5: WARNING: undefined label: tmpfs_index (if the link has no caption the label must precede a section header)
      
      With automarkup, we don't actually need an explicit reference here at all,
      so just take it out.
      
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Fixes: 09028e60 ("doc: zh_CN: add translatation for tmpfs")
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      47e44ed0
    • Linus Torvalds's avatar
      Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt · 51895d58
      Linus Torvalds authored
      Pull fsverity updates from Eric Biggers:
       "Some cleanups for fs-verity:
      
         - Rename some names that have been causing confusion
      
         - Move structs needed for file signing to the UAPI header"
      
      * tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt:
        fs-verity: move structs needed for file signing to UAPI header
        fs-verity: rename "file measurement" to "file digest"
        fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest
        fs-verity: remove filenames from file comments
      51895d58
    • Linus Torvalds's avatar
      Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt · 7c7fdaf6
      Linus Torvalds authored
      Pull fscrypt updates from Eric Biggers:
       "This release there are some fixes for longstanding problems, as well
        as some cleanups:
      
         - Fix a race condition where a duplicate filename could be created in
           an encrypted directory if a syscall that creates a new filename
           raced with the directory's encryption key being added.
      
         - Allow deleting files that use an unsupported encryption policy.
      
         - Simplify the locking for 'struct fscrypt_master_key'.
      
         - Remove kernel-internal constants from the UAPI header.
      
        As usual, all these patches have been in linux-next with no reported
        issues, and I've tested them with xfstests"
      
      * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt:
        fscrypt: allow deleting files with unsupported encryption policy
        fscrypt: unexport fscrypt_get_encryption_info()
        fscrypt: move fscrypt_require_key() to fscrypt_private.h
        fscrypt: move body of fscrypt_prepare_setattr() out-of-line
        fscrypt: introduce fscrypt_prepare_readdir()
        ext4: don't call fscrypt_get_encryption_info() from dx_show_leaf()
        ubifs: remove ubifs_dir_open()
        f2fs: remove f2fs_dir_open()
        ext4: remove ext4_dir_open()
        fscrypt: simplify master key locking
        fscrypt: remove unnecessary calls to fscrypt_require_key()
        ubifs: prevent creating duplicate encrypted filenames
        f2fs: prevent creating duplicate encrypted filenames
        ext4: prevent creating duplicate encrypted filenames
        fscrypt: add fscrypt_is_nokey_name()
        fscrypt: remove kernel-internal constants from UAPI header
      7c7fdaf6
    • Linus Torvalds's avatar
      Merge tag 'tomoyo-pr-20201214' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1 · da062855
      Linus Torvalds authored
      Pull tomoyo updates from Tetsuo Handa:
       "Limit recursion depth, fix clang warning, fix comment typo, and
        silence memory allocation failure warning"
      
      * tag 'tomoyo-pr-20201214' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1:
        tomoyo: Fix typo in comments.
        tomoyo: Fix null pointer check
        tomoyo: Limit wildcard recursion depth.
        tomoyo: fix clang pointer arithmetic warning
        tomoyo: Loosen pathname/domainname validation.
      da062855
    • Linus Torvalds's avatar
      Merge tag 'media/v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · fab0fca1
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - some rework at the uAPI pixel format docs
      
       - the smiapp driver has started to gain support for MIPI CSS camera
         sensors and was renamed
      
       - two new sensor drivers: ov02a10 and ov9734
      
       - Meson gained a driver for the 2D acceleration unit
      
       - Rockchip rkisp1 driver was promoted from staging
      
       - Cedrus driver gained support for VP8
      
       - two new remote controller keymaps were added
      
       - the usual set of fixes cleanups and driver improvements
      
      * tag 'media/v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (447 commits)
        media: ccs: Add support for obtaining C-PHY configuration from firmware
        media: ccs-pll: Print pixel rates
        media: ccs: Print written register values
        media: ccs: Add support for DDR OP SYS and OP PIX clocks
        media: ccs-pll: Add support for DDR OP system and pixel clocks
        media: ccs: Dual PLL support
        media: ccs-pll: Add trivial dual PLL support
        media: ccs-pll: Separate VT divisor limit calculation from the rest
        media: ccs-pll: Fix VT post-PLL divisor calculation
        media: ccs-pll: Make VT divisors 16-bit
        media: ccs-pll: Rework bounds checks
        media: ccs-pll: Print relevant information on PLL tree
        media: ccs-pll: Better separate OP and VT sub-tree calculation
        media: ccs-pll: Check for derating and overrating, support non-derating sensors
        media: ccs-pll: Split off VT subtree calculation
        media: ccs-pll: Add C-PHY support
        media: ccs-pll: Add sanity checks
        media: ccs-pll: Add support flexible OP PLL pixel clock divider
        media: ccs-pll: Support two cycles per pixel on OP domain
        media: ccs-pll: Add support for extended input PLL clock divider
        ...
      fab0fca1
    • Linus Torvalds's avatar
      Merge tag 'for-5.11/revert-problem-v5.10-raid-changes' of... · ae1985b5
      Linus Torvalds authored
      Merge tag 'for-5.11/revert-problem-v5.10-raid-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull MD regression reverts from Mike Snitzer:
       "A cascade of MD reverts occurred late in the v5.10-rcX cycle due to MD
        raid10 discard optimizations having introduced potential for
        corruption.
      
        Those reverts exposed a dm-raid.c compiler warning that wasn't ever
        knowingly introduced. That min_not_zero() type mismatch warning was
        thought to be safely fixed simply by changing 'struct mddev' to use
        'unsigned int' rather than int for chunk_sectors members in that
        struct.
      
        I proposed either using a cast local to dm-raid.c but thought changing
        the type to 'unsigned int' more correct. While that may be, not enough
        testing was paired with code review associated with making that
        change. As such we were left exposed and the result was a report that
        with v5.10 btrfs on MD RAID6 failed to mount:
      
          https://lkml.org/lkml/2020/12/14/7
      
        Given that report, it is justified to simply revert these offending
        commits. stable@ has already taken steps to revert these for 5.10.1 -
        this just makes sure mainline does so too"
      
      * tag 'for-5.11/revert-problem-v5.10-raid-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        Revert "dm raid: fix discard limits for raid1 and raid10"
        Revert "md: change mddev 'chunk_sectors' from int to unsigned"
      ae1985b5
    • Linus Torvalds's avatar
      Merge tag 'auxdisplay-for-linus-v5.11' of git://github.com/ojeda/linux · bcc68bd8
      Linus Torvalds authored
      Pull auxdisplay updates from Miguel Ojeda:
       "A bigger set of changes than usual for auxdisplay. There have been
        quite a few changes in auxdisplay thanks to a refactor by Lars
        Poeschel to share code in order to introduce a new driver.
      
        Summary:
      
         - Significant refactor work to make charlcd independent of device,
           i.e. hd44780 (Lars Poeschel)
      
         - New driver: lcd2s (Lars Poeschel)
      
         - Fixes on top of the rework while being tested in -next (Lars
           Poeschel, Dan Carpenter and kernel test robot)"
      
      * tag 'auxdisplay-for-linus-v5.11' of git://github.com/ojeda/linux: (30 commits)
        auxdisplay: panel: Remove redundant charlcd_ops structures
        auxdisplay: panel: Fix missing print function pointer
        auxdisplay: fix platform_no_drv_owner.cocci warnings
        auxdisplay: fix use after free in lcd2s_i2c_remove()
        auxdisplay: hd44780_common: Fix build error
        auxdisplay: add a driver for lcd2s character display
        auxdisplay: lcd2s DT binding doc
        auxdisplay: charlcd: Do not print chars at end of line
        auxdisplay: Change gotoxy calling interface
        auxdisplay: charlcd: replace last device specific stuff
        auxdisplay: hd44780: Remove clear_fast
        auxdisplay: hd44780_common: Reduce clear_display timeout
        auxdisplay: Call charlcd_backlight in place
        auxdisplay: Move char redefine code to hd44780_common
        auxdisplay: cleanup unnecessary hd44780 code in charlcd
        auxdisplay: implement various hd44780_common_ functions
        auxdisplay: Move init_display to hd44780_common
        auxdisplay: Make use of enum for backlight on / off
        auxdisplay: make charlcd_backlight visible to hd44780_common
        auxdisplay: Move clear_display to hd44780_common
        ...
      bcc68bd8
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm · 1d36dffa
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Not a huge amount of big things here, AMD has support for a few new HW
        variants (vangogh, green sardine, dimgrey cavefish), Intel has some
        more DG1 enablement. We have a few big reworks of the TTM layers and
        interfaces, GEM and atomic internal API reworks cross tree. fbdev is
        marked orphaned in here as well to reflect the current reality.
      
        core:
         - documentation updates
         - deprecate DRM_FORMAT_MOD_NONE
         - atomic crtc enable/disable rework
         - GEM convert drivers to gem object functions
         - remove SCATTER_LIST_MAX_SEGMENT
      
        sched:
         - avoid infinite waits
      
        ttm:
         - remove AGP support
         - don't modify caching for swapout
         - ttm pinning rework
         - major TTM reworks
         - new backend allocator
         - multihop support
      
        vram-helper:
         - top down BO placement fix
         - TTM changes
         - GEM object support
      
        displayport:
         - DP 2.0 DPCD prep work
         - DP MST extended DPCD caps
      
        fbdev:
         - mark as orphaned
      
        amdgpu:
         - Initial Vangogh support
         - Green Sardine support
         - Dimgrey Cavefish support
         - SG display support for renoir
         - SMU7 improvements
         - gfx9+ modiifier support
         - CI BACO fixes
      
        radeon:
         - expose voltage via hwmon on SUMO
      
        amdkfd:
         - fix unique id handling
      
        i915:
         - more DG1 enablement
         - bigjoiner support
         - integer scaling filter support
         - async flip support
         - ICL+ DSI command mode
         - Improve display shutdown
         - Display refactoring
         - eLLC machine fbdev loading fix
         - dma scatterlist fixes
         - TGL hang fixes
         - eLLC display buffer caching on SKL+
         - MOCS PTE seeting for gen9+
      
        msm:
         - Shutdown hook
         - GPU cooling device support
         - DSI 7nm and 10nm phy/pll updates
         - sm8150/sm2850 DPU support
         - GEM locking re-work
         - LLCC system cache support
      
        aspeed:
         - sysfs output config support
      
        ast:
         - LUT fix
         - new display mode
      
        gma500:
         - remove 2d framebuffer accel
      
        panfrost:
         - move gpu reset to a worker
      
        exynos:
         - new HDMI mode support
      
        mediatek:
         - MT8167 support
         - yaml bindings
         - MIPI DSI phy code moved
      
        etnaviv:
         - new perf counter
         - more lockdep annotation
      
        hibmc:
         - i2c DDC support
      
        ingenic:
         - pixel clock reset fix
         - reserved memory support
         - allow both DMA channels at once
         - different pixel format support
         - 30/24/8-bit palette modes
      
        tilcdc:
         - don't keep vblank irq enabled
      
        vc4:
         - new maintainer added
         - DSI registration fix
      
        virtio:
         - blob resource support
         - host visible and cross-device support
         - uuid api support"
      
      * tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm: (1754 commits)
        drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs
        drm/amdgpu: fix size calculation with stolen vga memory
        drm/amdgpu: remove amdgpu_ttm_late_init  and amdgpu_bo_late_init
        drm/amdgpu: free the pre-OS console framebuffer after the first modeset
        drm/amdgpu: enable runtime pm using BACO on CI dGPUs
        drm/amdgpu/cik: enable BACO reset on Bonaire
        drm/amd/pm: update smu10.h WORKLOAD_PPLIB setting for raven
        drm/amd/pm: remove one unsupported smu function for vangogh
        drm/amd/display: setup system context for APUs
        drm/amd/display: add S/G support for Vangogh
        drm/amdkfd: Fix leak in dmabuf import
        drm/amdgpu: use AMDGPU_NUM_VMID when possible
        drm/amdgpu: fix sdma instance fw version and feature version init
        drm/amd/pm: update driver if version for dimgrey_cavefish
        drm/amd/display: 3.2.115
        drm/amd/display: [FW Promotion] Release 0.0.45
        drm/amd/display: Revert DCN2.1 dram_clock_change_latency update
        drm/amd/display: Enable gpu_vm_support for dcn3.01
        drm/amd/display: Fixed the audio noise during mode switching with HDCP mode on
        drm/amd/display: Add wm table for Renoir
        ...
      1d36dffa
    • Mike Snitzer's avatar
      Revert "dm raid: fix discard limits for raid1 and raid10" · 0941e3b0
      Mike Snitzer authored
      
      
      This reverts commit e0910c8e.
      
      Reverting 6ffeb1c3 ("md: change mddev 'chunk_sectors' from int to
      unsigned") exposes dm-raid.c compiler warnings detailed that commit's
      header. Clearly this more conservative fix, of simply reverting
      e0910c8e, would've been more prudent given how late we were in the
      v5.10 release. Lessons have been learned.
      
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      0941e3b0
    • Mike Snitzer's avatar
      Revert "md: change mddev 'chunk_sectors' from int to unsigned" · 77a68698
      Mike Snitzer authored
      This reverts commit 6ffeb1c3.
      
      This change caused unexpected v5.10 raid6 mount failures, see:
      https://lkml.org/lkml/2020/12/14/7
      
      
      
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      77a68698