Skip to content

Add LS1021A-QDS/TWR Non-secure and HYP support.

Diana Craciun u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] Add LS1021A-QDS/TWR Non-secure and HYP support.
Quoted 7 lines · On 07/04/2014 04:31 AM, Xiubo Li-B47053 wrote:
Quoted 7 lines
Quoted 7 lines

This patch series depends on the following patch:

[U-Boot,v4,03/10] ARM: non-sec: reset CNTVOFF to zero

Before switching to non-secure, make sure that CNTVOFF is set to zero on all CPUs. Otherwise, kernel running in non-secure without HYP enabled (hence using virtual timers) may observe

Quoted 7 lines
Quoted 3 lines

But we have HYP enabled. In this case why are the series dependent on this patch?

Well, if the HYP is enabled, the host OS will use the Physical timer, and these CNTVOFFs could be cleared in kernel too.

When and where to clear them is better ? In uboot or in kernel when needed?

If HYP mode is available CNTVOFF is cleared in Linux. What I am trying to say is that it will work also without the patch you mentioned.

Diana