Re: [PATCH 1/1] coresight: etm4x: Configure EL2 exception level when kernel is running in HYP

2018-09-06 Thread Tomasz Nowicki
Hi Mathieu, On 05.09.2018 22:34, Mathieu Poirier wrote: Hi Tomasz, On Tue, Sep 04, 2018 at 04:20:34PM +0200, Tomasz Nowicki wrote: For non-VHE systems host kernel runs at EL1 and jumps to EL2 whenever hypervisor code should be executed. In this case ETM4x driver must restrict configuration to

Re: [PATCH 1/1] coresight: etm4x: Configure EL2 exception level when kernel is running in HYP

2018-09-05 Thread Mathieu Poirier
Hi Tomasz, On Tue, Sep 04, 2018 at 04:20:34PM +0200, Tomasz Nowicki wrote: > For non-VHE systems host kernel runs at EL1 and jumps to EL2 whenever > hypervisor code should be executed. In this case ETM4x driver must > restrict configuration to EL1 when it setups kernel tracing. > However, there is

[PATCH 1/1] coresight: etm4x: Configure EL2 exception level when kernel is running in HYP

2018-09-04 Thread Tomasz Nowicki
For non-VHE systems host kernel runs at EL1 and jumps to EL2 whenever hypervisor code should be executed. In this case ETM4x driver must restrict configuration to EL1 when it setups kernel tracing. However, there is no separate hypervisor privilege level when VHE is enabled, the host kernel runs at