1. 31 May, 2022 25 commits
  2. 30 May, 2022 15 commits
    • Linus Torvalds's avatar
      Merge tag 'for-5.19/fbdev-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · 8ab2afa2
      Linus Torvalds authored
      Pull fbdev fixes and updates from Helge Deller:
       "A buch of small fixes and cleanups, including:
      
         - vesafb: Fix a use-after-free due early fb_info cleanup
      
         - clcdfb: Fix refcount leak in clcdfb_of_vram_setup
      
         - hyperv_fb: Allow resolutions with size > 64 MB for Gen1
      
         - pxa3xx-gcu: release the resources correctly in
           pxa3xx_gcu_probe/remove()
      
         - omapfb: Prevent compiler warning regarding
           hwa742_update_window_async()"
      
      * tag 'for-5.19/fbdev-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        video: fbdev: omap: Add prototype for hwa742_update_window_async()
        video: fbdev: vesafb: Fix a use-after-free due early fb_info cleanup
        video: fbdev: radeon: Fix spelling typo in comment
        video: fbdev: xen: remove setting of 'transp' parameter
        video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
        video: fbdev: omapfb: simplify the return expression of nec_8048_connect()
        video: fbdev: omapfb: simplify the return expression of dsi_init_pll_data()
        video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
        video: fbdev: hyperv_fb: Allow resolutions with size > 64 MB for Gen1
      8ab2afa2
    • Linus Torvalds's avatar
      Merge tag 'for-5.19/parisc-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · e11a9356
      Linus Torvalds authored
      Pull parisc architecture updates from Helge Deller:
       "Minor cleanups and code optimizations, e.g.:
      
         - improvements in assembly statements in the tmpalias code path
      
         - added some additionals compile time checks
      
         - drop some unneccesary assembler DMA syncs"
      
      * tag 'for-5.19/parisc-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Drop __ARCH_WANT_OLD_READDIR and __ARCH_WANT_SYS_OLDUMOUNT
        parisc: Optimize tmpalias function calls
        parisc: Add dep_safe() macro to deposit a register in 32- and 64-kernels
        parisc: Fix wrong comment for shr macro
        parisc: Prevent ldil() to sign-extend into upper 32 bits
        parisc: Don't hardcode assembler bit definitions in tmpalias code
        parisc: Don't enforce DMA completion order in cache flushes
        parisc: video: fbdev: stifb: Add sti_dump_font() to dump STI font
      e11a9356
    • Linus Torvalds's avatar
      Merge tag 'pm-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 1ff7bc3b
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These update the ARM cpufreq drivers and fix up the CPPC cpufreq
        driver after recent changes, update the OPP code and PM documentation
        and add power sequences support to the system reboot and power off
        code.
      
        Specifics:
      
         - Add Tegra234 cpufreq support (Sumit Gupta)
      
         - Clean up and enhance the Mediatek cpufreq driver (Wan Jiabing,
           Rex-BC Chen, and Jia-Wei Chang)
      
         - Fix up the CPPC cpufreq driver after recent changes (Zheng Bin,
           Pierre Gondois)
      
         - Minor update to dt-binding for Qcom's opp-v2-kryo-cpu (Yassine
           Oudjana)
      
         - Use list iterator only inside the list_for_each_entry loop
           (Xiaomeng Tong, and Jakob Koschel)
      
         - New APIs related to finding OPP based on interconnect bandwidth
           (Krzysztof Kozlowski)
      
         - Fix the missing of_node_put() in _bandwidth_supported() (Dan
           Carpenter)
      
         - Cleanups (Krzysztof Kozlowski, and Viresh Kumar)
      
         - Add Out of Band mode description to the intel-speed-select utility
           documentation (Srinivas Pandruvada)
      
         - Add power sequences support to the system reboot and power off code
           and make related platform-specific changes for multiple platforms
           (Dmitry Osipenko, Geert Uytterhoeven)"
      
      * tag 'pm-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (60 commits)
        cpufreq: CPPC: Fix unused-function warning
        cpufreq: CPPC: Fix build error without CONFIG_ACPI_CPPC_CPUFREQ_FIE
        Documentation: admin-guide: PM: Add Out of Band mode
        kernel/reboot: Change registration order of legacy power-off handler
        m68k: virt: Switch to new sys-off handler API
        kernel/reboot: Add devm_register_restart_handler()
        kernel/reboot: Add devm_register_power_off_handler()
        soc/tegra: pmc: Use sys-off handler API to power off Nexus 7 properly
        reboot: Remove pm_power_off_prepare()
        regulator: pfuze100: Use devm_register_sys_off_handler()
        ACPI: power: Switch to sys-off handler API
        memory: emif: Use kernel_can_power_off()
        mips: Use do_kernel_power_off()
        ia64: Use do_kernel_power_off()
        x86: Use do_kernel_power_off()
        sh: Use do_kernel_power_off()
        m68k: Switch to new sys-off handler API
        powerpc: Use do_kernel_power_off()
        xen/x86: Use do_kernel_power_off()
        parisc: Use do_kernel_power_off()
        ...
      1ff7bc3b
    • Linus Torvalds's avatar
      Merge tag 'thermal-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 32665a9e
      Linus Torvalds authored
      Pull additional thermal control update from Rafael Wysocki:
       "Add Meteor Lake PCI device ID to the int340x thermal control driver
        (Sumeet Pawnikar)"
      
      * tag 'thermal-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: int340x: Add Meteor Lake PCI device ID
      32665a9e
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 527953ef
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "These add some new device IDs, update a few drivers (processor,
        battery, backlight) and clean up code in a few places.
      
        Specifics:
      
         - Add Meteor Lake ACPI IDs for DPTF devices (Sumeet Pawnikar)
      
         - Rearrange find_child_checks() to simplify code (Rafael Wysocki)
      
         - Use memremap() to map the UCSI mailbox that is always in main
           memory and drop acpi_release_memory() that has no more users
           (Heikki Krogerus, Dan Carpenter)
      
         - Make max_cstate/nocst/bm_check_disable processor module parameters
           visible in sysfs (Yajun Deng)
      
         - Fix typo in the CPPC driver (Julia Lawall)
      
         - Make the ACPI battery driver show the "not-charging" status by
           default unless "charging" or "full" is directly indicated (Werner
           Sembach)
      
         - Improve the PM notifier in the ACPI backlight driver (Zhang Rui)
      
         - Clean up some white space in the ACPI code (Ian Cowan)"
      
      * tag 'acpi-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe
        ACPI: DPTF: Support Meteor Lake
        ACPI: CPPC: fix typo in comment
        ACPI: video: improve PM notifer callback
        ACPI: clean up white space in a few places for consistency
        ACPI: glue: Rearrange find_child_checks()
        ACPI: processor: idle: Expose max_cstate/nocst/bm_check_disable read-only in sysfs
        ACPI: battery: Make "not-charging" the default on no charging or full info
        ACPI: OSL: Remove the helper for deactivating memory region
        usb: typec: ucsi: acpi: Map the mailbox with memremap()
      527953ef
    • Linus Torvalds's avatar
      Merge tag 'ovl-update-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · 2c5ca23f
      Linus Torvalds authored
      Pull overlayfs updates from Miklos Szeredi:
      
       - Support idmapped layers in overlayfs (Christian Brauner)
      
       - Add a fix to exportfs that is relevant to open_by_handle_at(2) as
         well
      
       - Introduce new lookup helpers that allow passing mnt_userns into
         inode_permission()
      
      * tag 'ovl-update-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        ovl: support idmapped layers
        ovl: handle idmappings in ovl_xattr_{g,s}et()
        ovl: handle idmappings in layer open helpers
        ovl: handle idmappings in ovl_permission()
        ovl: use ovl_copy_{real,upper}attr() wrappers
        ovl: store lower path in ovl_inode
        ovl: handle idmappings for layer lookup
        ovl: handle idmappings for layer fileattrs
        ovl: use ovl_path_getxattr() wrapper
        ovl: use ovl_lookup_upper() wrapper
        ovl: use ovl_do_notify_change() wrapper
        ovl: pass layer mnt to ovl_open_realfile()
        ovl: pass ofs to setattr operations
        ovl: handle idmappings in creation operations
        ovl: add ovl_upper_mnt_userns() wrapper
        ovl: pass ofs to creation operations
        ovl: use wrappers to all vfs_*xattr() calls
        exportfs: support idmapped mounts
        fs: add two trivial lookup helpers
      2c5ca23f
    • Linus Torvalds's avatar
      Merge tag 'mips_5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 73d15ba6
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
       "Cleanups and fixes"
      
      * tag 'mips_5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (38 commits)
        MIPS: RALINK: Define pci_remap_iospace under CONFIG_PCI_DRIVERS_GENERIC
        MIPS: Use memblock_add_node() in early_parse_mem() under CONFIG_NUMA
        MIPS: Return -EINVAL if mem parameter is empty in early_parse_mem()
        MIPS: Kconfig: Fix indentation and add endif comment
        MIPS: bmips: Fix compiler warning observed on W=1 build
        MIPS: Rewrite `csum_tcpudp_nofold' in plain C
        mips: setup: use strscpy to replace strlcpy
        MIPS: Octeon: add SNIC10E board
        MIPS: Ingenic: Refresh defconfig for CU1000-Neo and CU1830-Neo.
        MIPS: Ingenic: Refresh device tree for Ingenic SoCs and boards.
        MIPS: Ingenic: Add PWM nodes for X1830.
        MIPS: Octeon: fix typo in comment
        MIPS: loongson32: Kconfig: Remove extra space
        MIPS: Sibyte: remove unnecessary return variable
        MIPS: Use NOKPROBE_SYMBOL() instead of __kprobes annotation
        selftests/ftrace: Save kprobe_events to test log
        MIPS: tools: no need to initialise statics to 0
        MIPS: Loongson: Use hwmon_device_register_with_groups() to register hwmon
        MIPS: VR41xx: Drop redundant spinlock initialization
        MIPS: smp: optimization for flush_tlb_mm when exiting
        ...
      73d15ba6
    • Linus Torvalds's avatar
      Merge tag 'm68knommu-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 2d2da475
      Linus Torvalds authored
      Pull m68knommu updates from Greg Ungerer:
       "A collection of changes to add elf-fdpic loader support for m68k.
      
        Also a collection of various fixes. They include typo corrections,
        undefined symbol compilation fixes, removal of the ISA_DMA_API support
        and removal of unused code.
      
        Summary:
      
         - correctly set up ZERO_PAGE pointer
      
         - drop ISA_DMA_API support
      
         - fix comment typos
      
         - fixes for undefined symbols
      
         - remove unused code and variables
      
         - elf-fdpic loader support for m68k"
      
      * tag 'm68knommu-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68knommu: fix 68000 CPU link with no platform selected
        m68k: removed unused "mach_get_ss"
        m68knommu: fix undefined reference to `mach_get_rtc_pll'
        m68knommu: fix undefined reference to `_init_sp'
        m68knommu: allow elf_fdpic loader to be selected
        m68knommu: add definitions to support elf_fdpic program loader
        m68knommu: implement minimal regset support
        m68knommu: use asm-generic/mmu.h for nommu setups
        m68k: fix typos in comments
        m68k: coldfire: drop ISA_DMA_API support
        m68knommu: set ZERO_PAGE() to the allocated zeroed page
      2d2da475
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-battery', 'acpi-video' and 'acpi-misc' · 4a577fca
      Rafael J. Wysocki authored
      Merge ACPI battery and backlight driver update and miscellaneous
      cleanup for 5.19-rc1:
      
       - Make the ACPI battery driver show the "not-charging" status by
         default unless "charging" or "full" is directly indicated (Werner
         Sembach).
      
       - Improve the PM notifier in the ACPI backlight driver (Zhang Rui).
      
       - Clean up some white space in the ACPI code (Ian Cowan).
      
      * acpi-battery:
        ACPI: battery: Make "not-charging" the default on no charging or full info
      
      * acpi-video:
        ACPI: video: improve PM notifer callback
      
      * acpi-misc:
        ACPI: clean up white space in a few places for consistency
      4a577fca
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-glue', 'acpi-osl', 'acpi-processor' and 'acpi-cppc' · 15f4bb9a
      Rafael J. Wysocki authored
      Merge general ACPI cleanups and processor support updates for 5.19-rc1:
      
       - Rearrange find_child_checks() to simplify code (Rafael Wysocki).
      
       - Use memremap() to map the UCSI mailbox that is always in main memory
         and drop acpi_release_memory() that has no more users (Heikki
         Krogerus, Dan Carpenter).
      
       - Make max_cstate/nocst/bm_check_disable processor module parameters
         visible in sysfs (Yajun Deng).
      
       - Fix typo in the CPPC driver (Julia Lawall).
      
      * acpi-glue:
        ACPI: glue: Rearrange find_child_checks()
      
      * acpi-osl:
        usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe
        ACPI: OSL: Remove the helper for deactivating memory region
        usb: typec: ucsi: acpi: Map the mailbox with memremap()
      
      * acpi-processor:
        ACPI: processor: idle: Expose max_cstate/nocst/bm_check_disable read-only in sysfs
      
      * acpi-cppc:
        ACPI: CPPC: fix typo in comment
      15f4bb9a
    • Dan Carpenter's avatar
      usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe · a9face89
      Dan Carpenter authored
      The devm_memremap() function never returns NULL.  It returns error
      pointers.
      
      Fixes: cdc3d2ab ("usb: typec: ucsi: acpi: Map the mailbox with memremap()")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a9face89
    • Helge Deller's avatar
      parisc: Drop __ARCH_WANT_OLD_READDIR and __ARCH_WANT_SYS_OLDUMOUNT · 72acadfe
      Helge Deller authored
      Those old syscalls aren't exported via our syscall table, so just drop
      them.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      72acadfe
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-sysoff' · 9f9c1f68
      Rafael J. Wysocki authored
      Merge system power off handling rework from Dmitry Osipenko for
      5.19-rc1.
      
      This introduces a mechanism allowing power sequences to be used for
      powering off the system and makes related changes in platform-specific
      code for multiple platforms.
      
      * pm-sysoff: (29 commits)
        kernel/reboot: Change registration order of legacy power-off handler
        m68k: virt: Switch to new sys-off handler API
        kernel/reboot: Add devm_register_restart_handler()
        kernel/reboot: Add devm_register_power_off_handler()
        soc/tegra: pmc: Use sys-off handler API to power off Nexus 7 properly
        reboot: Remove pm_power_off_prepare()
        regulator: pfuze100: Use devm_register_sys_off_handler()
        ACPI: power: Switch to sys-off handler API
        memory: emif: Use kernel_can_power_off()
        mips: Use do_kernel_power_off()
        ia64: Use do_kernel_power_off()
        x86: Use do_kernel_power_off()
        sh: Use do_kernel_power_off()
        m68k: Switch to new sys-off handler API
        powerpc: Use do_kernel_power_off()
        xen/x86: Use do_kernel_power_off()
        parisc: Use do_kernel_power_off()
        arm64: Use do_kernel_power_off()
        riscv: Use do_kernel_power_off()
        csky: Use do_kernel_power_off()
        ...
      9f9c1f68
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-docs' · 1cdc5ba0
      Rafael J. Wysocki authored
      Merge PM documentation update for 5.19-rc1.
      
      * pm-docs:
        Documentation: admin-guide: PM: Add Out of Band mode
      1cdc5ba0
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-opp' · 22ffff6d
      Rafael J. Wysocki authored
      Merge OPP (Operating Performance Points) changes for 5.19-rc1:
      
       - Minor update to dt-binding for Qcom's opp-v2-kryo-cpu (Yassine
         Oudjana).
      
       - Use list iterator only inside the list_for_each_entry loop (Xiaomeng
         Tong, and Jakob Koschel).
      
       - New APIs related to finding OPP based on interconnect bandwidth
         (Krzysztof Kozlowski).
      
       - Fix the missing of_node_put() in _bandwidth_supported() (Dan
         Carpenter).
      
       - Cleanups (Krzysztof Kozlowski, and Viresh Kumar).
      
      * pm-opp:
        opp: Reorder definition of ceil/floor helpers
        opp: Add apis to retrieve opps with interconnect bandwidth
        dt-bindings: opp: opp-v2-kryo-cpu: Remove SMEM
        opp: use list iterator only inside the loop
        opp: replace usage of found with dedicated list iterator variable
        PM: opp: simplify with dev_err_probe()
        OPP: call of_node_put() on error path in _bandwidth_supported()
      22ffff6d