1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Quadword loads and stores
4 * for use in instruction emulation.
6 * Copyright 2017 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com>
9 #include <asm/processor.h>
10 #include <asm/ppc_asm.h>
11 #include <asm/ppc-opcode.h>
13 #include <asm/asm-offsets.h>
14 #include <linux/errno.h>
16 /* do_lq(unsigned long ea, unsigned long *regs) */
27 /* do_stq(unsigned long ea, unsigned long val0, unsigned long val1) */
36 /* do_lqarx(unsigned long ea, unsigned long *regs) */
38 1: PPC_LQARX(6, 0, 3, 0)
47 /* do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1,