Commit graph

890,869 commits

Author SHA1 Message Date
Alexander Lobakin
2d5d56df7f BACKPORT: net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()
Commit 323ebb61e3 ("net: use listified RX for handling GRO_NORMAL
skbs") made use of listified skb processing for the users of
napi_gro_frags().
The same technique can be used in a way more common napi_gro_receive()
to speed up non-merged (GRO_NORMAL) skbs for a wide range of drivers
including gro_cells and mac80211 users.
This slightly changes the return value in cases where skb is being
dropped by the core stack, but it seems to have no impact on related
drivers' functionality.
gro_normal_batch is left untouched as it's very individual for every
single system configuration and might be tuned in manual order to
achieve an optimal performance.

Signed-off-by: Alexander Lobakin <[email protected]>
Acked-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>

Bug: 167477898
Change-Id: Ie9e079cf9a5799ca2c4924848ca6b3caeef056d7
(cherry picked from commit 6570bc79c0dfff0f228b7afd2de720fb4e84d61d)
[hyunsoon: fix conflicts in net/core/dev.c]
Signed-off-by: Hyunsoon Kim <[email protected]>
2020-09-08 17:14:13 +09:00
Pavankumar Kondeti
eb11578cf8 sched/walt: Improve the scheduler
This change is for general scheduler improvement.

Change-Id: Id1692f724f2efd22ada3365cebd154f1999930b5
Signed-off-by: Pavankumar Kondeti <[email protected]>
2020-09-08 10:45:44 +05:30
Nitheesh Muthuraj
0ec5dc84ad msm: kgsl: Make kgsl_iommu_clocks list dynamic
Make the iommu clocks list dynamic so that we
can add new clocks to the list whenever needed.

Change-Id: I7a742c709d0bdc59d4f578329f7019959d4edb46
Signed-off-by: Nitheesh Muthuraj <[email protected]>
2020-09-07 21:36:56 -07:00
Biao Long
f1627cb4d6 sched/fair: Improve the scheduler
This change is for general scheduler improvements.

Change-Id: I917955ef029f30db6c185a41f717a89dd179cc49
Signed-off-by: Biao Long <[email protected]>
2020-09-07 19:23:52 -07:00
Subbaraman Narayanamurthy
8ab1a27ae3 input: qcom-hv-haptics: Disable haptics module during suspend
To help with power savings, disable haptics module when the device
enters suspend and enable it when it exits suspend.

Change-Id: I8956be849b876a2b514c1de49f8ff447267d28a1
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
Signed-off-by: Fenglin Wu <[email protected]>
2020-09-08 09:25:59 +08:00
Can Guo
e9425a0ede scsi: ufs: Put hba into LPM during clk gating
During clock gating, after clocks are disabled, put hba into LPM to save
more power.

Change-Id: I1d8d76f3b72a2346c9ab6268555b0b416cb3b16f
Signed-off-by: Can Guo <[email protected]>
2020-09-08 09:10:25 +08:00
Vijayanand Jitta
0d1287fa01 soc: qcom: minidump: Add md_get_region function
Add a function md_get_region which returns md_region
when we pass minidump entry name to it.

Change-Id: Ibbd84737041c5b1c25cc46b9c740d415978de7e6
Signed-off-by: Vijayanand Jitta <[email protected]>
2020-09-07 09:23:58 -07:00
Vijayanand Jitta
65caff8352 soc: qcom: Enable slabinfo support in minidump
Register and dump slabinfo on kernel panic to minidump
table.

Change-Id: I8e2eabf63233bdb0039a7c7c962b980fba2e21ef
Signed-off-by: Vijayanand Jitta <[email protected]>
2020-09-07 09:23:52 -07:00
Vijayanand Jitta
2ae883be00 soc: qcom: Enable meminfo support in minidump
Register and dump meminfo on kernel panic to minidump
table.

Change-Id: I367d09ce8aabf4feda6d352411d9e10038a37ff9
Signed-off-by: Vijayanand Jitta <[email protected]>
2020-09-07 09:23:42 -07:00
Prateek Sood
45872c8646 defconfig: msm: Enable QCOM_INITIAL_LOGBUF for lahaina
Enable CONFIG_QCOM_INITIAL_LOGBUF for lahaina. This enables
copying of dmesg logs into separate buffer at 100 sec from
bootup.

Change-Id: I3ae2e1d5eca1a1eab42aa2161f9c0a7696497998
Signed-off-by: Prateek Sood <[email protected]>
2020-09-07 18:27:52 +05:30
Prateek Sood
ee23dc5bc1 defconfig: msm: Enable irq stats for lahaina
Enable CONFIG_QCOM_IRQ_STAT for lahaina. This enables
irq stats at watchdog pet, watchdog bark and kernel panics.

Change-Id: Ic998ebfbc39a7b111fb8b8603d2be35968a31a66
Signed-off-by: Prateek Sood <[email protected]>
2020-09-07 18:23:50 +05:30
Odelu Kukatla
c56ba7bb9c arm64: defconfig: Enable L3 interconnect driver for Holi
Enable L3 interconnect driver so that consumers are
able to obtain their path handles properly.

Change-Id: I92b407621e6c65563e5e88b63cf6b776329657cb
Signed-off-by: Odelu Kukatla <[email protected]>
2020-09-07 05:48:35 -07:00
Neeraj Upadhyay
7a60cf6dd2 defconfig: msm: Enable minidump ftrace and panic registration
Enable minidump panic and ftrace registration support for
Lahaina QGKI consolidate config.

Change-Id: I7cff3e90ef9ba9d684c05578e7a41b11e40a1ff5
Signed-off-by: Neeraj Upadhyay <[email protected]>
2020-09-07 18:13:40 +05:30
Fei Mao
83a7bd2675 input: touchscreen: mxt: configure proper sleep state
Configure proper sleep state and touch works correctly
when device resume.

Change-Id: I06fc1dfd281cfa297fb8698a5b350aa062d603b2
Signed-off-by: Fei Mao <[email protected]>
2020-09-07 05:26:29 -07:00
Neeraj Upadhyay
1f4340c001 soc: qcom: Add module info registration to minidump
Add support for dumping active modules information,
in minidump registered region.

Change-Id: Id8e81ea7beae425a1a0f68f91a8cf9aa093b8011
Signed-off-by: Neeraj Upadhyay <[email protected]>
2020-09-07 05:08:46 -07:00
Neeraj Upadhyay
831a64e11d soc: qcom: Dump cpu registers content during panic
Add minidump entry and dump memory around addresses
contained in registers in panic.

Change-Id: Id4857e3b08838838d8aa3a51cb9d6961be37b579
Signed-off-by: Neeraj Upadhyay <[email protected]>
2020-09-07 05:08:41 -07:00
Neeraj Upadhyay
f8a6a88e57 soc: qcom: Add minidump collection on panic
Add minidump collection for cpu runqueues, on panic.

Change-Id: Ib9d313c25cb53547fff075587b3fdd9297a74756
Signed-off-by: Neeraj Upadhyay <[email protected]>
2020-09-07 05:08:36 -07:00
Neeraj Upadhyay
52a0d3dcb7 soc: qcom: Enable ftrace support in minidump
Register and dump ftrace buffer on kernel panic, to minidump
table. The dumps are collected in parsed format.

Change-Id: I10605467d2b566425cc2cb4fd67dbc59fcd592e7
Signed-off-by: Neeraj Upadhyay <[email protected]>
2020-09-07 17:36:17 +05:30
Sarthak Garg
40fdaf3134 mmc: sdhci-msm: Disable always-on LDO's when eMMC is absent
Both eMMC and UFS share the regulators (vdd & vdd-io).
On UFS based devices this regulator can be turned off after the eMMC
probe fails.

Override vdd-io-always-on flag as false.

Change-Id: I2e2abb14512d5e3f8fc0cb67d1aa734c78674cfa
Signed-off-by: Sarthak Garg <[email protected]>
2020-09-07 17:10:19 +05:30
qctecmdr
122f4cad33 Merge "backlight: qcom-spmi-wled: Force HFRC off when WLED is disabled" 2020-09-07 01:24:47 -07:00
qctecmdr
6fb13e7c75 Merge "platform: msm: free the codec node after disconnect" 2020-09-07 01:24:47 -07:00
qctecmdr
f64f2f13d4 Merge "cpufreq: qcom: Add support for performance lock feature" 2020-09-07 01:24:47 -07:00
qctecmdr
7765a70ffe Merge "mem-offline: improve the effective utilization of movable zone" 2020-09-07 01:24:46 -07:00
qctecmdr
f048fe34f8 Merge "defconfig: lahaina: Enable F2FS_CHECK_FS for lahaina" 2020-09-07 01:24:46 -07:00
qctecmdr
a9c39c41e9 Merge "power: smb1398: Do not disable FP_FET during IREV condition" 2020-09-07 01:24:45 -07:00
Luhua Xu
987c7b940b UPSTREAM: spi: add power control when set_cs
As to set_cs takes effect immediately, power spi
is needed when setup spi.

Bug: 167938264
Cc: Mark Brown <[email protected]>
Signed-off-by: Luhua Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
(cherry picked from commit d948e6ca189985495a21cd622c31e30e72b6b688)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I4ed7f854419901f9537916096b941135796956d1
2020-09-07 10:13:03 +02:00
Zhenhua Huang
8ec15472ef soc: qcom: pil: track secure pages used by pil
PIL secures pages are using direct scm call, mark these pages using a magic
flag so that it can be easily identified.

add one check for removing carve out pages, that's already excluded.

Change-Id: If75ab6b4537323e7202c1dd52e2e6677cb61e437
Signed-off-by: Zhenhua Huang <[email protected]>
2020-09-07 13:54:13 +08:00
Sankeerth Billakanti
4945008ef3 platform: msm: free the codec node after disconnect
The codec interface node is allocated during the codec
addition during dp connect. These changes will free the
node after the dp disconnect.

Change-Id: I6f1fc5639f1a5fa61ef04557b888b3389800dce1
Signed-off-by: Sankeerth Billakanti <[email protected]>
2020-09-06 20:35:34 -07:00
Kiran Gunda
de264826a9 backlight: qcom-spmi-wled: Force HFRC off when WLED is disabled
Apply the configuration to force HFRC off when WLED module
is disabled.

Change-Id: Iff1df47fd26a620664087eb4c9140cc4e45251bc
Signed-off-by: Kiran Gunda <[email protected]>
2020-09-06 20:22:07 -07:00
Kishore Sri venkata Ganesh Bolisetty
e025cec440 binder: update low_latency selection for binder transactions
The change limits the low_latency flag selection to binder
transactions of the foreground high priority tasks.

Change-Id: Id191e63ba2ccf5537cb45711c20bc22831129a18
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <[email protected]>
2020-09-06 11:51:07 -07:00
Odelu Kukatla
fad935364b interconnect: qcom: Enable QoS for Shima
Enable QoS for the master ports on Shima with predefined
values for priority and urgency.

Change-Id: I587306831ef3dea0855230d4316a68060f9f223b
Signed-off-by: Odelu Kukatla <[email protected]>
2020-09-07 00:15:30 +05:30
qctecmdr
9a469b261f Merge "Minidump: Add registration/update support for suspend context" 2020-09-06 10:39:38 -07:00
qctecmdr
ebb72ba9c7 Merge "arm64: defconfig: Enable QCOM_SPMI_WLED driver for holi" 2020-09-06 10:39:37 -07:00
qctecmdr
4bb9d8e08b Merge "power: qpnp-smb5: Do not set BC1P2_START_ON_CC on DAM" 2020-09-06 10:39:37 -07:00
qctecmdr
2a46a957b7 Merge "msm: ipa: IPAv5 updates" 2020-09-06 10:39:36 -07:00
Jishnu Prakash
55463a63db dt-bindings: iio: Add IIO channel numbers for SMB1398
Add channel IDs required for SMB1398 IIO device's channels.

Change-Id: I20192dba7d9b20f4163a4c648681d1d517e92587
Signed-off-by: Jishnu Prakash <[email protected]>
2020-09-06 18:09:06 +05:30
Jishnu Prakash
b4ac30156e iio: adc: Correct smb1398 scaling function
Correct scaling function for SMB1398 to ensure
temperature is calculated accurately.

Change-Id: I7ec497ef9d1171da7a08a97730912727c583830a
Signed-off-by: Jishnu Prakash <[email protected]>
2020-09-06 18:08:16 +05:30
Konstantin Dorfman
8005d59933 soc: qcom: add disable/enable SPSS SSR ioctl()
During SPSS firmware update by fota, SPSS SSR causes cryptographic erase
of Secure Processor user data. To mitigate this, instead of related
SSR, platform reboot requested during fota update. In the end of fota
update, SPSS SSR re-enabled.

This change adds ioctl() to update internal driver configuration
(functionally disable or enable SSR).

Change-Id: I1d8362b4691e1a335f7f1f29bc2358d3f9b1cb21
Signed-off-by: Konstantin Dorfman <[email protected]>
Signed-off-by: Nurit Lichtenstein <[email protected]>
2020-09-05 23:24:43 -07:00
qctecmdr
9eaefd9787 Merge "arm64: defconfig: Enable cpufreq hw debug for HOLI and SHIMA" 2020-09-05 23:03:23 -07:00
Johannes Berg
6d9aec4bc5 UPSTREAM: nl80211: fix NL80211_ATTR_HE_6GHZ_CAPABILITY usage
commit fce2ff728f95b8894db14f51c9274dc56c37616f upstream.

In nl80211_set_station(), we check NL80211_ATTR_HE_6GHZ_CAPABILITY
and then use NL80211_ATTR_HE_CAPABILITY, which is clearly wrong.
Fix this to use NL80211_ATTR_HE_6GHZ_CAPABILITY as well.

Cc: [email protected]
Fixes: 43e64bf301fd ("cfg80211: handle 6 GHz capability of new station")
Link: https://lore.kernel.org/r/20200805153516.310cef625955.I0abc04dc8abb2c7c005c88ef8fa2d0e3c9fb95c4@changeid
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit fce2ff728f95b8894db14f51c9274dc56c37616f)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: Ib3951a485537514e26a9ac70ad9773580ecc4f53
2020-09-05 11:19:47 +02:00
qctecmdr
c373fc1ff6 Merge "soc: qcom: Move watchdog suspend/resume callbacks to syscore ops" 2020-09-04 21:28:06 -07:00
qctecmdr
4afbca2a87 Merge "msm: kgsl: Define RBBM_SW_RESET_CMD for a6xx targets" 2020-09-04 21:28:05 -07:00
qctecmdr
b0f8e690f6 Merge "power: qpnp-qg: Allow signed values for Rconn property" 2020-09-04 21:28:05 -07:00
qctecmdr
8f5c855adb Merge "msm: kgsl: Set the bit mask for read-modify-write of GMU registers" 2020-09-04 21:28:05 -07:00
qctecmdr
dfcc9e01ba Merge "ASoC: soc-pcm: Fix playback shutdown sequence" 2020-09-04 21:28:04 -07:00
qctecmdr
ac90e240e6 Merge "drivers: thermal: sdpm: Add support for regulator notification" 2020-09-04 21:28:04 -07:00
Jagadeesh Kona
822d6597b7 arm64: defconfig: Enable cpufreq hw debug for HOLI and SHIMA
Enable cpufreq hw debug support for HOLI and SHIMA.

Change-Id: I62b3404b918a738addeada83a1069712c55ebc21
Signed-off-by: Jagadeesh Kona <[email protected]>
2020-09-05 07:36:21 +05:30
qctecmdr
e3bf003c8b Merge "crypto: Fix possible stack out of bound error" 2020-09-04 18:40:15 -07:00
qctecmdr
c1f96e11b1 Merge "usb: pd: Clear send_get_status flag in protocol reset" 2020-09-04 18:40:14 -07:00
qctecmdr
7b3ceccc73 Merge "Minidump: Add update region support for minidump regions" 2020-09-04 18:40:14 -07:00