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
Greg Kroah-Hartman
b5d70aad5f
Merge b85cac5745 ("Merge tag 'x86-kaslr-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: I814a8858d8b0fdae52050cbae380d38cd4fa0677
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:35:11 +02:00
Greg Kroah-Hartman
f8f91cf02c
Merge 1c6890707e ("Merge tag 'perf-kprobes-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-common
...
Steps on the way to 5.10-rc1
Change-Id: I9f0c1bfc3deba59692d1d5ed543c07dc779d3cac
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 15:34:06 +02:00
Greg Kroah-Hartman
977a3890c7
Merge 3bff6112c8 ("Merge tag 'perf-core-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: I7e2e6c2d04229eb4f84366d79dcf8e9f178de12f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 14:29:20 +02:00
Greg Kroah-Hartman
ff0771e5f8
ANDROID: disable ANDROID_VENDOR_HOOKS
...
Commit d25e37d89d ("tracepoint: Optimize using static_call()") changed
the format of DEFINE_TRACE() and other tracepoint logic, which broke the
ANDROID_VENDOR_HOOKS logic.
As I can't figure out how to unwind the build traces for the errors,
disable this for now so the merge can continue.
Bug: 156285741
Cc: Todd Kjos <tkjos@google.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I6794bdec76ba25370891747b296ea30a51812982
2020-10-21 12:11:17 +02:00
Greg Kroah-Hartman
14f56bd1a8
Merge dd502a8107 ("Merge tag 'core-static_call-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: I3ab170640eb411035f15c8c0119a105a8760a1b7
2020-10-21 12:04:36 +02:00
Greg Kroah-Hartman
43105055d5
Merge 34eb62d868 ("Merge tag 'core-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
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ic605c3794555d23d61243eb344002827e7089076
2020-10-21 10:58:27 +02:00
Greg Kroah-Hartman
c75d00fcaf
Merge e6412f9833 ("Merge tag 'efi-core-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: I12f82a553544430de8c5675a031488493d9988db
2020-10-21 10:56:51 +02:00
Greg Kroah-Hartman
9826fd5ce8
Merge ed016af52e ("Merge tag 'locking-core-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: I15482062186905002d9a4da525da403e8d3f9081
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:55:53 +02:00
Greg Kroah-Hartman
c2f57c792b
Merge edaa5ddf38 ("Merge tag 'sched-core-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: Ica8a8f76ad5735ebcf4f30f3156edf7f9f60e576
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:54:38 +02:00
Greg Kroah-Hartman
956bb2509a
Merge 13cb73490f ("Merge tag 'x86-entry-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: If7e529bddaf8019b1925738da0070f753813ea5a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:49:30 +02:00
Greg Kroah-Hartman
b251b0cd60
Merge cc7343724e ("Merge tag 'x86-irq-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: I9a2f97712c9fcc609c4e99fc7727eef6fbea21ba
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:48:26 +02:00
Greg Kroah-Hartman
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
...
Steps on the way to 5.10-rc1
Change-Id: I2008d31f1f4c3ba4325ae536ad95b66b94f81601
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:47:13 +02:00
Greg Kroah-Hartman
03a2f92b61
Merge f5f59336a9 ("Merge tag 'timers-core-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: I247fc5c01c5a4dc01ba5a718b45a3d336a0ff026
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 10:45:50 +02:00
Greg Kroah-Hartman
60735ebe2a
Merge 20d49bfcc3 ("Merge tag 'core-debugobjects-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: I354c03b310a92c4271b496c04bf597335e019e30
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 09:31:27 +02:00
Greg Kroah-Hartman
369d0dda53
Merge 1e6d1d9646 ("Merge tag 'x86_core_for_v5.10' 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: Ifce134a16bfdfa5f729c6b32b50bc06e11781997
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2020-10-21 08:44:41 +02:00