Commit Graph

934251 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
6e23f5089d Revert "FROMLIST: esp: select CRYPTO_SEQIV"
This reverts commit c285ecc449 as it is no
longer needed for 5.8-rc3.

Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6ae749611867e34c1ffffcdd5f30acec92cc9edc
2020-06-29 10:45:11 +02:00
John Stultz
e0f28df644 ANDROID: Revert "FROMLIST: arm64: dts: sdm845: Set the virtual address range for GMU allocations"
This reverts commit cf3d0afc47.

An alternative solution was merged upstream so this
can be dropped.

Fixes: cf3d0afc47 ("FROMLIST: arm64: dts: sdm845: Set the virtual address range for GMU allocations")
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ibd802555caea9ed72d674b23fc0b777d94e9371c
2020-06-27 12:50:56 +00:00
John Stultz
ec75f36e9e ANDROID: Revert "FROMLIST: dt-bindings: display: msm: Add required dma-range property"
This reverts commit 8cd58de551

An alternative solution was merged upstream so this
can be dropped.

Fixes: 8cd58de551 ("FROMLIST: dt-bindings: display: msm: Add required dma-range property")
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I892b05ec7e0026060182430ad5c920a6d3f38385
2020-06-27 12:50:26 +00:00
Greg Kroah-Hartman
663ae7d5d0 Merge 625d344978 ("Revert "kernel/printk: add kmsg SEEK_CUR handling"") into android-mainline
Can cause known issues, so good to get merged into the tree now.

Change-Id: If71170a490cf833a4db4d730f76ceda10cfe19ed
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2020-06-27 12:00:31 +02:00
Greg Kroah-Hartman
1d722fa8e9 Merge 5.8-rc2 into android-mainline
Linux 5.8-rc2

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0e2f0302387539982d5577ad72079621c35c5f61
2020-06-27 09:48:57 +02:00
Alex Hong
fc31d47a63 ANDROID: Makefile: append BUILD_NUMBER to version string when defined
In current implementation the Linux version string that is attached to
the kernel linux image as well as the all kernel modules includes the
sha1 of the main git project for the kernel.

This Commit adds the BUILD_NUMBER env variable with an 'ab' prefix to
the Linux version string. This maps to both the Linux Image and all
kernel modules version strings.

Bug: 159842160
Bug: 137521202
Test: Build the kernel and test the version string
Change-Id: I4795955f36f477b257ca86495726e24d6b196d05
Signed-off-by: Alex Hong <rurumihong@google.com>
(cherry picked from commit e60f995403c9799dd0dc14d62d77d6698a8a7126)
[willmcvicker: fix uts_len check to include -ab$(BUILD_NUMBER)]
Signed-off-by: Will McVicker <willmcvicker@google.com>
2020-06-26 11:29:35 -07:00
zhang sanshan
ff10efab8f ANDROID: GKI: enable CONFIG_TYPEC_TCPM
The Type-C Port Controller Manager provides a USB PD and USB Type-C
state machine for use with Type-C Port Controllers.
No hardware involved. Vendor who enable TYPE-C need build-in it by default.

Bug: 159732196
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
Change-Id: I5453b40fd6047e4258942242259292f50419d28a
2020-06-26 15:51:29 +00:00
zhang sanshan
8b617617a5 ANDROID: GKI: support CONFIG_INPUT_TOUCHSCREEN
enable build in driver drivers/input/touchscreen in gki configure
touch screen should been enable in gki configure which is need by vendor.

Bug: 159736147
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
Change-Id: I3b1d348791aa9e762374a4965893b3a4a490394b
2020-06-25 22:58:21 +00:00
Alistair Delva
82e0bf1714 ANDROID: gki_defconfig: x86: Enable KERNEL_LZ4
Compress the kernel with lz4 instead of gzip. On x86 this must be
controlled explicitly by kbuild, as decompressor code is prepended
to the compressed kernel artifact.

On arm64 this option is not needed as "make Image.lz4" can be used
instead, or the Image can be compressed in a separate step.

Bug: 150391496
Change-Id: I2d0ce7f937f2a952b4310f53c8b03dc8d721b050
Signed-off-by: Alistair Delva <adelva@google.com>
2020-06-25 14:29:30 -07:00
Alistair Delva
76a0d39293 ANDROID: GKI: scripts: Makefile: update the lz4 command
Use 'lz4' instead of 'lz4c' and increase the compression level. This
also optimizes for decompression speed at this higher level.

Bug: 159285792
Test: launch_cvd -kernel_path bzImage
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I9604cc7d1f3600dec27ceb460f7c29d977a919b1
2020-06-25 14:29:30 -07:00
Daniel Rosenberg
48b5fe6611 ANDROID: ext4: Optimize match for casefolded encrypted dirs
Matching names with casefolded encrypting directories requires
decrypting entries to confirm case since we are case preserving. We can
avoid needing to decrypt if our hash values don't match.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Test: Boots, /data/media is case insensitive
Bug: 138322712
Change-Id: Id6024fc2a3bbde1e46a29070981fa64b3f667075
2020-06-25 18:38:17 +00:00
Daniel Rosenberg
705a3e5b18 ANDROID: ext4: Handle casefolding with encryption
This adds support for encryption with casefolding.

Since the name on disk is case preserving, and also encrypted, we can no
longer just recompute the hash on the fly. Additionally, to avoid
leaking extra information from the hash of the unencrypted name, we use
siphash via an fscrypt v2 policy.

The hash is stored at the end of the directory entry for all entries
inside of an encrypted and casefolded directory apart from those that
deal with '.' and '..'. This way, the change is backwards compatible
with existing ext4 filesystems.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Test: Boots, /data/media is case insensitive
Bug: 138322712
Change-Id: I07354e3129aa07d309fbe36c002fee1af718f348
2020-06-25 18:38:07 +00:00
Todd Kjos
cc7e56790f ANDROID: GKI: Enable INTERVAL_TREE
Needed by some GPU/DRM drivers that are built out-of-tree

Bug: 159733980
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Ia156d1b0a74c82d9f15b144131aff2ddeead0672
2020-06-25 18:37:23 +00:00
Ritesh Harjani
94b7f6d158 UPSTREAM: ext4: mballoc: Use this_cpu_read instead of this_cpu_ptr
Simplify reading a seq variable by directly using this_cpu_read API
instead of doing this_cpu_ptr and then dereferencing it.

This also avoid the below kernel BUG: which happens when
CONFIG_DEBUG_PREEMPT is enabled

BUG: using smp_processor_id() in preemptible [00000000] code: syz-fuzzer/6927
caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
CPU: 1 PID: 6927 Comm: syz-fuzzer Not tainted 5.7.0-next-20200602-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 check_preemption_disabled+0x20d/0x220 lib/smp_processor_id.c:48
 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244
 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626
 ext4_getblk+0xad/0x520 fs/ext4/inode.c:833
 ext4_bread+0x7c/0x380 fs/ext4/inode.c:883
 ext4_append+0x153/0x360 fs/ext4/namei.c:67
 ext4_init_new_dir fs/ext4/namei.c:2757 [inline]
 ext4_mkdir+0x5e0/0xdf0 fs/ext4/namei.c:2802
 vfs_mkdir+0x419/0x690 fs/namei.c:3632
 do_mkdirat+0x21e/0x280 fs/namei.c:3655
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Fixes: 42f56b7a4a7d ("ext4: mballoc: introduce pcpu seqcnt for freeing PA
to improve ENOSPC handling")
Suggested-by: Borislav Petkov <bp@alien8.de>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reported-by: syzbot+82f324bb69744c5f6969@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/534f275016296996f54ecf65168bb3392b6f653d.1591699601.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
(cherry picked from commit 8119853653)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5c843425a14fbd48f3e77299f1341959f134498c
2020-06-25 18:03:58 +00:00
Eric Biggers
2b4c70da98 ANDROID: f2fs: fix bad merge resolutions
The encrypt+casefold support needed to be adjusted following refactoring
of f2fs filename handing upstream.  Also, the upstream change to
f2fs_d_compare() needed to be moved to generic_ci_d_compare().  See
http://aosp/1341990 and also the other branches like android-5.4-stable.

Also, a call f2fs_set_bio_crypt_ctx() went missing.

Fixes: 8912845e4e ("Merge 42612e7763 ("Merge tag 'f2fs-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs") into android-mainline")
Change-Id: Icd92029bab74e161497a1f03201826a737955725
Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-06-25 08:49:01 -07:00
Quentin Perret
122a2dad22 ANDROID: gki_defconfig: Enable CONFIG_WQ_WATCHDOG
It is useful to some partners to debug in-field lockups, and can
disabled by those who don't need it via command line or sysfs.

Bug: 159101622
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: I14d2b112d2d4d1a4a920c71f254fc4ba4d3cd57c
2020-06-25 15:23:54 +00:00
Greg Kroah-Hartman
fd0cd97281 Revert "FROMLIST: pwm: Convert period and duty cycle to u64"
This reverts commit d2ee0ef1e0

Causes build errors on 5.8-rc1, hopefully a new version will be
submitted upstream, no need to keep this around at the moment.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I9d13a5b727ebc9dd4aaa591bb64d28adef8cb38c
2020-06-25 15:20:58 +00:00
Greg Kroah-Hartman
3be0477f5a ANDROID: Incremental fs: fix up attempt to copy structures with READ/WRITE_ONCE
READ/WRITE_ONCE are for atomic data types, not for structures.  Fix this
up by doing a memcpy to make it explicit just how messy this copy is...

This fixes a build error on 5.8-rc1, as things are more strict, odds are
it's also wrong in other kernel versions as well...

Cc: Daniel Mentz <danielmentz@google.com>
Cc: Paul Lawrence <paullawrence@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7ecd3d05bd94c936dd5e69c63028458786f37a78
2020-06-25 15:20:35 +00:00
Greg Kroah-Hartman
a33191d441 Merge 5.8-rc1 into android-mainline
Linux 5.8-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I00f2168bc9b6fd8e48c7c0776088d2c6cb8e1629
2020-06-25 14:25:32 +02:00
Greg Kroah-Hartman
8912845e4e Merge 42612e7763 ("Merge tag 'f2fs-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs") into android-mainline
Steps on the way to 5.8-rc1.

Thanks to Eric for showing the way on how to do this one.

Change-Id: I5d32b592e31932eafab272e4014a9ea472d37f0b
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2020-06-25 08:23:49 +02:00
Greg Kroah-Hartman
1da58ab555 ANDROID: fix up direct access to mmap_sem
It's now being abstracted away, so fix up the ANDROID specific code that
touches the lock to use the correct functions instead.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I9cedb62118cd1bba7af27deb11499d312d24d7fc
2020-06-24 18:17:12 +02:00
Greg Kroah-Hartman
3203312829 ANDROID: GKI: fix up gki_defconfig due to pinctrl upstream merges
CONFIG_PINCTRL_AMD needs to be removed from gki_defconfig as it's no
longer needed.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I19a5f8b86f514d4f82c46468d5bcec25ab55157d
2020-06-24 17:58:41 +02:00
Greg Kroah-Hartman
a253db8915 Merge ad57a1022f ("Merge tag 'exfat-for-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat") into android-mainline
Steps on the way to 5.8-rc1.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4bc42f572167ea2f815688b4d1eb6124b6d260d4
2020-06-24 17:54:12 +02:00
Greg Kroah-Hartman
87b344db7a Merge cf0c97f148 ("Merge tag 'pinctrl-v5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl") into android-mainline
Baby steps to 5.8-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia5ec011460c5041520483b43e129abbf4a298a99
2020-06-24 17:41:09 +02:00
Greg Kroah-Hartman
21d332c18e Merge e611c0fe31 ("Merge tag 'usb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb") into android-mainline
Required backing out the renesas-xhci changes that never made it
upstream yet.  If they are really needed, someone will work to get them
merged upstream properly...

Baby steps on the way to 5.8-rc1.

Change-Id: I6a450d3630c6d015d0e4cd00068fa7c702b96f41
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2020-06-24 17:28:15 +02:00
Greg Kroah-Hartman
714dbb2e31 ANDROID: GKI: remove CONFIG_EDAC from arm64 gki_defconfig
It's no longer a needed option due to upstream changes so remove it from
the defconfig for arm64.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id1723b7b5a59c53671df19dddbd07f16d13da16f
2020-06-24 14:28:11 +02:00
Greg Kroah-Hartman
2f9c5c39bf Merge 3b69e8b457 ("Merge tag 'sh-for-5.8' of git://git.libc.org/linux-sh") into android-mainline
Steps on the way to 5.8-rc1.

Change-Id: I9fcdd820bc1555c51a93d77278079ec8c1b4c186
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2020-06-24 12:27:21 +02:00
Greg Kroah-Hartman
3330492ef1 Revert "ANDROID: kbuild: add support for Clang LTO"
This reverts commit 310afefe71 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4f30d8544545860dd1a70bd18a63b9a1673c6c6a
2020-06-24 10:31:15 +02:00
Greg Kroah-Hartman
16fe007e61 Revert "ANDROID: kbuild: fix dynamic ftrace with clang LTO"
This reverts commit c4fa71e251 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id688d5e1e8b69b13aeb49da2716bfe45415e7c39
2020-06-24 10:31:11 +02:00
Greg Kroah-Hartman
4f60494720 Revert "ANDROID: scripts/mod: disable LTO for empty.c"
This reverts commit c7aaf58a4d as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ieb86309df7bf7899c26e815077a0db1ddbb8a486
2020-06-24 08:51:01 +02:00
Greg Kroah-Hartman
068dbd8a6d Revert "ANDROID: efi/libstub: disable LTO"
This reverts commit a4fa5799c0 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia81e7927c504b549faf75c65ab3418bda0930d79
2020-06-24 08:49:36 +02:00
Greg Kroah-Hartman
226fd68780 Revert "ANDROID: drivers/misc/lkdtm: disable LTO for rodata.o"
This reverts commit 95788bcf46 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iae782ce51812ecc9b7f8508e428f0db504b5d169
2020-06-24 08:47:45 +02:00
Greg Kroah-Hartman
0472716d99 Revert "ANDROID: init: ensure initcall ordering with LTO"
This reverts commit 6c5ad8b10e as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0b67a8a0d4b54c5be30f0bfc5abdd1422b7ab2f1
2020-06-24 08:47:44 +02:00
Greg Kroah-Hartman
5c1311f758 Revert "ANDROID: soc/tegra: disable ARCH_TEGRA_210_SOC with LTO"
This reverts commit 79ff0889f8 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id685f8e997e7e941ea1b1a7e00a2188581c1c794
2020-06-24 08:47:43 +02:00
Greg Kroah-Hartman
d22ba28620 Revert "ANDROID: irqchip/gic-v3: rename gic_of_init to work around a ThinLTO+CFI bug"
This reverts commit 23141e2689 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4c8d4a523ad46af98162a6f453d39f81eb70be34
2020-06-24 08:47:42 +02:00
Greg Kroah-Hartman
f9703749df Revert "ANDROID: arm64: disable HAVE_ARCH_PREL32_RELOCATIONS with LTO_CLANG"
This reverts commit a516ca1ee7 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I753a5af94ce247d1929b79a01725ce392de1a547
2020-06-24 08:47:41 +02:00
Greg Kroah-Hartman
5b5ef1903c Revert "ANDROID: arm64: allow LTO_CLANG and THINLTO to be selected"
This reverts commit f08b8ec58c as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic9c6fd69bec1e4e7535019cbd38436a5bd6f6d69
2020-06-24 08:40:18 +02:00
Greg Kroah-Hartman
6c80b2e494 Revert "ANDROID: gki_defconfig: enable LTO, CFI, and SCS"
This reverts commit 59ec77600f as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I361630df79f3cd19de62908233e2d10204627910
2020-06-24 08:34:49 +02:00
Greg Kroah-Hartman
677093625d Revert "ANDROID: kbuild: fix modfinal with LTO"
This reverts commit 2d939f16c3 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I36ab73538f0ea727b82b52edb2a3c049d440aaed
2020-06-24 08:34:47 +02:00
Greg Kroah-Hartman
f3ab3cc850 Revert "ANDROID: kbuild: merge module sections with LTO"
This reverts commit b4205c196f as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I63a1a1e99642b0f4b4437e9c10cdc2ff99045b9e
2020-06-24 08:34:46 +02:00
Greg Kroah-Hartman
820fe5fe36 Revert "ANDROID: kbuild: limit LTO inlining"
This reverts commit 1bca3d0382 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia2f1ba9327547f297065f3c72b769f04ff3a7efc
2020-06-24 08:34:45 +02:00
Greg Kroah-Hartman
bb06582632 Revert "ANDROID: x86/vdso: disable LTO only for VDSO"
This reverts commit 92381c512b as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0cf09578c03cda54181a252eba3457e9fb5278cc
2020-06-24 08:08:30 +02:00
Greg Kroah-Hartman
11f0146a49 Revert "ANDROID: x86: disable HAVE_ARCH_PREL32_RELOCATIONS with LTO_CLANG"
This reverts commit c8ad0a80c3 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I369f8f4c0c36d87f29174077bfcc9fdb4ec55711
2020-06-24 08:08:29 +02:00
Greg Kroah-Hartman
4efebc9981 Revert "ANDROID: x86: disable STACK_VALIDATION with LTO_CLANG"
This reverts commit d5a3eb9d1e as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iee3a7be4b32a8c37d55962317421330ff03de24c
2020-06-24 08:08:28 +02:00
Greg Kroah-Hartman
513ee6ef8a Revert "ANDROID: x86: disable UNWINDER_ORC with LTO_CLANG"
This reverts commit 8e1a228356 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6d7faff1f85ed73e7f1b1829e65b1c84f80cbf86
2020-06-24 08:06:08 +02:00
Greg Kroah-Hartman
3a8961d3a1 Revert "ANDROID: x86, build: allow LTO_CLANG and THINLTO to be selected"
This reverts commit 9145ef459e as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I970783b2bc64c725d0478991c82bcdc089ee8a19
2020-06-24 07:38:06 +02:00
Greg Kroah-Hartman
49b2507414 Revert "ANDROID: x86: gki_defconfig: enable LTO and CFI"
This reverts commit 56d519e9e2 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id1a082986d0637d5906f517484cc7de3b7f10bd7
2020-06-24 07:36:37 +02:00
Greg Kroah-Hartman
c5a5355e10 Revert "ANDROID: kallsyms: strip hashes from static functions with ThinLTO and CFI"
This reverts commit dd447e0f04 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Idb31c3db0d358b250b241d5c04e8bafd9cd3d2d5
2020-06-24 07:34:49 +02:00
Greg Kroah-Hartman
536adca27b Revert "ANDROID: kbuild: merge more sections with LTO"
This reverts commit 269e56aa35 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0f30445f7c4da610be9ac865c005d152b0d0b2c8
2020-06-24 07:33:39 +02:00
Greg Kroah-Hartman
b378328f2a Merge 818dbde78e ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") into android-mainline
Steps on the way to 5.8-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I3beac21380f95fa9eaa9eb4c708c47c9c6addf11
2020-06-24 07:11:16 +02:00