security: tlk: enable logging only if secure firmware supports it
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 9 Apr 2014 05:34:10 +0000 (10:34 +0530)
committerBharat Nihalani <bnihalani@nvidia.com>
Thu, 10 Apr 2014 04:32:30 +0000 (21:32 -0700)
commitae19265e71df6e7aacd157b7d012c8833ee7e060
treec1b9f40bae8f7e13abb1770c19984ab041931f62
parentba886a5a969cbec915bda418cf4b2351d4875c79
security: tlk: enable logging only if secure firmware supports it

We send an SMC to the secure firmware to see if it supports logging.
If it returns failure, then we disable it from the kernel too.

Change-Id: Icc59fc221f6f59d1806815333f3e71a35a45ea90
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/393217
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
security/tlk_driver/ote_log.c