mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-31 12:40:57 +01:00 
			
		
		
		
	fix: tsx: rtm feature bit is in EBX(11)
This commit is contained in:
		| @@ -2923,11 +2923,11 @@ check_cpu() | ||||
| 	ret=1 | ||||
| 	cpuid_rtm=0 | ||||
| 	if is_intel; then | ||||
| 		read_cpuid 0x7 $EDX 11 1 1; ret=$? | ||||
| 		read_cpuid 0x7 $EBX 11 1 1; ret=$? | ||||
| 	fi | ||||
| 	if [ $ret -eq 0 ]; then | ||||
| 		cpuid_rtm=1 | ||||
| 		pstatus green YES | ||||
| 		pstatus green YES "RTM feature bit" | ||||
| 	elif [ $ret -eq 2 ]; then | ||||
| 		cpuid_rtm=-1 | ||||
| 		pstatus yellow UNKNOWN "is cpuid kernel module available?" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user