coreboot-kgpe-d16/util
Benjamin Barenblat 82ef8ada82 src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy
Rewrite inline assembly for ARMv7+ to correctly annotate inputs and
outputs.  On ARM GCC 6.1.1, this causes assembly output to change from
the incorrect

	@ r0 is allocated to hold dst and x0
	@ r1 is allocated to hold src and x1
	ldr r0, [r1]		@ clobbers dst!
	ldr r1, [r1, #4]
	str r0, [r0]
	str r1, [r0, #4]

to the correct

	@ r0 is allocated to hold dst
	@ r1 is allocated to hold src and x1
	@ r3 is allocated to hold x0
	ldr r3, [r1]
	ldr r1, [r1, #4]
	str r3, [r0]
	str r1, [r0, #4]

Also modify checkpatch.pl to ignore spaces before opening brackets when
used in inline assembly.

Change-Id: I255995f5e0a7b1a95375258755a93972c51d79b8
Signed-off-by: Benjamin Barenblat <bbaren@google.com>
Reviewed-on: https://review.coreboot.org/15216
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-06-24 19:10:05 +02:00
..
abuild abuild: Add option of starting with an existing defconfig file 2016-03-13 03:05:43 +01:00
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
amdfwtool amdfwtool: Fix some PSP2 issues 2016-03-03 12:03:03 +01:00
amdtools
archive archive: build archive tool with HOSTCC 2016-03-08 17:40:05 +01:00
arm_boot_tools/mksunxiboot
autoport autoport: Add prompt for enabling unsafe inteltool glx option 2016-06-12 12:27:57 +02:00
bimgtool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
board_status board_status: Abort early if the coreboot image doesn't exist 2016-05-18 00:17:18 +02:00
broadcom
cbfstool cbfstool: Change CONFIG_FMD_GENPARSER if not set to n 2016-06-21 17:55:17 +02:00
cbmem util/cbmem: Scale time stamp values correctly 2016-03-14 21:30:01 +01:00
checklist util/checklist: Add bootblock support 2016-06-09 23:10:40 +02:00
chromeos crosfirmware: Make script more silent 2016-05-04 18:54:59 +02:00
crossgcc buildgcc: Update Python to 3.5.1 2016-05-04 20:40:57 +02:00
dtd_parser util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
ectool ectool: fix NetBSD compilation 2016-01-27 17:15:56 +01:00
exynos util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
futility futility: don't pass toolchain flags into futility's build 2016-04-05 13:36:32 +02:00
fuzz-tests tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
genbuild_h genbuild_h: Fix numeric comparison to remove error 2016-03-14 23:37:12 +01:00
genprof
gitconfig gitconfig/rebase.sh: adapt default branch name 2015-08-28 18:41:21 +00:00
ifdfake tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ifdtool util/ifdtool: add option to change chip density 2016-03-13 04:42:40 +01:00
intelmetool intelmetool: Add the X99 ISA Bridge device id 2016-06-04 23:41:22 +02:00
inteltool inteltool: handle unsafe dumping of graphics registers 2016-06-08 22:35:57 +02:00
intelvbttool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ipqheader util: ipq40xx: Scripts to combine SBL and Coreboot ELFs 2016-05-09 09:36:27 +02:00
k8resdump tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
kconfig kconfig: make oldconfig work "non-strict" 2016-02-15 08:03:56 +01:00
lint src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
marvell util/marvell: Add Marvell doimage utility and dependency in relevant Makefile 2016-02-11 14:16:08 +01:00
mma util/mma: changing BOOT_STUB to COREBOOT region and few more things 2016-05-10 22:59:36 +02:00
msrtool msrtool/configure: change svn to git 2015-12-14 22:52:49 +01:00
mtkheader util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
nvidia util/nvidia/cbootimage: update to latest master 2016-03-16 15:02:50 +01:00
nvramtool util/nvramtool/cli/nvramtool.c: Add newline to error message 2016-04-11 16:26:58 +02:00
optionlist optionslist: Don't add a timestamp 2016-02-21 01:46:15 +01:00
post util: Add a very simple utility to test POST cards. 2016-02-26 07:00:33 +01:00
release util/release: extend release script 2016-02-01 08:58:37 +01:00
riscvtools util/riscvtools: Add script that turns coreboot.rom into an ELF 2016-06-21 00:10:14 +02:00
rockchip rockchip: update make_idb.py 2016-03-16 15:24:10 +01:00
romcc romcc.1: Point bug reporters to the coreboot ML / bug tracker 2016-05-01 16:29:09 +02:00
sconfig sconfig: Add a new generic device type 2016-05-16 19:49:59 +02:00
scripts chromeos.fmd: Mark RW_LEGACY as CBFS 2016-04-05 13:37:31 +02:00
showdevicetree tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spkmodem_recv tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
superiotool superiotool: Add support for chip NCT6102D / NCT6106D 2016-05-26 01:05:25 +02:00
uio_usbdebug tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vgabios Redo testbios utility to use all of YABEL 2016-02-18 01:47:04 +01:00
viatool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
xcompile xcompile: test if gcc is really available 2016-05-03 04:16:24 +02:00