Commit Graph

998299 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
d50af56295 Merge 0b311e34d5 ("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.12-rc1

Resolves merge conflicts in:
	drivers/scsi/ufs/ufshcd.h

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I1e4b97f568bf7b6115d00d5b347251277b549615
2021-03-07 11:18:06 +01:00
Greg Kroah-Hartman
2524797481 Merge 03dc748bf1 ("Merge tag 'xfs-5.12-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If2f608a4140e019c3d9fa7f28d57124a85a9d5f8
2021-03-07 11:16:59 +01:00
Greg Kroah-Hartman
76ed7ddeec ANDROID: GKI: CONFIG_UBSAN_SIGNED_OVERFLOW is now gone, so delete it from gki_defconfig
In commit 6aaa31aeb9 ("ubsan: remove overflow checks"),
CONFIG_UBSAN_SIGNED_OVERFLOW and CONFIG_UBSAN_UNSIGNED_OVERFLOW are
removed, so the gki_defconfig files also need to be updated with that
removal.

Fixes: 6aaa31aeb9 ("ubsan: remove overflow checks")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I60236e591c63bd5866d4410ae7e9d7e315cdf431
2021-03-07 10:46:24 +01:00
Greg Kroah-Hartman
14f1854cdb Merge fecfd01539 ("Merge tag 'leds-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds") into android-mainline
Steps on the way to 5.12-rc1

Resolves merge conflicts in:
	drivers/dma-buf/dma-heap.c
	drivers/dma-buf/heaps/cma_heap.c
	drivers/dma-buf/heaps/system_heap.c
	include/linux/dma-heap.h

Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibb32dbdba5183c9e19f5d1e94016cc1ae9616173
2021-03-07 08:45:40 +01:00
Greg Kroah-Hartman
3db2a71497 Merge 5b47b10e8f ("Merge tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8330e967324622f71630bd9ee9e19086688d068e
2021-03-07 08:41:46 +01:00
Greg Kroah-Hartman
b0fb19d692 Merge 7ac1161c27 ("Merge tag 'driver-core-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core") into android-mainline
Steps on the way to 5.12-rc1.

Resolves conflicts in:
	drivers/base/core.c

Note, this merge sets the fw_devlink_flags to FW_DEVLINK_FLAGS_ON as it
should be in the Android kernel tree.

Cc: Saravana Kannan <saravanak@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I54f6cade1b3365c4427f2a6ed53b3f9d8170c620
2021-03-07 08:40:04 +01:00
Greg Kroah-Hartman
bd9ae521d9 ANDROID: mark FTRACE_MCOUNT_USE_OBJTOOL as BROKEN
The android build system does not have libelf in it just yet, so mark
FTRACE_MCOUNT_USE_OBJTOOL as BROKEN so as not to break the
x86-allmodconfig builds in TreeHugger.

Fixes: 22c8542d7b ("tracing: add support for objtool mcount")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I420e7e7e40749a7b6223650ae67d331a9f8e9b04
2021-03-07 08:37:58 +01:00
Greg Kroah-Hartman
972945aebc Merge a4dec04c7f ("Merge tag 'dma-mapping-5.12' of git://git.infradead.org/users/hch/dma-mapping") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I90e0e534d9ed015f2de519498011dcd9ca06ef75
2021-03-06 19:59:53 +01:00
Greg Kroah-Hartman
9339700536 Merge 143983e585 ("Merge tag 'dmaengine-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4d84f16706dd17117ac3b9d81e6e55cabd48c866
2021-03-06 19:58:22 +01:00
Greg Kroah-Hartman
92527faa4e Merge e0fbd25bb3 ("Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I918585b39baad0dd40a126fff45077f6eae394ee
2021-03-06 19:56:37 +01:00
Greg Kroah-Hartman
2fec063693 ANDROID: Incremental fs: fix up for recent vfs changes
Lots of different vfs changes happened in 7d6beb71da ("Merge tag
'idmapped-mounts-v5.12' of
git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux") which were
not made to incfs as it is out-of-tree :(

So fix it up by doing a quick port to the initial user namespace and
hopefully all works properly now, at least it builds :)

Fixes: 7d6beb71da ("Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux")
Cc: Paul Lawrence <paullawrence@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I32899a792fbfad9455d504868e7a02d30a0a6049
2021-03-06 19:50:59 +01:00
Greg Kroah-Hartman
bbf615b8e1 Merge 7d6beb71da ("Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux") into android-mainline
Steps on the way to 5.12-rc1.

Resolves conflicts in:
	fs/overlayfs/inode.c

Note, incfs is broken here, will mark it as BROKEN in another patch to
make it more obvious.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I95a5938fc3cfa27d521c5d4fd18b2adfb13a6d84
2021-03-06 17:42:01 +01:00
Greg Kroah-Hartman
a29a6fabf9 Revert "ANDROID: overlayfs: fixup after upstream merge"
This reverts commit 8d5dc2cf06.

More getattr "fun" that's needed to unwind.

Cc: Mark Salyzyn <salyzyn@google.com>
Bug: 171874122
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0f86957110ca34d19618dd35c12d9852b4dd380c
2021-03-06 12:51:08 +01:00
Greg Kroah-Hartman
c4299f9857 Revert "FROMLIST: Add flags option to get xattr method paired to __vfs_getxattr"
This reverts commit 3484eba91d.

It's causing too many merge issues, so revert it for now and hopefully
bring it back later...

Cc: Mark Salyzyn <salyzyn@android.com>
Bug: 133515582
Bug: 136124883
Bug: 129319403
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id70a37d9471eff58f0027a1371538858136604d3
2021-03-06 12:51:05 +01:00
Greg Kroah-Hartman
54b3c7d8a2 Merge aa8e329172 ("Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I812097f3da3553ee3570115b2926196168128bee
2021-03-06 08:46:24 +01:00
Greg Kroah-Hartman
368ecbcb2f Merge 21a6ab2131 ("Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux") into android-mainline
Steps on the way to 5.12-rc1

Resolves conflicts in:
	include/linux/module.h

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I44772d65a5d6b1c5f4c33905554092c2cdc5b210
2021-03-06 08:45:21 +01:00
Todd Kjos
51681321c0 ANDROID: fixup restricted hooks after tracepont refactoring
In upstream commit d9a1be1be3 ("tracepoints: Do not punish non
static call users"), tracepoint macros were refactored to optimize
for static_call() cases. Since the Android-specific restricted
vendor hook mechanism leverages tracehooks, this required
equivalent refactoring in include/trace/hooks/vendor_hooks.h

Fixes: d9a1be1be3 ("tracepoints: Do not punish non static call users")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I2e01b34606e6ff0e577b76b57c47f601c32f626b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2021-03-06 08:43:12 +01:00
Greg Kroah-Hartman
48f7c289b1 Merge e6ff6f86bc4d0 ("Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8a9559999065a3e29d0c6b325e9705730ce88576
2021-03-06 08:41:44 +01:00
Greg Kroah-Hartman
666f4ce1b0 Merge 3a36281a17 ("Merge tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibf80f8fbd99fca0c97ab8629b4c0dc5a93acb44d
2021-03-06 08:40:52 +01:00
Elena Petrova
9de75d9cb5 ANDROID: GKI: Enable bounds sanitizer
Bounds sanitizer, a part of UndefinedBehaviorSanitizer (UBSan), inserts
run time bounds checks when accessing structs and arrays of constant
size known at compile time (e.g. in `foo[i]` for `char foo[8]`, `i` will
be checked to be not greater than 8).

The change have been tested to not have measurable performance impact.

Bug: 175004266
Signed-off-by: Elena Petrova <lenaptr@google.com>
Change-Id: Ie02ac1b210eeea05ad9bb0bae4b60660648ae776
2021-03-06 00:55:07 +00:00
Greg Kroah-Hartman
aa21ac2d00 Merge 7b7028edf9 ("Merge tag 'memblock-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I306316c78fa6a301b3695e23f03e59a7e413cb60
2021-03-05 10:30:44 +01:00
Greg Kroah-Hartman
79f312ba37 Merge bdb39c9509 ("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.12-rc1

Resolves conflicts in:
	drivers/scsi/ufs/ufshcd.c
	drivers/scsi/ufs/ufshcd.h

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Icf59a16d9e38754cd99a0fc670aff4112108456e
2021-03-05 10:28:32 +01:00
Greg Kroah-Hartman
61f5617bd9 Merge 325b764089 ("Merge tag 'for-5.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm") into android-mainline
Steps on the way to 5.12-rc1

Resolves merge conflicts in:
	block/keyslot-manager.c
	drivers/md/dm-flakey.c
	drivers/md/dm-linear.c
	drivers/md/dm-table.c
	include/linux/keyslot-manager.h

Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0299acc540b73422c3a5d98dc32d4053063f8da1
2021-03-05 10:21:12 +01:00
Eric Biggers
8cca4eca4a ANDROID: gki_defconfig: enable CONFIG_MMC_CRYPTO
This is needed to support eMMC inline encryption hardware.

Bug: 161256007
Change-Id: Ib8a40363a77f787111632348ec3662c6f7550241
Signed-off-by: Eric Biggers <ebiggers@google.com>
(cherry picked from commit 018ad7e673)
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-03-05 08:07:49 +00:00
Eric Biggers
9425feeaf5 ANDROID: mmc: cqhci: set blk_keyslot_manager::features
This is needed due to "ANDROID: block: add hardware-wrapped key
support", which isn't upstream yet.

Bug: 160883801
Change-Id: I053a1de8d8c600f8eaba60cd338e07b778d017b3
(cherry picked from commit 14d98d667c)
Signed-off-by: Eric Biggers <ebiggers@google.com>
2021-03-05 07:48:11 +00:00
Greg Kroah-Hartman
d5d6c36459 Merge tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-block into android-mainline
Short-cut a 5.12-rc1 merge point.

Bug: 181742070
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7969218b877644b2fd4f9956a8d65123e524969e
2021-03-05 06:44:24 +01:00
Greg Kroah-Hartman
a9b70a2132 Revert "ANDROID: Revert "Merge 582cd91f69 ("Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") into android-mainline""
This reverts commit 47c1260ea8.

Bug: 181742070
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I672a5db3738116de133a84e4bcecd8c18ff689e8
2021-03-05 06:43:17 +01:00
Eric Biggers
828de9bf79 ANDROID: scsi: ufs: replace fill_prdt with Android vendor hook
Like was done for the other non-upstream methods in
'struct ufs_hba_variant_ops', replace ->fill_prdt() with an Android
vendor hook.  This is considered to be better because it avoids any
conflicts with upstream changes to 'struct ufs_hba_variant_ops'.

Note that as a side effect of this change, fill_prdt is no longer
allowed to sleep.  That's fine for the only known use of this hook.

Bug: 162257402
Bug: 181359082
Change-Id: I8096932525c27b969193d769aff511a0114b35ad
Signed-off-by: Eric Biggers <ebiggers@google.com>
2021-03-04 23:20:36 +00:00
Matthias Maennich
ff882f5e56 ANDROID: allmodconfig: drop openssl from ADDITIONAL_HOST_TOOLS
This is now provided through the prebuilt build-tools.

Bug: 179516498
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I23152d35944b1efdb7aab9ef6c55aaad2ae1cbed
2021-03-04 20:48:26 +00:00
Lokesh Gidra
29968bfa0a ANDROID: GKI: Enable CONFIG_USERFAULTFD
Patches for SELinux support and kernel page-fault restriction in
userfaultfd have been backported. See references below.
So from security perspective it should be safe to enable it in Android.

1) https://android-review.googlesource.com/c/kernel/common/+/1576486
2) https://android-review.googlesource.com/c/kernel/common/+/1576704
3) https://android-review.googlesource.com/c/kernel/common/+/1612597
4) https://android-review.googlesource.com/c/kernel/common/+/1574667

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Iac5143da76783de57dba229f5761aff9297c17ae
(cherry picked from commit 16f20ce5ae)
2021-03-04 15:50:21 +00:00
Greg Kroah-Hartman
ff9463f365 Merge a99163e9e7 ("Merge tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iabdeafaf576f0e547a4380a9ecb478e0db7ae4b3
2021-03-03 18:13:53 +01:00
Greg Kroah-Hartman
4cf0c39dc0 Merge 5d26c176d5 ("Merge tag 'thermal-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I54c08034e04eac4b8d245afab8d3d13ff7d38844
2021-03-03 18:12:28 +01:00
Greg Kroah-Hartman
b70c8301f1 Merge 31caf8b2a8 ("Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I68dc8fda66552ee76f33c02a6711d684c2c40e54
2021-03-03 18:10:14 +01:00
Huang Jianan
6c8a1caa03 ANDROID: GKI: enable CONFIG_EROFS_FS=y
CONFIG_EROFS_FS=y is enable in android-5.4-stable branch now, so open
it on mainline to avoid repeated submissions in other branches.

Bug: 180727180
Change-Id: Ifb984d0816c043fca4699226a481b5f8ab7ab6fd
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
2021-03-03 17:07:28 +00:00
Greg Kroah-Hartman
84645f0a33 Merge d1fec2214b ("Merge tag 'selinux-pr-20210215' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux") into android-mainline
Steps on the way to 5.12-rc1

Resolves conflicts in:
        security/selinux/hooks.c
        security/selinux/include/classmap.h

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5aedc69f0f2b3b16351b1f39ed69994ca1ba59a5
2021-03-03 15:35:26 +01:00
Greg Kroah-Hartman
d6518266c8 Merge d99676af54 ("Merge tag 'drm-next-2021-02-19' of git://anongit.freedesktop.org/drm/drm") into android-mainline
Steps on the way to 5.12-rc1

Resolves conflicts in:
        include/drm/drm_prime.h

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib82bdb08d36b5b21bd685e1c60c295c8a560c8ad
2021-03-03 15:33:39 +01:00
Greg Kroah-Hartman
3bbd4974bd Merge 99ca0edb41 ("Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I159994a2fce809f28732e1867240971937b3df31
2021-03-03 15:31:16 +01:00
Greg Kroah-Hartman
547ee338cd ANDROID: binder: fix up use of MAX_USER_RT_PRIO
Commit e00eb41c0c ("ANDROID: binder: add support for RT prio
inheritance.") added the use of MAX_USER_RT_PRIO to the binder.c code,
but that commit was never sent upstream.

In commit ae18ad281e ("sched: Remove MAX_USER_RT_PRIO"), that define
was taken away, so to fix up the build breakage, move the binder code to
use MAX_RT_PRIO instead of the now-removed MAX_USER_RT_PRIO define.

Hopefully this is correct, who knows, it's binder RT code!  :)

Bug: 34461621
Bug: 37293077
Bug: 120446518
Fixes: e00eb41c0c ("ANDROID: binder: add support for RT prio inheritance.")
Fixes: ae18ad281e ("sched: Remove MAX_USER_RT_PRIO")
Cc: Martijn Coenen <maco@google.com>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I66b85e99697fdde462ec2d2ade5c92d5917896a3
2021-03-03 15:29:48 +01:00
Greg Kroah-Hartman
1e5781383b Merge 657bd90c93 ("Merge tag 'sched-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
Steps on the way to 5.12-rc1

Resolves conflicts in:
        kernel/sched/cpufreq_schedutil.c

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I06d90f919467f3e7e8970aaedbb872a10eb699ff
2021-03-03 15:29:15 +01:00
Greg Kroah-Hartman
3d0a37173c Merge b5183bc94b ("Merge tag 'irq-core-2021-02-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
Steps on the way to 5.12-rc1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If7a51622397d0ee3c0d91c97e55ccb0e85202c98
2021-03-03 10:43:31 +01:00
Greg Kroah-Hartman
47c1260ea8 ANDROID: Revert "Merge 582cd91f69 ("Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") into android-mainline"
This reverts commit f858d3a02f ("Merge 582cd91f69 ("Merge tag
'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") into
android-mainline") as it is causing boot problems with md devices in the
android build systems.

Reverting this should allow us to continue on with the merges of other
non-block issues, in order to be able to focus on tracking this issue
down at a later time.

Fixes: f858d3a02f ("Merge 582cd91f69 ("Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") into android-mainline")
Bug: 181742070
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I03cc2f86827f2d18db88fc68a4128747430f40d4
2021-03-03 10:37:27 +01:00
Greg Kroah-Hartman
f858d3a02f Merge 582cd91f69 ("Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") into android-mainline
Steps on the way to 5.12-rc1.

Resolves merge conflicts in:
	fs/iomap/direct-io.c

Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id09d89b6f3750d7976c293cd8b37843e97c9a777
2021-03-03 10:36:22 +01:00
Subash Abhinov Kasiviswanathan
d22fe1d9e7 ANDROID: GKI: Enable more networking configs
Enable the following netfilter and tc configs-

CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
CONFIG_NETFILTER_XT_MATCH_DSCP=y
CONFIG_NETFILTER_XT_MATCH_ESP=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_CLS_FW=y

CONFIG_NETFILTER_XT_TARGET_NOTRACK=y automatically selects
NETFILTER_XT_TARGET_CT in Kconfig so it is not actually removed in
the commit despite it showing up in the diff.

Bug: 181587536
Change-Id: Id1b4e9fbee9dc0a7a6220fb8a9db32fbc5d78a5a
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2021-03-03 01:00:38 +00:00
Nick Desaulniers
1280e509c9 ANDROID: clang: update to 12.0.3
Bug: 180726982
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I4cca039f9817eabd7bfedc92dbcfe57efec60853
2021-03-02 20:48:36 +00:00
Greg Kroah-Hartman
2ab916a3d3 Merge 2f9f6221b9 ("block: simplify submit_bio_checks a bit") into android-mainline
Bisection steps on the way to 5.12-rc1

There's something broken with the 582cd91f69 ("Merge tag
'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block") merge,
so let's take it in smaller chunks for now.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibc907214f9c24a1f953aeb39ee320e1b2ba670ae
2021-03-02 19:35:47 +01:00
John Stultz
db08426423 ANDROID: Revert "ANDROID: Workaround for cryptobam driver not working with modular clk drivers"
This reverts commit fd6a95ccae.

As it is no longer necessary due to upstream fix in commit
123935a4ca ("dmaengine: qcom: bam_dma: Manage clocks when
controlled_remotely is set").

Fixes: fd6a95ccae ("ANDROID: Workaround for cryptobam driver not working with modular clk drivers")
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I562f478434b99bc4902336f905135cd7eb9ea300
2021-03-01 23:20:21 +00:00
John Stultz
5732f23501 ANDROID: db845c_gki.fragment: Remove QCOM_GENI_CONSOLE modules now they are built in
With commit a7961b0635 ("ANDROID: gki_defconfig: Enable QCOM geni console")
the QCOM_GENI options are now built in. Trying to load the modules built in the
db845c_gki.fragment cause boot failure, so remove them from the config fragment.

Fixes: a7961b0635 ("ANDROID: gki_defconfig: Enable QCOM geni console")
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I9840d66366bfc489dc8e546277f38936c6c16186
2021-03-01 23:20:18 +00:00
Jaegeuk Kim
f2b125b149 ANDROID: scsi: ufs: replace variants with android vendor hooks
This converts the existing android-specific hooks to official vendor hooks.
Per not-restricted hooks, vendor body should not enter into sleep mode by
mutex or similar.

Bug: 181359082
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ic66077b3c42e63a5496a1d0c107bad8ae3601f3c
2021-03-01 22:52:14 +00:00
Kevin Hilman
42b8f4b026 ANDROID: GKI: amlogic: enable BCM WLAN as modules
Broadcom FMAC (brcmfmac) drivers are used on several Amlogic-based
designs, including Khadas VIM3/VIM3L.

Bug: 179406580
Change-Id: I9f441facbf6c98d25483634105c915fd52ea87c6
Cc: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2021-03-01 10:36:22 -08:00
Michael Specter
a442985f97 ANDROID: Adding kprobes build configs for Cuttlefish
Bug: 181054145
Change-Id: Ibb1362479469eae9c294f71a483e500db05b04e1
Signed-off-by: Michael Specter <mikespecter@google.com>
2021-03-01 15:29:45 +00:00