Zenghui Yu 
		e1f045780b 
		
	 
	
	
	hw/arm/virt-acpi-build: Present the GICR structure properly for GICv4 ... 
			With the introduction of the new TCG GICv4, build_madt() is badly broken
as we do not present any GIC Redistributor structure in MADT for GICv4
guests, so that they have no idea about where the Redistributor
register frames are. This fixes a Linux guest crash at boot time with
ACPI enabled and '-machine gic-version=4'.
While at it, let's convert the remaining hard coded gic_version into
enumeration VIRT_GIC_VERSION_2 for consistency.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-id: 20220812022018.1069-1-yuzenghui@huawei.com 
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> 
		
	 
		2022-08-12 11:25:18 +01:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2022-04-21 17:03:51 +04:00 
		 
	
		
			
			
			
			
			
			2022-07-12 12:14:56 +02:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-10 09:31:42 +10:00 
		 
	
		
			
			
			
			
			
			2022-07-14 16:24:38 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-14 16:24:38 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-14 16:24:38 +02:00 
		 
	
		
			
			
			
			
			
			2022-08-01 15:24:15 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-18 13:25:13 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-10 09:31:42 +10:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2021-12-15 08:38:16 +01:00 
		 
	
		
			
			
			
			
			
			2021-12-15 10:35:26 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-21 17:03:51 +04:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-21 11:37:04 +01:00 
		 
	
		
			
			
			
			
			
			2022-08-01 15:24:15 +02:00 
		 
	
		
			
			
			
			
			
			2020-07-13 14:36:08 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:27 +00:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:27 +00:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2020-03-05 16:09:14 +00:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-15 08:38:16 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-30 09:21:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2021-03-09 06:03:53 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-07-14 16:24:38 +02:00 
		 
	
		
			
			
			
			
			
			2021-02-03 10:15:51 +00:00 
		 
	
		
			
			
			
			
			
			2022-03-02 19:27:36 +00:00 
		 
	
		
			
			
			
			
			
			2021-09-13 21:01:08 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2021-12-15 08:38:16 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-11 11:50:14 +00:00 
		 
	
		
			
			
			
			
			
			2022-05-19 16:19:03 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-21 11:37:05 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2022-05-12 12:29:43 +02:00 
		 
	
		
			
			
			
			
			
			2022-02-21 10:18:06 +01:00 
		 
	
		
			
			
			
			
			
			2022-08-01 11:58:02 +02:00 
		 
	
		
			
			
			
			
			
			2020-03-17 15:18:46 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2022-05-05 09:35:50 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-30 09:21:14 +02:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-21 11:37:04 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-05-09 11:47:54 +01:00 
		 
	
		
			
			
			
			
			
			2021-12-30 17:16:32 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-12 12:40:10 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-28 13:59:23 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-28 13:59:23 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-08 14:15:01 -05:00 
		 
	
		
			
			
			
			
			
			2022-04-21 11:37:04 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:19 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:19 +01:00 
		 
	
		
			
			
			
			
			
			2021-12-15 10:35:26 +00:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:21 +01:00 
		 
	
		
			
			
			
			
			
			2022-01-28 14:29:46 +00:00 
		 
	
		
			
			
			
			
			
			2019-10-22 17:44:01 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:03 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-21 06:18:24 -04:00 
		 
	
		
			
			
			
			
			
			2021-12-15 08:38:16 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-08-12 11:25:18 +01:00 
		 
	
		
			
			
			
			
			
			2022-07-07 11:36:07 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:28 +00:00 
		 
	
		
			
			
			
			
			
			2022-04-29 10:48:26 +10:00 
		 
	
		
			
			
			
			
			
			2022-04-21 11:37:03 +01:00 
		 
	
		
			
			
			
			
			
			2022-02-08 10:56:27 +00:00 
		 
	
		
			
			
			
			
			
			2022-06-08 19:38:48 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00