Re: [PATCH] ARM: KVM: enable traps on coprocessor cp15 c9 access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 November 2012 09:31, Claudio Fontana <Claudio.Fontana@xxxxxxxxxx> wrote:
> all the handlers are already there in coproc_a15.c, but the traps
> are not enabled at world switch in __kvm_vcpu_run.
> In particular this was noticed because the guests were trying to
> read the number of CPUs using l2ctlr, and the number of physical
> host CPUs was returned instead of the number of VCPUs.

L2CTLR should be trapped via HCR.TIDCP, not the HSTR.
Traps for whole swathes of the coprocessor space via HSTR
should be avoided unless absolutely necessary; the functionally
grouped traps in HCR are much better.

(In fact I thought we already did this? Marc?)

-- PMM
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux