[PATCH] Add support for pebs fmt6(Lunar Lake)

Yiwei Yang posted 1 patch 1 year, 1 month ago
arch/x86/events/intel/ds.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] Add support for pebs fmt6(Lunar Lake)
Posted by Yiwei Yang 1 year, 1 month ago
Signed-off-by: Yiwei Yang <victoryang00@ucsc.edu>
---
 arch/x86/events/intel/ds.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c
index 1a4b326ca..0c001844d 100644
--- a/arch/x86/events/intel/ds.c
+++ b/arch/x86/events/intel/ds.c
@@ -2516,7 +2516,8 @@ void __init intel_ds_init(void)
 			x86_pmu.drain_pebs = intel_pmu_drain_pebs_nhm;
 			x86_pmu.large_pebs_flags |= PERF_SAMPLE_TIME;
 			break;
-
+			
+		case 6:
 		case 5:
 			x86_pmu.pebs_ept = 1;
 			fallthrough;
-- 
2.47.1