linux/arch/powerpc/include/asm
Andreas Schwab 41131a5e54 powerpc/vdso: Fix clock_gettime_fallback for vdso32
The second argument of __kernel_clock_gettime64 points to a struct
__kernel_timespec, with 64-bit time_t, so use the clock_gettime64
syscall in the fallback function for the 32-bit VDSO. Similarly,
clock_getres_fallback should use the clock_getres_time64 syscall,
though it isn't yet called from the 32-bit VDSO.

Fixes: d0e3fc69d0 ("powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32")
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
[chleroy: Moved into a single #ifdef __powerpc64__ block]
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/0c0ab0eb3cc80687c326f76ff0dd5762b8812ecc.1610452505.git.christophe.leroy@csgroup.eu
2021-01-14 15:56:44 +11:00
..
book3s powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
nohash powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
vdso powerpc/vdso: Fix clock_gettime_fallback for vdso32 2021-01-14 15:56:44 +11:00
8xx_immap.h
Kbuild local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
accounting.h
agp.h
archrandom.h
asm-compat.h
asm-const.h
asm-offsets.h
asm-prototypes.h
async_tx.h
atomic.h powerpc: Fix update form addressing in inline assembly 2020-12-04 22:13:19 +11:00
backlight.h
barrier.h powerpc/barrier: Use CONFIG_PPC64 for barrier selection 2020-12-04 01:01:10 +11:00
bitops.h powerpc/bitops: Fix possible undefined behaviour with fls() and fls64() 2020-11-19 14:50:13 +11:00
bootx.h
btext.h
bug.h powerpc/fault: Perform exception fixup in do_page_fault() 2020-12-09 23:48:14 +11:00
bugs.h
cache.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
cacheflush.h
cell-pmu.h
cell-regs.h
checksum.h powerpc: force inlining of csum_partial() to avoid multiple csum_partial() with GCC10 2020-12-15 22:50:11 +11:00
clocksource.h powerpc/vdso: Prepare for switching VDSO to generic C implementation. 2020-12-04 01:01:10 +11:00
cmpxchg.h
code-patching-asm.h
code-patching.h
compat.h
context_tracking.h
copro.h
cpm.h
cpm1.h powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-09 17:00:54 +11:00
cpm2.h
cpu_has_feature.h
cpu_setup_power.h powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C 2020-11-19 14:49:56 +11:00
cpufeature.h
cpuidle.h
cputable.h powerpc/32s: Make support for 603 and 604+ selectable 2020-12-09 16:48:59 +11:00
cputhreads.h
cputime.h
crashdump-ppc64.h
current.h
dbdma.h
dbell.h
dcr-generic.h
dcr-mmio.h
dcr-native.h
dcr-regs.h
dcr.h
debug.h
debugfs.h
delay.h
device.h
disassemble.h
dma-direct.h
dma.h
drmem.h
dt_cpu_ftrs.h
dtl.h
edac.h
eeh.h
eeh_event.h
ehv_pic.h
elf.h powerpc: Remove ucache_bsize 2020-12-05 21:49:52 +11:00
elfnote.h
emergency-restart.h
emulated_ops.h
epapr_hcalls.h
exception-64e.h
exception-64s.h powerpc/64s: flush L1D after user accesses 2020-11-19 23:47:18 +11:00
exec.h
extable.h
fadump-internal.h
fadump.h
fb.h
feature-fixups.h powerpc: Add new macro to handle NESTED_IFCLR 2020-12-04 01:01:23 +11:00
firmware.h powerpc: Refactor is_kvm_guest() declaration to new header 2020-12-04 01:01:21 +11:00
fixmap.h powerpc/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:57 +01:00
floppy.h
fs_pd.h
fsl_85xx_cache_sram.h
fsl_gtm.h
fsl_hcalls.h
fsl_lbc.h
fsl_pamu_stash.h
fsl_pm.h
ftrace.h
futex.h
grackle.h
hardirq.h
head-64.h
heathrow.h
highmem.h powerpc/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:57 +01:00
hmi.h
hugetlb.h
hvcall.h powerpc/hvcall: add token and codes for H_VASI_SIGNAL 2020-12-08 21:40:55 +11:00
hvconsole.h
hvcserver.h
hvsi.h
hw_breakpoint.h
hw_irq.h
hydra.h
i8259.h
ibmebus.h
icswx.h
ide.h
idle.h
ima.h
imc-pmu.h
immap_cpm2.h
inst.h
io-defs.h
io-workarounds.h
io.h powerpc: Fix update form addressing in inline assembly 2020-12-04 22:13:19 +11:00
io_event_irq.h
iommu.h
ipic.h
irq.h
irq_work.h
irqflags.h
isa-bridge.h
jump_label.h
kasan.h
kdebug.h
kdump.h
kexec.h
kexec_ranges.h
keylargo.h
kgdb.h
kprobes.h
kup.h powerpc: Inline setup_kup() 2020-12-15 13:13:49 +11:00
kvm_asm.h
kvm_book3s.h
kvm_book3s_32.h
kvm_book3s_64.h
kvm_book3s_asm.h
kvm_book3s_uvmem.h
kvm_booke.h
kvm_booke_hv_asm.h
kvm_fpu.h
kvm_guest.h powerpc: Reintroduce is_kvm_guest() as a fast-path check 2020-12-04 01:01:22 +11:00
kvm_host.h
kvm_para.h powerpc: Reintroduce is_kvm_guest() as a fast-path check 2020-12-04 01:01:22 +11:00
kvm_ppc.h
libata-portmap.h
linkage.h
livepatch.h livepatch: Use the default ftrace_ops instead of REGS when ARGS is available 2020-11-13 12:15:28 -05:00
local.h
lppaca.h
lv1call.h
machdep.h powerpc/machdep: remove suspend_disable_cpu() 2020-12-08 21:41:01 +11:00
macio.h
mc146818rtc.h
mce.h powerpc/64s/pseries: Add ERAT specific machine check handler 2020-12-04 01:01:23 +11:00
mediabay.h
mem_encrypt.h
membarrier.h
mman.h
mmiowb.h
mmu.h powerpc/32s: Make support for 603 and 604+ selectable 2020-12-09 16:48:59 +11:00
mmu_context.h powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
mmzone.h mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports 2020-11-22 10:48:22 -08:00
module.h
module.lds.h
mpc5xxx.h
mpc6xx.h
mpc52xx.h
mpc52xx_psc.h
mpc85xx.h
mpc5121.h
mpc8260.h
mpic.h
mpic_msgr.h
mpic_timer.h
msi_bitmap.h
nmi.h
nvram.h
ohare.h
opal-api.h powerpc/xive: Remove P9 DD1 flag XIVE_IRQ_FLAG_EOI_FW 2020-12-11 09:53:10 +11:00
opal.h
oprofile_impl.h
paca.h
page.h
page_32.h powerpc/32s: Cleanup around PTE_FLAGS_OFFSET in hash_low.S 2020-12-09 23:48:14 +11:00
page_64.h
paravirt.h powerpc/paravirt: Use is_kvm_guest() in vcpu_is_preempted() 2020-12-04 01:01:22 +11:00
parport.h
pasemi_dma.h
pci-bridge.h
pci.h
percpu.h
perf_event.h
perf_event_fsl_emb.h
perf_event_server.h powerpc/perf: Add new power PMU flag "PPMU_P10_DD1" for power10 DD1 2020-11-19 16:56:55 +11:00
pgalloc.h
pgtable-be-types.h
pgtable-types.h
pgtable.h
pkeys.h
plpar_wrappers.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
pmi.h
pnv-ocxl.h ocxl: Initiate a TLB invalidate command 2020-12-04 01:01:30 +11:00
pnv-pci.h
powernv.h
ppc-opcode.h powerpc/ppc-opcode: Add encoding macros for VSX vector paired instructions 2020-12-11 00:09:09 +11:00
ppc-pci.h
ppc4xx.h
ppc_asm.h powerpc/vdso: Fix DOTSYM for 32-bit LE VDSO 2020-12-21 22:06:26 +11:00
probes.h
processor.h powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode. 2020-12-04 01:01:26 +11:00
prom.h
ps3.h powerpc/ps3: make system bus's remove and shutdown callbacks return void 2020-12-04 01:01:22 +11:00
ps3av.h
ps3gpu.h
ps3stor.h
pte-walk.h
ptrace.h powerpc/book3s64/pkeys: Store/restore userspace AMR/IAMR correctly on entry and exit from kernel 2020-12-04 01:01:25 +11:00
qspinlock.h
qspinlock_paravirt.h
reg.h powerpc/64s: Remove MSR[ISF] bit 2020-12-09 23:48:14 +11:00
reg_8xx.h
reg_a2.h
reg_booke.h powerpc: Retire e200 core (mpc555x processor) 2020-12-05 21:49:18 +11:00
reg_fsl_emb.h
rheap.h
rio.h
rtas-types.h powerpc/rtas: remove unused rtas_suspend_me_data 2020-12-08 21:41:02 +11:00
rtas.h powerpc/rtas: remove unused rtas_suspend_last_cpu() 2020-12-08 21:41:01 +11:00
runlatch.h
seccomp.h powerpc: Enable seccomp architecture tracking 2020-11-20 11:16:35 -08:00
sections.h
secure_boot.h
security_features.h powerpc/64s: flush L1D after user accesses 2020-11-19 23:47:18 +11:00
secvar.h
serial.h
setjmp.h
setup.h powerpc/64s: flush L1D after user accesses 2020-11-19 23:47:18 +11:00
sfp-machine.h
shmparam.h
signal.h
simple_spinlock.h
simple_spinlock_types.h
slice.h
smp.h powerpc/cacheinfo: Print correct cache-sibling map/list for L2 cache 2020-12-11 00:10:25 +11:00
smu.h
sparsemem.h mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports 2020-11-22 10:48:22 -08:00
spinlock.h
spinlock_types.h
spu.h
spu_csa.h
spu_info.h
spu_priv1.h
sstep.h
stackprotector.h
stacktrace.h
string.h
svm.h
swab.h
swiotlb.h
switch_to.h
synch.h
syscall.h
syscalls.h
task_size_32.h
task_size_64.h
tce.h
termios.h
thread_info.h powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
time.h powerpc/time: Remove ifdef in get_vtb() 2020-12-04 01:01:32 +11:00
timex.h powerpc/time: Move timebase functions into new asm/vdso/timebase.h 2020-12-04 01:01:10 +11:00
tlb.h powerpc/32s: Inline flush_hash_entry() 2020-12-09 16:46:56 +11:00
tlbflush.h
tm.h
topology.h powerpc/numa: Fix build when CONFIG_NUMA=n 2020-11-06 14:16:19 +11:00
trace.h
trace_clock.h
tsi108.h
tsi108_irq.h
tsi108_pci.h
types.h
uaccess.h powerpc: Use asm_goto_volatile for put_user() 2020-11-05 10:15:59 +11:00
udbg.h
uic.h
ultravisor-api.h
ultravisor.h
unaligned.h
uninorth.h
unistd.h
uprobes.h
user.h
vas.h
vdso.h powerpc/vdso: Cleanup vdso.h 2020-12-04 01:01:19 +11:00
vdso_datapage.h powerpc/vdso: Remove unused \tmp param in __get_datapage() 2020-12-04 01:01:17 +11:00
vermagic.h
vga.h
vio.h
vmalloc.h
word-at-a-time.h
xics.h
xive-regs.h
xive.h powerpc/xive: Remove P9 DD1 flag XIVE_IRQ_FLAG_EOI_FW 2020-12-11 09:53:10 +11:00
xmon.h
xor.h
xor_altivec.h