Skip to content
  1. Jan 24, 2023
  2. Jan 20, 2023
  3. Jan 19, 2023
  4. Jan 18, 2023
  5. Jan 17, 2023
    • Hans de Goede's avatar
      ACPI: video: Add backlight=native DMI quirk for Acer Aspire 4810T · 8ba5fc4c
      Hans de Goede authored
      
      
      The Acer Aspire 4810T predates Windows 8, so it defaults to using
      acpi_video# for backlight control, but this is non functional on
      this model.
      
      Add a DMI quirk to use the native backlight interface which does
      work properly.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8ba5fc4c
    • Rafael J. Wysocki's avatar
      MAINTAINERS: Update the ACPICA development list address · 81aae5cb
      Rafael J. Wysocki authored
      
      
      The previous ACPICA development list address, devel@acpica.org, started
      to bounce some time ago and it is not likely to be restored, so replace
      it with a new one, acpica-devel@lists.linuxfoundation.org.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      81aae5cb
    • Rafael J. Wysocki's avatar
      Merge branch 'thermal-intel' into linux-next · 05de9151
      Rafael J. Wysocki authored
      * thermal-intel:
        thermal: intel: Fix unsigned comparison with less than zero
        thermal/x86_pkg_temp_thermal: Add support for handling dynamic tjmax
        thermal/x86_pkg_temp_thermal: Use Intel TCC library
        thermal/intel/intel_tcc_cooling: Use Intel TCC library
        thermal/intel/intel_soc_dts_iosf: Use Intel TCC library
        thermal/int340x/processor_thermal: Use Intel TCC library
        thermal/intel: Introduce Intel TCC library
      05de9151
    • Rafael J. Wysocki's avatar
      Merge branch 'thermal' into linux-next · 9798b72b
      Rafael J. Wysocki authored
      * thermal: (37 commits)
        thermal/drivers/armada: Use strscpy() to instead of strncpy()
        thermal/drivers/qcom: Fix lock inversion
        thermal/drivers/tegra: Fix set_trip_temp() deadlock
        thermal/drivers/qcom: Fix set_trip_temp() deadlock
        thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
        wifi: iwlwifi: Use generic thermal_zone_get_trip() function
        thermal/drivers/tegra: Fix crash when getting critical temp
        thermal/drivers/exynos: Fix NULL pointer dereference when getting the critical temp
        thermal/drivers/intel: Use generic thermal_zone_get_trip() function
        thermal/intel/int340x: Replace parameter to simplify
        thermal/drivers/cxgb4: Use generic thermal_zone_get_trip() function
        thermal/drivers/acerhdf: Use generic thermal_zone_get_trip() function
        thermal/drivers/ti: Remove unused macros ti_thermal_get_trip_value() / ti_thermal_trip_is_valid()
        thermal/drivers/da9062: Use generic thermal_zone_get_trip() function
        thermal/drivers/broadcom: Use generic thermal_zone_get_trip() function
        thermal/drivers/rcar: Use generic thermal_zone_get_trip() function
        thermal/drivers/imx: Use generic thermal_zone_get_trip() function
        thermal/drivers/st: Use generic trip points
        thermal/of: Remove of_thermal_get_crit_temp()
        thermal/of: Remove of_thermal_set_trip_hyst()
        ...
      9798b72b
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-core' into linux-next · 26298cc3
      Rafael J. Wysocki authored
      * pm-core:
        PM: runtime: Simplify __rpm_get_callback()
        PM: runtime: Document that force_suspend() is incompatible with SMART_SUSPEND
      26298cc3
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' into linux-next · 72ef8a84
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle-haltpoll: select haltpoll governor
        cpuidle: teo: Introduce util-awareness
        cpuidle: teo: Optionally skip polling states in teo_find_shallower_state()
      72ef8a84
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-processor', 'acpi-tables', 'acpi-pmic' and 'acpi-misc' into linux-next · 175b40b4
      Rafael J. Wysocki authored
      * acpi-processor:
        cpufreq: intel_pstate: Drop ACPI _PSS states table patching
        ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
        ACPI: processor: perflib: Use the "no limit" frequency QoS
        ACPI: processor: idle: Drop unnecessary (void *) conversion
      
      * acpi-tables:
        ACPI: tables: Add support for NBFT
      
      * acpi-pmic:
        ACPI: PMIC: Add pmic_i2c_address to BYT Crystal Cove support
      
      * acpi-misc:
        ACPI: Drop the custom_method debugfs interface
        ACPI: Silence missing prototype warnings
      175b40b4
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' into linux-next · c66aee3d
      Rafael J. Wysocki authored
      * acpica:
        ACPICA: nsrepair: handle cases without a return value correctly
        ACPICA: Constify pathname argument for acpi_get_handle()
        ACPICA: Drop port I/O validation for some regions
      c66aee3d
    • Rafael J. Wysocki's avatar
      ACPI: PNP: Introduce list of known non-PNP devices · 28a35ac2
      Rafael J. Wysocki authored
      
      
      In some cases, PNP device IDs from acpi_pnp_device_ids[] are returned by
      _CID for devices for which matching platform drivers are present in the
      kernel and should be bound to them.  However, the IDs coming from _CID
      cause the PNP scan handler to attach to those devices which prevents
      platform device objects from being created for them.
      
      Address this by introducing a list of known non-PNP device IDs into
      acpi_pnp.c such that if a device ID is there in that list, it cannot be
      attached to by the PNP scan handler and add the platform runtime update
      and telemetry device IDs to that list to start with.
      
      Reported-by: default avatarChen Yu <yu.c.chen@intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Tested-by: default avatarZhang Yang <Yang5.zhang@intel.com>
      28a35ac2
  6. Jan 15, 2023
    • Linus Torvalds's avatar
      Linux 6.2-rc4 · 5dc4c995
      Linus Torvalds authored
      5dc4c995
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.2_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f0f70ddb
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Make sure the poking PGD is pinned for Xen PV as it requires it this
         way
      
       - Fixes for two resctrl races when moving a task or creating a new
         monitoring group
      
       - Fix SEV-SNP guests running under HyperV where MTRRs are disabled to
         not return a UC- type mapping type on memremap() and thus cause a
         serious slowdown
      
       - Fix insn mnemonics in bioscall.S now that binutils is starting to fix
         confusing insn suffixes
      
      * tag 'x86_urgent_for_v6.2_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mm: fix poking_init() for Xen PV guests
        x86/resctrl: Fix event counts regression in reused RMIDs
        x86/resctrl: Fix task CLOSID/RMID update race
        x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case
        x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
      f0f70ddb
    • Linus Torvalds's avatar
      Merge tag 'edac_urgent_for_v6.2_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · 8aa97612
      Linus Torvalds authored
      Pull EDAC fixes from Borislav Petkov:
      
       - Fix the EDAC device's confusion in the polling setting units
      
       - Fix a memory leak in highbank's probing function
      
      * tag 'edac_urgent_for_v6.2_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/highbank: Fix memory leak in highbank_mc_probe()
        EDAC/device: Fix period calculation in edac_device_reset_delay_period()
      8aa97612
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · b1d63f0c
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix a build failure with some versions of ld that have an odd version
         string
      
       - Fix incorrect use of mutex in the IMC PMU driver
      
      Thanks to Kajol Jain, Michael Petlan, Ojaswin Mujoo, Peter Zijlstra, and
      Yang Yingliang.
      
      * tag 'powerpc-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s/hash: Make stress_hpt_timer_fn() static
        powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
        powerpc/boot: Fix incorrect version calculation issue in ld_version
      b1d63f0c
    • Vincent Guittot's avatar
      sched/fair: Limit sched slice duration · 79ba1e60
      Vincent Guittot authored
      
      
      In presence of a lot of small weight tasks like sched_idle tasks, normal
      or high weight tasks can see their ideal runtime (sched_slice) to increase
      to hundreds ms whereas it normally stays below sysctl_sched_latency.
      
      2 normal tasks running on a CPU will have a max sched_slice of 12ms
      (half of the sched_period). This means that they will make progress
      every sysctl_sched_latency period.
      
      If we now add 1000 idle tasks on the CPU, the sched_period becomes
      3006 ms and the ideal runtime of the normal tasks becomes 609 ms.
      It will even become 1500ms if the idle tasks belongs to an idle cgroup.
      This means that the scheduler will look for picking another waiting task
      after 609ms running time (1500ms respectively). The idle tasks change
      significantly the way the 2 normal tasks interleave their running time
      slot whereas they should have a small impact.
      
      Such long sched_slice can delay significantly the release of resources
      as the tasks can wait hundreds of ms before the next running slot just
      because of idle tasks queued on the rq.
      
      Cap the ideal_runtime to sysctl_sched_latency to make sure that tasks will
      regularly make progress and will not be significantly impacted by
      idle/background tasks queued on the rq.
      
      Signed-off-by: Vincent Guittot's avatarVincent Guittot <vincent.guittot@linaro.org>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Tested-by: Dietmar Eggemann's avatarDietmar Eggemann <dietmar.eggemann@arm.com>
      Link: https://lore.kernel.org/r/20230113133613.257342-1-vincent.guittot@linaro.org
      79ba1e60
  7. Jan 14, 2023
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 7c698440
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Core: Fix an iommu-group refcount leak
      
       - Fix overflow issue in IOVA alloc path
      
       - ARM-SMMU fixes from Will:
          - Fix VFIO regression on NXP SoCs by reporting IOMMU_CAP_CACHE_COHERENCY
          - Fix SMMU shutdown paths to avoid device unregistration race
      
       - Error handling fix for Mediatek IOMMU driver
      
      * tag 'iommu-fixes-v6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
        iommu/iova: Fix alloc iova overflows issue
        iommu: Fix refcount leak in iommu_device_claim_dma_owner
        iommu/arm-smmu-v3: Don't unregister on shutdown
        iommu/arm-smmu: Don't unregister on shutdown
        iommu/arm-smmu: Report IOMMU_CAP_CACHE_COHERENCY even betterer
      7c698440
    • Linus Torvalds's avatar
      Merge tag 'fixes-2023-01-14' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock · 4f43ade4
      Linus Torvalds authored
      Pull memblock fix from Mike Rapoport:
       "memblock: always release pages to the buddy allocator in
        memblock_free_late()
      
        If CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, memblock_free_pages()
        only releases pages to the buddy allocator if they are not in the
        deferred range. This is correct for free pages (as defined by
        for_each_free_mem_pfn_range_in_zone()) because free pages in the
        deferred range will be initialized and released as part of the
        deferred init process.
      
        memblock_free_pages() is called by memblock_free_late(), which is used
        to free reserved ranges after memblock_free_all() has run. All pages
        in reserved ranges have been initialized at that point, and
        accordingly, those pages are not touched by the deferred init process.
      
        This means that currently, if the pages that memblock_free_late()
        intends to release are in the deferred range, they will never be
        released to the buddy allocator. They will forever be reserved.
      
        In addition, memblock_free_pages() calls kmsan_memblock_free_pages(),
        which is also correct for free pages but is not correct for reserved
        pages. KMSAN metadata for reserved pages is initialized by
        kmsan_init_shadow(), which runs shortly before memblock_free_all().
      
        For both of these reasons, memblock_free_pages() should only be called
        for free pages, and memblock_free_late() should call
        __free_pages_core() directly instead.
      
        One case where this issue can occur in the wild is EFI boot on x86_64.
        The x86 EFI code reserves all EFI boot services memory ranges via
        memblock_reserve() and frees them later via memblock_free_late()
        (efi_reserve_boot_services() and efi_free_boot_services(),
        respectively).
      
        If any of those ranges happens to fall within the deferred init range,
        the pages will not be released and that memory will be unavailable.
      
        For example, on an Amazon EC2 t3.micro VM (1 GB) booting via EFI:
      
          v6.2-rc2:
          Node 0, zone      DMA
                spanned  4095
                present  3999
                managed  3840
          Node 0, zone    DMA32
                spanned  246652
                present  245868
                managed  178867
      
          v6.2-rc2 + patch:
          Node 0, zone      DMA
                spanned  4095
                present  3999
                managed  3840
          Node 0, zone    DMA32
                spanned  246652
                present  245868
                managed  222816   # +43,949 pages"
      
      * tag 'fixes-2023-01-14' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
        mm: Always release pages to the buddy allocator in memblock_free_late().
      4f43ade4
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 880ca43e
      Linus Torvalds authored
      Pull kernel hardening fixes from Kees Cook:
      
       - Fix CFI hash randomization with KASAN (Sami Tolvanen)
      
       - Check size of coreboot table entry and use flex-array
      
      * tag 'hardening-v6.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        kbuild: Fix CFI hash randomization with KASAN
        firmware: coreboot: Check size of table entry and use flex-array
      880ca43e
Loading