diff options
author | Julien Grall <julien.grall@arm.com> | 2016-04-11 18:32:59 +0300 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-03 13:54:21 +0300 |
commit | 503a62862e8fc08b2d4c0db06ba3adae3bbd61bc (patch) | |
tree | 7a0ea075e41fa405b25eba35d7a86f305575856f /mm/zbud.c | |
parent | 29c2d6ff4cf9af6bcbba3a76aae1d5cacd5da16b (diff) | |
download | linux-503a62862e8fc08b2d4c0db06ba3adae3bbd61bc.tar.xz |
KVM: arm/arm64: vgic: Rely on the GIC driver to parse the firmware tables
Currently, the firmware tables are parsed 2 times: once in the GIC
drivers, the other time when initializing the vGIC. It means code
duplication and make more tedious to add the support for another
firmware table (like ACPI).
Use the recently introduced helper gic_get_kvm_info() to get
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions