summaryrefslogtreecommitdiff
path: root/drivers/devfreq/devfreq_spdm_debugfs.c (follow)
Commit message (Collapse)AuthorAge
* dev_freq: devfreq_spdm: add null terminator to prevent OOB accessDavid Dai2017-09-25
| | | | | | | | Add null terminator to end of buffered copied from user to prevent over reading. Change-Id: I80cfcb087ea2c335fd65d8fcdaf372c7d34a533d Signed-off-by: David Dai <daidavid1@codeaurora.org>
* devfreq: devfreq_spdm: Enhance debugfs entriesDan Sneddon2016-03-23
| | | | | | | | | Add ability to read filter properties from debugfs and add ability to enable and disable spdm processing. Change-Id: I1b94c5c44180df2a39097657ecc6606562736d1a Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org> Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
* devfreq: spdm: Fix debugfs file permissionsDan Sneddon2016-03-23
| | | | | | | | | | | The files in the debugfs directory for spdm were set incorrectly using hex instead of octal numbers. This patch correctly uses octal codes and removes the execute bit. CRs-Fixed: 799304 Change-Id: I3bab83073d1ee1f426c402a05556c9ae97ca089d Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org>
* devfreq: devfreq_spdm: Support scm and hvcDan Sneddon2016-03-23
| | | | | | | | | | | | Currently SPDM driver uses hvc calls to support the dcvs algorithm logic. On some targets this dcvs algorithm support is present in TZ and which is accessed via separate calls. Add SCM call to support TZ based dcvs algorithm. Change-Id: I197f0f13b4107047151e10e19e4849008607f3e8 Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org> Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
* devfreq: devfreq spdm: Add debugfs supportDan Sneddon2016-03-23
Add debugfs support for the devfreq spdm driver. The parameters used for determing the SPDM port threshold value can be updated via debugfs and sent to the hypervisor to support fine tuning SPDM performance. Change-Id: I6f85deacd7d463d90f512f5de18b7e2140c9f492 Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org> [junjiew@codeaurora.org: resolved trivial conflicts] Signed-off-by: Junjie Wu <junjiew@codeaurora.org>