android_kernel_samsung_sm8650/drivers/hwtracing/coresight
yingdeng 8a01c3ed0f coresight: tmc: etf: Free its buffer and set NULL when etf can't be enabled
In function tmc_enable_etf_sink_sysfs, the local variable buf
was allocated and assigned to drvdata->buffer, and buf will be
freed because etf can't be enabled, but drvdata->buffer
still point to the address.
So in function tmc_read_unprepare_etb, beacause drvdata->mode
is CS_MODE_DISABLED, local variable buf was assigned by
drvdata->buf and free again.

Change-Id: I7d25e7db0a983fc134e8d8dfb954936233f0d167
Signed-off-by: yingdeng <quic_yingdeng@quicinc.com>
2024-08-11 22:35:11 -07:00
..
coresight-byte-cntr.c coresight: byte-cntr: Get the rwp offset when byte-cntr stop 2023-06-16 15:07:13 +08:00
coresight-byte-cntr.h coresight: add debug log to coresight-tmc 2022-10-22 19:34:25 -07:00
coresight-catu.c
coresight-catu.h
coresight-cfg-afdo.c
coresight-cfg-preload.c
coresight-cfg-preload.h
coresight-common.h coresight: support Modem ETM trace encryption 2022-12-14 22:49:04 -08:00
coresight-config.c
coresight-config.h
coresight-core.c Merge "coresight: Fix issues when use simpleperf to collect the ETM" 2024-01-10 04:09:59 -08:00
coresight-cpu-debug.c
coresight-csr.c coresight: csr: Add support for AODBG CSR 2024-05-30 15:44:03 +08:00
coresight-cti-core.c coresight: Use new flag to differentiate DS and RBSC 2024-03-13 10:37:48 +05:30
coresight-cti-platform.c coresight-cti: Add extended CTI support 2022-10-17 19:01:42 -07:00
coresight-cti-sysfs.c Merge keystone/android14-6.1-keystone-qcom-release.6.1.20 (2be6a1c) into msm-pineapple 2023-04-04 00:15:30 -07:00
coresight-cti.h coresight: CTI: CTI supports suspend & hibernation 2024-02-15 16:14:03 +05:30
coresight-dummy.c coresight: support Modem ETM trace encryption 2022-12-14 22:49:04 -08:00
coresight-etb10.c
coresight-etm3x-core.c coresight: Add result check of pm_runtime_get_sync 2022-12-19 23:20:58 -08:00
coresight-etm3x-sysfs.c coresight: Add result check of pm_runtime_get_sync 2022-12-19 23:20:58 -08:00
coresight-etm4x-cfg.c
coresight-etm4x-cfg.h
coresight-etm4x-core.c Merge keystone/android14-6.1-keystone-qcom-release.6.1.78+ (075ce55) into qcom-6.1 2024-07-14 22:05:15 +05:30
coresight-etm4x-sysfs.c coresight: Add result check of pm_runtime_get_sync 2022-12-19 23:20:58 -08:00
coresight-etm4x.h FROMGIT: coresight: etm4x: Safe access for TRCQCLTR 2024-04-26 12:54:24 -07:00
coresight-etm-cp14.c
coresight-etm-perf.c coresight: etm_pmu: Set the module field 2023-05-11 23:03:29 +09:00
coresight-etm-perf.h
coresight-etm.h
coresight-funnel.c coresight: Add result check of pm_runtime_get_sync 2022-12-19 23:20:58 -08:00
coresight-hwevent.c
coresight-platform.c coresight: support Modem ETM trace encryption 2022-12-14 22:49:04 -08:00
coresight-priv.h Merge "coresight: support Modem ETM trace encryption" 2022-12-19 05:37:10 -08:00
coresight-qmi.h coresight: support Modem ETM trace encryption 2022-12-14 22:49:04 -08:00
coresight-remote-etm.c coresight: remote-etm: remote etm supports suspend & hibernation 2024-03-10 18:20:22 +05:30
coresight-replicator.c
coresight-self-hosted-trace.h
coresight-stm.c coresight: Use new flag to differentiate DS and RBSC 2024-03-13 10:37:48 +05:30
coresight-syscfg-configfs.c
coresight-syscfg-configfs.h
coresight-syscfg.c
coresight-syscfg.h
coresight-sysfs.c
coresight-tgu.c
coresight-tmc-core.c Merge keystone/android14-6.1-keystone-qcom-release.6.1.68+ (7cb0122) into qcom-6.1 2024-05-09 10:00:15 +05:30
coresight-tmc-etf.c coresight: tmc: etf: Free its buffer and set NULL when etf can't be enabled 2024-08-11 22:35:11 -07:00
coresight-tmc-etr.c Merge keystone/android14-6.1-keystone-qcom-release.6.1.68+ (7cb0122) into qcom-6.1 2024-05-09 10:00:15 +05:30
coresight-tmc-sec.c coresight-tmc-sec: Stop probe when memory region is not available 2023-08-01 16:12:42 +08:00
coresight-tmc-usb.c coresight: tmc: Fix byte-cntr irq count mismatch issue 2024-06-03 10:47:55 +08:00
coresight-tmc-usb.h tmc-usb: Add drop data size count 2022-11-09 18:54:46 -08:00
coresight-tmc.h coresight-tmc: fix etr enable fail issue 2024-03-11 14:49:12 +08:00
coresight-tpda.c
coresight-tpdm.c coresight: Use new flag to differentiate DS and RBSC 2024-03-13 10:37:48 +05:30
coresight-tpiu.c
coresight-trace-noc.c
coresight-trace-noc.h
coresight-trbe.c coresight: trbe: Fix TRBE potential sleep in atomic context 2023-09-13 09:42:56 +02:00
coresight-trbe.h
Kconfig Merge keystone/android-mainline-keystone-qcom-release.6.1-rc5 (e9630af) into msm-pineapple 2022-12-10 23:51:29 -08:00
Makefile coresight: Disable RTB for coresight-stm 2023-02-03 06:36:50 -08:00