Nicholas Piggin 
		dc5e072188 
		
	 
	
	
	spapr: TCG allow up to 8-thread SMT on POWER8 and newer CPUs ... 
			PPC TCG supports SMT CPU configurations for non-hypervisor state, so
permit POWER8-10 pseries machines to enable SMT.
This requires PIR and TIR be set, because that's how sibling thread
matching is done by TCG.
spapr's nested-HV capability does not currently coexist with SMT, so
that combination is prohibited (interestingly somewhat analogous to
LPAR-per-core mode on real hardware which also does not support KVM).
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[ clg: Also test smp_threads when checking for POWER8 CPU and above ]
Signed-off-by: Cédric Le Goater <clg@kaod.org> 
		
	 
		2023-06-25 22:41:30 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2023-05-22 09:44:22 +02:00 
		 
	
		
			
			
			
			
			
			2022-12-21 14:17:55 -03:00 
		 
	
		
			
			
			
			
			
			2023-05-22 09:44:22 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-27 18:05:22 +10:00 
		 
	
		
			
			
			
			
			
			2019-05-23 14:10:31 +02:00 
		 
	
		
			
			
			
			
			
			2023-06-10 10:19:24 -03:00 
		 
	
		
			
			
			
			
			
			2023-05-22 09:44:22 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-22 09:44:22 +02:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2022-01-04 07:55:34 +01:00 
		 
	
		
			
			
			
			
			
			2023-05-22 09:44:22 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-03 18:10:31 +10:00 
		 
	
		
			
			
			
			
			
			2023-05-28 13:25:45 -03:00 
		 
	
		
			
			
			
			
			
			2022-04-06 14:31:55 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-28 13:25:11 -03:00 
		 
	
		
			
			
			
			
			
			2023-01-20 07:25:10 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-05 20:48:34 +02:00 
		 
	
		
			
			
			
			
			
			2023-06-05 20:48:34 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-12 12:14:56 +02:00 
		 
	
		
			
			
			
			
			
			2023-01-20 07:25:18 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-05 20:48:34 +02:00 
		 
	
		
			
			
			
			
			
			2023-01-20 07:25:10 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2022-10-28 13:15:23 -03:00 
		 
	
		
			
			
			
			
			
			2023-01-08 01:54:22 -05:00 
		 
	
		
			
			
			
			
			
			2023-03-22 15:06:57 +00:00 
		 
	
		
			
			
			
			
			
			2022-10-17 16:15:09 -03:00 
		 
	
		
			
			
			
			
			
			2023-02-08 07:28:05 +01:00 
		 
	
		
			
			
			
			
			
			2022-10-17 16:15:09 -03:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2023-01-08 01:54:22 -05:00 
		 
	
		
			
			
			
			
			
			2022-10-28 13:15:22 -03:00 
		 
	
		
			
			
			
			
			
			2022-10-17 16:15:09 -03:00 
		 
	
		
			
			
			
			
			
			2022-03-21 15:44:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-15 16:38:50 +01:00 
		 
	
		
			
			
			
			
			
			2022-07-18 13:59:43 -03:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2023-02-27 22:29:02 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2023-02-08 07:28:05 +01:00 
		 
	
		
			
			
			
			
			
			2022-03-21 15:44:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-06 10:22:37 -03:00 
		 
	
		
			
			
			
			
			
			2020-12-14 15:50:55 +11:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-06 14:31:55 +02:00 
		 
	
		
			
			
			
			
			
			2023-04-25 13:17:28 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-19 10:20:29 +11:00 
		 
	
		
			
			
			
			
			
			2022-09-22 16:38:28 +01:00 
		 
	
		
			
			
			
			
			
			2023-01-08 01:54:22 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-21 07:32:24 -05:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-06 10:22:37 -03:00 
		 
	
		
			
			
			
			
			
			2023-04-20 11:25:32 +02:00 
		 
	
		
			
			
			
			
			
			2022-02-28 11:39:35 +01:00 
		 
	
		
			
			
			
			
			
			2023-03-22 15:06:57 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-06 14:31:55 +02:00 
		 
	
		
			
			
			
			
			
			2022-03-02 06:51:40 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-06 14:31:55 +02:00 
		 
	
		
			
			
			
			
			
			2023-06-25 22:41:30 +02:00 
		 
	
		
			
			
			
			
			
			2022-10-28 13:15:23 -03:00 
		 
	
		
			
			
			
			
			
			2020-08-21 06:18:24 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-21 14:17:55 -03:00 
		 
	
		
			
			
			
			
			
			2022-04-20 18:00:30 -03:00