On 13-06-12 04:09 AM, Jon Medhurst (Tixy) wrote:
On Tue, 2013-06-11 at 17:07 -0600, mathieu.poirier@linaro.org wrote:
From: "Mathieu J. Poirier" mathieu.poirier@linaro.org
Will Deacon has a better solution and his patch should be coming in soon. In the mean time please consider for inclusion.
This is an in-between solution that prevents the EVENTEN bit in the CNTKCTL register from being mask, resulting in events between clusters being lost.
Bug: LP1188778
Signed-off-by: Mathieu Poirier mathieu.poirier@linaro.org Signed-off-by: Sudeep KarkadaNagesha Sudeep.KarkadaNagesha@arm.com
So this patch stops the kernel disabling the event stream generation we enabled in bootmon? From board.txt we currently set bits 15 and 14 here...
SCC: 0x700 0x1032F003 ;CFGRW48 - [25:24]Boot CPU [28]Boot Cluster (default CA7_0) ; Bootmon configuration: ; [15]: A7 Event stream generation (default: disabled) ; [14]: A15 Event stream generation (default: disabled) ; [13]: Power down the non-boot cluster (default: disabled) ; [12]: Use per-cpu mailboxes for power management (default: disabled) ; [11]: A15 executes WFEs as nops (default: disabled) ; [ 4]: Erase UEFI variable storage in NOR flash
And I guess the problem being worked around is the same as reported in LP bug 1188778?
Exactly - the sole purpose is to provide an intermediate solution to LP1188778 while Will Deacon is working on his solution. The configuration can be made in the FW but the kernel still has the opportunity of disabling the mechanism, hence this patch.