1. 11 Jun, 2020 30 commits
  2. 10 Jun, 2020 10 commits
    • Linus Torvalds's avatar
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4dbb29fe
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
       "A couple of trivial patches that fell through the cracks last cycle"
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: fix indentation in deactivate_super()
        vfs: Remove duplicated d_mountpoint check in __is_local_mountpoint
      4dbb29fe
    • Linus Torvalds's avatar
      Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 1c383726
      Linus Torvalds authored
      Pull sysctl fixes from Al Viro:
       "Fixups to regressions in sysctl series"
      
      * 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        sysctl: reject gigantic reads/write to sysctl files
        cdrom: fix an incorrect __user annotation on cdrom_sysctl_info
        trace: fix an incorrect __user annotation on stack_trace_sysctl
        random: fix an incorrect __user annotation on proc_do_entropy
        net/sysctl: remove leftover __user annotations on neigh_proc_dointvec*
        net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl
      1c383726
    • Linus Torvalds's avatar
      Merge branch 'uaccess.i915' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 3a8557e1
      Linus Torvalds authored
      Pull i915 uaccess updates from Al Viro:
       "Low-hanging fruit in i915; there are several trickier followups, but
        that'll wait for the next cycle"
      
      * 'uaccess.i915' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        i915:get_engines(): get rid of pointless access_ok()
        i915: alloc_oa_regs(): get rid of pointless access_ok()
        i915 compat ioctl(): just use drm_ioctl_kernel()
        i915: switch copy_perf_config_registers_or_number() to unsafe_put_user()
        i915: switch query_{topology,engine}_info() to copy_to_user()
      3a8557e1
    • Linus Torvalds's avatar
      Merge branch 'uaccess.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4382a79b
      Linus Torvalds authored
      Pull misc uaccess updates from Al Viro:
       "Assorted uaccess patches for this cycle - the stuff that didn't fit
        into thematic series"
      
      * 'uaccess.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user()
        x86: kvm_hv_set_msr(): use __put_user() instead of 32bit __clear_user()
        user_regset_copyout_zero(): use clear_user()
        TEST_ACCESS_OK _never_ had been checked anywhere
        x86: switch cp_stat64() to unsafe_put_user()
        binfmt_flat: don't use __put_user()
        binfmt_elf_fdpic: don't use __... uaccess primitives
        binfmt_elf: don't bother with __{put,copy_to}_user()
        pselect6() and friends: take handling the combined 6th/7th args into helper
      4382a79b
    • Linus Torvalds's avatar
      Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace · 79ca035d
      Linus Torvalds authored
      Pull proc fix from Eric Biederman:
       "Syzbot found a NULL pointer dereference if kzalloc of s_fs_info fails"
      
      * 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        proc: s_fs_info may be NULL when proc_kill_sb is called
      79ca035d
    • Linus Torvalds's avatar
      Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux · 4152d146
      Linus Torvalds authored
      Pull READ/WRITE_ONCE rework from Will Deacon:
       "This the READ_ONCE rework I've been working on for a while, which
        bumps the minimum GCC version and improves code-gen on arm64 when
        stack protector is enabled"
      
      [ Side note: I'm _really_ tempted to raise the minimum gcc version to
        4.9, so that we can just say that we require _Generic() support.
      
        That would allow us to more cleanly handle a lot of the cases where we
        depend on very complex macros with 'sizeof' or __builtin_choose_expr()
        with __builtin_types_compatible_p() etc.
      
        This branch has a workaround for sparse not handling _Generic(),
        either, but that was already fixed in the sparse development branch,
        so it's really just gcc-4.9 that we'd require.   - Linus ]
      
      * 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux:
        compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse
        compiler_types.h: Optimize __unqual_scalar_typeof compilation time
        compiler.h: Enforce that READ_ONCE_NOCHECK() access size is sizeof(long)
        compiler-types.h: Include naked type in __pick_integer_type() match
        READ_ONCE: Fix comment describing 2x32-bit atomicity
        gcov: Remove old GCC 3.4 support
        arm64: barrier: Use '__unqual_scalar_typeof' for acquire/release macros
        locking/barriers: Use '__unqual_scalar_typeof' for load-acquire macros
        READ_ONCE: Drop pointer qualifiers when reading from scalar types
        READ_ONCE: Enforce atomicity for {READ,WRITE}_ONCE() memory accesses
        READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()
        arm64: csum: Disable KASAN for do_csum()
        fault_inject: Don't rely on "return value" from WRITE_ONCE()
        net: tls: Avoid assigning 'const' pointer to non-const pointer
        netfilter: Avoid assigning 'const' pointer to non-const pointer
        compiler/gcc: Raise minimum GCC version for kernel builds to 4.8
      4152d146
    • Andrew Morton's avatar
      arch/powerpc/mm/pgtable.c: another missed conversion · 78c24f7b
      Andrew Morton authored
      Fixes: e05c7b1f ("mm: pgtable: add shortcuts for accessing kernel PMD and PTE")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Mike Rapoport <rppt@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      78c24f7b
    • Linus Torvalds's avatar
      Merge tag 'docs-5.8-2' of git://git.lwn.net/linux · 6d62c5b2
      Linus Torvalds authored
      Pull more documentation updates from Jonathan Corbet:
       "A handful of late-arriving docs fixes, along with a patch changing a
        lot of HTTP links to HTTPS that had to be yanked and redone before the
        first pull"
      
      * tag 'docs-5.8-2' of git://git.lwn.net/linux:
        docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation
        Documentation: devres: add missing entry for devm_platform_get_and_ioremap_resource()
        Replace HTTP links with HTTPS ones: documentation
        docs: it_IT: address invalid reference warnings
        doc: zh_CN: use doc reference to resolve undefined label warning
        docs: Update the location of the LF NDA program
        docs: dev-tools: coccinelle: underlines
      6d62c5b2
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 6672966d
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "Update the ACPICA code in the kernel to upstream revision 20200528
        with the following changes:
      
         - Remove some dead code from the acpidump utility (Bob Moore)
      
         - Add new OperationRegion subtype keyword PlatformRtMechanism to the
           compiler (Erik Kaneda)"
      
      * tag 'acpi-5.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPICA: Update version to 20200528
        ACPICA: iASL: add new OperationRegion subtype keyword PlatformRtMechanism
        ACPICA: acpidump: Removed dead code from oslinuxtbl.c
      6672966d
    • Linus Torvalds's avatar
      Merge tag 'pm-5.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0c67f6b2
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These are operating performance points (OPP) framework updates mostly,
        including support for interconnect bandwidth in the OPP core, plus a
        few cpufreq changes, including boost support in the CPPC cpufreq
        driver, an ACPI device power management fix and a hibernation code
        cleanup.
      
        Specifics:
      
         - Add support for interconnect bandwidth to the OPP core (Georgi
           Djakov, Saravana Kannan, Sibi Sankar, Viresh Kumar).
      
         - Add support for regulator enable/disable to the OPP core (Kamil
           Konieczny).
      
         - Add boost support to the CPPC cpufreq driver (Xiongfeng Wang).
      
         - Make the tegra186 cpufreq driver set the
           CPUFREQ_NEED_INITIAL_FREQ_CHECK flag (Mian Yousaf Kaukab).
      
         - Prevent the ACPI power management from using power resources with
           devices where the list of power resources for power state D0 (full
           power) is missing (Rafael Wysocki).
      
         - Annotate a hibernation-related function with __init (Christophe
           JAILLET)"
      
      * tag 'pm-5.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: PM: Avoid using power resources if there are none for D0
        cpufreq: CPPC: add SW BOOST support
        cpufreq: change '.set_boost' to act on one policy
        PM: hibernate: Add __init annotation to swsusp_header_init()
        opp: Don't parse icc paths unnecessarily
        opp: Remove bandwidth votes when target_freq is zero
        opp: core: add regulators enable and disable
        opp: Reorder the code for !target_freq case
        opp: Expose bandwidth information via debugfs
        cpufreq: dt: Add support for interconnect bandwidth scaling
        opp: Update the bandwidth on OPP frequency changes
        opp: Add sanity checks in _read_opp_key()
        opp: Add support for parsing interconnect bandwidth
        cpufreq: tegra186: add CPUFREQ_NEED_INITIAL_FREQ_CHECK flag
        OPP: Add helpers for reading the binding properties
        dt-bindings: opp: Introduce opp-peak-kBps and opp-avg-kBps bindings
      0c67f6b2