linux/drivers/hwtracing/coresight
Bo Yan 57adbeea64 coresight: etm4x: Fix bit shifting
ctxid_pid and vmid_val in config are of type u64. When an integer
0xFF is being left shifted more than 32 bits, the behavior is
undefined. The fix is to specify 0xFF as an unsigned long.

Detected by Coverity scan: CID 37650, 37651 (Bad bit shift operation)

Signed-off-by: Bo Yan <byan@nvidia.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 18:05:34 +01:00
..
Kconfig coresight replicator: Cleanup programmable replicator naming 2017-08-28 16:05:48 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
coresight-cpu-debug.c coresight: Use %px to print pcsr instead of %p 2018-03-14 18:05:34 +01:00
coresight-dynamic-replicator.c coresight: Use PTR_ERR_OR_ZERO() 2017-12-19 10:05:18 +01:00
coresight-etb10.c coresight: etb10: remove duplicate includes 2017-12-19 10:05:18 +01:00
coresight-etm-cp14.c
coresight-etm-perf.c coresight: pmu: Adds return stack option to perf coresight pmu 2017-08-28 16:05:48 +02:00
coresight-etm-perf.h coresight: etm-perf: configuring filters from perf core 2016-08-31 13:05:43 +02:00
coresight-etm.h coresight: ptm: Adds trace return stack option programming for PTM. 2017-08-28 16:05:48 +02:00
coresight-etm3x-sysfs.c coresight: Use the new helper for defining registers 2017-08-28 16:05:48 +02:00
coresight-etm3x.c coresight: Extend the PIDR mask to cover relevant bits in PIDR2 2017-10-20 15:03:06 +02:00
coresight-etm4x-sysfs.c coresight: etm4x: Fix bit shifting 2018-03-14 18:05:34 +01:00
coresight-etm4x.c coresight: etm4x: constify amba_id 2017-08-28 16:06:48 +02:00
coresight-etm4x.h coresight: etm4x: Fix enabling of cycle accurate tracing in perf. 2017-01-25 11:46:42 +01:00
coresight-funnel.c coresight: Use PTR_ERR_OR_ZERO() 2017-12-19 10:05:18 +01:00
coresight-priv.h coresight tmc: Add helpers for accessing 64bit registers 2017-08-28 16:05:48 +02:00
coresight-replicator.c coresight: Use local coresight_desc instances 2016-08-31 13:05:43 +02:00
coresight-stm.c coresight: Extend the PIDR mask to cover relevant bits in PIDR2 2017-10-20 15:03:06 +02:00
coresight-tmc-etf.c coresight tmc: Add helpers for accessing 64bit registers 2017-08-28 16:05:48 +02:00
coresight-tmc-etr.c coresight tmc: Support for save-restore in ETR 2017-08-28 16:05:49 +02:00
coresight-tmc.c coresight: Extend the PIDR mask to cover relevant bits in PIDR2 2017-10-20 15:03:06 +02:00
coresight-tmc.h coresight tmc: Add support for Coresight SoC 600 TMC 2017-08-28 16:05:49 +02:00
coresight-tpiu.c coresight: Fix disabling of CoreSight TPIU 2017-12-19 10:05:18 +01:00
coresight.c coresight: Deduplicate bus_find_device() by name matching 2017-12-19 10:05:18 +01:00
of_coresight.c coresight: of: Use of_cpu_node_to_id helper 2018-01-02 16:43:12 +00:00