1. 04 Jan, 2024 6 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-resource', 'acpi-numa', 'acpi-soc' and 'acpi-misc' · 4ab8d27a
      Rafael J. Wysocki authored
      Merge ACPI resources management quirks, ACPI NUMA updates, an ACPI LPSS
      (Intel SoC) driver update and an ACPI watchdog driver fixup for 6.8-rc1:
      
       - Add IRQ override quirks for some Infinity laptops and for TongFang
         GMxXGxx (David McFarland, Hans de Goede).
      
       - Clean up the ACPI NUMA code and fix it to ensure that fake_pxm is not
         the same as one of the real pxm values (Yuntao Wang).
      
       - Fix the fractional clock divider flags in the ACPI LPSS (Intel SoC)
         driver so as to prevent miscalculation of the values in the clock
         divider (Andy Shevchenko).
      
       - Adjust comments in the ACPI watchdog driver to prevent kernel-doc
         from complaining during documentation builds (Randy Dunlap).
      
      * acpi-resource:
        ACPI: resource: Add Infinity laptops to irq1_edge_low_force_override
        ACPI: resource: Add another DMI match for the TongFang GMxXGxx
      
      * acpi-numa:
        ACPI: NUMA: Fix the logic of getting the fake_pxm value
        ACPI: NUMA: Optimize the check for the availability of node values
        ACPI: NUMA: Remove unnecessary check in acpi_parse_gi_affinity()
      
      * acpi-soc:
        ACPI: LPSS: Fix the fractional clock divider flags
      
      * acpi-misc:
        ACPI: watchdog: fix kernel-doc warnings
      4ab8d27a
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pm', 'acpi-video', 'acpi-apei' and 'acpi-extlog' · 22349e79
      Rafael J. Wysocki authored
      Merge an ACPI power management change, ACPI backlight driver changes, APEI
      updates and ACPI extlog driver changes for 6.8-rc1:
      
       - Modify the ACPI LPIT table handling code to avoid u32 multiplication
         overflows in state residency computations (Nikita Kiryushin).
      
       - Drop an unused helper function from the ACPI backlight (video) driver
         and add a clarifying comment to it (Hans de Goede).
      
       - Update the ACPI backlight driver to avoid using uninitialized memory
         in some cases (Nikita Kiryushin).
      
       - Add ACPI backlight quirk for the Colorful X15 AT 23 laptop (Yuluo
         Qiu).
      
       - Add support for vendor-defined error types to the ACPI APEI error
         injection code (Avadhut Naik).
      
       - Adjust APEI to properly set MF_ACTION_REQUIRED on synchronous memory
         failure events, so they are handled differently from the asynchronous
         ones (Shuai Xue).
      
       - Fix NULL pointer dereference check in the ACPI extlog driver (Prarit
         Bhargava).
      
       - Adjust the ACPI extlog driver to clear the Extended Error Log status
         when RAS_CEC handled the error (Tony Luck).
      
      * acpi-pm:
        ACPI: LPIT: Avoid u32 multiplication overflow
      
      * acpi-video:
        ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
        ACPI: video: check for error while searching for backlight device parent
        ACPI: video: Drop should_check_lcd_flag()
        ACPI: video: Add comment about acpi_video_backlight_use_native() usage
      
      * acpi-apei:
        ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
        ACPI: APEI: EINJ: Add support for vendor defined error types
        platform/chrome: cros_ec_debugfs: Fix permissions for panicinfo
        fs: debugfs: Add write functionality to debugfs blobs
        ACPI: APEI: EINJ: Refactor available_error_type_show()
      
      * acpi-extlog:
        ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
        ACPI: extlog: fix NULL pointer dereference check
      22349e79
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-thermal' · f845351a
      Rafael J. Wysocki authored
      Merge ACPI thermal zone driver updates for 6.8-rc1:
      
       - Use generic ACPI helpers for evaluating trip point temperature
         objects in the ACPI thermal zone driver (Rafael J. Wysockii, Arnd
         Bergmann).
      
       - Add Thermal fast Sampling Period (_TFP) support to the ACPI thermal
         zone driver (Jeff Brasen).
      
      * acpi-thermal:
        ACPI: thermal_lib: include "internal.h" for function prototypes
        ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support
        ACPI: thermal: Use library functions to obtain trip point temperature values
        ACPI: thermal_lib: Add functions returning temperature in deci-Kelvin
        thermal: ACPI: Move the ACPI thermal library to drivers/acpi/
      f845351a
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-utils' · f00571b5
      Rafael J. Wysocki authored
      Merge ACPI utility functions updates for 6.8-rc1:
      
       - Modify acpi_dev_uid_match() to support different types of its second
         argument and adjust its users accordingly (Raag Jadav).
      
       - Clean up code related to acpi_evaluate_reference() and ACPI device
         lists (Rafael J. Wysocki).
      
      * acpi-utils:
        ACPI: utils: Introduce helper for _DEP list lookup
        ACPI: utils: Fix white space in struct acpi_handle_list definition
        ACPI: utils: Refine acpi_handle_list_equal() slightly
        ACPI: utils: Return bool from acpi_evaluate_reference()
        ACPI: utils: Rearrange in acpi_evaluate_reference()
        perf: arm_cspmu: drop redundant acpi_dev_uid_to_integer()
        efi: dev-path-parser: use acpi_dev_uid_match() for matching _UID
        ACPI: LPSS: use acpi_dev_uid_match() for matching _UID
        ACPI: bus: update acpi_dev_hid_uid_match() to support multiple types
        ACPI: bus: update acpi_dev_uid_match() to support multiple types
      f00571b5
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-osl', 'acpi-bus' and 'acpi-tables' · 8be056a2
      Rafael J. Wysocki authored
      Merge low-level ACPICA interface changes, an _SB-scope _OSC handshake
      update and a data-only ACPI tables parsing code update for 6.8-rc1:
      
       - Switch over ACPI to using a threaded interrupt handler for the
         SCI (Rafael J. Wysocki).
      
       - Allow ACPI Notify () handlers to run on all CPUs and clean up the
         ACPI interface for deferred events processing (Rafael J. Wysocki).
      
       - Switch over the ACPI EC driver to using a threaded handler for the
         dedicated IRQ on systems without the EC GPE (Rafael J. Wysocki).
      
       - Adjust code using ACPICA spinlocks and the ACPI EC driver spinlock to
         keep local interrupts on (Rafael J. Wysocki).
      
       - Adjust the USB4 _OSC handshake to correctly handle cases in which
         certain types of OS control are denied by the platform (Mika
         Westerberg).
      
       - Correct and clean up the generic function for parsing ACPI data-only
         tables with array structure (Yuntao Wang).
      
      * acpi-osl:
        ACPI: EC: Use a spin lock without disabing interrupts
        ACPI: EC: Use a threaded handler for dedicated IRQ
        ACPI: OSL: Use spin locks without disabling interrupts
        ACPI: OSL: Allow Notify () handlers to run on all CPUs
        ACPI: OSL: Rearrange workqueue selection in acpi_os_execute()
        ACPI: OSL: Rework error handling in acpi_os_execute()
        ACPI: OSL: Use a threaded interrupt handler for SCI
      
      * acpi-bus:
        ACPI: Run USB4 _OSC() first with query bit set
      
      * acpi-tables:
        ACPI: tables: Correct and clean up the logic of acpi_parse_entries_array()
      8be056a2
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan' and 'acpi-processor' · e3f44407
      Rafael J. Wysocki authored
      Merge ACPI device enumeration updates and ACPI processor driver updates
      for 6.8-rc1:
      
       - Add CSI-2 and DisCo for Imaging support to the ACPI device
         enumeration code (Sakari Ailus, Rafael J. Wysocki).
      
       - Adjust the cpufreq thermal reduction algorithm in the ACPI processor
         driver for Tegra241 (Srikar Srimath Tirumala, Arnd Bergmann).
      
       - Make acpi_proc_quirk_mwait_check() x86-specific (Rafael J. Wysocki).
      
      * acpi-scan:
        ACPI: scan: Fix an error message in DisCo for Imaging support
        ACPI: property: Replicate DT-aligned u32 properties from DisCo for Imaging
        ACPI: property: Dig "rotation" property for devices with CSI2 _CRS
        ACPI: scan: Extract MIPI DisCo for Imaging data into swnodes
        device property: Add SOFTWARE_NODE() macro for defining software nodes
        ACPI: scan: Extract _CRS CSI-2 connection information into swnodes
        ACPI: scan: Extract CSI-2 connection graph from _CRS
        ACPI: property: Support using strings in reference properties
      
      * acpi-processor:
        ACPI: arm64: export acpi_arch_thermal_cpufreq_pctg()
        ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241
        ACPI: processor: Provide empty stub of acpi_proc_quirk_mwait_check()
      e3f44407
  2. 03 Jan, 2024 1 commit
  3. 29 Dec, 2023 2 commits
  4. 28 Dec, 2023 3 commits
  5. 24 Dec, 2023 1 commit
  6. 23 Dec, 2023 8 commits
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2023-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3f82f1c3
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
      
       - Fix a secondary CPUs enumeration regression caused by creative MADT
         APIC table entries on certain systems.
      
       - Fix a race in the NOP-patcher that can spuriously trigger crashes on
         bootup.
      
       - Fix a bootup failure regression caused by the parallel bringup code,
         caused by firmware inconsistency between the APIC initialization
         states of the boot and secondary CPUs, on certain systems.
      
      * tag 'x86-urgent-2023-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/acpi: Handle bogus MADT APIC tables gracefully
        x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
        x86/alternatives: Sync core before enabling interrupts
        x86/smpboot/64: Handle X2APIC BIOS inconsistency gracefully
      3f82f1c3
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · f969c914
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Four small fixes, three in drivers with the core one adding a batch
        indicator (for drivers which use it) to the error handler"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: core: Let the sq_lock protect sq_tail_slot access
        scsi: ufs: qcom: Return ufs_qcom_clk_scale_*() errors in ufs_qcom_clk_scale_notify()
        scsi: core: Always send batch on reset or error handling command
        scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
      f969c914
    • Linus Torvalds's avatar
      Merge tag 'usb-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 4b2ee6d2
      Linus Torvalds authored
      Pull USB / Thunderbolt fixes from Greg KH:
       "Here are some small bugfixes and new device ids for USB and
        Thunderbolt drivers for 6.7-rc7. Included in here are:
      
         - new usb-serial device ids
      
         - thunderbolt driver fixes
      
         - typec driver fix
      
         - usb-storage driver quirk added
      
         - fotg210 driver fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: option: add Quectel EG912Y module support
        USB: serial: ftdi_sio: update Actisense PIDs constant names
        usb: fotg210-hcd: delete an incorrect bounds test
        usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
        usb: typec: ucsi: fix gpio-based orientation detection
        net: usb: ax88179_178a: avoid failed operations when device is disconnected
        USB: serial: option: add Quectel RM500Q R13 firmware support
        USB: serial: option: add Foxconn T99W265 with new baseline
        thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth
        thunderbolt: Fix memory leak in margining_port_remove()
      4b2ee6d2
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · a0652eb2
      Linus Torvalds authored
      Pull char / misc driver fixes from Greg KH:
       "Here are a small number of various driver fixes for 6.7-rc7 that
        normally come through the char-misc tree, and one debugfs fix as well.
      
        Included in here are:
      
         - iio and hid sensor driver fixes for a number of small things
      
         - interconnect driver fixes
      
         - brcm_nvmem driver fixes
      
         - debugfs fix for previous fix
      
         - guard() definition in device.h so that many subsystems can start
           using it for 6.8-rc1 (requested by Dan Williams to make future
           merges easier)
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'char-misc-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (21 commits)
        debugfs: initialize cancellations earlier
        Revert "iio: hid-sensor-als: Add light color temperature support"
        Revert "iio: hid-sensor-als: Add light chromaticity support"
        nvmem: brcm_nvram: store a copy of NVRAM content
        dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
        driver core: Add a guard() definition for the device_lock()
        interconnect: qcom: icc-rpm: Fix peak rate calculation
        iio: adc: MCP3564: fix hardware identification logic
        iio: adc: MCP3564: fix calib_bias and calib_scale range checks
        iio: adc: meson: add separate config for axg SoC family
        iio: adc: imx93: add four channels for imx93 adc
        iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
        interconnect: qcom: sm8250: Enable sync_state
        iio: triggered-buffer: prevent possible freeing of wrong buffer
        iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
        iio: imu: adis16475: use bit numbers in assign_bit()
        iio: imu: adis16475: add spi_device_id table
        iio: tmag5273: fix temperature offset
        interconnect: Treat xlate() returning NULL node as an error
        iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
        ...
      a0652eb2
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · fa655abe
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
      
       - a quirk to AT keyboard driver to skip issuing "GET ID" command when
         8042 is in translated mode and the device is a laptop/portable,
         because the "GET ID" command makes a bunch of recent laptops unhappy
      
       - a quirk to i8042 to disable multiplexed mode on Acer P459-G2-M which
         causes issues on resume
      
       - psmouse will activate native RMI4 protocol support for touchpad on
         ThinkPad L14 G1
      
       - addition of Razer Wolverine V2 ID to xpad gamepad driver
      
       - mapping for airplane mode button in soc_button_array driver for
         TUXEDO laptops
      
       - improved error handling in ipaq-micro-keys driver
      
       - amimouse being prepared for platform remove callback returning void
      
      * tag 'input-for-v6.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: soc_button_array - add mapping for airplane mode button
        Input: xpad - add Razer Wolverine V2 support
        Input: ipaq-micro-keys - add error handling for devm_kmemdup
        Input: amimouse - convert to platform remove callback returning void
        Input: i8042 - add nomux quirk for Acer P459-G2-M
        Input: atkbd - skip ATKBD_CMD_GETID in translated mode
        Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
      fa655abe
    • Christoffer Sandberg's avatar
      Input: soc_button_array - add mapping for airplane mode button · ea371594
      Christoffer Sandberg authored
      This add a mapping for the airplane mode button on the TUXEDO Pulse Gen3.
      
      While it is physically a key it behaves more like a switch, sending a key
      down on first press and a key up on 2nd press. Therefor the switch event
      is used here. Besides this behaviour it uses the HID usage-id 0xc6
      (Wireless Radio Button) and not 0xc8 (Wireless Radio Slider Switch), but
      since neither 0xc6 nor 0xc8 are currently implemented at all in
      soc_button_array this not to standard behaviour is not put behind a quirk
      for the moment.
      Signed-off-by: default avatarChristoffer Sandberg <cs@tuxedo.de>
      Signed-off-by: default avatarWerner Sembach <wse@tuxedocomputers.com>
      Link: https://lore.kernel.org/r/20231215171718.80229-1-wse@tuxedocomputers.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      ea371594
    • Linus Torvalds's avatar
      Merge tag 'block-6.7-2023-12-22' of git://git.kernel.dk/linux · 5254c0cb
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Just an NVMe pull request this time, with a fix for bad sleeping
        context, and a revert of a patch that caused some trouble"
      
      * tag 'block-6.7-2023-12-22' of git://git.kernel.dk/linux:
        nvme-pci: fix sleeping function called from interrupt context
        Revert "nvme-fc: fix race between error recovery and creating association"
      5254c0cb
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 867583b3
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
      "RISC-V:
      
         - Fix a race condition in updating external interrupt for
           trap-n-emulated IMSIC swfile
      
         - Fix print_reg defaults in get-reg-list selftest
      
        ARM:
      
         - Ensure a vCPU's redistributor is unregistered from the MMIO bus if
           vCPU creation fails
      
         - Fix building KVM selftests for arm64 from the top-level Makefile
      
        x86:
      
         - Fix breakage for SEV-ES guests that use XSAVES
      
        Selftests:
      
         - Fix bad use of strcat(), by not using strcat() at all"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: SEV: Do not intercept accesses to MSR_IA32_XSS for SEV-ES guests
        KVM: selftests: Fix dynamic generation of configuration names
        RISCV: KVM: update external interrupt atomically for IMSIC swfile
        KVM: riscv: selftests: Fix get-reg-list print_reg defaults
        KVM: selftests: Ensure sysreg-defs.h is generated at the expected path
        KVM: Convert comment into an assertion in kvm_io_bus_register_dev()
        KVM: arm64: vgic: Ensure that slots_lock is held in vgic_register_all_redist_iodevs()
        KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
        KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
        KVM: arm64: vgic: Simplify kvm_vgic_destroy()
      867583b3
  7. 22 Dec, 2023 14 commits
  8. 21 Dec, 2023 5 commits