Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
6a53211
perf/x86/intel: Always reprogram ACR events to prevent stale masks
Apr 30, 2026
1b4d0a4
KVM: selftests: Test guest_memfd binding overlap without GPA overlap
chenzongyao200127 May 22, 2026
060682b
KVM: selftests: Cast guest_memfd fd to a signed int when checking for…
sean-jc May 22, 2026
6290074
wifi: mac80211: limit injected antenna index in ieee80211_parse_tx_ra…
deepanshu406 May 31, 2026
fd1ad32
perf/x86/intel/uncore: Fix discovery unit lookup for multi-die systems
ZideChen0 Jun 2, 2026
b933a68
fs/proc/task_mmu: use huge_page_size() in pagemap_scan_hugetlb_entry()
May 29, 2026
80de64d
fs/proc/task_mmu: fix hugetlb self-deadlock in pagemap_scan_pte_hole()
May 29, 2026
e13e09b
wifi: mt76: mt7996: fix potential tx_retries underflow
ryderlee1110 Jun 5, 2026
3fcb235
platform/x86: intel-hid: Protect ACPI notify handler against recursion
sammiee5311 Jun 5, 2026
4828281
vfio/qat: fix f_pos race in qat_vf_resume_write()
gcabiddu Jun 8, 2026
3aa0be6
net: ethernet: mtk_wed: debugfs: correct index in wed_amsdu_show()
opsiff Jun 12, 2026
d96eb28
selftests/mm: pagemap_ioctl: use the correct page size for transact_t…
Jun 28, 2026
3a42154
wifi: rtw89: fw: fix link ID filling for LPS MLO common info
Jun 25, 2026
4503ee7
crypto: qat - cancel work on re-enable SR-IOV timeout
gcabiddu Jun 8, 2026
0b7e19c
powercap: intel_rapl_tpmi: Handle PMU registration failure during probe
sumeet4linux Jul 23, 2026
c37115b
wifi: mt76: mt792x: fix use-after-free in mt76_rx_poll_complete
Eason-Mtk Jul 1, 2026
5b8a1e5
wifi: mt76: mt7925: ensure tx headroom in usb_sdio_tx_prepare_skb
Lucid-Duck Jul 15, 2026
fa7d80e
wifi: mt76: mt7925: cancel pending mlo_pm_work
opsiff Jun 30, 2026
7b62967
wifi: mt76: mt7925: fix msg len mismatch between driver and firmware
Jun 17, 2026
0955bbb
wifi: mt76: mt7915: write RX header translation bit to the correct re…
nbd168 Jul 22, 2026
ff47ae3
wifi: mt76: check txfree done event on the WED hw path
rexlu-mtk Jul 22, 2026
16a524d
tcp: fix icsk_ack.ato bitfield overflow
mrpre Aug 7, 2026
0f6a100
net: phy: realtek: fix EEE advertisement write on the internal PHY MM…
olerem Aug 6, 2026
908fce1
KVM: arm64: Avoid mismatched accesses to 'struct kvm_nvhe_init_params'
willdeacon Aug 13, 2026
3c3b487
iommufd/iova_bitmap: Cache mapped length in iova_bitmap_map struct
jpemartins Jun 27, 2024
2461200
iommufd/iova_bitmap: Move initial pinning to iova_bitmap_for_each()
jpemartins Jun 27, 2024
f884dc5
iommufd/iova_bitmap: Consolidate iova_bitmap_set exit conditionals
jpemartins Jun 27, 2024
7ac59d5
iommufd/iova_bitmap: Dynamic pinning on iova_bitmap_set()
jpemartins Jun 27, 2024
ad28ed5
iommufd/iova_bitmap: Remove iterator logic
jpemartins Jun 27, 2024
f28bfdd
KVM: x86/mmu: Retry fault before acquiring mmu_lock if mapping is cha…
sean-jc Feb 22, 2024
e0a1b14
KVM: x86/mmu: Move private vs. shared check above slot validity checks
sean-jc Feb 28, 2024
37b1815
KVM: Add member to struct kvm_gfn_range to indicate private/shared
Jul 18, 2024
71b558d
KVM: x86/mmu: Prevent installing hugepages when mem attributes are ch…
sean-jc Apr 30, 2025
4f500f5
KVM: selftests: Add a memory region subtest to validate invalid flags
sean-jc Oct 31, 2023
6755d55
selftests/kvm: fix compilation on non-x86_64 platforms
bonzini Nov 21, 2023
a9810f5
KVM: selftests: fix unintentional noop test in guest_memfd_test.c
roypat Oct 24, 2024
012c313
mm/khugepaged: bypassing unnecessary scans with MMF_DISABLE_THP check
ioworker0 Jan 29, 2024
abc0a72
mm: simplify thp_vma_allowable_order
Apr 25, 2024
30e0683
mm/huge_memory: mark racy access onhuge_anon_orders_always
ranxiaokai May 15, 2024
b795bea
mm: fix khugepaged activation policy
ryanhrob Jul 4, 2024
789e319
wifi: mt76: mt7925: convert comma to semicolon
Sep 4, 2024
2c63873
wifi: mt76: mt7925: fix wrong parameter for related cmd of chan info
Dec 11, 2024
547826b
wifi: mt76: mt7925: advertise EHT 320MHz capabilities for 6GHz band
jetm Apr 25, 2026
93c7884
wifi: mt76: mt7925: Fix EHT Beamformee SS subfields to meet 802.11be …
Jul 23, 2026
057aa8c
net: ethernet: mtk_wed: remove wo pointer in wo_r32/wo_w32 signature
LorenzoBianconi Oct 23, 2023
6b33abe
net: ethernet: mtk_wed: fix loading WO firmware for MT7986
castiel652 Jun 11, 2026
cb79dae
Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_c…
airlied May 10, 2024
1794961
nouveau/firmware: use dma non-coherent allocator
airlied Aug 15, 2024
3095b14
crypto: qat - introduce fuse array
sumanku3 Mar 12, 2025
493e4a7
crypto: qat - disable 420xx AE cluster when lead engine is fused off
Ahsan-Atta Mar 24, 2026
dcdc1d3
crypto: iaa - Remove dst_null support
herbertx Mar 15, 2025
7ae5b9b
crypto: iaa - Move compression CRC into request object
herbertx Mar 24, 2025
bae555c
crypto: iaa - Do not clobber req->base.data
herbertx Mar 24, 2025
7d3d998
crypto: iaa - Use cra_reqsize for acomp
herbertx Apr 7, 2025
a110b95
crypto: iaa - fall back to software for multi-entry scatterlists
gcabiddu Aug 5, 2026
b833841
crypto: iaa - use bounce buffer for multi-sg decompress input
gcabiddu Aug 5, 2026
eb73b84
crypto: iaa - unmap dst before software fallback on decompress
vcgomes Aug 5, 2026
287217d
BACKPORT: ASoC: SOF: Intel: Move binding to display driver outside of…
mlankhorst Oct 9, 2023
9e316c0
ASoC: SOF: Make return of remove_late void, too
tiwai Oct 23, 2023
7f0c58f
ASoC: SOF: ipc4-pcm: Enable delay reporting for ChainDMA streams
ujfalusi Jun 19, 2025
7e1c586
ASoC: SOF: ipc4-pcm: fix delay calculation when DSP resamples
kv2019i Oct 2, 2025
c8518a7
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_…
Oct 7, 2025
ff0ca60
ALSA: hda: cs35l41: validate and free ACPI mute object
lgs2513 Jul 8, 2026
de98f3c
platform/x86: intel: Add 'intel' prefix to the modules automatically
andy-shev Oct 16, 2024
077dd36
platform/x86/intel/tpmi/plr: Make the file domain<n>/status writeable
ricardon Jan 27, 2026
5193f6a
platform/x86: intel: Move debugfs register before creating devices
spandruvada Apr 30, 2026
08c5f45
perf/x86/intel/cstate: Add Arrowlake support
zhang-rui Jun 28, 2024
5ba3fea
perf/x86/intel/cstate: Add Lunarlake support
zhang-rui Jun 28, 2024
ed8ba91
perf/x86/intel/cstate: Add pkg C2 residency counter for Sierra Forest
zhenyw Jul 17, 2024
1fa6de1
perf/x86/intel/uncore: Fix refcnt and other cleanups
ZideChen0 Jun 11, 2026
7d4db73
perf/x86/intel/uncore: Fix PCI PMU cleanup on setup failure
ZideChen0 Jun 11, 2026
11970dc
perf/x86/intel/uncore: Keep PCI PMUs working when MMIO/MSR setup fails
ZideChen0 Jun 11, 2026
2eea539
perf/x86/intel/uncore: Factor out box setup code
ZideChen0 Jun 11, 2026
2193a89
perf/x86/intel/uncore: Introduce PMU flags and broken state
ZideChen0 Jun 11, 2026
a5e9197
binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
jcmvbkbc Aug 26, 2024
a09e8fe
binfmt_elf_fdpic: fix AUXV size calculation for ELF_HWCAP3 and ELF_HW…
avagin Feb 17, 2026
b9c6764
lockdep/selftests: Restore migrate_disable() state on PREEMPT_RT
kmehltretter82 May 23, 2026
d19f6ea
lockdep/selftests: Restore sched_rt_mutex state on PREEMPT_RT
kmehltretter82 May 23, 2026
14c4ef7
mei: vsc: Do not re-enable interrupt from vsc_tp_reset()
jwrdegoede Nov 6, 2024
c42c9e2
ASoC: SOF: Intel: Fix error handling in hda_init()
mlankhorst Oct 9, 2023
7582a2c
mm/khugepaged: keep mm in mm_slot without MMF_DISABLE_THP check
ioworker0 Feb 27, 2024
34faa1a
KVM: selftests: Create GUEST_MEMFD for relevant invalid flags testcases
sean-jc Feb 22, 2024
f41cafb
nouveau: fw: sync dma after setup is called.
airlied Nov 12, 2024
57285a9
ASoC: SOF: ipc4-pcm: fix start offset calculation for chain DMA
kv2019i Oct 2, 2025
984fa64
perf/x86/intel/cstate: Remove PC3 support from LunarLake
zhang-rui Oct 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions Documentation/admin-guide/mm/transhuge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,11 @@ PMD-mappable transparent hugepage::

cat /sys/kernel/mm/transparent_hugepage/hpage_pmd_size

khugepaged will be automatically started when one or more hugepage
sizes are enabled (either by directly setting "always" or "madvise",
or by setting "inherit" while the top-level enabled is set to "always"
or "madvise"), and it'll be automatically shutdown when the last
hugepage size is disabled (either by directly setting "never", or by
setting "inherit" while the top-level enabled is set to "never").
khugepaged will be automatically started when PMD-sized THP is enabled
(either of the per-size anon control or the top-level control are set
to "always" or "madvise"), and it'll be automatically shutdown when
PMD-sized THP is disabled (when both the per-size anon control and the
top-level control are "never")

Khugepaged controls
-------------------
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/include/asm/kvm_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ struct kvm_nvhe_init_params {
unsigned long hcr_el2;
unsigned long vttbr;
unsigned long vtcr;
unsigned long tmp;
};

/*
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ int main(void)
DEFINE(NVHE_INIT_HCR_EL2, offsetof(struct kvm_nvhe_init_params, hcr_el2));
DEFINE(NVHE_INIT_VTTBR, offsetof(struct kvm_nvhe_init_params, vttbr));
DEFINE(NVHE_INIT_VTCR, offsetof(struct kvm_nvhe_init_params, vtcr));
DEFINE(NVHE_INIT_TMP, offsetof(struct kvm_nvhe_init_params, tmp));
#endif
#ifdef CONFIG_CPU_PM
DEFINE(CPU_CTX_SP, offsetof(struct cpu_suspend_ctx, sp));
Expand Down
11 changes: 7 additions & 4 deletions arch/arm64/kvm/hyp/nvhe/hyp-init.S
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,19 @@ SYM_CODE_START_LOCAL(___kvm_hyp_init)
and x2, x1, x2
cbz x2, 1f

// hVHE: Replay the EL2 setup to account for the E2H bit
// TPIDR_EL2 is used to preserve x0 across the macro maze...
/*
* hVHE: Replay the EL2 setup to account for the E2H bit
* TPIDR_EL2 and FAR_EL2 are used to preserve x0 and LR across
* the macro maze...
*/
isb
msr tpidr_el2, x0
str lr, [x0, #NVHE_INIT_TMP]
msr far_el2, lr

bl __kvm_init_el2_state

mrs lr, far_el2
mrs x0, tpidr_el2
ldr lr, [x0, #NVHE_INIT_TMP]

1:
ldr x1, [x0, #NVHE_INIT_TPIDR_EL2]
Expand Down
13 changes: 8 additions & 5 deletions arch/x86/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,13 +1276,16 @@ int x86_perf_rdpmc_index(struct perf_event *event)
return event->hw.event_base_rdpmc;
}

static inline int match_prev_assignment(struct hw_perf_event *hwc,
static inline int match_prev_assignment(struct perf_event *event,
struct cpu_hw_events *cpuc,
int i)
{
struct hw_perf_event *hwc = &event->hw;

return hwc->idx == cpuc->assign[i] &&
hwc->last_cpu == smp_processor_id() &&
hwc->last_tag == cpuc->tags[i];
hwc->last_cpu == smp_processor_id() &&
hwc->last_tag == cpuc->tags[i] &&
!is_acr_event_group(event);
}

static void x86_pmu_start(struct perf_event *event, int flags);
Expand Down Expand Up @@ -1328,7 +1331,7 @@ static void x86_pmu_enable(struct pmu *pmu)
* - no other event has used the counter since
*/
if (hwc->idx == -1 ||
match_prev_assignment(hwc, cpuc, i))
match_prev_assignment(event, cpuc, i))
continue;

/*
Expand All @@ -1348,7 +1351,7 @@ static void x86_pmu_enable(struct pmu *pmu)
event = cpuc->event_list[i];
hwc = &event->hw;

if (!match_prev_assignment(hwc, cpuc, i))
if (!match_prev_assignment(event, cpuc, i))
x86_assign_hw_event(event, cpuc, i);
else if (i < n_running)
continue;
Expand Down
34 changes: 25 additions & 9 deletions arch/x86/events/intel/cstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* MSR_CORE_C1_RES: CORE C1 Residency Counter
* perf code: 0x00
* Available model: SLM,AMT,GLM,CNL,ICX,TNT,ADL,RPL
* MTL,SRF,GRR
* MTL,SRF,GRR,ARL,LNL
* Scope: Core (each processor core has a MSR)
* MSR_CORE_C3_RESIDENCY: CORE C3 Residency Counter
* perf code: 0x01
Expand All @@ -53,30 +53,31 @@
* Available model: SLM,AMT,NHM,WSM,SNB,IVB,HSW,BDW,
* SKL,KNL,GLM,CNL,KBL,CML,ICL,ICX,
* TGL,TNT,RKL,ADL,RPL,SPR,MTL,SRF,
* GRR
* GRR,ARL,LNL
* Scope: Core
* MSR_CORE_C7_RESIDENCY: CORE C7 Residency Counter
* perf code: 0x03
* Available model: SNB,IVB,HSW,BDW,SKL,CNL,KBL,CML,
* ICL,TGL,RKL,ADL,RPL,MTL
* ICL,TGL,RKL,ADL,RPL,MTL,ARL,LNL
* Scope: Core
* MSR_PKG_C2_RESIDENCY: Package C2 Residency Counter.
* perf code: 0x00
* Available model: SNB,IVB,HSW,BDW,SKL,KNL,GLM,CNL,
* KBL,CML,ICL,ICX,TGL,TNT,RKL,ADL,
* RPL,SPR,MTL
* RPL,SPR,MTL,ARL,LNL,SRF
* Scope: Package (physical package)
* MSR_PKG_C3_RESIDENCY: Package C3 Residency Counter.
* perf code: 0x01
* Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
* GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,
* ADL,RPL,MTL
* ADL,RPL,MTL,ARL
* Scope: Package (physical package)
* MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.
* perf code: 0x02
* Available model: SLM,AMT,NHM,WSM,SNB,IVB,HSW,BDW,
* SKL,KNL,GLM,CNL,KBL,CML,ICL,ICX,
* TGL,TNT,RKL,ADL,RPL,SPR,MTL,SRF
* TGL,TNT,RKL,ADL,RPL,SPR,MTL,SRF,
* ARL,LNL
* Scope: Package (physical package)
* MSR_PKG_C7_RESIDENCY: Package C7 Residency Counter.
* perf code: 0x03
Expand All @@ -86,7 +87,7 @@
* MSR_PKG_C8_RESIDENCY: Package C8 Residency Counter.
* perf code: 0x04
* Available model: HSW ULT,KBL,CNL,CML,ICL,TGL,RKL,
* ADL,RPL,MTL
* ADL,RPL,MTL,ARL
* Scope: Package (physical package)
* MSR_PKG_C9_RESIDENCY: Package C9 Residency Counter.
* perf code: 0x05
Expand All @@ -95,7 +96,7 @@
* MSR_PKG_C10_RESIDENCY: Package C10 Residency Counter.
* perf code: 0x06
* Available model: HSW ULT,KBL,GLM,CNL,CML,ICL,TGL,
* TNT,RKL,ADL,RPL,MTL
* TNT,RKL,ADL,RPL,MTL,ARL,LNL
* Scope: Package (physical package)
* MSR_MODULE_C6_RES_MS: Module C6 Residency Counter.
* perf code: 0x00
Expand Down Expand Up @@ -642,6 +643,16 @@ static const struct cstate_model adl_cstates __initconst = {
BIT(PERF_CSTATE_PKG_C10_RES),
};

static const struct cstate_model lnl_cstates __initconst = {
.core_events = BIT(PERF_CSTATE_CORE_C1_RES) |
BIT(PERF_CSTATE_CORE_C6_RES) |
BIT(PERF_CSTATE_CORE_C7_RES),

.pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
BIT(PERF_CSTATE_PKG_C6_RES) |
BIT(PERF_CSTATE_PKG_C10_RES),
};

static const struct cstate_model slm_cstates __initconst = {
.core_events = BIT(PERF_CSTATE_CORE_C1_RES) |
BIT(PERF_CSTATE_CORE_C6_RES),
Expand Down Expand Up @@ -683,7 +694,8 @@ static const struct cstate_model srf_cstates __initconst = {
.core_events = BIT(PERF_CSTATE_CORE_C1_RES) |
BIT(PERF_CSTATE_CORE_C6_RES),

.pkg_events = BIT(PERF_CSTATE_PKG_C6_RES),
.pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
BIT(PERF_CSTATE_PKG_C6_RES),

.module_events = BIT(PERF_CSTATE_MODULE_C6_RES),
};
Expand Down Expand Up @@ -762,6 +774,10 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
X86_MATCH_VFM(INTEL_RAPTORLAKE_S, &adl_cstates),
X86_MATCH_VFM(INTEL_METEORLAKE, &adl_cstates),
X86_MATCH_VFM(INTEL_METEORLAKE_L, &adl_cstates),
X86_MATCH_VFM(INTEL_ARROWLAKE, &adl_cstates),
X86_MATCH_VFM(INTEL_ARROWLAKE_H, &adl_cstates),
X86_MATCH_VFM(INTEL_ARROWLAKE_U, &adl_cstates),
X86_MATCH_VFM(INTEL_LUNARLAKE_M, &lnl_cstates),
{ },
};
MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);
Expand Down
Loading