Subject: some question about monitor mode support in arm

From: [email-masked] (Christopher Covington)
Date: Thu, 14 Mar 2013 09:37:28 -0400

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.

Cheers,
Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
the Linux Foundation