some question about monitor mode support in arm

loody miloody at gmail.com
Mon Mar 18 05:38:11 EDT 2013


hi Christopher:

2013/3/14 Christopher Covington <cov at codeaurora.org>:
> Hi,
>
> On 03/14/2013 05:43 AM, loody wrote:
>> Hi all:
>> Does linux kernel support monitor mode handling?
>
> It does not, but hypervisor mode support was recently added, which has pretty
> similar mechanics.
>
>> I grep the keyword 'smc' but it only show how switch to, such as
>> mach-highbank/smc.S,
>> but not seem where to handle it.
>
> You can take a look at __hyp_set_vectors in arch/arm/kernel/hyp-stub.S for one
> example of setting up exception vectors.
I grep what you mentioned.
But it seems nothing about __hyp_set_vectors you described
in arch/arm/kernel/hyp-stub.S
ENTRY(__hyp_set_vectors)
        __HVC(0)
        mov     pc, lr
ENDPROC(__hyp_set_vectors)


-- 
Thanks for your help,



More information about the linux-arm-kernel mailing list