]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
platform: nvadsp: Fix exit error path on start
authorAjay Nandakumar <anandakumarm@nvidia.com>
Wed, 29 Jul 2015 06:43:36 +0000 (12:13 +0530)
committerSachin Nikam <snikam@nvidia.com>
Tue, 1 Sep 2015 03:43:51 +0000 (20:43 -0700)
commit98b05fcb270b4e24065ed3a327e83711228416ac
treea85fd77abbf9b46253db6a3028cdd4e9a7b1cdc9
parent0416a7611e6b839f03efc16bc9d0594cd00ce183
platform: nvadsp: Fix exit error path on start

Fixing the error path of ADSP when nvadsp_os_start fails.
Otherwise, this is leading to a kernel panic and crashing the
kernel on accessing ADSP without starting the ADSPOS.

Increasing DFS mailbox timeout to allow more time on ADSP to
process ADSP frequency update request.

Setting ALLOWED_CRASHES to 1 as interrupt state (GIC) and
memory state cannot be cleaned up properly in normal
scenario i.e. with audio playback ongoing.

Also, fixing the print from wfe to wfi as ADSP enters WFI
when suspended or stopped and updating DFS mailbox error
messages.

Bug 200123443
Bug 200126739

Change-Id: I0ae39f32f9ff6e51b4875ce63f2e4c64f258f847
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/776195
(cherry picked from commit 70fbe992a1b208513198cd725925c73cc62db1e2)
Reviewed-on: http://git-master/r/785152
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/platform/tegra/nvadsp/adsp_dfs.c
drivers/platform/tegra/nvadsp/ape_actmon.c
drivers/platform/tegra/nvadsp/os.c