From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796164456; b=0eHNyA2mpvpVlPpAQQSTMlrJBMxPWlby3X1aWvF9gJvMGhwilQkFDE/dO/TlEoIkrZyx aviC91y0S+ul/fh5jH+w/EHa1W7h/lC2z7+Om0eq6bEiO8CEt9WMazMh6A+xfunNP2qET Ptd95pho3Sk8d0J60r0ACIEI0gUToCRty/aEGgXUeHum4K3i5LjL07zxlHUABLdu6bqls 10FnXQc3UAQd1vu49Y6ec3ziHZJxXyCgKxhzUVfVzwOuU7br2qDbb6nvyxsgr7pua5GaZ HB3tii1ivun1+F+bUd30q5tYbc3dePC/Vg+PwNMtIin4UivLMx0DM3PrDQkaKOq8oKw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796164456; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:X-Received:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Proofpoint-Spam-Info: X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=wtCAlvqXGG1plWVcjXmyp0V/6isDqfdilc7qpZLULLI=; b=KuVpTUG95UUtBwBcP7iC5iTYZ6+dixd3LgNnllAANbYzWCFOFLjyvj5Yz4Fv7CcVBc8q 18BYqvbrTewnsY4Oed00ZjhaVaaYt7TgeC8vyExPG5wLBtxwn8NRrLusv+38LNn/n2BsW jrUJ6DqIjeDN7XRCu7QGJispso15e4hUQOLFd2vcEHCCxLaZ4Rfxi/WkzIIr5/im7opzr Z0jJaEODqgStagUt+P3gzAmIp9rxglKS84aIUNoR3wyKVZjnu2Nemv8XbP8RWya7eXYAh qmFlYVrKlqDHEJDM/wWglELEw/uHRrsv3tDe5yX+Tug89o0m4ZVE+7mTLYqY2uN9uFg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=MW0YhF9n; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=GL3ELBuZ; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 197E9606A32C for ; Tue, 1 Dec 2026 22:34:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 197E9606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=MW0YhF9n; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=GL3ELBuZ Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1J0nOU2884659 for ; Tue, 1 Dec 2026 22:34:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= wtCAlvqXGG1plWVcjXmyp0V/6isDqfdilc7qpZLULLI=; b=MW0YhF9n4XLR6NdZ r1XRIfMrye5GgvQTdqGBIIMPOyO7fm55NddLJaFvAzPtg6AK5zYRi8nBe34u/37U teN75EBMc4dmzQPncZlX6Xs9OdUwlv6w+c5xRf8NDxWUX0OL2hWyFyeAYQsZdBWP paxyDCIgwAGuN8YXieaYkCBdQxeWphgxb/ZorzYHgO318d/e2qth9O/QOc2f7HHa lFYqDNGKVV166nojfrevZa+Otp7X1VY2j7Lm8P2x0n0bXUOEZmF+MyjcCVHSIE3a eFUng0AFqIyatraQ7Robd3iGJZZhEQXSiZeDWZpHq4W9K2AQgX5iRt/usT7zE959 Qikl/Q== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja3ax0vxh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 22:34:15 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-386b8624cf7so314292eec.1 for ; Tue, 01 Dec 2026 14:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796164455; x=1796769255; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wtCAlvqXGG1plWVcjXmyp0V/6isDqfdilc7qpZLULLI=; b=GL3ELBuZLD4nilT5fU5c2uHfwQ1c3uCBa/N0wFT1n/NxpOhcf427b2otPYQLMl5/Gl 1Uov71jmSFsBjm7xbl7XMErC+DxjLImA20QQCo97xK1LV3MRK/FRr5dfVcM0bTMt0Ihw 1jVY8nVLhr6nUbIHIY2maJIcDdn2IUdmqa6cQTrQTT2Aj+rf3WtC6BbuUCMVsv7rSVqQ PC6CzAjVKJ4M7r+GTmSGQ8fSHZH2wNBFqX28WOML1hEDJIHZUPFvzNaXNzqPfLbbaEX6 7Q1RzkL9V0enhhtjN98p6G8sp3JziH+6HblMZPtqwR2tGNcEQr/xWoQobDm9kuhoKtb+ G3iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796164455; x=1796769255; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=wtCAlvqXGG1plWVcjXmyp0V/6isDqfdilc7qpZLULLI=; b=1XbZLMrVzc3xkRtUaa0CD3vOybrq3Ex2wrwgkbjwOjOb0Yui2kYR0bKsyuYzMVo8AG 8mf6fHDQgXBLN/juIaMGIOcodyq/aPUenFYmkvFu0Z3nwob/+Lnk7m3KpvaXLaJOXHe0 T3gGBiBpr6q3EXNq7F5PG267tk1MvYcghDopMr/aO+pwxs5uZgKyebKkMpLjJFIBtN0s KxjwHjOkLt4p+juiwwZBybU+0e0C3L3y9xSjbXYnZlJQKpQuTl3U7BPTnsc62AQHrwE5 4ya5T+ydfltreQlvke/xPejKvfNu3W1pORR3PN/lctI9SSVDc6zqhwN177XGm8YDnjPl 38tg== X-Gm-Message-State: APuU4Z/gXBNejWa1vPWLUQxcc7lnJGngqdSjlpqlRFdw4hKvN1qSNwAm GWAloDcuyxGnRS82YhLlpB9YR5wesrsDXCGMRXdg/fIEZxHriOCLv9f5jSxJ4nvafFLpyYLYSHs cVDW30NjYG9gd0YgAlep8Jhxb3o9SPKWrELv1dDxDd1eUk83Z1wG9iZtgQuoeMNkawy4= X-Gm-Gg: AZFdTZfD3akP7cIRSfpeGFwgbdcTjN9xlzvx/Z1UBvcDt+hMWUoScyzsP/xMItejy/6 mg9DG2etsvncrKu9+UEDATIq+aGcuoQINHl0Sr1xNJ5WhQe7exnsRlnnQp2qfatZKJb7aDUwW1h +2vWFiIWLuzrNdRbHYLnzFVARewVHCFZSqwvbxtxxgNI+veXrWwxMEW8PXGBDI+0/UW+UjF1QTP C3uHmJbMEAqCQ1AWI566R9eAWBknZvKShXG1R4kRIz5ijybLzUW6+ydSsGCHT3Eiulwmz7Q5LOV AQogwseoiWNJLyVCGkR2P2tpYfGQdwEnZ3+jc6gflLxiHiuPJcfG5Zf7Lw7oOfzg0x3XhIE5vtD UF0wsOHX3lENjn9uMtAWyf+tnUk2Pf5bIrZNM1mDLLrKLZjnk0NqhzssDMCnIJndC/e6zNGTmgg A3o+xLS6g= X-Received: by 2002:a05:693c:65c3:b0:386:e9bb:d9d3 with SMTP id 5a478bee46e88-386e9bbda7dmr15561786eec.28.1796164454792; Tue, 01 Dec 2026 14:34:14 -0800 (PST) X-Received: by 2002:a05:693c:65c3:b0:386:e9bb:d9d3 with SMTP id 5a478bee46e88-386e9bbda7dmr15561768eec.28.1796164454266; Tue, 01 Dec 2026 14:34:14 -0800 (PST) Received: from hu-kuldsing-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38707b612cbsm48570539eec.4.2026.12.01.14.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 14:34:13 -0800 (PST) From: Kuldeep Singh Date: Wed, 02 Dec 2026 04:03:39 +0530 Subject: [PATCH RFC 1/2] firmware: qcom: Introduce qcom_secure_log interface to display QTEE logs X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261202-qcom_secure_log_rfc-v1-1-9eaf98f14605@oss.qualcomm.com> References: <20261202-qcom_secure_log_rfc-v1-0-9eaf98f14605@oss.qualcomm.com> In-Reply-To: <20261202-qcom_secure_log_rfc-v1-0-9eaf98f14605@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Abel Vesa , Dmitry Baryshkov Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Kuldeep Singh X-Mailer: b4 0.15.2 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA4OSBTYWx0ZWRfXyFKa54UlNw/z 27EC+F04CDcRHO/S6kUXErPjcUIQ5ulBt9EV5QlEXxzJPgurXIVd4qhERkNtOImD+8npyntgVEG 6M5LbJkdlVbtu1whk6xxneAblWhLgh0= X-Authority-Analysis: v=2.4 cv=J5s/fwnS c=1 sm=1 tr=0 ts=6b0f4b67 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=J-B01EpuFb0DIIHfsR0A:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-GUID: s4iBPJD-oZX91Envrk-zw9jmdyNiQHGw X-Proofpoint-ORIG-GUID: s4iBPJD-oZX91Envrk-zw9jmdyNiQHGw X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA4OSBTYWx0ZWRfXyE23Ul9hppsH 8gTsFSdgtv6mJsFVHuDDYLNrHZJrpQM00wJdB3Y5kGXgKjtSkTRtG/pnouJQYYdNdTFv9lv65+n 1JDUrCZixwZPOEdcT24wPTFYabTmMXlUWwfBBh9kMgLNIqvab+ecRvs2h+uqSWsMjtIkR5wwBCF wEBTaX924LtpZrJZiCXl/StoyrWdVToiMV3scoWCRbM+oUKY1v3YqT9NNjyu8bLWwCfFxskdUAb dvcBn3/dEvT7Qb6OYXub4oJ5hTLfh3shIRRq2EOH5QKgllh+Rlig9nF+QAnIkY8Iq+gO6OCBja4 zxAOL8+t158XY7/2gVHiUwE7dOJej+PibsJ6Ljrs86ETSQvNH+lsgHzUCUR/KQSx7ngPB9w5CKi T/lANJYypmyYomA3RAtqG1xSzqf8SDLhBluzxnzROTlxexrVkrRt1Fb1zRMNHJXwnekUGrJJa9+ GQPvc04XVXVCLAUlvjg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-01_04,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 spamscore=0 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010089 Define an interface to basically map TZ diag ocimem physical address as per soc family and ioremap further to map region for userspace access. The ocimem address is roughly same over targets(few possible values only) and hence, maintaining machine compatible list and size for target family. Signed-off-by: Kuldeep Singh --- drivers/firmware/qcom/Kconfig | 8 ++ drivers/firmware/qcom/Makefile | 1 + drivers/firmware/qcom/qcom_secure_log.c | 228 ++++++++++++++++++++++++++++++++ 3 files changed, 237 insertions(+) diff --git a/drivers/firmware/qcom/Kconfig b/drivers/firmware/qcom/Kconfig index 3ad22f8fc3e5..8ca173677c64 100644 --- a/drivers/firmware/qcom/Kconfig +++ b/drivers/firmware/qcom/Kconfig @@ -46,6 +46,14 @@ config QCOM_TZMEM_MODE_SHMBRIDGE With this selected, all buffers passed to the TrustZone must be allocated using the TZMem allocator or else the TrustZone will refuse to use them. +config QCOM_SECURE_LOG + tristate "Qualcomm secure-world log userspace interface" + depends on ARCH_QCOM || COMPILE_TEST + help + Provide a provisional userspace ABI for Qualcomm secure-world log + buffers. Userspace is expected to mmap supported log regions and + parse the firmware log format. + config QCOM_QSEECOM bool "Qualcomm QSEECOM interface driver" depends on QCOM_SCM=y diff --git a/drivers/firmware/qcom/Makefile b/drivers/firmware/qcom/Makefile index 88ce74d74c3e..bec90e13d0cb 100644 --- a/drivers/firmware/qcom/Makefile +++ b/drivers/firmware/qcom/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_QCOM_SCM) += qcom-scm.o qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o CFLAGS_qcom_scm-smc.o := -I$(src) obj-$(CONFIG_QCOM_TZMEM) += qcom_tzmem.o +obj-$(CONFIG_QCOM_SECURE_LOG) += qcom_secure_log.o obj-$(CONFIG_QCOM_QSEECOM) += qcom_qseecom.o obj-$(CONFIG_QCOM_QSEECOM_UEFISECAPP) += qcom_qseecom_uefisecapp.o obj-$(CONFIG_QCOM_PAS) += qcom_pas.o diff --git a/drivers/firmware/qcom/qcom_secure_log.c b/drivers/firmware/qcom/qcom_secure_log.c new file mode 100644 index 000000000000..7760ad46bd29 --- /dev/null +++ b/drivers/firmware/qcom/qcom_secure_log.c @@ -0,0 +1,228 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Qualcomm secure-world log userspace interface + * + * Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include +#include +#include +#include +#include +#include + +#define QCOM_SECURE_LOG_SIZE 0x3000 + +/** + * struct qcom_secure_log_config - target-specific secure log configuration + * @compatibles: NULL-terminated root machine compatible string list + * @imem_phys: physical IMEM address that stores the TZ diagnostic buffer base + * @size: TZ diagnostic buffer size + */ +struct qcom_secure_log_config { + const char * const *compatibles; + phys_addr_t imem_phys; + size_t size; +}; + +/** + * struct qcom_secure_log - secure-log device state + * @miscdev: userspace miscdevice + * @config: selected target-specific secure log configuration + * @imem_base: mapping of the IMEM pointer area + * @tz_diag_base: kernel mapping of the TZ diagnostic buffer + * @tz_diag_phys: physical start of the TZ diagnostic buffer + */ +struct qcom_secure_log { + struct miscdevice miscdev; + const struct qcom_secure_log_config *config; + void __iomem *imem_base; + void __iomem *tz_diag_base; + phys_addr_t tz_diag_phys; +}; + +static const char * const qcom_secure_log_c125720[] = { + "qcom,qcs8300", + NULL, +}; + +static const char * const qcom_secure_log_146bf720[] = { + "qcom,sm8150", + NULL, +}; + +static const char * const qcom_secure_log_14680720[] = { + "qcom,lanai", + "qcom,sm8750", + "qcom,kaanapali", + "qcom,hawi", + NULL, +}; + +static const char * const qcom_secure_log_146aa720[] = { + "qcom,qcm6490", + "qcom,hamoa", + NULL, +}; + +static const char * const qcom_secure_log_c11e720[] = { + "qcom,shikra", + NULL, +}; + +static const struct qcom_secure_log_config qcom_secure_log_configs[] = { + { + .compatibles = qcom_secure_log_c125720, + .imem_phys = 0x0c125720, + .size = QCOM_SECURE_LOG_SIZE, + }, + { + .compatibles = qcom_secure_log_146bf720, + .imem_phys = 0x146bf720, + .size = QCOM_SECURE_LOG_SIZE, + }, + { + .compatibles = qcom_secure_log_14680720, + .imem_phys = 0x14680720, + .size = QCOM_SECURE_LOG_SIZE, + }, + { + .compatibles = qcom_secure_log_146aa720, + .imem_phys = 0x146aa720, + .size = QCOM_SECURE_LOG_SIZE, + }, + { + .compatibles = qcom_secure_log_c11e720, + .imem_phys = 0x0c11e720, + .size = QCOM_SECURE_LOG_SIZE, + }, +}; + +static struct qcom_secure_log qcom_secure_log; + +static int qcom_secure_log_mmap(struct file *file, struct vm_area_struct *vma) +{ + struct qcom_secure_log *log = container_of(file->private_data, + struct qcom_secure_log, + miscdev); + unsigned long size = vma->vm_end - vma->vm_start; + + if (vma->vm_flags & VM_WRITE) + return -EPERM; + + if (vma->vm_pgoff) + return -EINVAL; + + if (size != log->config->size) + return -EINVAL; + + vm_flags_clear(vma, VM_MAYWRITE); + vm_flags_set(vma, VM_IO | VM_DONTDUMP | VM_DONTEXPAND); + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); + + return remap_pfn_range(vma, vma->vm_start, PHYS_PFN(log->tz_diag_phys), + size, vma->vm_page_prot); +} + +static const struct file_operations qcom_secure_log_fops = { + .owner = THIS_MODULE, + .mmap = qcom_secure_log_mmap, + .llseek = noop_llseek, +}; + +static const struct qcom_secure_log_config *qcom_secure_log_find_config(void) +{ + const struct qcom_secure_log_config *config; + const char * const *compatible; + int i; + + for (i = 0; i < ARRAY_SIZE(qcom_secure_log_configs); i++) { + config = &qcom_secure_log_configs[i]; + + for (compatible = config->compatibles; *compatible; compatible++) { + if (of_machine_is_compatible(*compatible)) + return config; + } + } + + return NULL; +} + +static int qcom_secure_log_init_tz_diag(struct qcom_secure_log *log) +{ + phys_addr_t tz_diag_phys; + + log->config = qcom_secure_log_find_config(); + if (!log->config) + return -ENODEV; + + log->imem_base = ioremap(log->config->imem_phys, log->config->size); + if (!log->imem_base) + return -ENOMEM; + + tz_diag_phys = readl_relaxed(log->imem_base); + if (!tz_diag_phys || !PAGE_ALIGNED(tz_diag_phys)) + goto err_unmap_imem; + + log->tz_diag_base = ioremap(tz_diag_phys, log->config->size); + if (!log->tz_diag_base) + goto err_unmap_imem; + + log->tz_diag_phys = tz_diag_phys; + + return 0; + +err_unmap_imem: + iounmap(log->imem_base); + log->imem_base = NULL; + return -ENODEV; +} + +static void qcom_secure_log_release_tz_diag(struct qcom_secure_log *log) +{ + if (log->tz_diag_base) + iounmap(log->tz_diag_base); + + if (log->imem_base) + iounmap(log->imem_base); +} + +static int __init qcom_secure_log_init(void) +{ + struct qcom_secure_log *log = &qcom_secure_log; + int ret; + + ret = qcom_secure_log_init_tz_diag(log); + if (ret) + goto err_release_tz_diag; + + log->miscdev.minor = MISC_DYNAMIC_MINOR; + log->miscdev.name = "secure_log"; + log->miscdev.fops = &qcom_secure_log_fops; + + ret = misc_register(&log->miscdev); + if (ret) + goto err_release_tz_diag; + + return 0; + +err_release_tz_diag: + qcom_secure_log_release_tz_diag(log); + return ret; +} + +static void __exit qcom_secure_log_exit(void) +{ + struct qcom_secure_log *log = &qcom_secure_log; + + misc_deregister(&log->miscdev); + qcom_secure_log_release_tz_diag(log); +} + +module_init(qcom_secure_log_init); +module_exit(qcom_secure_log_exit); + +MODULE_DESCRIPTION("Qualcomm TZ diagnostic log"); +MODULE_LICENSE("GPL"); -- 2.34.1