tz-log: add 64bit support for tz-log driver
change tz-log driver to support 64bit kernel and move it to drivers/firmware/qcom folder. Change-Id: Ifa3e907bd647a63c51146ef8a9d9e8dfcec0a9e6 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
This commit is contained in:
parent
488e1012d6
commit
36629628e9
|
@ -847,14 +847,6 @@ config MSM_BUSPM_DEV
|
|||
allocate physical memory which is used by bus performance hardware to
|
||||
dump performance data.
|
||||
|
||||
config MSM_TZ_LOG
|
||||
tristate "MSM Trust Zone (TZ) Log Driver"
|
||||
depends on DEBUG_FS
|
||||
help
|
||||
This option enables a driver with a debugfs interface for messages
|
||||
produced by the Secure code (Trust zone). These messages provide
|
||||
diagnostic information about TZ operation.
|
||||
|
||||
config MSM_DIRECT_SCLK_ACCESS
|
||||
bool "Direct access to the SCLK timer"
|
||||
default n
|
||||
|
|
|
@ -53,7 +53,6 @@ CFLAGS_msm_vibrator.o += -Idrivers/staging/android
|
|||
|
||||
obj-$(CONFIG_MSM_RMT_STORAGE_CLIENT) += rmt_storage_client.o
|
||||
obj-$(CONFIG_MSM_LPM_TEST) += test-lpm.o
|
||||
obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o
|
||||
obj-$(CONFIG_MSM_BUSPM_DEV) += msm-buspm-dev.o
|
||||
|
||||
|
||||
|
|
|
@ -186,4 +186,6 @@ source "drivers/phy/Kconfig"
|
|||
|
||||
source "drivers/soc/Kconfig"
|
||||
|
||||
source "drivers/firmware/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -130,5 +130,6 @@ config ISCSI_IBFT
|
|||
|
||||
source "drivers/firmware/google/Kconfig"
|
||||
source "drivers/firmware/efi/Kconfig"
|
||||
source "drivers/firmware/qcom/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -14,3 +14,4 @@ obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
|
|||
|
||||
obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
|
||||
obj-$(CONFIG_EFI) += efi/
|
||||
obj-$(CONFIG_MSM_TZ_LOG) += qcom/
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
config MSM_TZ_LOG
|
||||
tristate "MSM Trust Zone (TZ) Log Driver"
|
||||
depends on DEBUG_FS
|
||||
help
|
||||
This option enables a driver with a debugfs interface for messages
|
||||
produced by the Secure code (Trust zone). These messages provide
|
||||
diagnostic information about TZ operation.
|
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o
|
|
@ -557,7 +557,7 @@ static void tzdbg_register_qsee_log_buf(void)
|
|||
/* scm response */
|
||||
struct qseecom_command_scm_resp resp = {};
|
||||
ion_phys_addr_t pa = 0;
|
||||
uint32_t len;
|
||||
size_t len;
|
||||
int ret = 0;
|
||||
|
||||
/* Create ION msm client */
|
||||
|
@ -583,7 +583,7 @@ static void tzdbg_register_qsee_log_buf(void)
|
|||
}
|
||||
|
||||
req.qsee_cmd_id = QSEOS_REGISTER_LOG_BUF_COMMAND;
|
||||
req.phy_addr = pa;
|
||||
req.phy_addr = (uint32_t)pa;
|
||||
req.len = len;
|
||||
|
||||
/* SCM_CALL to register the log buffer */
|
Loading…
Reference in New Issue