]> git.ipfire.org Git - thirdparty/linux.git/commit
hwtracing: hisi_ptt: Don't try to attach a task
authorYicong Yang <yangyicong@hisilicon.com>
Tue, 10 Oct 2023 08:47:30 +0000 (16:47 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 13 Nov 2023 09:43:46 +0000 (09:43 +0000)
commitaff787f64ad7cbb54614b51b82c682fe06411ef3
tree55d286616f299f8f7d7dee84d01869892dedca04
parente0dd27ad8af00f147ac3c9de88e0687986afc3ea
hwtracing: hisi_ptt: Don't try to attach a task

PTT is an uncore PMU and shouldn't be attached to any task. Block
the usage in pmu::event_init().

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20231010084731.30450-5-yangyicong@huawei.com
drivers/hwtracing/ptt/hisi_ptt.c