Commit graph

892,914 commits

Author SHA1 Message Date
qctecmdr
e6c57233a1 Merge "msm: kgsl: Update HW idle check for A619 holi" 2020-09-28 10:21:01 -07:00
qctecmdr
31bfb6aa10 Merge "usb: gadget: Remove assigning the function descriptors" 2020-09-28 10:21:00 -07:00
qctecmdr
aa1bfb0326 Merge "pci: controller: msm: Prevent L0s before switching Gen speed" 2020-09-28 10:21:00 -07:00
Yun Hsiang
1642b4f813 ANDROID: sched: add cpumask parameter to cpu capacity vendor hook
Different cpu type will have different suppression ration.
So we add cpumask parameter to cpu capacity vendor hook.

Bug: 167126223

Signed-off-by: Yun Hsiang <yun.hsiang@mediatek.com>
Change-Id: I983a3aca2195f7c37c43d31fa588c999a825ee49
2020-09-28 16:04:11 +00:00
Hareesh Gundu
b2cc23c873 msm: kgsl: Update HW idle check for A619 holi
Update HW idle check for A619 holi to ensure GPU
idle status is captured correctly.

Change-Id: I2c332e43b3e3f653421e0bc4ab823ac557cfa141
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-09-28 06:06:48 -07:00
黄烁生
2d498bbf53 ANDROID: ABI: Added symbols for allwinner
Leaf changes summary: 4 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

4 Added functions:

  [A] 'function device_node* dev_pm_opp_of_get_opp_desc_node(device*)'
  [A] 'function void dev_pm_opp_put_prop_name(opp_table*)'
  [A] 'function void dev_pm_opp_put_supported_hw(opp_table*)'
  [A] 'function opp_table* dev_pm_opp_set_prop_name(device*, const char*)'

Bug: 169550958
Signed-off-by: huangshuosheng <huangshuosheng@SWCExdroid03.allwinnertech.com>
Signed-off-by: Frank Lee <frank@allwinnertech.com>
Change-Id: I5b97ea1e58825918e19e530fdc9bbda9682ab621
2020-09-28 20:23:09 +08:00
Linyu Yuan
efcabfc9be usb: misc: nb7vpq904m: separate channel and chan_mode
it is easy to understand the code.

Change-Id: If94959f87bd460e8fd666cb32584ec17615957ff
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-09-28 20:08:29 +08:00
richagar
27bee16a2f msm-perf: Extended support for perf notification
Added support for passing init info from userspace

Change-Id: Ica31b6ed19e6536dadd36b35b31e5202da75490f
Signed-off-by: richagar <richagar@codeaurora.org>
2020-09-28 17:32:17 +05:30
Ashish Bhimanpalliwar
fd9617f78a arm64: defconfig: Enable ramdumps for GKI
Enable config to enable ramdumps in GKI

Change-Id: I02aa5a1008a89468835c2053a56a122b8f563358
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-09-28 17:21:18 +05:30
qctecmdr
69e5f82913 Merge "Revert "dt-bindings: input: touchscren: add description for synaptics_dsx"" 2020-09-28 04:21:28 -07:00
qctecmdr
1bbb11eaa8 Merge "defconfig: lahaina-qgki: enable CONFIG_USB_LAN78XX" 2020-09-28 04:21:28 -07:00
qctecmdr
eb8fa2b7b0 Merge "defconfig: Enablle usb peripheral audio on sdxlemur" 2020-09-28 04:21:27 -07:00
qctecmdr
a68b98fe72 Merge "msm: kgsl: Poll GDSCR to ensure CX collapse" 2020-09-28 04:21:27 -07:00
qctecmdr
048c65bd13 Merge "usb: phy: qmp: debug value of portselect pin" 2020-09-28 04:21:26 -07:00
qctecmdr
0236484610 Merge "usb: f_fs: Fix memory leak if copy_from_iter_full fails" 2020-09-28 04:21:26 -07:00
qctecmdr
bff3607241 Merge "USB: f_fs: Set ffs->func to NULL after disabling endpoint in set_alt()" 2020-09-28 04:21:26 -07:00
Keith Busch
1154754b7b block: fix get_max_io_size()
A previous commit aligning splits to physical block sizes inadvertently
modified one return case such that that it now returns 0 length splits
when the number of sectors doesn't exceed the physical offset. This later
hits a case of 0 in bio_split(). Restore the previous working behavior.

Change-Id: I5d4b36862fb7f7202996bcaa2c4b7d71b49e6ba6
Fixes: 9cc5169cd4 ("block: Improve physical block alignment of split bios")
Reported-by: Eric Deal <eric.deal@wdc.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Git-commit: f09dbec9c0
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
2020-09-28 02:54:35 -07:00
Lakshit Tyagi
1a1d611aff net: aquantia: support for 32-bit ARM target
Add support to build the Aquantia forwarding driver for 32-bit
ARM target.

Change-Id: I153e85e8808895c6979e5597bcea09f0e2e22914
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2020-09-28 02:33:26 -07:00
Vadim Solomin
699841d492 net: aquantia: Atlantic forwarding driver support
Squash all the atlantic forwarding driver changes.

commit ea48303fcc27f56438c4585aac06bcdbf1996cd2 ("atlantic-forwarding driver v1.1.11")
commit d5b0f4c48788abb3bb11dd1b3e70db111a20390c ("atlantic-forwarding driver v1.1.10")
commit 67474e4efc0d0a70286b4c3def3d39e16e344406 ("atlantic-forwarding driver v1.1.9")
commit c6141c29b8b25fd345c7e5b0dd3e186735258000 ("atlantic-forwarding driver v1.1.8")
commit 683002bd1eefbaf23af264878f3409e79ba0b522 ("atlantic-forwarding driver v1.1.7")
commit dc69fcd7640bb6727d886b69db0d49ae60d00cf1 ("atlantic-forwarding driver v1.1.6")
commit 274a6d9d013241c4a8d7cc89c270e0458735362d ("atlantic-forwarding driver v1.1.5")
commit 5be5557abd1f19f510d4b32df46bf196f68e8a4e ("atlantic-forwarding driver v1.1.4")
commit 24b77eaf64ca1399208f8e8666410821992a171a ("atlantic-forwarding driver v1.1.3")
commit 714828615d0657982fbde6fa8503008a53554147 ("atlantic-forwarding driver v1.1.2")
commit 7edd86bf7b8a734372f11cdec7c11bb2411c2b8c ("atlantic-forwarding driver v1.1.1")
commit c4882a2abafe947a4420819831f4c2d14ebadbc5 ("atlantic-forwarding driver v1.1.0")
commit 0f9c9e19e318bbb2180273c80f513f7128a9caf4 ("atlantic-forwarding driver v1.0.31")
commit ffcc939dc8c3b0ee4792070929365ac4d1723583 ("atlantic-forwarding driver v1.0.30")
commit 674c4e44c501eed10a57e6f52e58c749f07a4639 ("atlantic-forwarding driver v1.0.29")
commit ef58204f631fc46cd096d3be916dc383e5c8baec ("atlantic-forwarding driver v1.0.28")
commit 76593bccda07e3dca7093462f5eee4b79ddb7981 ("atlantic-forwarding driver v1.0.27")
commit e0e81b671f50044633de0738a8f2975466e2da45 ("atlantic-forwarding driver v1.0.26")
commit 6a8d1d677a69c550a9eccd03a841f187f0d42dd4 ("atlantic-forwarding driver v1.0.25")
commit 1d997ae0cb919b3f57dde7efcbf971f22761c2fe ("atlantic-forwarding driver v1.0.24")
commit 233592c1f59eccb87b1609f342826de383fde073 ("atlantic-forwarding driver v1.0.23")
commit c0260b607c91b5d10be3d939c9adaa48f8ea162d ("atlantic-forwarding driver v1.0.22")
commit 27608814e0000857b338f5f0f43942db5171fe08 ("atlantic-forwarding driver v1.0.21")
commit 216c6111a776632e67bf9f7e013b720120521d9d ("atlantic-forwarding driver v1.0.20")
commit 4227f74b8af94e5457c0efc165be03429c67437c ("atlantic-forwarding driver v1.0.19")
commit 834fb1c3851d5316e94a908767e81de341ca3f3f ("atlantic-forwarding driver v1.0.18")
commit 1bae566ed23376e38d84af02939e9f39cb5ba47e ("atlantic-forwarding driver v1.0.17")
commit 5b7bb561633dfec8a9a52cbb35c202f40c474cf4 ("atlantic-forwarding driver v1.0.16")
commit abd3119fadbecba1de363c75aaaf958ec99dd2b9 ("atlantic-forwarding driver v1.0.15")

Change-Id: I3d002d33ad8734bd99629e24e311aa852b074f1c
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Nikita Danilov <ndanilov@marvell.com>
Signed-off-by: Vadim Solomin <vadim.solomin@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Jinesh K. Jayakumar <jineshk@codeaurora.org>
Git-commit: ea48303fcc27f56438c4585aac06bcdbf1996cd2
Git-repo: https://github.com/aquantia/linux-4.14-atlantic-forwarding
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2020-09-28 15:00:13 +05:30
Jun Li
02117de51a mmc: sdhci-msm: Update SDCC5 DLL power up sequence
Update the DLL power up sequence according to the latest SDCC DLL HSR
document and SDCDC initialization sequence in HPG.

Final sequence:
Step 1 - Set PWRSAVE bit in MCI_CLK to '0' during reset
Step 2 - Disable CK_OUT
Setp 3 - Set CORE_DLL_CLOCK_DISABLE to '1'
Step 4 - Set RST & PDN to '1'
Step 5 - Set DLL_CONFIG_3
Step 6 - Set SDC4_USER_CTRL
Step 7 - Set SDC4_TEST_CTRL(SW can Skip this step)
Step 8 - Set DDR_CONFIG
Step 9 - Set DLL_CONFIG_2
Step 10 - Set DLL_CONFIG
Step 11 - Wait for 52 us
Step 12 - Set RST & PDN to '0'
Step 13 - Set RST to '1'
Step 14 - Set RST to '0'
Step 15 - Set CORE_DLL_CLOCK_DISABLE to '0'
Step 16 - Write '1' to DLL_EN
Step 17 - Wait for 8000 input clock cycles
Step 18 - Enable CK_OUT
Step 19 - Check for Lock
Step 20 - If PWRSAVE is needed, set PWRSAVE to '1'.

Change-Id: I663cb294c4e1cc6f28b81e0cab4caf54554ad145
Signed-off-by: Jun Li <liju@codeaurora.org>
2020-09-28 15:20:13 +08:00
Rohith Kollalsi
7e2497c8e0 usb: dwc3: Don't queue the request if gadget is in suspended state
Do not queue the request when gadget is in suspended state
as usb controller cannot process the request queued.

Change-Id: Id83b8461f208c6fc72b27105233e453dd8697528
Signed-off-by: Rohith Kollalsi <rkollals@codeaurora.org>
2020-09-28 12:38:46 +05:30
qctecmdr
e2f7dca423 Merge "input: touchscreen: mxt: add callback from drm panel" 2020-09-28 00:02:02 -07:00
qctecmdr
647825cc7a Merge "input: touchscreen: mxt: irq handler return value" 2020-09-28 00:02:02 -07:00
qctecmdr
cd5ad41594 Merge "input: touchscreen: focaltech: fix return value" 2020-09-28 00:02:01 -07:00
qctecmdr
73f7912c9a Merge "sched/walt: Improve the scheduler" 2020-09-28 00:02:01 -07:00
qctecmdr
dc931543e7 Merge "msm: pcie: update PCIe internal AUX CLK from boolean to a programmable type" 2020-09-28 00:02:01 -07:00
qctecmdr
f210f412fb Merge "drm/bridge: lt9611uxc: Add video config for lt9611uxc" 2020-09-28 00:02:00 -07:00
qctecmdr
3b01263f65 Merge "Support full CONE NAT and ADDRESS RESTRICTED CONE NAT" 2020-09-28 00:02:00 -07:00
Mukesh Kumar Savaliya
f1b3522719 serial: msm_geni_serial: Balance vote for zero size transfer
In a rare case if client sends 0 size data for TX transfer, driver
keeps vote and tries to serve TX transfer. But it returns from middle
and skips unvoting the vote kept, which results in imbalance of TX
path vote.

Note that scenario is very unlikely but in some cases customer will
have negative test case resulting in above scenario.

Change-Id: Ie4724ff40eec2beb67c113a6193377d4166a2b8b
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2020-09-28 10:25:48 +05:30
Jack Pham
df30b04c71 USB: f_fs: Set ffs->func to NULL after disabling endpoint in set_alt()
When adb root is performed, userspace will close and open ffs_epsfile.
Closing this file will call ffs_functionfs_callback() which does call
remove_config(). This will call ffs_function_eps_disable to disable
endpoints and then calls ffs_func_unbind(). Unbind() will also call
endpoint disable which might lead to disabling endpoint which is already
disabled. Hence set ffs->func to NULL after disabling endpoints in
set_alt().

CRs-Fixed: 557532
Change-Id: I3052bdee74a1793d4e003de4b991d353e5d699b0
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-09-28 10:05:27 +05:30
Jack Pham
6dec79e68c usb: gadget: f_fs: Fail waiting IO after eps disabled
Normally in epfile_io() and epfile_ioctl(), if the endpoint is
not enabled the system call will block waiting until the endpoint
is enabled. During a USB disconnect, the function's endpoints get
disabled, so that if an IO call occurs right after that, it would
perform the same blocking wait. From the kernel perspective this
is indistinguishable from an IO call happening after the function
is first initialized but not yet enabled. Hence a userspace
process would be blocked and unaware of the cable disconnection.

For userspace daemons such as ADB, this can be a problem since its
read/write threads cannot be reaped until the I/O call returns,
which won't happen until the cable is reconnected. In that case,
the previous pending read/write would proceed to get successfully
queued. In the case of a read, the previous read consumes data
meant for the new session, and in the case of a write, stale data
could be sent to the host.

To fix this, add a counter to keep track of the epfile's open status.
Upon the endpoint getting disabled mark the endpoint as invalid so as
to fail subsequent IOs until the epfile is fully closed. Returning
-ENODEV upon failure should allow the userspace process to close the
file, so that it can reopen and begin a new session.

Change-Id: I655ffdaa03485753431ff05dc521bf8d1b463ff1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-09-28 10:04:00 +05:30
Wenjun Zhang
44272cb4f1 drm/bridge: lt9611uxc: Add video config for lt9611uxc
Add lanes number and infterface number config for lt9611uxc,
and add the code to control lt9611 power enable/disable using gpio.

Change-Id: I18e12791ac671ba1d14f0815a94068fd5ae1abf2
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
2020-09-28 10:42:48 +08:00
qctecmdr
bcb3f4fc7d Merge "msm: kgsl: Enable Preemption on A660 GPU variant" 2020-09-27 08:29:34 -07:00
qctecmdr
f6ed8b3e3f Merge "edac: improve gold CPU cache way parsing" 2020-09-27 08:29:33 -07:00
qctecmdr
b362348e33 Merge "msm-perf: Added support for Perf data collection" 2020-09-27 08:29:33 -07:00
qctecmdr
e3a8eb7789 Merge "clk: qcom: gcc-shima: Enable clocks for pm8008 by default" 2020-09-27 08:29:32 -07:00
qctecmdr
f3dfd22d9b Merge "clk: qcom: cpu: Add CPU clock driver for SDXLEMUR" 2020-09-27 08:29:32 -07:00
qctecmdr
f47bea82c8 Merge "arm64: defconfig: Enable SPS driver for Holi" 2020-09-27 08:29:32 -07:00
Greg Kroah-Hartman
605376176c ANDROID: ABI: Update allowed list for EXYNOS
Update the android/abi_gki_aarch64_exynos with recent symbol additions.

Note, no new symbols are needed to be exported here, making this a
simple change and no need to update the .xml file.

Bug: 168666574
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibe92486f6f84163990b65c75be96236f76f8af1e
2020-09-27 11:59:13 +02:00
Sarthak Garg
a0404ee5dc defconfig: Enable NAND related configs for sdxlemur
Enable NAND config options required for NAND driver support
on sdxlemur.

Change-Id: I681ac09a435e8ccff50f53582aa8d14e36e5948b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2020-09-27 13:46:24 +05:30
qctecmdr
6e5219d5bc Merge "scsi: ufs: Don't skip UFS probe in emmc based bootdevice" 2020-09-26 18:44:24 -07:00
Murali Nalajala
461167a69e hh_dbl: fix a race condition while vm is booting
When VM is booting, neuron driver can send a request to PVM using doorbell.
Currently this call is racing with when the doorbell driver is getting
the resources from the RM driver. Prevent clients to send a message when
resources are not ready. Added locking in function to check whether
resources are ready are not.

Unable to handle kernel NULL pointer dereference at virtual address 0x0
__wake_up_common+0x88/0x190
__wake_up+0x78/0xc0
hh_dbl_populate_cap_info+0xf4/0x1f8
hh_rm_populate_hyp_res+0x17c/0x2d0
hh_rm_get_svm_res_work_fn+0x34/0x78
process_one_work+0x214/0x468
worker_thread+0x330/0x4c0
kthread+0x134/0x148.

Change-Id: Id66b2d6382f33260dbb4c8d069c9fe5bc41e52fe
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-26 07:26:36 -07:00
Ajay Prathi
40477dec73 arm64: defconfig: Enable SPS driver for Holi
Enable SPS driver for Lahaina GKI version.
SPS (Smart Peripheral System) enables the support of
all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I5eb575d594bbd2c4858f224fcd40f1c2a04643f7
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
2020-09-26 14:57:37 +05:30
Raghu Ananya Arabolu
45ad584d46 msm: kgsl: Modify gpu_max_clock sysfs node
The intent of the gpu_max_clock node is to set / show the maximum
GPU frequency. To accomplish this, set the max_pwrlevel instead of
thermal_pwrlevel when the gpu_max_clock node is set.

Change-Id: I90c5e638f22b363c60d351c8c78814df67b256a2
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
2020-09-25 19:08:04 -07:00
Murali Nalajala
8f7c273912 arm64: defconfig: disable DCC console on VM
DCC console is useful in early bring up stage. Unfortunately DCC console
usage is bringing some limitations in the virtual environment. Enabling
DCC console causing VM boot up issues. Hence disable DCC and rely on
RM console.

Change-Id: Id7f812bab7b69c5004793e005cf4fdfbf2a4a1a2
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-25 15:46:45 -07:00
Murali Nalajala
2826880e53 hh_rm_core: delay sending characters to RM
No flow control mechanism exist in RM console. That means when there is
huge messages sent from SVM to PVM there is a possibility that messages
being dropped by RM and hence loss of messages on console. Add a delay
of 800us for every console write and flush calls.

Change-Id: I65fb7a347b093d079c1380765c63b38bf90e0b66
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-25 15:04:17 -07:00
Raghavendra Rao Ananta
e1cc5b3eb6 ANDROID: ABI: Update allowed list for QCOM
Add the following symbols to QCOM allowed-list:
- __cfi_slowpath
- of_find_i2c_device_by_node

Bug: 169419618
Change-Id: Ief629d53312c8d843361261454d77638438da6f3
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-09-25 13:45:35 -07:00
qctecmdr
da2e3647bf Merge "defconfig: lahaina: remove CONFIG_LEDS_CLASS_FLASH & CONFIG_LEDS_TRIGGER_TIMER" 2020-09-25 13:11:08 -07:00
Jordan Crouse
7e2a1b51cd msm: kgsl: Add a6xx GMU performance counters
Add three new groups to the a6xx performance counters for a620, a650,
and a660 to expose the GMU_XOCLK, GMU_GMUCLK and GMU_PERF counters.

Change-Id: Ic0dedbad07805bee4b6977e683e1161e4d500c1c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-25 12:51:48 -06:00
Jordan Crouse
100ff4e186 msm: kgsl: Move a6xx perfcounters to target specific
Migrate the a6xx perfcounters to target specific.  These counters
constitute the bulk of the specialized enable operations.  This also is
the place where VBIF gets replaced with GBIF so a630 gets its own set of
perfcounters and we have to double up the functions for a6xx.

Change-Id: Ic0dedbadf04fcafb46816c8b970af3bd32a57c7b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-25 12:41:37 -06:00