Yicong Yang
cb37e7fa23
perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
...
[ Upstream commit 0242737dc4eb9f6e9a5ea594b3f93efa0b12f28d ]
Some HiSilicon SMMU PMCG suffers the erratum 162001900 that the PMU
disable control sometimes fail to disable the counters. This will lead
to error or inaccurate data since before we enable the counters the
counter's still counting for the event used in last perf session.
This patch tries to fix this by hardening the global disable process.
Before disable the PMU, writing an invalid event type (0xffff) to
focibly stop the counters. Correspondingly restore each events on
pmu::pmu_enable().
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20230814124012.58013-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:00:03 +02:00
..
ABI
x86/speculation: Add Gather Data Sampling mitigation
2023-08-08 19:56:35 +02:00
accounting
psi: Fix uaf issue when psi trigger is destroyed while being polled
2022-02-05 12:35:36 +01:00
admin-guide
Documentation/sysctl: document page_lock_unfairness
2023-08-30 16:27:27 +02:00
arm
ARM: 9012/1: move device tree mapping out of linear region
2021-05-19 10:08:32 +02:00
arm64
perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
2023-09-23 11:00:03 +02:00
block
bpf
cdrom
core-api
XArray: add xas_split
2021-06-10 13:37:14 +02:00
cpu-freq
crypto
dev-tools
docs/scripts/gdb: add necessary make scripts_gdb step
2023-03-11 16:43:57 +01:00
devicetree
dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks
2023-03-11 16:44:17 +01:00
doc-guide
driver-api
spi: Update reference to struct spi_controller
2023-01-18 11:41:01 +01:00
EDID
fault-injection
debugfs: fix error when writing negative value to atomic_t debugfs file
2023-01-18 11:40:56 +01:00
fb
fbdev: fix numbering of fbcon options
2020-02-24 08:36:42 +01:00
features
filesystems
fs: Lock moved directories
2023-07-27 08:37:26 +02:00
firmware-guide
Documentation: ACPI: EINJ: Fix obsolete example
2022-08-25 11:18:21 +02:00
firmware_class
fpga
gpu
hid
hwmon
Revert "hwmon: Make chip parameter for with_info API mandatory"
2022-06-25 12:44:36 +02:00
i2c
ia64
ide
iio
infiniband
input
Input: iforce - add support for Boeder Force Feedback Wheel
2022-09-20 12:27:59 +02:00
ioctl
Remove DECnet support from kernel
2023-06-21 15:44:10 +02:00
isdn
kbuild
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
2020-08-26 10:40:47 +02:00
kernel-hacking
leds
livepatch
locking
m68k
maintainer
media
media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.
2023-05-17 11:35:36 +02:00
mic
mips
misc-devices
netlabel
networking
xsk: Honor SO_BINDTODEVICE on bind
2023-07-27 08:37:23 +02:00
nios2
openrisc
parisc
PCI
pcmcia
power
PM: runtime: Add pm_runtime_get_if_active()
2023-08-30 16:27:12 +02:00
powerpc
process
docs: update mediator contact information in CoC doc
2022-11-25 17:42:20 +01:00
RCU
riscv
s390
scheduler
scsi
scsi: smartpqi: Update attribute name to driver_version
2020-01-17 19:48:27 +01:00
security
sh
sound
ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
2023-04-20 12:07:35 +02:00
sparc
sphinx
docs: Fix the docs build with Sphinx 6.0
2023-01-18 11:42:01 +01:00
sphinx-static
spi
target
tweewide: Fix most Shebang lines
2021-05-22 11:38:30 +02:00
timers
trace
tracing/histogram: Update document for KEYS_MAX size
2022-11-10 17:57:55 +01:00
translations
usb
userspace-api
Documentation: seccomp: Fix user notification documentation
2021-06-03 08:59:03 +02:00
virt
KVM: s390: disable migration mode when dirty tracking is disabled
2023-03-11 16:44:01 +01:00
virtual
vm
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
w1
watchdog
x86
x86/CPU/AMD: Save AMD NodeId as cpu_die_id
2020-12-30 11:51:47 +01:00
xtensa
xtensa: fix TLBTEMP area placement
2020-11-24 13:29:22 +01:00
.gitignore
asm-annotations.rst
linkage: Introduce new macros for assembler symbols
2020-11-10 12:37:24 +01:00
atomic_bitops.txt
locking/atomic: Make test_and_*_bit() ordered on failure
2022-08-25 11:18:31 +02:00
atomic_t.txt
bus-virt-phys-mapping.txt
Changes
CodingStyle
conf.py
docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
2022-06-14 18:11:49 +02:00
COPYING-logo
crc32.txt
debugging-modules.txt
debugging-via-ohci1394.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
DMA-attributes.txt
Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
2022-05-25 09:14:38 +02:00
DMA-ISA-LPC.txt
docutils.conf
dontdiff
futex-requeue-pi.txt
hwspinlock.txt
index.rst
linkage: Introduce new macros for assembler symbols
2020-11-10 12:37:24 +01:00
io-mapping.txt
io_ordering.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
Kconfig
kobject.txt
kprobes.txt
kref.txt
logo.gif
lzo.txt
lib/lzo: fix ambiguous encoding bug in lzo-rle
2020-06-17 16:40:28 +02:00
mailbox.txt
Makefile
memory-barriers.txt
nommu-mmap.txt
padata.txt
percpu-rw-semaphore.txt
pi-futex.txt
preempt-locking.txt
rbtree.txt
remoteproc.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
speculation.txt
static-keys.txt
SubmittingPatches
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
xz.txt