1. 30 Sep, 2022 6 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-properties', 'acpi-tables', 'acpi-x86' and 'acpi-soc' · e996c7e0
      Rafael J. Wysocki authored
      Merge changes related to ACPI data-only tables handling and ACPI device
      properties management, x86-specific ACPI code changes and ACPI SoC driver
      changes for 6.1-rc1:
      
       - Clean up the ACPI LPSS (Intel SoC) driver (Andy Shevchenko).
      
       - Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable (Mario
         Limonciello).
      
       - Drop unused dev_fmt() and redundant 'HMAT' prefix from the HMAT
        parsing code (Liu Shixin).
      
       - Make ACPI FPDT parsing code avoid calling acpi_os_map_memory() on
         invalid physical addresses (Hans de Goede).
      
       - Silence missing-declarations warning related to Apple device
         properties management (Lukas Wunner).
      
      * acpi-properties:
        ACPI: property: Silence missing-declarations warning in apple.c
      
      * acpi-tables:
        ACPI: HMAT: Drop unused dev_fmt() and redundant 'HMAT' prefix
        ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
      
      * acpi-x86:
        ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
      
      * acpi-soc:
        ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device()
        ACPI: LPSS: Replace loop with first entry retrieval
      e996c7e0
    • Andy Shevchenko's avatar
      ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device() · 6cc401be
      Andy Shevchenko authored
      Add a new label to deduplicate skipping device code in the
      acpi_lpss_create_device(). No functional change intended.
      
      While at it, convert the last conditional to use the classical
      pattern, i.e.
      
      	if (err)
      		...handle err...
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6cc401be
    • Andy Shevchenko's avatar
      ACPI: LPSS: Replace loop with first entry retrieval · da13b336
      Andy Shevchenko authored
      After the commit 6505e452371d ("ACPI: LPSS: Use the helper
      acpi_dev_get_memory_resources()") the list is empty or
      contains only resource of IORESOURCE_MEM type. Hence, no
      need to check for the type, and since we break after the
      first found, no need to iterate over full list. That said,
      replace loop with first entry retrieval.
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      da13b336
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-bus' and 'acpi-platform' · c77f54a9
      Rafael J. Wysocki authored
      Merge changes related to ACPI device enumeration and ACPI support for
      platform devices for 6.1-rc1:
      
       - Clean up ACPI platform devices support code (Andy Shevchenko, John
         Garry).
      
       - Clean up ACPI bus management code (Andy Shevchenko, ye xingchen).
      
       - Add support for multiple DMA windows with different offsets to the
         ACPI device enumeration code and use it on LoongArch (Jianmin Lv).
      
      * acpi-scan:
        LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA
        ACPI: scan: Support multiple DMA windows with different offsets
      
      * acpi-bus:
        ACPI: bus: Refactor ACPI matching functions for better readability
        ACPI: bus: Drop kernel doc annotation from acpi_bus_notify()
        ACPI: bus: Remove the unneeded result variable
      
      * acpi-platform:
        ACPI: platform: Use PLATFORM_DEVID_NONE in acpi_create_platform_device()
        ACPI: platform: Sort forbidden_id_list[] in ascending order
        ACPI: platform: Use sizeof(*pointer) instead of sizeof(type)
        ACPI: platform: Remove redundant print on -ENOMEM
        ACPI: platform: Get rid of redundant 'else'
      c77f54a9
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-resource' and 'acpi-pm' · d61991db
      Rafael J. Wysocki authored
      Merge ACPI resource management and ACPI power management chages for
      6.1-rc1:
      
       - Filter out non-memory resources in is_memory(), add a helper
         function to find all memory type resources of an ACPI device object
         and use that function in 3 places (Heikki Krogerus).
      
       - Add IRQ override quirks for Asus Vivobook K3402ZA/K3502ZA and ASUS
         model S5402ZA (Tamim Khan, Kellen Renshaw).
      
       - Fix acpi_dev_state_d0() kerneldoc (Sakari Ailus).
      
       - Fix up suspend-to-idle support on ASUS Rembrandt laptops (Mario
         Limonciello).
      
      * acpi-resource:
        ACPI: resource: Add ASUS model S5402ZA to quirks
        usb: typec: intel_pmc_mux: Use the helper acpi_dev_get_memory_resources()
        ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
        ACPI: LPSS: Use the helper acpi_dev_get_memory_resources()
        ACPI: APD: Use the helper acpi_dev_get_memory_resources()
        ACPI: resource: Add helper function acpi_dev_get_memory_resources()
        ACPI: resource: Filter out the non memory resources in is_memory()
      
      * acpi-pm:
        ACPI: x86: s2idle: Add another ID to s2idle_dmi_table
        ACPI: x86: s2idle: Fix a NULL pointer dereference
        ACPI: x86: s2idle: Add a quirk for ASUSTeK COMPUTER INC. ROG Flow X13
        ACPI: x86: s2idle: Add a quirk for Lenovo Slim 7 Pro 14ARH7
        ACPI: x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14
        ACPI: x86: s2idle: Add a quirk for ASUS TUF Gaming A17 FA707RE
        ACPI: x86: s2idle: Add module parameter to prefer Microsoft GUID
        ACPI: x86: s2idle: If a new AMD _HID is missing assume Rembrandt
        ACPI: x86: s2idle: Move _HID handling for AMD systems into structures
        ACPI: PM: Fix acpi_dev_state_d0() kerneldoc
      d61991db
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-dev' · 80487a37
      Rafael J. Wysocki authored
      Merge changes regarding the management of ACPI device objects for
      6.1-rc1:
      
       - Rename ACPI device object reference counting functions (Rafael
         Wysocki).
      
       - Rearrange ACPI device object initialization code (Rafael Wysocki).
      
       - Drop parent field from struct acpi_device (Rafael Wysocki).
      
       - Extend the the int3472-tps68470 driver to support multiple consumers
         of a single TPS68470 along with the requisite framework-level
         support (Daniel Scally).
      
      * acpi-dev:
        platform/x86: int3472: Add board data for Surface Go2 IR camera
        platform/x86: int3472: Support multiple gpio lookups in board data
        platform/x86: int3472: Support multiple clock consumers
        ACPI: bus: Add iterator for dependent devices
        ACPI: scan: Add acpi_dev_get_next_consumer_dev()
        ACPI: property: Use acpi_dev_parent()
        ACPI: Drop redundant acpi_dev_parent() header
        ACPI: PM: Fix NULL argument handling in acpi_device_get/set_power()
        ACPI: Drop parent field from struct acpi_device
        ACPI: scan: Eliminate __acpi_device_add()
        ACPI: scan: Rearrange initialization of ACPI device objects
        ACPI: scan: Rename acpi_bus_get_parent() and rearrange it
        ACPI: Rename acpi_bus_get/put_acpi_device()
      80487a37
  2. 28 Sep, 2022 2 commits
  3. 25 Sep, 2022 7 commits
  4. 24 Sep, 2022 9 commits
  5. 22 Sep, 2022 2 commits
  6. 18 Sep, 2022 5 commits
  7. 16 Sep, 2022 9 commits
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · a335366b
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix the level-low interrupt type support in gpio-mpc8xxx
      
       - convert another two drivers to using immutable irq chips
      
       - MAINTAINERS update
      
      * tag 'gpio-fixes-for-v6.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mt7621: Make the irqchip immutable
        gpio: ixp4xx: Make irqchip immutable
        MAINTAINERS: Update HiSilicon GPIO Driver maintainer
        gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
      a335366b
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 6879c2d3
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Nothing special, just driver fixes:
      
         - Fix IRQ wakeup and pins for UFS and SDC2 issues on the Qualcomm
           SC8180x
      
         - Fix the Rockchip driver to support interrupt on both rising and
           falling edges.
      
         - Name the Allwinner A100 R_PIO properly
      
         - Fix several issues with the Ocelot interrupts"
      
      * tag 'pinctrl-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: ocelot: Fix interrupt controller
        pinctrl: sunxi: Fix name for A100 R_PIO
        pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
        pinctrl: qcom: sc8180x: Fix wrong pin numbers
        pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
      6879c2d3
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-09-16' of git://git.kernel.dk/linux-block · 68e777e4
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Two fixes for -rc6:
      
         - Fix a mixup of sectors and bytes in the secure erase ioctl
           (Mikulas)
      
         - Fix for a bad return value for a non-blocking bio/blk queue enter
           call (me)"
      
      * tag 'block-6.0-2022-09-16' of git://git.kernel.dk/linux-block:
        blk-lib: fix blkdev_issue_secure_erase
        block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
      68e777e4
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-16' of git://git.kernel.dk/linux-block · 0158137d
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two small patches:
      
         - Fix using an unsigned type for the return value, introduced in this
           release (Pavel)
      
         - Stable fix for a missing check for a fixed file on put (me)"
      
      * tag 'io_uring-6.0-2022-09-16' of git://git.kernel.dk/linux-block:
        io_uring/msg_ring: check file type before putting
        io_uring/rw: fix error'ed retry return values
      0158137d
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-09-16' of git://anongit.freedesktop.org/drm/drm · 5763d7f2
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is the regular drm fixes pull.
      
        The i915 and misc fixes are fairly regular, but the amdgpu contains
        fixes for new hw blocks, the dcn314 specific path hookups and also has
        a bunch of fixes for clang stack size warnings which are a bit churny
        but fairly straightforward. This means it looks a little larger than
        usual.
      
        amdgpu:
         - BACO fixes for some RDNA2 boards
         - PCI AER fixes uncovered by a core PCI change
         - Properly hook up dirtyfb helper
         - RAS fixes for GC 11.x
         - TMR fix
         - DCN 3.2.x fixes
         - DCN 3.1.4 fixes
         - LLVM DML stack size fixes
      
        i915:
         - Revert a display patch around max DP source rate now that the
           proper WaEdpLinkRateDataReload is in place
         - Fix perf limit reasons bit position
         - Fix unclaimmed mmio registers on suspend flow with GuC
         - A vma_move_to_active fix for a regression with video decoding
         - DP DSP fix
      
        gma500:
         - Locking and IRQ fixes
      
        meson:
         - OSD1 display fixes
      
        panel-edp:
         - Fix Innolux timings
      
        rockchip:
         - DP/HDMI fixes"
      
      * tag 'drm-fixes-2022-09-16' of git://anongit.freedesktop.org/drm/drm: (42 commits)
        drm/amdgpu: make sure to init common IP before gmc
        drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
        drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
        drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
        drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
        drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
        drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
        drm/amd/display: Reduce number of arguments of dml32_CalculatePrefetchSchedule()
        drm/amd/display: Reduce number of arguments of dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
        drm/amd/display: Refactor SubVP calculation to remove FPU
        drm/amd/display: Limit user regamma to a valid value
        drm/amd/display: add workaround for subvp cursor corruption for DCN32/321
        drm/amd/display: SW cursor fallback for SubVP
        drm/amd/display: Round cursor width up for MALL allocation
        drm/amd/display: Correct dram channel width for dcn314
        drm/amd/display: Relax swizzle checks for video non-RGB formats on DCN314
        drm/amd/display: Hook up DCN314 specific dml implementation
        drm/amd/display: Enable dlg and vba compilation for dcn314
        drm/amd/display: Fix compilation errors on DCN314
        drm/amd/display: Fix divide by zero in DML
        ...
      5763d7f2
    • Linus Torvalds's avatar
      Merge tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 714820c6
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Four smb3 fixes for stable:
      
         - important fix to revalidate mapping when doing direct writes
      
         - missing spinlock
      
         - two fixes to socket handling
      
         - trivial change to update internal version number for cifs.ko"
      
      * tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal module number
        cifs: add missing spinlock around tcon refcount
        cifs: always initialize struct msghdr smb_msg completely
        cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
        cifs: revalidate mapping when doing direct writes
      714820c6
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2022-09-15' of... · 25100377
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2022-09-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Revert a display patch around max DP source rate now
        that the proper WaEdpLinkRateDataReload is in place. (Ville)
      - Fix perf limit reasons bit position. (Ashutosh)
      - Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
      - A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
      - DP DSP fix. (Ankit)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YyMtmGMXRLsURoM5@intel.com
      25100377
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2022-09-15' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 87d9862b
      Dave Airlie authored
      Short summary of fixes pull:
      
       * gma500: Locking and IRQ fixes
       * meson: OSD1 display fixes
       * panel-edp: Fix Innolux timings
       * rockchip: DP/HDMI fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/YyMUpP1w21CPXq+I@linux-uq9g
      87d9862b
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.0-2022-09-14' of... · e2111ae2
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.0-2022-09-14' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.0-2022-09-14:
      
      amdgpu:
      - BACO fixes for some RDNA2 boards
      - PCI AER fixes uncovered by a core PCI change
      - Properly hook up dirtyfb helper
      - RAS fixes for GC 11.x
      - TMR fix
      - DCN 3.2.x fixes
      - DCN 3.1.4 fixes
      - LLVM DML stack size fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220914184030.6145-1-alexander.deucher@amd.com
      e2111ae2