Commit 473e1b80 authored by Kunkun Jiang's avatar Kunkun Jiang Committed by Dongxu Sun
Browse files

mbigen: Sets the regs related to vtimer irqbypass

virt inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8K89F


CVE: NA

------------------------------------------------------------------

According to the HiSilicon chip manual, two registers need to be
set for each die to enable vtimer irqbypass. These regs are used
to change the vtimer interrupts reporting channel. Therefore, KVM
must enable vtimer irqbypass once the regs are set. Use
kvm-arm.vtimer_irqbypass to control whether vtimer irqbypass is
enabled.

According to the bios settings, each device connected to mbigen
device will cause mbigen_device_probe to be executed. But
vtimer_mbigen_device_probe only needs to be executed once. Add
a check to determine whether the vtimer_mbigen_device has been
executed.

Signed-off-by: default avatarKunkun Jiang <jiangkunkun@huawei.com>
Signed-off-by: default avatarDongxu Sun <sundongxu3@huawei.com>
parent d31d498d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment