Igor Mammedov 6d152ebaf4 arm: virt-acpi: each MADT.GICC entry as enabled unconditionally
in current impl. condition

build_madt() {
  ...
  if (test_bit(i, cpuinfo->found_cpus))

is always true since loop handles only present CPUs
in range [0..smp_cpus).
But to fill usless cpuinfo->found_cpus we do unnecessary
scan over QOM tree to find the same CPUs.
So mark GICC as present always and drop not needed
code that fills cpuinfo->found_cpus.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1454323689-248759-1-git-send-email-imammedo@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-02-03 13:46:34 +00:00
..
2013-06-07 14:55:33 +02:00
2016-01-25 14:35:23 -05:00
2015-10-02 16:22:02 -03:00
2014-02-03 14:04:00 +00:00
2015-09-07 10:39:30 +01:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2015-12-22 18:39:20 +02:00
2015-06-11 10:13:30 +01:00
2015-09-07 10:39:30 +01:00
2016-01-30 23:37:36 +11:00
2015-12-04 09:39:55 +03:00
2015-09-07 10:39:28 +01:00
2013-04-08 18:13:10 +02:00
2015-12-04 09:39:55 +03:00
2015-09-25 12:04:43 +02:00
2013-04-08 18:13:10 +02:00
2015-01-15 10:44:13 +03:00
2016-01-16 12:01:23 +00:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2016-01-25 14:35:23 -05:00
2013-04-08 18:13:10 +02:00
2013-05-01 20:55:21 +04:00
2015-07-06 12:15:14 -06:00
2015-04-30 16:05:48 +03:00