diff options
author | Alexander Graf <agraf@suse.de> | 2014-09-11 12:22:57 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-11-04 23:26:11 +0100 |
commit | 9ac58dc59aaf9db20ec17df9b372915bee9b0f02 (patch) | |
tree | e642ad02fba2fa58dadb9e76881273dc9927f4e2 /target-ppc/helper.h | |
parent | 4aee73623d0141c5d4ce4754fc054689fb92f0e5 (diff) |
PPC: openpic_kvm: Only map first occurence in address space
The in-kernel OpenPIC emulation only supports a single map. However, we
map the OpenPIC at 2 locations: The CPU visible one and the PCI visible
one. For KVM acceleration, we only care about the first one.
To make sure that we only map that first mapping and not the PCI map that
happens dynamically later during bootup, ignore maps that happen when
we are already considering ourselves mapped.
Credits due are to Bogdan and Mihai for debugging this.
Reported-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Reported-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
0 files changed, 0 insertions, 0 deletions