mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	perf/x86/msr: Add Rocket Lake CPU support
Like Ice Lake and Tiger Lake, PPERF and SMI_COUNT MSRs are also supported by Rocket Lake. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201019153528.13850-3-kan.liang@linux.intel.com
This commit is contained in:
		
							parent
							
								
									cbea56395c
								
							
						
					
					
						commit
						907a196fbc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -99,6 +99,7 @@ static bool test_intel(int idx, void *data)
 | 
			
		|||
	case INTEL_FAM6_ICELAKE_D:
 | 
			
		||||
	case INTEL_FAM6_TIGERLAKE_L:
 | 
			
		||||
	case INTEL_FAM6_TIGERLAKE:
 | 
			
		||||
	case INTEL_FAM6_ROCKETLAKE:
 | 
			
		||||
		if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
 | 
			
		||||
			return true;
 | 
			
		||||
		break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue