mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-27 17:00:19 +00:00
hv: Hibernate DCP in hv_init
DCP will otherwise not be useable from the guest system. Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
87a849287a
commit
d05f92b18a
1 changed files with 2 additions and 0 deletions
2
src/hv.c
2
src/hv.c
|
@ -3,6 +3,7 @@
|
||||||
#include "hv.h"
|
#include "hv.h"
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
#include "cpu_regs.h"
|
#include "cpu_regs.h"
|
||||||
|
#include "display.h"
|
||||||
#include "gxf.h"
|
#include "gxf.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "pcie.h"
|
#include "pcie.h"
|
||||||
|
@ -49,6 +50,7 @@ static struct hv_secondary_info_t hv_secondary_info;
|
||||||
void hv_init(void)
|
void hv_init(void)
|
||||||
{
|
{
|
||||||
pcie_shutdown();
|
pcie_shutdown();
|
||||||
|
display_shutdown();
|
||||||
// reenable hpm interrupts for the guest for unused iodevs
|
// reenable hpm interrupts for the guest for unused iodevs
|
||||||
usb_hpm_restore_irqs(0);
|
usb_hpm_restore_irqs(0);
|
||||||
smp_start_secondaries();
|
smp_start_secondaries();
|
||||||
|
|
Loading…
Reference in a new issue