Commit graph

876,032 commits

Author SHA1 Message Date
Umesh Vats
7fa2f55c9b Bluetooth: Re-initialize regulator to NULL on error
Reset the regulator to NULL when its allocation fails.

Change-Id: I5e9fcad83d0ed449c225c7c5c99d93ebae9848fc
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2019-12-19 16:24:16 -08:00
qctecmdr
a70116e190 Merge "sched: Improve the scheduler" 2019-12-19 14:10:22 -08:00
qctecmdr
ad8801ff2e Merge "pinctrl: Add wakeup gpio register and bit information" 2019-12-19 13:31:01 -08:00
qctecmdr
b7b6d681a0 Merge "usb: dwc3-msm: Delete sysfs files on driver remove" 2019-12-19 12:55:23 -08:00
qctecmdr
1f1c1c00a8 Merge "msm: sps: Fix build warnings" 2019-12-19 12:55:22 -08:00
qctecmdr
5d11e8c54c Merge "wil6210: reduce ucode_debug memory region" 2019-12-19 10:09:24 -08:00
qctecmdr
b188aa0158 Merge "sched: Support Energy Aware Scheduling irrespective of governor" 2019-12-19 10:09:23 -08:00
qctecmdr
b4b60f8832 Merge "wil6210: add verification for cid upper bound" 2019-12-19 06:29:41 -08:00
qctecmdr
14bc58fa2d Merge "firmware: qcom_scm: Add calls to support poweroff driver" 2019-12-19 03:51:40 -08:00
qctecmdr
2c3dddaef1 Merge "arm64: defconfig: Enable minidump driver on Lahaina GKI" 2019-12-19 03:51:40 -08:00
qctecmdr
f3cd02fc21 Merge "sched: Add schedutil snapshot" 2019-12-19 03:51:37 -08:00
Siva Kumar Akkireddi
a66a77dd9c msm: sps: Fix build warnings
Fix Sparse warnings to enable SPS driver for Lahaina - use
NULL instead of 0 to specify null argument, and use the static
keyword for locally used structures.

Change-Id: If6d69bb464b821e408d757317f7ed2ef15355f7f
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>
2019-12-19 16:05:41 +05:30
qctecmdr
9b0c05f16b Merge "scsi: ufs-qti: port UFS driver changes for QTI configuration" 2019-12-19 01:52:18 -08:00
Dedy Lansky
369c5b7f02 wil6210: reduce ucode_debug memory region
ucode_debug memory region defined as 4K bytes. Fix this according to
Talyn device memory map.

Change-Id: I47397ea00332926e678af2d50be25b16124587c3
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
2019-12-19 09:09:24 +02:00
Ahmad Masri
8ca4b705ac wil6210: enable access category queues
Set ac_queues default to enabled.
Change wil_select_ac_queue to return higher priority queue for EAPOL,
ARP and ICMP packets. These special packets are critical to maintain
the link with the AP and guarantee healthy operations and diagnostics
in the network.

Special packets will get the higher priority to ensure early
transmission when access category is enabled.

Change-Id: Ic03a810c303f614174f9f10c72e339ee32a6f023
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2019-12-19 09:09:04 +02:00
Hrishikesh Vidwans
b990cfb88f wil6210: allow sending special packets when tx ring is full
When traffic is very high, some special packets such as ARP may get
dropped causing the tx traffic to stall intermittently.
This patch preserves spare tx descriptors so that special packets can
be sent even when the tx ring is almost full. The number of reserved
entries can be changed by writing to tx_reserved_entries via debugfs,
taking effect in subsequent connections.

This feature is enabled when either drop_if_ring_full or ac_queues are
enabled.

Change-Id: I6c5215500966840445f2631fb32494750e60303d
Signed-off-by: Hrishikesh Vidwans <hvidwans@codeaurora.org>
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2019-12-19 09:08:44 +02:00
Ahmad Masri
e76f6c74d3 wil6210: Support ndo_select_queue in net_device_ops
Add support for Access Category to select queue for transmit packets.
The callback wil_select_queue will return the queue id [0..3] to use for
the current skb transmission.

This feature is disabled by default. Use ac_queues parameter from
wigig.ini configuration file to enable.

Change-Id: I2891c58744eddafe16f9d74d1a87acdbf90d3d40
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2019-12-19 09:08:26 +02:00
Alexei Avshalom Lazar
5f44d3caa7 wil6210: add verification for cid upper bound
max_assoc_sta can receive values (from the user or from the FW)
that are higher than WIL6210_MAX_CID.
Verify that cid doesn't exceed the upper bound of WIL6210_MAX_CID.

Change-Id: Id00b69a128d2c4df4a3ef85583bbe44590ff557c
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2019-12-19 09:08:05 +02:00
Alexei Avshalom Lazar
ff02bf9483 wil6210: take mem_lock for writing in crash dump collection
On some crash dump cases mem_lock is already taken, error
returns and crash dump copy fails.
In this case wait until mem_lock available instead of failing
the operation.
Also take the mem_lock for writing to prevent other threads from
altering the state of the device while collecting crash dump.

Change-Id: I2ae74fba77e39161e33a7c5302916d1c9254fa05
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2019-12-19 09:07:35 +02:00
Alexei Avshalom Lazar
68aa288faa wil6210: minimize the time that mem_lock is held
mem_lock is taken for the entire wil_reset().
Optimize this by taking mem_lock just before device is
being reset and release the lock after FW download.

Change-Id: Icf3430e355acc2c33dc37c6a38a18c47de03a2cf
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2019-12-19 09:06:33 +02:00
Ahmad Masri
4a8e85bc08 wil6210: enable AP/PCP power save
New FW has power save capability in AP/PCP mode. FW reports this to
driver with WMI_FW_CAPABILITY_AP_POWER_MANAGEMENT.

AP/PCP mode power save in FW is disabled by default. It can be enabled
by sending WMI_PS_DEV_PROFILE_CFG_CMD to FW as part of start_ap
sequence.

Several pre-conditions must be met for driver to enable this:
1. power save enabled from cfg80211
2. AP power save enabled from platform driver. This is reported from
   platform driver with a new WIL_PLATFORM_CAPA_AP_PS

AP power save can be controlled via "ap_ps" debugfs.

Change-Id: I328fdbfe5382e60688c9f4a67aa9378197e01987
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2019-12-19 09:06:03 +02:00
qctecmdr
4837fa24d4 Merge "msm: sps: Add SPS driver snapshot" 2019-12-18 21:53:37 -08:00
qctecmdr
27f58fc32a Merge "usb: gadget: f_fs: Add support for IPC logging" 2019-12-18 17:51:59 -08:00
Elliot Berman
11b6668835 arm64: defconfig: Enable minidump driver on Lahaina GKI
Enable minidump driver on Lahaina GKI.

Change-Id: Id5cdadecdbe115c574091bce9bc5327e9da572c1
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 16:31:55 -08:00
Elliot Berman
6f016c2e4a soc: qcom: Add snapshot of minidump
Add snapshot of minidump as of commit <f94ba33e3b90> ("Merge "usb:
dwc3-msm: Fix GDSC collapse in host mode bus suspend"").

Change-Id: Ie322154aefa3b5d482549188096dc613bde1badf
[eberman@codeaurora.org: minidump Kconfig to tristate]
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 16:31:45 -08:00
Elliot Berman
4b9eafd143 firmware: qcom_scm: Add calls to support poweroff driver
Add SCM calls to support poweroff driver.

Change-Id: Ie55382d3c099a5f99f37a3e140d71f5dfd44e64f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:17 -08:00
Elliot Berman
173c971a4c firmware: qcom_scm: Expose qcom_scm_set_download_mode
Add support for other drivers to manage download mode by exposing
qcom_scm_set_download_mode (such as in commit: "power: reset:
msm-poweroff: Manage download mode"). Also, change the function to
support changing to different download modes with enum
qcom_download_mode, instead of only either "full dump mode" or "normal
restart".

Change-Id: Ic79d8dda97c17df70bd2cef5d9ce12ecb4c06d00
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:16 -08:00
Satya Durga Srinivasu Prabhala
4b0086f90f sched: Improve the scheduler
This change is for general scheduler improvement.

Change-Id: I7a981c0aa4826ae448d4de224966dec7e21dab86
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2019-12-18 13:00:01 -08:00
qctecmdr
d5cc8a271e Merge "drivers: thermal: qmi_cooling: Add snapshot of QMI cooling device driver" 2019-12-18 10:54:03 -08:00
Siva Kumar Akkireddi
ea4e5098ac msm: sps: Add SPS driver snapshot
Add snapshot of the SPS (Smart Peripheral Subsystem) driver from msm-4.19
'commit thermal: tsens: Add support for TSENS min temp and 0C interrupt
("7b3e424f29e7c55468258ea49e24996684a5051a")'.

Change-Id: I26319a4ac0571e72aecdd0f1c65e1837aafbafc6
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>
2019-12-18 23:47:15 +05:30
qctecmdr
e8ec9c23bd Merge "msm: ipa: Update IPA register offsets and fields" 2019-12-18 10:00:10 -08:00
qctecmdr
35a14d258a Merge "arm64: config: Enable socinfo driver for QCOM SoCs" 2019-12-18 09:05:08 -08:00
qctecmdr
d409bbdf62 Merge "kbuild: Disable the gcc-wrapper with an environment variable" 2019-12-18 07:29:28 -08:00
qctecmdr
482322555d Merge "iommu/arm-smmu: reduce tlb sync poll retry latency" 2019-12-18 06:33:53 -08:00
qctecmdr
6b00a3be41 Merge "coresight: stm: STM master side access control" 2019-12-18 06:33:53 -08:00
qctecmdr
de0c0a3daf Merge "coresight: Add snapshot of jtagv8 driver" 2019-12-18 06:33:52 -08:00
qctecmdr
c7d81c15f7 Merge "wil6210: dump Rx status message on errors" 2019-12-18 06:33:50 -08:00
qctecmdr
391ca3ca20 Merge "PM / devfreq: icc: add support for L3 voting" 2019-12-18 05:45:41 -08:00
qctecmdr
716d4016ae Merge "PM / devfreq: memlat: simplify core-dev table parsing logic" 2019-12-18 04:07:17 -08:00
qctecmdr
1966f732fa Merge "drivers: thermal: Add a snapshot of bcl soc driver" 2019-12-18 03:32:56 -08:00
Ahmad Masri
07f5da041f wil6210: dump Rx status message on errors
Dump all the Rx status message on different errors to allow more
visibility of the case.

Change-Id: I81e7f52f56068ea214f63dda1f74b102aeb605df
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2019-12-18 01:18:43 -08:00
Murali Nalajala
77e2629727 arm64: config: Enable socinfo driver for QCOM SoCs
Enable socinfo driver for QCOM SoCs. This driver provide
sysfs node entries for clients to know about SoC information.

Change-Id: Ic79d89d69dd4ad74eabfc4af8d081c1ab291796a
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2019-12-17 23:23:44 -08:00
qctecmdr
38b9d28be7 Merge "iommu/arm-smmu: restrict secure vmid update while attached" 2019-12-17 22:27:35 -08:00
qctecmdr
f542dbf481 Merge "defconfig: lahaina: enable PCIe root complex and PCIe MSI for lahaina" 2019-12-17 21:46:53 -08:00
qctecmdr
ea80f74288 Merge "msm: cvp: Fence path for Lahaina" 2019-12-17 21:46:53 -08:00
qctecmdr
241d31cd4c Merge "drivers: thermal: cpu_isolate: Add a snapshot of cpu isolate" 2019-12-17 21:46:53 -08:00
qctecmdr
a01c7da679 Merge "wil6210: fix iommu_unmap in IPA mode" 2019-12-17 21:06:03 -08:00
qctecmdr
a88b2b7c41 Merge "msm: pcie: remove deprecated explicit clock retention support" 2019-12-17 21:06:02 -08:00
qctecmdr
f2f9933839 Merge "defconfig: lahaina-gki: Enable USB Electrical and Link test support" 2019-12-17 20:18:00 -08:00
qctecmdr
e97a9d491b Merge "dma-mapping-fast: Do not clobber existing atomic pool" 2019-12-17 20:17:59 -08:00