Commit graph

893,100 commits

Author SHA1 Message Date
qctecmdr
5f8106b489 Merge "defconfig: gen3auto: Enable ION & Secure buffer driver" 2020-12-18 22:03:30 -08:00
qctecmdr
b76e4e45ed Merge "defconfig: Add support for compiling sdxnightjar target" 2020-12-18 22:03:29 -08:00
qctecmdr
4230ca9801 Merge "dt-bindings: clock: Add clock-ids for SM6150" 2020-12-18 22:03:29 -08:00
Michael Adisumarta
875811bffa msm: ipa: Add support for IPA5.1
Add support for IPA5.1 to use different ep
configuration for Waipio.

Change-Id: I9d478d46bae87c0fed8dee4e600fd3d80538b032
Signed-off-by: Chaitanya Pratapa <[email protected]>
Signed-off-by: Michael Adisumarta <[email protected]>
2020-12-18 21:14:49 -08:00
qctecmdr
5afa255e8e Merge "USB: phy-msm-qusb: Set ref_clk_src to NULL if clk_get fails" 2020-12-18 18:04:13 -08:00
qctecmdr
b72d82994a Merge "usb: gadget: Send DSR linestate on DTR high from host" 2020-12-18 18:04:13 -08:00
qctecmdr
35ebde122b Merge "qcedev : Solve compilation issues" 2020-12-18 18:04:13 -08:00
qctecmdr
5f8bf0c553 Merge "arm: generic_defconfig: Enable CONFIG_BLK_INLINE_ENCRYPTION" 2020-12-18 18:04:12 -08:00
qctecmdr
93a67a0d34 Merge "arm64: Kconfig: Add config option for Quin virtual machine" 2020-12-18 18:04:12 -08:00
qctecmdr
8463ac51fe Merge "USB: composite: Release spinlock before WARN()" 2020-12-18 18:04:11 -08:00
qctecmdr
bd2b139fb4 Merge "msm-5.4: net: Compilation issue in nf_conntrack_sip.c" 2020-12-18 18:04:11 -08:00
qctecmdr
8168d364e5 Merge "smcinvoke: implement retry and timeout for CB processing" 2020-12-18 18:04:10 -08:00
Subbaraman Narayanamurthy
e20c9a51ef defconfig: sdxlemur: Enable PMIC and thermal debug features
commit 26721bcead ("defconfig: clean up debug config fragment
for SDXLEMUR") accidentally removed several debug config options
enabled before. Add them back.

Change-Id: I186b6aaeb6e09dabe44fbe3f9e4cd7693ecd602b
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
2020-12-18 17:08:55 -08:00
qctecmdr
669adc0ece Merge "mm: fix misplaced unlock_page in do_wp_page()" 2020-12-18 12:51:16 -08:00
qctecmdr
a616f5405b Merge "arm64: defconfig: Enable clock controllers for scshrike" 2020-12-18 12:51:16 -08:00
qctecmdr
997a65475c Merge "ion: Use a freezable unbound workqueue for the memory prefetch work items" 2020-12-18 12:51:16 -08:00
qctecmdr
79fe787063 Merge "sched: Improve the scheduler" 2020-12-18 12:51:15 -08:00
qctecmdr
b6508184f6 Merge "clk: qcom: gpucc-yupik: Update Kconfig of GPUCC for YUPIK" 2020-12-18 12:51:15 -08:00
qctecmdr
b2d7616f15 Merge "mmc: core: Fix clk scaling when card max freq below 50MHz" 2020-12-18 12:51:15 -08:00
qctecmdr
7794953979 Merge "f2fs: call f2fs_get_meta_page_retry for nat page" 2020-12-18 12:51:15 -08:00
qctecmdr
9b80805e86 Merge "Platform: msm-geni-se: Geni drivers shouldn't crash without ICC support" 2020-12-18 12:51:14 -08:00
qctecmdr
22b7496078 Merge "RTC6226: Configure Vdd with supplied load in NPM" 2020-12-18 12:51:14 -08:00
qctecmdr
8c9d32da95 Merge "arm64: defconfig: Enable interconnect driver for YUPIK" 2020-12-18 08:04:03 -08:00
qctecmdr
1a0ed6939f Merge "dt-bindings: clock: Update clock ID's of GPUCC and VideoCC for YUPIK" 2020-12-18 08:04:02 -08:00
qctecmdr
aaccb00dfc Merge "fs: fix NULL dereference due to data race in prepend_path()" 2020-12-18 08:04:02 -08:00
qctecmdr
3f91d0179e Merge "icc: dt-bindings: add endpoint IDs for interconnects for SCSHRIKE" 2020-12-18 08:04:02 -08:00
qctecmdr
a38c0138a5 Merge "usb: gadget: composite: Allow vbus_draw() to be called with 0mA" 2020-12-18 08:04:01 -08:00
qctecmdr
f2ce7775cb Merge "cnss2: Fix a print error in time sync" 2020-12-18 08:04:01 -08:00
qctecmdr
b6116d39ae Merge "cnss2: Add fallback support for device specific path loading" 2020-12-18 08:04:01 -08:00
qctecmdr
0072068a83 Merge "msm: Adding config for r8125 driver" 2020-12-18 08:04:00 -08:00
qctecmdr
1a0f89937c Merge "qseecom: add CONFIG_COMPAT condition" 2020-12-18 08:04:00 -08:00
qctecmdr
a33823f357 Merge "cnss2: Make sure the write to remap window register take effect" 2020-12-18 08:04:00 -08:00
qctecmdr
b66e419089 Merge "msm: cvp: Set correct CVP NoC QoS values" 2020-12-18 03:37:16 -08:00
qctecmdr
bf2fc7d1c7 Merge "msm: kgsl: Dump PWR_COL_PREEMPT_KEEPALIVE on wait for lowest idle timeout" 2020-12-18 03:37:16 -08:00
qctecmdr
9215a33e14 Merge "trace: Add minidump support for ipc log buffers" 2020-12-18 03:37:16 -08:00
qctecmdr
ab3fb357dd Merge "serial: msm_geni_serial: Correct start rx sequence" 2020-12-18 03:37:15 -08:00
qctecmdr
0b2e862c96 Merge "netfilter: contrack: Adding check for SIP/2.0" 2020-12-18 03:37:15 -08:00
qctecmdr
94453399c7 Merge "cnss2: Group dev_boot debugfs handling by contexts" 2020-12-18 03:37:15 -08:00
qctecmdr
33249f65db Merge "clk: qcom: Add debug cc clk measure nodes for SDXNIGHTJAR" 2020-12-18 03:37:14 -08:00
qctecmdr
7d2263eaa2 Merge "pinctrl: qcom: Add flexibility to disable the wakeup capability for Yupik" 2020-12-18 03:37:14 -08:00
Sriharsha Allenki
bbbaf52d01 usb: dwc3: Prevent use after free of dwc_ipc_log_ctx
The dbg_event function call in dwc3_msm_remove after the
child dwc3 device is removed is resulting in use after
free of dwc_ipc_log_ctx.
Even though the dwc_ipc_log_ctx is set to NULL in
dwc3_remove, the value is reset once the core platform
device is removed because the dwc3 is allocated using
devm_kzalloc. This call ensures that the memory is freed
up once the device driver is de-registered.
Fix this by calling the dbg_event before de-registering
the core driver.

Change-Id: Ib2cc3d233ea0fd4a1523cae23f57d3cb3753a53f
Signed-off-by: Sriharsha Allenki <[email protected]>
2020-12-18 01:30:04 -08:00
Chandana Kishori Chiluveru
cbf6ccd429 usb: gadget: Fix issue in config_desc with OS descriptor handling
If a gadget provides "OS descriptors" from the userspace then composite
gadget driver designates only one configuration which has OS descriptor
support to be used always with the hosts. With this we are seeing
enumeration issues in multi-config compositions where device does not
allowing Host to identify preferred configuration to choose.

Hence change the logic in config_desc for handling OS descriptor
configuration.

Change-Id: I5daa7631f9f2d634ee6b4b377b8d66283b21a497
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
2020-12-18 01:24:46 -08:00
Chandana Kishori Chiluveru
cd8dbdaeb5 usb: gadget: Avoid NULL pointer dereference during OS descriptors handling
With multi-config compositions some hosts can bind the configuration
incorrectly and sending os descriptor request on invalid interface.
This could cause accessing NULL pointer and results in panic.

Fix this by bailing out from the OS descriptor setup request handling
if the interface is NULL.

Change-Id: I65f01b876a46b907eb883e48878fc081860b0753
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
2020-12-18 01:12:22 -08:00
Mohammed Siddiq
a1b300e054 icnss2: Add code to download BDF from device specific path
Add code to download bdf from device specific path, if the
file is not present then it returns error.

Change-Id: I6358be8a9e09c0caa5f4478d08f1959e0a0f1c44
Signed-off-by: Mohammed Siddiq <[email protected]>
2020-12-18 14:12:17 +05:30
Naina Mehta
34767acee9 soc: qcom: socinfo: Add soc information for YupikP
Add SOC ID to support socinfo for YupikP platform.

Change-Id: I6f74f83d058c50ae276f7930b63f19418dd6e2ad
Signed-off-by: Naina Mehta <[email protected]>
2020-12-18 13:26:38 +05:30
Chandana Kishori Chiluveru
5fa858f5d4 usb: gadget: Send BRK signal to host on flow disable ioctl
Currently in f_cdev driver, we are not handling the TIOCM_CTS
signal generared by SIO_IOCTL_INBOUND_FLOW IOCTL. Hence we
are not able to send BRK signal to the host and it keeps
sending data leading to data loss.

Fix this by handling TIOCM_CTS in the driver.

Change-Id: If8e4774e3e0772cb7189f3400d7e53e258b7d5a3
Signed-off-by: Ajay Agarwal <[email protected]>
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
2020-12-17 22:01:05 -08:00
Raghavendra Rao Ananta
ac6baffb12 arm: generic_defconfig: Enable CONFIG_BLK_INLINE_ENCRYPTION
Enable CONFIG_BLK_INLINE_ENCRYPTION in generic defconfig
to avoid build errors.

Change-Id: I9045700c5df5d788b23aa087d959767ed713b1c0
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
2020-12-17 14:20:18 -08:00
Raghavendra Rao Ananta
d416373239 netfilter: Fix build error
The commit <d30948cecd> (netfilter: Changes to handle segmentation in
SIP ALG) breaks the build by defining the last argument of the function,
sip_tcp_skip_process (s16 *tdiff) incorrectly. Hence, fix the type by
changing it to a variable.

Change-Id: I5a336bd7aa47a649c24d7c34090f138b2e772bdc
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
2020-12-17 14:20:18 -08:00
Ronak Vijay Raheja
3c98d45a86 usb: gadget: Resolve NULL pointer dereference in composite_disconnect
There is a race possibility in android_disconnect and
configfs_composite_unbind while using cdev leading to a NULL pointer
dereference in composite_disconnect. Combine android_disconnect with
configfs_composite_disconnect and remove the android_disconnect function.
configfs_composite_disconnect already has a gi->spinlock in place to
prevent the race condition.

Change-Id: Idfdebaf69f3aa68d90b55bffd7c2e04410c5a47f
Signed-off-by: Ronak Vijay Raheja <[email protected]>
2020-12-17 11:24:13 -08:00
Mukesh Ojha
0b2dab507d pinctrl: qcom: Add flexibility to disable the wakeup capability
By default, the system firmware enables the mpm wakeup functionality
of all the supported GPIOs. However, certain usecases demand that
this capability be disabled on certain gpios. Hence, provide a
generic interface to disable the GPIOs as needed.

Change-Id: Ib36569d422d2336a81d71e451ef47196c956c3a5
Signed-off-by: Mukesh Ojha <[email protected]>
2020-12-17 22:31:47 +05:30