mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 21:56:43 +07:00
54095a6ec7
The following problem was found by Giovambattista Pulcini <gpulcini@swintel.it>, who also provided a partial patch, and this has been verified by our time guru Gabriel Paubert <paubert@iram.es>. The problem is that in do_settimeofday() we always set time_state to TIME_ERROR and except on two platforms, never re-set it. This meant that ntp_gettime() and ntp_adjtime() always returned TIME_ERROR, incorrectly. Based on Gabriel's analysis, time_state is used for leap-second processing, and ppc shouldn't be mucking with it. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
align.c | ||
asm-offsets.c | ||
bitops.c | ||
cpu_setup_6xx.S | ||
cpu_setup_power4.S | ||
cputable.c | ||
dma-mapping.c | ||
entry.S | ||
find_name.c | ||
head_4xx.S | ||
head_8xx.S | ||
head_44x.S | ||
head_booke.h | ||
head_fsl_booke.S | ||
head.S | ||
idle_6xx.S | ||
idle_power4.S | ||
idle.c | ||
irq.c | ||
l2cr.S | ||
Makefile | ||
misc.S | ||
module.c | ||
pci.c | ||
perfmon_fsl_booke.c | ||
perfmon.c | ||
ppc_htab.c | ||
ppc_ksyms.c | ||
ppc-stub.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp-tbsync.c | ||
smp.c | ||
softemu8xx.c | ||
swsusp.S | ||
syscalls.c | ||
temp.c | ||
time.c | ||
traps.c | ||
vecemu.c | ||
vector.S | ||
vmlinux.lds.S |