1. 07 Apr, 2020 23 commits
  2. 06 Apr, 2020 11 commits
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 7e634208
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "Additional ACPI updates.
      
        These update the ACPICA code in the kernel to the 20200326 upstream
        revision, fix an ACPI-related CPU hotplug deadlock on x86, update
        Intel Tiger Lake device IDs in some places, add a new ACPI backlight
        blacklist entry, update the "acpi_backlight" kernel command line
        switch documentation and clean up a CPPC library routine.
      
        Specifics:
      
         - Update the ACPICA code in the kernel to upstream revision 20200326
           including:
            * Fix for a typo in a comment field (Bob Moore)
            * acpiExec namespace init file fixes (Bob Moore)
            * Addition of NHLT to the known tables list (Cezary Rojewski)
            * Conversion of PlatformCommChannel ASL keyword to PCC (Erik
              Kaneda)
            * acpiexec cleanup (Erik Kaneda)
            * WSMT-related typo fix (Erik Kaneda)
            * sprintf() utility function fix (John Levon)
            * IVRS IVHD type 11h parsing implementation (Michał Żygowski)
            * IVRS IVHD type 10h reserved field name fix (Michał Żygowski)
      
         - Fix ACPI-related CPU hotplug deadlock on x86 (Qian Cai)
      
         - Fix Intel Tiger Lake ACPI device IDs in several places (Gayatri
           Kammela)
      
         - Add ACPI backlight blacklist entry for Acer Aspire 5783z (Hans de
           Goede)
      
         - Fix documentation of the "acpi_backlight" kernel command line
           switch (Randy Dunlap)
      
         - Clean up the acpi_get_psd_map() CPPC library routine (Liguang
           Zhang)"
      
      * tag 'acpi-5.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        x86: ACPI: fix CPU hotplug deadlock
        thermal: int340x_thermal: fix: Update Tiger Lake ACPI device IDs
        platform/x86: intel-hid: fix: Update Tiger Lake ACPI device ID
        ACPI: Update Tiger Lake ACPI device IDs
        ACPI: video: Use native backlight on Acer Aspire 5783z
        ACPI: video: Docs update for "acpi_backlight" kernel parameter options
        ACPICA: Update version 20200326
        ACPICA: Fixes for acpiExec namespace init file
        ACPICA: Add NHLT table signature
        ACPICA: WSMT: Fix typo, no functional change
        ACPICA: utilities: fix sprintf()
        ACPICA: acpiexec: remove redeclaration of acpi_gbl_db_opt_no_region_support
        ACPICA: Change PlatformCommChannel ASL keyword to PCC
        ACPICA: Fix IVRS IVHD type 10h reserved field name
        ACPICA: Implement IVRS IVHD type 11h parsing
        ACPICA: Fix a typo in a comment field
        ACPI: CPPC: clean up acpi_get_psd_map()
      7e634208
    • Linus Torvalds's avatar
      Merge tag 'pm-5.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ef05db16
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "Additional power management updates.
      
        These fix a corner-case suspend-to-idle wakeup issue on systems where
        the ACPI SCI is shared with another wakeup source, add a kernel
        command line option to set pm_debug_messages via the kernel command
        line, add a document desctibing system-wide suspend and resume code
        flows, modify cpufreq Kconfig to choose schedutil as the preferred
        governor by default in a couple of cases and do some assorted
        cleanups.
      
        Specifics:
      
         - Fix corner-case suspend-to-idle wakeup issue on systems where the
           ACPI SCI is shared with another wakeup source (Hans de Goede).
      
         - Add document describing system-wide suspend and resume code flows
           to the admin guide (Rafael Wysocki).
      
         - Add kernel command line option to set pm_debug_messages (Chen Yu).
      
         - Choose schedutil as the preferred scaling governor by default on
           ARM big.LITTLE systems and on x86 systems using the intel_pstate
           driver in the passive mode (Linus Walleij, Rafael Wysocki).
      
         - Drop racy and redundant checks from the PM core's device_prepare()
           routine (Rafael Wysocki).
      
         - Make resume from hibernation take the hibernation_restore() return
           value into account (Dexuan Cui)"
      
      * tag 'pm-5.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
        ACPI: PM: Add acpi_[un]register_wakeup_handler()
        Documentation: PM: sleep: Document system-wide suspend code flows
        cpufreq: Select schedutil when using big.LITTLE
        PM: sleep: Add pm_debug_messages kernel command line option
        PM: sleep: core: Drop racy and redundant checks from device_prepare()
        PM: hibernate: Propagate the return value of hibernation_restore()
        cpufreq: intel_pstate: Select schedutil as the default governor
      ef05db16
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.7-rc1' of git://github.com/c-sky/csky-linux · f183d269
      Linus Torvalds authored
      Pull csky updates from Guo Ren:
      
       - Add kproobes/uprobes support
      
       - Add lockdep, rseq, gcov support
      
       - Fixup init_fpu
      
       - Fixup ftrace_modify deadlock
      
       - Fixup speculative execution on IO area
      
      * tag 'csky-for-linus-5.7-rc1' of git://github.com/c-sky/csky-linux:
        csky: Fixup cpu speculative execution to IO area
        csky: Add uprobes support
        csky: Add kprobes supported
        csky: Enable LOCKDEP_SUPPORT
        csky: Enable the gcov function
        csky: Fixup get wrong psr value from phyical reg
        csky/ftrace: Fixup ftrace_modify_code deadlock without CPU_HAS_ICACHE_INS
        csky: Implement ftrace with regs
        csky: Add support for restartable sequence
        csky: Implement ptrace regs and stack API
        csky: Fixup init_fpu compile warning with __init
      f183d269
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · b6ff1070
      Linus Torvalds authored
      Pull fsnotify updates from Jan Kara:
       "This implements the fanotify FAN_DIR_MODIFY event.
      
        This event reports the name in a directory under which a change
        happened and together with the directory filehandle and fstatat()
        allows reliable and efficient implementation of directory
        synchronization"
      
      * tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fanotify: Fix the checks in fanotify_fsid_equal
        fanotify: report name info for FAN_DIR_MODIFY event
        fanotify: record name info for FAN_DIR_MODIFY event
        fanotify: Drop fanotify_event_has_fid()
        fanotify: prepare to report both parent and child fid's
        fanotify: send FAN_DIR_MODIFY event flavor with dir inode and name
        fanotify: divorce fanotify_path_event and fanotify_fid_event
        fanotify: Store fanotify handles differently
        fanotify: Simplify create_fd()
        fanotify: fix merging marks masks with FAN_ONDIR
        fanotify: merge duplicate events on parent and child
        fsnotify: replace inode pointer with an object id
        fsnotify: simplify arguments passing to fsnotify_parent()
        fsnotify: use helpers to access data by data_type
        fsnotify: funnel all dirent events through fsnotify_name()
        fsnotify: factor helpers fsnotify_dentry() and fsnotify_file()
        fsnotify: tidy up FS_ and FAN_ constants
      b6ff1070
    • Linus Torvalds's avatar
      Merge tag 'for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 74e934ba
      Linus Torvalds authored
      Pull ext2/udf updates from Jan Kara:
       "Cleanups and fixes for ext2 and one cleanup for udf"
      
      * tag 'for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        ext2: fix empty body warnings when -Wextra is used
        ext2: fix debug reference to ext2_xattr_cache
        udf: udf_sb.h: Replace zero-length array with flexible-array member
        ext2: xattr.h: Replace zero-length array with flexible-array member
        ext2: Silence lockdep warning about reclaim under xattr_sem
      74e934ba
    • Linus Torvalds's avatar
      Merge tag '9p-for-5.7' of git://github.com/martinetd/linux · e14679b6
      Linus Torvalds authored
      Pull 9p updates from Dominique Martinet:
       "Not much new, but a few patches for this cycle:
      
         - Fix read with O_NONBLOCK to allow incomplete read and return
           immediately
      
         - Rest is just cleanup (indent, unused field in struct, extra
           semicolon)"
      
      * tag '9p-for-5.7' of git://github.com/martinetd/linux:
        net/9p: remove unused p9_req_t aux field
        9p: read only once on O_NONBLOCK
        9pnet: allow making incomplete read requests
        9p: Remove unneeded semicolon
        9p: Fix Kconfig indentation
      e14679b6
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 77a73eec
      Linus Torvalds authored
      Pull vfs pathwalk fix from Al Viro:
       "Dumb braino in legitimize_path()..."
      
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fix a braino in legitimize_path()
      77a73eec
    • Al Viro's avatar
      fix a braino in legitimize_path() · 5bd73286
      Al Viro authored
      brown paperbag time... wrong order of arguments ended up confusing
      the values to check dentry and mount_lock seqcounts against.
      Reported-by: default avatarkernel test robot <rong.a.chen@intel.com>
      Fixes: 2aa38470 ("non-RCU analogue of the previous commit")
      Tested-by: default avatarkernel test robot <rong.a.chen@intel.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      5bd73286
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-cppc', 'acpi-video' and 'acpi-drivers' · 33ae7f71
      Rafael J. Wysocki authored
      * acpi-cppc:
        ACPI: CPPC: clean up acpi_get_psd_map()
      
      * acpi-video:
        ACPI: video: Use native backlight on Acer Aspire 5783z
        ACPI: video: Docs update for "acpi_backlight" kernel parameter options
      
      * acpi-drivers:
        thermal: int340x_thermal: fix: Update Tiger Lake ACPI device IDs
        platform/x86: intel-hid: fix: Update Tiger Lake ACPI device ID
        ACPI: Update Tiger Lake ACPI device IDs
      33ae7f71
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · fd036058
      Rafael J. Wysocki authored
      * acpica:
        ACPICA: Update version 20200326
        ACPICA: Fixes for acpiExec namespace init file
        ACPICA: Add NHLT table signature
        ACPICA: WSMT: Fix typo, no functional change
        ACPICA: utilities: fix sprintf()
        ACPICA: acpiexec: remove redeclaration of acpi_gbl_db_opt_no_region_support
        ACPICA: Change PlatformCommChannel ASL keyword to PCC
        ACPICA: Fix IVRS IVHD type 10h reserved field name
        ACPICA: Implement IVRS IVHD type 11h parsing
        ACPICA: Fix a typo in a comment field
      fd036058
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-sleep' and 'pm-cpufreq' · 54032b86
      Rafael J. Wysocki authored
      * pm-sleep:
        Documentation: PM: sleep: Document system-wide suspend code flows
        PM: sleep: Add pm_debug_messages kernel command line option
        PM: sleep: core: Drop racy and redundant checks from device_prepare()
        PM: hibernate: Propagate the return value of hibernation_restore()
      
      * pm-cpufreq:
        cpufreq: Select schedutil when using big.LITTLE
        cpufreq: intel_pstate: Select schedutil as the default governor
      54032b86
  3. 05 Apr, 2020 6 commits
    • Linus Torvalds's avatar
      Merge tag 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · a10c9c71
      Linus Torvalds authored
      Pull power supply and reset changes from Sebastian Reichel:
       "Core:
         - Nothing
      
        Drivers:
         - at91-reset: cleanups, proper handling for sam9x60
         - sc27xx, charger-manager: allow building as module
         - sc27xx: add support to read current charge capacity
         - axp288: more quirks for weird hardware
         - misc fixes"
      
      * tag 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (26 commits)
        power: reset: sc27xx: Allow the SC27XX poweroff driver building into a module
        power: reset: sc27xx: Change to use cpu_down()
        power: reset: sc27xx: Power off the external subsystems' connection
        power: twl4030: Use scnprintf() for avoiding potential buffer overflow
        power: supply: bq27xxx_battery: Silence deferred-probe error
        power: reset: at91-reset: handle nrst async for sam9x60
        power: reset: at91-reset: get rid of at91_reset_data
        power: reset: at91-reset: keep only one reset function
        power: reset: at91-reset: make at91sam9g45_restart() generic
        power: reset: at91-reset: introduce ramc_lpr to struct at91_reset
        power: reset: at91-reset: use r4 as tmp argument
        power: reset: at91-reset: introduce args member in at91_reset_data
        power: reset: at91-reset: introduce struct at91_reset_data
        power: reset: at91-reset: devm_kzalloc() for at91_reset data structure
        power: reset: at91-reset: pass rstc base address to at91_reset_status()
        power: reset: at91-reset: convert reset in pointer to struct at91_reset
        power: reset: at91-reset: add notifier block to struct at91_reset
        power: reset: at91-reset: add sclk to struct at91_reset
        power: reset: at91-reset: add ramc_base[] to struct at91_reset
        power: reset: at91-reset: introduce struct at91_reset
        ...
      a10c9c71
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c48b0722
      Linus Torvalds authored
      Pull more perf updates from Thomas Gleixner:
       "Perf updates all over the place:
      
        core:
      
         - Support for cgroup tracking in samples to allow cgroup based
           analysis
      
        tools:
      
         - Support for cgroup analysis
      
         - Commandline option and hotkey for perf top to change the sort order
      
         - A set of fixes all over the place
      
         - Various build system related improvements
      
         - Updates of the X86 pmu event JSON data
      
         - Documentation updates"
      
      * tag 'perf-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (55 commits)
        perf python: Fix clang detection to strip out options passed in $CC
        perf tools: Support Python 3.8+ in Makefile
        perf script: Fix invalid read of directory entry after closedir()
        perf script report: Fix SEGFAULT when using DWARF mode
        perf script: add -S/--symbols documentation
        perf pmu-events x86: Use CPU_CLK_UNHALTED.THREAD in Kernel_Utilization metric
        perf events parser: Add missing Intel CPU events to parser
        perf script: Allow --symbol to accept hexadecimal addresses
        perf report/top TUI: Fix title line formatting
        perf top: Support hotkey to change sort order
        perf top: Support --group-sort-idx to change the sort order
        perf symbols: Fix arm64 gap between kernel start and module end
        perf build-test: Honour JOBS to override detection of number of cores
        perf script: Add --show-cgroup-events option
        perf top: Add --all-cgroups option
        perf record: Add --all-cgroups option
        perf record: Support synthesizing cgroup events
        perf report: Add 'cgroup' sort key
        perf cgroup: Maintain cgroup hierarchy
        perf tools: Basic support for CGROUP event
        ...
      c48b0722
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d5ca3273
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "Two timer subsystem fixes:
      
         - Prevent a use after free in the new lockdep state tracking for
           hrtimers
      
         - Add missing parenthesis in the VF pit timer driver"
      
      * tag 'timers-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/timer-vf-pit: Add missing parenthesis
        hrtimer: Don't dereference the hrtimer pointer after the callback
      d5ca3273
    • Linus Torvalds's avatar
      Merge tag 'irq-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e5adbd6e
      Linus Torvalds authored
      Pull irq fixes from Thomas Gleixner:
       "Two reverts addressing regressions of the Xilinx interrupt controller
        driver which affected the PPC users"
      
      * tag 'irq-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "irqchip/xilinx: Enable generic irq multi handler"
        Revert "irqchip/xilinx: Do not call irq_set_default_host()"
      e5adbd6e
    • Linus Torvalds's avatar
      sysfs: remove redundant __compat_only_sysfs_link_entry_to_kobj fn · 70fbdfef
      Linus Torvalds authored
      Commit 9255782f ("sysfs: Wrap __compat_only_sysfs_link_entry_to_kobj
      function to change the symlink name") made this function a wrapper
      around a new non-underscored function, which is a bit odd.  The normal
      naming convention is the other way around: the underscored function is
      the wrappee, and the non-underscored function is the wrapper.
      
      There's only one single user (well, two call-sites in that user) of the
      more limited double underscore version of this function, so just remove
      the oddly named wrapper entirely and just add the extra NULL argument to
      the user.
      
      I considered just doing that in the merge, but that tends to make
      history really hard to read.
      
      Link: https://lore.kernel.org/lkml/CAHk-=wgkkmNV5tMzQDmPAQuNJBuMcry--Jb+h8H1o4RA3kF7QQ@mail.gmail.com/
      Cc: Sourabh Jain <sourabhjain@linux.ibm.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      70fbdfef
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · d38c07af
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
       "Slightly late as I had to rebase mid-week to insert a bug fix:
      
         - A large series from Nick for 64-bit to further rework our exception
           vectors, and rewrite portions of the syscall entry/exit and
           interrupt return in C. The result is much easier to follow code
           that is also faster in general.
      
         - Cleanup of our ptrace code to split various parts out that had
           become badly intertwined with #ifdefs over the years.
      
         - Changes to our NUMA setup under the PowerVM hypervisor which should
           hopefully avoid non-sensical topologies which can lead to warnings
           from the workqueue code and other problems.
      
         - MAINTAINERS updates to remove some of our old orphan entries and
           update the status of others.
      
         - Quite a few other small changes and fixes all over the map.
      
        Thanks to: Abdul Haleem, afzal mohammed, Alexey Kardashevskiy, Andrew
        Donnellan, Aneesh Kumar K.V, Balamuruhan S, Cédric Le Goater, Chen
        Zhou, Christophe JAILLET, Christophe Leroy, Christoph Hellwig, Clement
        Courbet, Daniel Axtens, David Gibson, Douglas Miller, Fabiano Rosas,
        Fangrui Song, Ganesh Goudar, Gautham R. Shenoy, Greg Kroah-Hartman,
        Greg Kurz, Gustavo Luiz Duarte, Hari Bathini, Ilie Halip, Jan Kara,
        Joe Lawrence, Joe Perches, Kajol Jain, Larry Finger, Laurentiu Tudor,
        Leonardo Bras, Libor Pechacek, Madhavan Srinivasan, Mahesh Salgaonkar,
        Masahiro Yamada, Masami Hiramatsu, Mauricio Faria de Oliveira, Michael
        Neuling, Michal Suchanek, Mike Rapoport, Nageswara R Sastry, Nathan
        Chancellor, Nathan Lynch, Naveen N. Rao, Nicholas Piggin, Nick
        Desaulniers, Oliver O'Halloran, Po-Hsu Lin, Pratik Rajesh Sampat,
        Rasmus Villemoes, Ravi Bangoria, Roman Bolshakov, Sam Bobroff,
        Sandipan Das, Santosh S, Sedat Dilek, Segher Boessenkool, Shilpasri G
        Bhat, Sourabh Jain, Srikar Dronamraju, Stephen Rothwell, Tyrel
        Datwyler, Vaibhav Jain, YueHaibing"
      
      * tag 'powerpc-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (158 commits)
        powerpc: Make setjmp/longjmp signature standard
        powerpc/cputable: Remove unnecessary copy of cpu_spec->oprofile_type
        powerpc: Suppress .eh_frame generation
        powerpc: Drop -fno-dwarf2-cfi-asm
        powerpc/32: drop unused ISA_DMA_THRESHOLD
        powerpc/powernv: Add documentation for the opal sensor_groups sysfs interfaces
        selftests/powerpc: Fix try-run when source tree is not writable
        powerpc/vmlinux.lds: Explicitly retain .gnu.hash
        powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c
        powerpc/ptrace: create ppc_gethwdinfo()
        powerpc/ptrace: create ptrace_get_debugreg()
        powerpc/ptrace: split out ADV_DEBUG_REGS related functions.
        powerpc/ptrace: move register viewing functions out of ptrace.c
        powerpc/ptrace: split out TRANSACTIONAL_MEM related functions.
        powerpc/ptrace: split out SPE related functions.
        powerpc/ptrace: split out ALTIVEC related functions.
        powerpc/ptrace: split out VSX related functions.
        powerpc/ptrace: drop PARAMETER_SAVE_AREA_OFFSET
        powerpc/ptrace: drop unnecessary #ifdefs CONFIG_PPC64
        powerpc/ptrace: remove unused header includes
        ...
      d38c07af