Re: [kvmarm] [PATCH v4 09/14] KVM: ARM: Emulation framework and CP15 emulation

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

 



Peter Maydell <peter.maydell@xxxxxxxxxx> writes:
> On 19 November 2012 15:01, Will Deacon <will.deacon@xxxxxxx> wrote:
>> On Sat, Nov 10, 2012 at 03:43:13PM +0000, Christoffer Dall wrote:
>>> +/*
>>> + * A15-specific CP15 registers.
>>> + * Important: Must be sorted ascending by CRn, CRM, Op1, Op2
>>> + */
>>> +static const struct coproc_reg a15_regs[] = {
>>> +       /* MPIDR: we use VMPIDR for guest access. */
>>> +       { CRn( 0), CRm( 0), Op1( 0), Op2( 5), is32,
>>> +                       NULL, reset_mpidr, c0_MPIDR },
>>> +
>>> +       /* SCTLR: swapped by interrupt.S. */
>>> +       { CRn( 1), CRm( 0), Op1( 0), Op2( 0), is32,
>>> +                       NULL, reset_val, c1_SCTLR, 0x00C50078 },
>>
>> Why is the SCTLR included here as an A15-specific register?
>
> Rusty might remember the exact answer, but probably because
> the SCTLR reset value is IMPDEF.

Indeed...

Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux