David Gibson  
		
	
	
		84369f639e 
		
	 
	
	
	spapr: Make a helper to set up cpu entry point state  
		
			... 
			Under PAPR, only the boot CPU is active when the system starts.  Other cpus
must be explicitly activated using an RTAS call.  The entry state for the
boot and secondary cpus isn't identical, but it has some things in common.
We're going to add a bit more common setup later, too, so to simplify
make a helper which sets up the common entry state for both boot and
secondary cpu threads.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org> 
		
	 
 
		2018-05-04 15:00:37 +10:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2018-03-13 23:09:50 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-04 13:28:07 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-23 18:26:46 +00:00 
		 
	
		
			
			
			
			
			
			2018-02-02 08:19:25 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-02 13:45:50 -06:00 
		 
	
		
			
			
			
			
			
			2018-04-26 13:57:00 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-02 11:03:45 +00:00 
		 
	
		
			
			
			
			
			
			2017-12-18 17:07:02 +03:00 
		 
	
		
			
			
			
			
			
			2017-01-27 18:07:59 +01:00 
		 
	
		
			
			
			
			
			
			2017-12-18 17:07:02 +03:00 
		 
	
		
			
			
			
			
			
			2018-03-12 16:12:48 +01:00 
		 
	
		
			
			
			
			
			
			2017-02-28 17:10:00 +00:00 
		 
	
		
			
			
			
			
			
			2018-03-01 11:05:45 +00:00 
		 
	
		
			
			
			
			
			
			2018-03-16 16:29:07 -03:00 
		 
	
		
			
			
			
			
			
			2018-02-09 13:50:17 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-12 16:12:48 +01:00 
		 
	
		
			
			
			
			
			
			2018-04-27 18:05:22 +10:00 
		 
	
		
			
			
			
			
			
			2016-05-18 15:04:27 +03:00 
		 
	
		
			
			
			
			
			
			2017-04-26 12:41:55 +10:00 
		 
	
		
			
			
			
			
			
			2018-04-26 13:57:00 +01:00 
		 
	
		
			
			
			
			
			
			2013-04-08 18:13:10 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-04 10:00:25 +02:00 
		 
	
		
			
			
			
			
			
			2017-02-16 14:06:56 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-20 03:34:52 +02:00 
		 
	
		
			
			
			
			
			
			2017-10-27 16:04:28 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-27 18:05:22 +10:00 
		 
	
		
			
			
			
			
			
			2018-01-11 13:25:38 +00:00 
		 
	
		
			
			
			
			
			
			2018-02-09 05:05:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-20 15:48:34 +00:00 
		 
	
		
			
			
			
			
			
			2018-02-09 05:05:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-04-27 18:05:22 +10:00 
		 
	
		
			
			
			
			
			
			2018-05-04 15:00:37 +10:00 
		 
	
		
			
			
			
			
			
			2018-03-07 08:30:28 +13:00 
		 
	
		
			
			
			
			
			
			2018-03-08 15:49:23 +01:00 
		 
	
		
			
			
			
			
			
			2018-04-09 16:36:39 +02:00 
		 
	
		
			
			
			
			
			
			2018-02-22 15:12:52 +00:00 
		 
	
		
			
			
			
			
			
			2017-01-27 18:07:59 +01:00 
		 
	
		
			
			
			
			
			
			2018-02-09 13:52:16 +01:00 
		 
	
		
			
			
			
			
			
			2018-01-09 21:48:20 +00:00 
		 
	
		
			
			
			
			
			
			2017-12-13 17:59:26 +00:00 
		 
	
		
			
			
			
			
			
			2018-03-02 10:45:34 +00:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:19:16 +02:00 
		 
	
		
			
			
			
			
			
			2017-12-18 17:07:02 +03:00 
		 
	
		
			
			
			
			
			
			2018-02-09 10:40:30 +00:00 
		 
	
		
			
			
			
			
			
			2018-03-13 11:17:31 -06:00 
		 
	
		
			
			
			
			
			
			2018-03-13 23:09:49 +02:00 
		 
	
		
			
			
			
			
			
			2017-09-04 15:21:54 +01:00 
		 
	
		
			
			
			
			
			
			2018-04-26 16:29:51 +01:00 
		 
	
		
			
			
			
			
			
			2018-02-09 05:05:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-19 14:10:36 -03:00 
		 
	
		
			
			
			
			
			
			2017-01-27 18:07:59 +01:00 
		 
	
		
			
			
			
			
			
			2018-04-27 18:05:22 +10:00 
		 
	
		
			
			
			
			
			
			2017-04-24 12:32:12 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-07 08:30:28 +13:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-11-15 17:20:37 +02:00 
		 
	
		
			
			
			
			
			
			2017-06-01 18:49:22 +02:00 
		 
	
		
			
			
			
			
			
			2017-01-27 15:23:29 -08:00 
		 
	
		
			
			
			
			
			
			2018-03-02 11:03:45 +00:00 
		 
	
		
			
			
			
			
			
			2018-02-09 05:05:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-07 08:30:28 +13:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2018-03-02 11:03:45 +00:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-11 17:44:27 +03:00 
		 
	
		
			
			
			
			
			
			2018-03-02 11:03:45 +00:00 
		 
	
		
			
			
			
			
			
			2014-02-14 21:12:04 +01:00 
		 
	
		
			
			
			
			
			
			2018-03-02 13:45:50 -06:00 
		 
	
		
			
			
			
			
			
			2013-04-08 18:13:10 +02:00 
		 
	
		
			
			
			
			
			
			2018-03-01 11:05:43 +00:00 
		 
	
		
			
			
			
			
			
			2018-02-09 05:05:11 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-27 17:03:34 -03:00 
		 
	
		
			
			
			
			
			
			2018-01-26 07:15:08 +01:00