Greg Kroah-Hartman
37afce95bb
Merge 79db2b74aa ("Merge branch 'stable/for-linus-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb") into android-mainline
...
Resolves merge issues with:
drivers/cpufreq/cpufreq.c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ic2907cf71867dab7b8e1b5fcbd4c888fc01f8c22
2020-10-25 13:05:17 +01:00
Greg Kroah-Hartman
83f76c848d
ANDROID: GKI: remove explicit CONFIG_SECCOMP from defconfig for arm64
...
This gets pulled in automatically now, so we don't have to explicitly
set it.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ia1d0735ac3113c152da85ac59d7302b3f9a9aed6
2020-10-25 12:33:20 +01:00
Greg Kroah-Hartman
75c90a8c3a
Merge d5660df4a5 ("Merge branch 'akpm' (patches from Andrew)") into android-mainline
...
steps on the way to 5.10-rc1
Change-Id: Iddc84c25b6a9d71fa8542b927d6f69c364131c3d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-25 11:57:29 +01:00
Greg Kroah-Hartman
aedaedc749
Merge 7cd4ecd917 ("Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-block") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ie4e2b65874248082be3c0e05b1bb591f9f46128c
2020-10-25 11:56:29 +01:00
Greg Kroah-Hartman
6a83be9696
Merge 79ec6d9cac ("Merge tag 'libata-5.10-2020-10-12' of git://git.kernel.dk/linux-block") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I162904ccd4c5919c6747f97bb673523cfa44891a
2020-10-25 11:51:17 +01:00
Greg Kroah-Hartman
e24a525c0d
Merge 6ad4bf6ea1 ("Merge tag 'io_uring-5.10-2020-10-12' of git://git.kernel.dk/linux-block") into android-mainline
...
Resolves conflict with:
kernel/fork.c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I6c031ef388bfddfe80a64929d62969718755f740
2020-10-25 11:50:09 +01:00
Greg Kroah-Hartman
35cda5af62
Revert "block: grant IOPRIO_CLASS_RT to CAP_SYS_NICE"
...
This reverts commit 9d3a39a5f1 as that
commit causes a bunch of SELinux errors.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I73dc15c4ecddcf1950ca7fca2cc107be27da8f3f
2020-10-24 17:30:14 +02:00
Greg Kroah-Hartman
c62fe038fe
Merge 3ad11d7ac8 ("Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-block") into android-mainline
...
Steps on the way to 5.10-rc1
Resolves conflicts in:
include/linux/blk-crypto.h
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I4012850c2e4b804d9e87e90b8e03a3b9ce21b5e7
2020-10-24 17:29:43 +02:00
Greg Kroah-Hartman
072f3a5b28
Merge a7863b3423 ("blk-iocost: update iocost_monitor.py") into android-mainline
...
Bisection on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ib96c933a2903e2f30edc0ca13929a318537f77d8
2020-10-24 14:40:14 +02:00
Greg Kroah-Hartman
6c45f08d88
Merge 0460375517 ("blk-iocost: restore inuse update tracepoints") into android-mailine
...
Bisection on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I3f67860c970bea3019c374ba34e051ca78282a92
2020-10-24 13:14:50 +02:00
Greg Kroah-Hartman
b5a717365a
Merge c421a3eb2e ("blk-iocost: revamp debt handling") into android-mainline
...
Bisection on the way to 5.10-rc1
Change-Id: I601c029848bafea95f6a40682264ca5ce76c8b8d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-24 12:09:26 +02:00
Greg Kroah-Hartman
dcc7dd95ad
Merge 97eb19751f ("blk-iocost: add absolute usage stat") into android-mainline
...
Bisection on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ic074e5010e8b4480d50bb84b56c3cf64c3afaaeb
2020-10-24 12:07:50 +02:00
Greg Kroah-Hartman
e92900328d
Merge 1f06959bd2 ("block: remove the unused q argument to part_in_flight and part_in_flight_rw") into android-mailine
...
Bisection on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I2cd6d1d4deabeb7f9a17cf558aebd589449a37da
2020-10-24 10:17:17 +02:00
Greg Kroah-Hartman
9494704faf
Merge a98278ecfb ("Merge branch 'block-5.9' into for-5.10/block") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I13aee94a526318eb64fd6b5c2c02a6c7c980e4ac
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-24 10:17:16 +02:00
Lina Iyer
dbdf52541a
ANDROID: sched: export wake_up_if_idle()
...
Enable idle drivers to wakeup idle CPUs by exporting wake_up_if_idle().
Bug: 169136276
Signed-off-by: Lina Iyer <ilina@codeaurora.org >
Change-Id: If1529ad4b883f36de1692cd3ac1853ff722e3522
2020-10-23 18:05:44 +00:00
Lina Iyer
4de53aef65
ANDROID: tick/nohz: export tick_nohz_get_sleep_length()
...
Export tick_nohz_get_sleep_length() so idle drivers may use this to
determine the available idle time before the next timer wakeup.
Bug: 169136276
Signed-off-by: Lina Iyer <ilina@codeaurora.org >
Change-Id: I0d18638d63c032862ae048bc2c3d49fa1bd90291
2020-10-23 18:05:30 +00:00
Lina Iyer
96c860fcf4
FROMLIST: cpuidle: governor: export cpuidle governor functions
...
Commit 83788c0cae ("cpuidle: remove unused exports") removed
capability of registering cpuidle governors, which was unused at that
time. By exporting the symbol, let's allow platform specific modules to
register cpuidle governors and use cpuidle_governor_latency_req() to get
the QoS for the CPU.
Bug: 169136276
Link: https://lore.kernel.org/linux-pm/010101746fc98add-45e77496-d2d6-4bc1-a1ce-0692599a9a7a-000000@us-west-2.amazonses.com/
Signed-off-by: Lina Iyer <ilina@codeaurora.org >
Change-Id: Ifa91576af0a3ae92ce9b216cb67728f037546c5b
2020-10-23 18:04:09 +00:00
Greg Kroah-Hartman
0b405dbc60
Merge 857d64485e ("Merge tag 'x86_urgent_for_v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I74f0a930f0709b6663074b9a44eb56b0b6737183
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 14:15:45 +02:00
Greg Kroah-Hartman
cc35535c27
Merge c4439713e8 ("Merge tag 'hwmon-for-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Iedfa9db7fb606a00d6da3d8216d9c4fa4fd9bea4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 14:13:57 +02:00
Greg Kroah-Hartman
56860c8542
Merge 0486beaf88 ("Merge tag 'gpio-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I7395903c218c84b8d629829069690a8f9f618f58
2020-10-23 12:01:26 +02:00
Greg Kroah-Hartman
aec7085396
Merge 647412daeb ("Merge tag 'mmc-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I7ef0b81d31025e256bd85102013ed3ad038a54b1
2020-10-23 11:59:44 +02:00
Greg Kroah-Hartman
9d77f49849
Merge 6f5032a852 ("Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Ifceecc1b9f94ea893484002c69aeb7b82d246f64
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 11:56:31 +02:00
Greg Kroah-Hartman
f52c09b3c9
Merge 39a5101f98 ("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.10-rc1
Change-Id: I4f485a6b5b9811e2cd3cfb45e58bca3d965b64ed
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 11:44:49 +02:00
Greg Kroah-Hartman
0438bd576f
Merge 865c50e1d2 ("x86/uaccess: utilize CONFIG_CC_HAS_ASM_GOTO_OUTPUT") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Ia787e650d54f44cb47b7f567adf5c1f2cf198cd5
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 11:40:57 +02:00
Greg Kroah-Hartman
04e9454d59
Merge 53acd35050 ("Merge tag 'locks-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I916b08256c0d290ae8d9fa5d4621570ccd1ec707
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 10:25:52 +02:00
Greg Kroah-Hartman
1158041ed1
Merge 22230cd2c5 ("Merge branch 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I7dcdfa12eb9c3ff9fe23ae48fb58110538a520a7
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 10:23:55 +02:00
Greg Kroah-Hartman
1c9bbee578
Revert "iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"
...
This reverts commit fb041b5989 .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I325ae5c3edd6b4cd4213a5c63fec17df842930b7
2020-10-23 10:21:32 +02:00
Greg Kroah-Hartman
d59c65253c
Revert "iov_iter: refactor rw_copy_check_uvector and import_iovec"
...
This reverts commit bfdc59701d .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ibf840a8fb38cb7d5888fb1bb1313647edf0b336e
2020-10-23 10:21:30 +02:00
Greg Kroah-Hartman
836219141f
Revert "iov_iter: transparently handle compat iovecs in import_iovec"
...
This reverts commit 89cd35c58b .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I44ac1575af118ddbc3ee22a70f81cba282f5372a
2020-10-23 10:21:28 +02:00
Greg Kroah-Hartman
75bd2bca50
Revert "fs: remove various compat readv/writev helpers"
...
This reverts commit 3523a9d454 .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I680effca58fd0fd38fd9ff551d81e9dc26183b5f
2020-10-23 10:21:24 +02:00
Greg Kroah-Hartman
9b71b12a27
Revert "fs: remove the compat readv/writev syscalls"
...
This reverts commit 5f764d624a .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ib733da773e5b3adae34ee75a766c8fe8217b8ef3
2020-10-23 10:21:21 +02:00
Greg Kroah-Hartman
3ea6bc5890
Revert "fs: remove compat_sys_vmsplice"
...
This reverts commit 598b3cec83 .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ic4f6f6cd43c87ab1e2cbfd610ef26616a718f47d
2020-10-23 10:21:18 +02:00
Greg Kroah-Hartman
61e719d64f
Revert "mm: remove compat_process_vm_{readv,writev}"
...
This reverts commit c3973b401e .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I050b6767cbb0a958ebf3cc7e3475e552deee4048
2020-10-23 10:21:17 +02:00
Greg Kroah-Hartman
4cfe64ac4c
Revert "security/keys: remove compat_keyctl_instantiate_key_iov"
...
This reverts commit 5d47b39479 .
Bug: 171539436
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I08f80f63ab81079046628e9558475ceaf22273c2
2020-10-23 10:21:15 +02:00
Greg Kroah-Hartman
4742d2d830
Merge e18afa5bfa ("Merge branch 'work.quota-compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I9aedb672731bbc03099d8e7dc11351b02ec2ceb6
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 10:13:50 +02:00
Greg Kroah-Hartman
87b0d10a70
Merge 85ed13e78d ("Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs") into android-common
...
Steps in the way to 5.10-rc1
Change-Id: Ida014e494f8c8b8cc44209df17d8b07b3bd94f1a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-23 10:13:30 +02:00
Eric Biggers
dfd572c112
ANDROID: irqchip/gic-v3: fix bad merge resolution
...
A line from commit b19f0cc3fe ("ANDROID: power: wakeup_reason: wake
reason enhancements") got dropped.
Fixes: eb87047f08 ("Merge c457cc800e ("Merge tag 'irq-core-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline")
Bug: 120445600
Change-Id: I2ac07946b60adb42114d8322b44806dce0ffc407
Signed-off-by: Eric Biggers <ebiggers@google.com >
2020-10-23 06:41:00 +00:00
Chanho Park
bfa46ee8cb
ANDROID: GKI: add built-in PCIE_DW_PLAT_EP
...
To build an EP driver which is based on PCIe designware as module, we
need to get some symbols from pcie-designware_ep.c. To select the
source from GKI kernel, we should enable PCIE_DW_PLAT_EP driver as
prebuilt.
Bug: 167931570
Signed-off-by: Chanho Park <chanho61.park@samsung.com >
Change-Id: Iffc1d90419378e1f3cf13c3e5ecddadd84dc1540
2020-10-23 06:36:07 +00:00
rickyniu
d97894a4cb
ANDROID: usb: f_accessory: Send uevent when receive control request
...
Send uevent when received control request 51 and 52
to help debug and recover when the handshake not finished.
Description about control request 51 and 52
control_request 51 :
Send a 51 control request ("Get Protocol") to figure out
if the device supports the Android accessory protocol.
A non-zero number is returned if the protocol is supported,
which represents the version of the protocol that
the device supports (currently, only version 1 exists).
control_request 52 :
If the device returns a proper protocol version,
send identifying string information to the device.
This information allows the device to figure out
an appropriate application for this accessory and
also present the user with a URL if
an appropriate application does not exist.
The detail description could reference below link.
https://tool.oschina.net/uploads/apidocs/android/tools/adk/aoa.html
Bug: 139264038
Change-Id: Ie80302321b58d247a5faa83dc3cabba316743c87
Signed-off-by: rickyniu <rickyniu@google.com >
2020-10-23 03:49:21 +00:00
Alistair Delva
d75c93b6ee
ANDROID: GKI: Enable CONFIG_USB_ANNOUNCE_NEW_DEVICES
...
Print out informational messages when a user connects a USB device.
Bug: 170928377
Signed-off-by: Alistair Delva <adelva@google.com >
Change-Id: I9838d5aff51fe9c6cfa3b5e7c46cbe84ee878090
2020-10-22 16:39:50 +00:00
John Stultz
f1a25121dd
ANDROID: dma-buf: Cleanup minor usage in "Add proper kref handling on dma-buf heaps"
...
When submitting a cherry-picked version of commit c700bdd223
("ANDROID: dma-heap: Add proper kref handling on dma-buf heaps")
from the android-mainline tree, Greg had some feedback that
tracking the minor number wasn't necessary as it was already
stored in the heap_devt:
https://android-review.googlesource.com/c/kernel/common/+/1433176/4#message-b07e73548e082ae85b97c3f3ff889ae4ab6ab09d
So this patch reworks those changes so we don't need an extra
minor field in the dma_heap struct.
Fixes: c700bdd223 ("ANDROID: dma-heap: Add proper kref handling on dma-buf heaps")
Signed-off-by: John Stultz <john.stultz@linaro.org >
Change-Id: I5f12e2249a6a02ee02dc19049b7b3577e094b0ce
Bug: 154341375
2020-10-22 04:48:12 +00:00
Todd Kjos
0695bfe5fb
Revert "ANDROID: disable ANDROID_VENDOR_HOOKS"
...
This reverts commit ff0771e5f8 .
ANDROID_VENDOR_HOOKS was temporarily disabled since it needed
refactoring to work with commit d25e37d89d ("tracepoint: Optimize
using static_call()"). It can be enabled again now.
Change-Id: Id4920fe20cf07736679f22228d192a251467bbb2
Signed-off-by: Todd Kjos <tkjos@google.com >
2020-10-21 17:41:18 +00:00
Todd Kjos
5e767aa07e
ANDROID: use static_call() for restricted hooks
...
commit d25e37d89d ("tracepoint: Optimize using static_call()")
refactored tracepoints to use static_call(). Add the same
optimization for restricted vendor hooks.
Fixes: d25e37d89d ("tracepoint: Optimize using static_call()")
Signed-off-by: Todd Kjos <tkjos@google.com >
Change-Id: I336db7e90b733ac4098ce342001cc31fd215d137
2020-10-21 09:35:02 -07:00
Greg Kroah-Hartman
0b56422062
Merge c90578360c ("Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I64f970f0cd1bfe4edf42b4170a54bef3ca613c02
2020-10-21 15:44:50 +02:00
Greg Kroah-Hartman
c8f7eef135
Merge 50d228345a ("Merge tag 'docs-5.10' of git://git.lwn.net/linux") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Ie936eb552cef5285deba6d52c62251db6b7fbd8c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:43:32 +02:00
Greg Kroah-Hartman
abe7c7f2fa
Merge ced3a9eb3c ("Merge tag 'ia64_for_5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: I27e93251d6061f1a190ca5c6d5e16f38fbbf6697
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:42:22 +02:00
Greg Kroah-Hartman
a1de8402d1
Merge 2646fb032f ("Merge tag 'x86-hyperv-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Ia139025f801a615e94550f8cc4934bf296663f32
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:41:19 +02:00
Greg Kroah-Hartman
ccccfe1530
Merge ee4a925107 ("Merge tag 'x86-paravirt-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
...
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I07d3c5b6d8713da01544865af960c5badfd4ccc7
2020-10-21 15:40:02 +02:00
Greg Kroah-Hartman
c7cad3ae20
Merge ad884ff329 ("Merge tag 'x86-build-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: Ibff3dd67b929ee621aed11da6d3f362b0d953583
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:39:13 +02:00
Greg Kroah-Hartman
4d1f9d3090
Merge c1b4ec85ee ("Merge tag 'x86-mm-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
...
Steps on the way to 5.10-rc1
Change-Id: If433e0fff2f0fbb7110d87456af4bbf29d0117cc
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:37:03 +02:00