android_kernel_samsung_a7y1.../arch/sparc/kernel
Young Xiao 84a93b4775 sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
[ Upstream commit 56cd0aefa475079e9613085b14a0f05037518fed ]

The PERF_EVENT_IOC_PERIOD ioctl command can be used to change the
sample period of a running perf_event. Consequently, when calculating
the next event period, the new period will only be considered after the
previous one has overflowed.

This patch changes the calculation of the remaining event ticks so that
they are offset if the period has changed.

See commit 3581fe0ef37c ("ARM: 7556/1: perf: fix updated event period in
response to PERF_EVENT_IOC_PERIOD") for details.

Signed-off-by: Young Xiao <92siuyang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 19:16:32 +02:00
..
apc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
audit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
auxio_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
auxio_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
btext.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
central.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cherrs.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
chmc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
compat_audit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpumap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpumap.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dtlb_miss.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dtlb_prot.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ebus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
entry.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
entry.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
etrap_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
etrap_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fpu_traps.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ftrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
getsetcc.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
helpers.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hvapi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hvcalls.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hvtramp.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idprom.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iommu_common.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iommu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioport.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
itlb_miss.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ivec.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jump_label.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kgdb_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kgdb_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kprobes.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kstack.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ktlb.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ldc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
led.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_kernel.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_pci_grpci1.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_pci_grpci2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_pci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_pmc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leon_smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mdesc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
misctrap.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nmi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
of_device_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
of_device_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
of_device_common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
of_device_common.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_fire.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_impl.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_msi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_psycho.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_sabre.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_schizo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_sun4v_asm.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_sun4v.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_sun4v.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perf_event.c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD 2020-04-06 19:16:32 +02:00
pmc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
process_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
process_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prom_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prom_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prom_common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prom_irqtrans.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prom.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
psycho_common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
psycho_common.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ptrace_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ptrace_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtrap_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtrap_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sbus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sigutil_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sigutil_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sigutil.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparc_ksyms_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparc_ksyms_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spiterrs.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sstate.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stacktrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
starfire.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4d_irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4d_smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4m_irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4m_smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4v_ivec.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4v_tlb_miss.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_sparc_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_sparc_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_sparc32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
syscalls.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
systbls_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
systbls_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
systbls.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trampoline_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trampoline_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
traps_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
traps_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsb.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ttable_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ttable_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
una_asm_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
una_asm_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unaligned_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unaligned_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
urtt_fill.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
utrap.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
viohs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
visemul.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vmlinux.lds.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
windows.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
winfixup.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wof.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wuf.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30