1. 11 Mar, 2024 2 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-tables', 'acpi-processor', 'acpi-property' and 'acpi-thermal' · d55cc9f8
      Rafael J. Wysocki authored
      Merge ACPI tables parsing change, ACPI processor driver change, ACPI
      device properties handling changes and an ACPI thermal code change for
      6.9-rc1:
      
       - Make the NFIT parsing code use acpi_evaluate_dsm_typed() (Andy
         Shevchenko).
      
       - Fix a memory leak in acpi_processor_power_exit() (Armin Wolf).
      
       - Make it possible to quirk the CSI-2 and MIPI DisCo for Imaging
         properties parsing and add a quirk for Dell XPS 9315 (Sakari Ailus).
      
       - Prevent false-positive static checker warnings from triggering by
         intializing some variables in the ACPI thermal code to zero (Colin
         Ian King).
      
      * acpi-tables:
        ACPI: NFIT: Switch to use acpi_evaluate_dsm_typed()
      
      * acpi-processor:
        ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
      
      * acpi-property:
        ACPI: property: Polish ignoring bad data nodes
        ACPI: property: Ignore bad graph port nodes on Dell XPS 9315
        ACPI: utils: Make acpi_handle_path() not static
      
      * acpi-thermal:
        ACPI: thermal_lib: Initialize temp_decik to zero
      d55cc9f8
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-bus', 'acpi-pm' and 'acpi-resource' · 8c34f112
      Rafael J. Wysocki authored
      Merge ACPI device enumeration and bus type changes, ACPI power
      management changes and ACPI IRQ override handling quirks for 6.9-rc1:
      
       - Rearrange Device Check and Bus Check notification handling in the
         ACPI device hotplug code to make it get the "enabled" _STA bit into
         account (Rafael Wysocki).
      
       - Modify acpi_processor_add() to skip processors with the "enabled"
         _STA bit clear, as per the specification (Rafael Wysocki).
      
       - Stop failing Device Check notification handling without a valid
         reason (Rafael Wysocki).
      
       - Defer enumeration of devices that depend on a device with an ACPI
         device ID equalt to INTC10CF to address probe ordering issues on
         some platforms (Wentong Wu).
      
       - Constify acpi_bus_type (Ricardo Marliere).
      
       - Make the ACPI-specific suspend-to-idle code take the Low-Power S0
         Idle MSFT UUID into account on non-AMD systems (Rafael Wysocki).
      
       - Add ACPI IRQ override quirks for some new platforms (Sergey
         Kalinichev, Maxim Kudinov, Alexey Froloff, Sviatoslav Harasymchuk,
         Nicolas Haye).
      
      * acpi-scan:
        ACPI: scan: Consolidate Device Check and Bus Check notification handling
        ACPI: scan: Rework Device Check and Bus Check notification handling
        ACPI: scan: Make acpi_processor_add() check the device enabled bit
        ACPI: scan: Relocate acpi_bus_trim_one()
        ACPI: scan: Fix device check notification handling
        ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC device
      
      * acpi-bus:
        ACPI: bus: make acpi_bus_type const
      
      * acpi-pm:
        ACPI: PM: s2idle: Enable Low-Power S0 Idle MSFT UUID for non-AMD systems
      
      * acpi-resource:
        ACPI: resource: Use IRQ override on Maibenben X565
        ACPI: resource: Add MAIBENBEN X577 to irq1_edge_low_force_override
        ACPI: resource: Do IRQ override on Lunnen Ground laptops
        ACPI: resource: Add IRQ override quirk for ASUS ExpertBook B2502FBA
        ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CVA
      8c34f112
  2. 05 Mar, 2024 3 commits
    • Sergey Kalinichev's avatar
      ACPI: resource: Use IRQ override on Maibenben X565 · 00efe7fc
      Sergey Kalinichev authored
      Use ACPI IRQ override on Maibenben X565 laptop to make the internal
      keyboard work.
      
      Add a new entry to the irq1_edge_low_force_override structure, similar
      to the existing ones.
      Signed-off-by: default avatarSergey Kalinichev <kalinichev.so.0@gmail.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      00efe7fc
    • Jarred White's avatar
      ACPI: CPPC: Use access_width over bit_width for system memory accesses · 2f4a4d63
      Jarred White authored
      To align with ACPI 6.3+, since bit_width can be any 8-bit value, it
      cannot be depended on to be always on a clean 8b boundary. This was
      uncovered on the Cobalt 100 platform.
      
      SError Interrupt on CPU26, code 0xbe000011 -- SError
       CPU: 26 PID: 1510 Comm: systemd-udevd Not tainted 5.15.2.1-13 #1
       Hardware name: MICROSOFT CORPORATION, BIOS MICROSOFT CORPORATION
       pstate: 62400009 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
       pc : cppc_get_perf_caps+0xec/0x410
       lr : cppc_get_perf_caps+0xe8/0x410
       sp : ffff8000155ab730
       x29: ffff8000155ab730 x28: ffff0080139d0038 x27: ffff0080139d0078
       x26: 0000000000000000 x25: ffff0080139d0058 x24: 00000000ffffffff
       x23: ffff0080139d0298 x22: ffff0080139d0278 x21: 0000000000000000
       x20: ffff00802b251910 x19: ffff0080139d0000 x18: ffffffffffffffff
       x17: 0000000000000000 x16: ffffdc7e111bad04 x15: ffff00802b251008
       x14: ffffffffffffffff x13: ffff013f1fd63300 x12: 0000000000000006
       x11: ffffdc7e128f4420 x10: 0000000000000000 x9 : ffffdc7e111badec
       x8 : ffff00802b251980 x7 : 0000000000000000 x6 : ffff0080139d0028
       x5 : 0000000000000000 x4 : ffff0080139d0018 x3 : 00000000ffffffff
       x2 : 0000000000000008 x1 : ffff8000155ab7a0 x0 : 0000000000000000
       Kernel panic - not syncing: Asynchronous SError Interrupt
       CPU: 26 PID: 1510 Comm: systemd-udevd Not tainted
      5.15.2.1-13 #1
       Hardware name: MICROSOFT CORPORATION, BIOS MICROSOFT CORPORATION
       Call trace:
        dump_backtrace+0x0/0x1e0
        show_stack+0x24/0x30
        dump_stack_lvl+0x8c/0xb8
        dump_stack+0x18/0x34
        panic+0x16c/0x384
        add_taint+0x0/0xc0
        arm64_serror_panic+0x7c/0x90
        arm64_is_fatal_ras_serror+0x34/0xa4
        do_serror+0x50/0x6c
        el1h_64_error_handler+0x40/0x74
        el1h_64_error+0x7c/0x80
        cppc_get_perf_caps+0xec/0x410
        cppc_cpufreq_cpu_init+0x74/0x400 [cppc_cpufreq]
        cpufreq_online+0x2dc/0xa30
        cpufreq_add_dev+0xc0/0xd4
        subsys_interface_register+0x134/0x14c
        cpufreq_register_driver+0x1b0/0x354
        cppc_cpufreq_init+0x1a8/0x1000 [cppc_cpufreq]
        do_one_initcall+0x50/0x250
        do_init_module+0x60/0x27c
        load_module+0x2300/0x2570
        __do_sys_finit_module+0xa8/0x114
        __arm64_sys_finit_module+0x2c/0x3c
        invoke_syscall+0x78/0x100
        el0_svc_common.constprop.0+0x180/0x1a0
        do_el0_svc+0x84/0xa0
        el0_svc+0x2c/0xc0
        el0t_64_sync_handler+0xa4/0x12c
        el0t_64_sync+0x1a4/0x1a8
      
      Instead, use access_width to determine the size and use the offset and
      width to shift and mask the bits to read/write out. Make sure to add a
      check for system memory since pcc redefines the access_width to
      subspace id.
      
      If access_width is not set, then fall back to using bit_width.
      Signed-off-by: default avatarJarred White <jarredwhite@linux.microsoft.com>
      Reviewed-by: default avatarEaswar Hariharan <eahariha@linux.microsoft.com>
      Cc: 5.15+ <stable@vger.kernel.org> # 5.15+
      [ rjw: Subject and changelog edits, comment adjustments ]
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      2f4a4d63
    • Perry Yuan's avatar
      ACPI: CPPC: enable AMD CPPC V2 support for family 17h processors · a51ab63b
      Perry Yuan authored
      As there are some AMD processors which only support CPPC V2 firmware and
      BIOS implementation, the amd_pstate driver will be failed to load when
      system booting with below kernel warning message:
      
      [    0.477523] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
      
      To make the amd_pstate driver can be loaded on those TR40 processors, it
      needs to match x86_model from 0x30 to 0x7F for family 17H.
      With the change, the system can load amd_pstate driver as expected.
      Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Reported-by: default avatarGino Badouri <badouri.g@gmail.com>
      Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218171
      Fixes: fbd74d16 ("ACPI: CPPC: Fix enabling CPPC on AMD systems with shared memory")
      Signed-off-by: default avatarPerry Yuan <perry.yuan@amd.com>
      Reviewed-by: default avatarGautham R. Shenoy <gautham.shenoy@amd.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a51ab63b
  3. 03 Mar, 2024 5 commits
    • Linus Torvalds's avatar
      Linux 6.8-rc7 · 90d35da6
      Linus Torvalds authored
      90d35da6
    • Linus Torvalds's avatar
      Merge tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 58c806d8
      Linus Torvalds authored
      Pull phy fixes from Vinod Koul:
      
        - qcom: m31 pointer err fix, eusb2 fix redundant zero-out loop and v3
          offset fix on qmp-usb
      
        - freescale: fix for dphy alias
      
      * tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
        phy: qcom-qmp-usb: fix v3 offsets data
        phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop
        phy: qcom: phy-qcom-m31: fix wrong pointer pass to PTR_ERR()
        phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
      58c806d8
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · d57dd2d2
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - dw-edma fixes to improve driver and remote HDMA setup
      
       - fsl-edma fixes for SoC hange, irq init and byte calculations and
         sparse fixes
      
       - idxd: safe user copy of completion record fix
      
       - ptdma: consistent DMA mask fix
      
      * tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
        dmaengine: ptdma: use consistent DMA masks
        dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning
        dmaengine: idxd: Ensure safe user copy of completion record
        dmaengine: fsl-edma: correct max_segment_size setting
        dmaengine: idxd: Remove shadow Event Log head stored in idxd
        dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario
        dmaengine: fsl-qdma: init irq after reg initialization
        dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
        dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: Add HDMA remote interrupt configuration
        dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix
        dmaengine: dw-edma: Fix wrong interrupt bit set for HDMA
        dmaengine: dw-edma: Fix the ch_count hdma callback
      d57dd2d2
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · e4f79000
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix IOMMU table initialisation when doing kdump over SR-IOV
      
       - Fix incorrect RTAS function name for resetting TCE tables
      
       - Fix fpu_signal selftest failures since a recent change
      
      Thanks to Gaurav Batra and Nathan Lynch.
      
      * tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        selftests/powerpc: Fix fpu_signal failures
        powerpc/rtas: use correct function name for resetting TCE tables
        powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
      e4f79000
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 73d35f83
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Do not reserve SETUP_RNG_SEED setup data in the e820 map as it should
         be used by kexec only
      
       - Make sure MKTME feature detection happens at an earlier time in the
         boot process so that the physical address size supported by the CPU
         is properly corrected and MTRR masks are programmed properly, leading
         to TDX systems booting without disable_mtrr_cleanup on the cmdline
      
       - Make sure the different address sizes supported by the CPU are read
         out as early as possible
      
      * tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/e820: Don't reserve SETUP_RNG_SEED in e820
        x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
        x86/cpu: Allow reducing x86_phys_bits during early_identify_cpu()
      73d35f83
  4. 02 Mar, 2024 8 commits
  5. 01 Mar, 2024 22 commits