summary refs log tree commit diff stats
path: root/scripts/tracetool/backend/log.py
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2016-02-03 13:46:34 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-03 13:46:34 +0000
commit6d152ebaf4db6567cefbbd3b2b102c4a50172109 (patch)
tree4a7384b189120a95cc65a471a557174025a7e7a3 /scripts/tracetool/backend/log.py
parent3526423e867765568ad95b8094ae8b4042cac215 (diff)
downloadfocaccia-qemu-6d152ebaf4db6567cefbbd3b2b102c4a50172109.tar.gz
focaccia-qemu-6d152ebaf4db6567cefbbd3b2b102c4a50172109.zip
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>
Diffstat (limited to 'scripts/tracetool/backend/log.py')
0 files changed, 0 insertions, 0 deletions