Commit graph

805371 commits

Author SHA1 Message Date
Ravi Kumar Siddojigari
a0bbc946ef selinux: move ibpkeys code under CONFIG_SECURITY_INFINIBAND
Move cache based  pkey sid  retrieval code which was added
with  Commit "409dcf31" under CONFIG_SECURITY_INFINIBAND.
As its  going to alloc a new cache which impacts
low ram devices which was enabled by default.

Change-Id: I179a461386a09ebd58591fe835e3e0e0002db392
Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Signed-off-by: vijay rayabarapu <vijay.rayabarapu@codeaurora.org>
2020-01-17 13:34:15 +05:30
qctecmdr
44652454b8 Merge "HID: Adding new ids for hid-qvr support" 2020-01-03 20:29:21 -08:00
qctecmdr
9c37100acb Merge "rtc-pm8xxx: Clear Alarm register on resume" 2020-01-03 04:48:43 -08:00
qctecmdr
c440982745 Merge "platform: qcom-geni-se: Correct ICB handle to validate properly" 2020-01-03 04:48:43 -08:00
qctecmdr
27ad423ea3 Merge "slim-msm-ngd: Add wake lock to avoid race with suspend and SSR" 2020-01-03 04:48:42 -08:00
qctecmdr
595501a20e Merge "defconfig: msm: Enable RTL8152 adapter drivers for bengal" 2020-01-03 04:48:42 -08:00
Prudhvi Yarlagadda
ffc622c65b slim-msm-ngd: Add wake lock to avoid race with suspend and SSR
Add wake lock in SSR up notification handling to avoid race
condition between system suspend and SSR up handling sequence
which can result in un-clocked access.

Change-Id: I246fa70df53b0cb7acdfcadf9cfe2ce01a3bff6b
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
2020-01-03 12:55:43 +05:30
Mohit Aggarwal
d048966ce2 rtc-pm8xxx: Clear Alarm register on resume
Currently, alarm register is not cleared on resume
leading to reboot during power off charging mode.

Change-Id: Ie2e6bbab8aa46e4e9b9cc984181ffab557cbbdae
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2020-01-02 14:25:03 +05:30
Vipin Deep Kaur
35fceebfde platform: qcom-geni-se: Correct ICB handle to validate properly
This additional check is needed due to split voting added for
DDR and Corex/2x paths.

Change-Id: Ic333831b3f8f49b4fd4e569b1c0bcd762534d8db
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-01-02 10:43:05 +05:30
qctecmdr
090c2c5774 Merge "mailbox: apcs-ipc: Add compatible string for scuba" 2020-01-01 09:01:36 -08:00
qctecmdr
73b906c3d5 Merge "usb: dwc3: Add logging for ep0 map/unmap requests" 2019-12-31 10:03:51 -08:00
qctecmdr
7927f818cd Merge "soc: qcom: msm_bus: Add debug logging for BCM client votes" 2019-12-31 10:03:51 -08:00
qctecmdr
45fa4e194a Merge "defconfig: enable some memory configurations" 2019-12-31 10:03:50 -08:00
qctecmdr
b1b965cd58 Merge "scsi: ufs: remove voting for hw ice clk" 2019-12-31 10:03:49 -08:00
qctecmdr
89b721d3fa Merge "power: qpnp-qg: Minor updates to SOC scaling features" 2019-12-31 06:34:49 -08:00
qctecmdr
52adab57f2 Merge "ALSA: pcm: Remove qos request only when it is active" 2019-12-31 06:34:49 -08:00
qctecmdr
bd50655a5c Merge "tracing: Fix lock inversion in trace_event_enable_tgid_record()" 2019-12-31 06:34:49 -08:00
qctecmdr
218f6bd13f Merge "net: qrtr: Add backup skb pool" 2019-12-31 06:34:48 -08:00
qctecmdr
e98c62bf9e Merge "ARM: dts: msm: Add new bus node ids required for Lagoon" 2019-12-31 02:37:00 -08:00
qctecmdr
8f2033874e Merge "wil6210: Validate return value of cfg80211_classify8021d()" 2019-12-31 02:36:59 -08:00
Sriharsha Allenki
f85aa8d41e defconfig: msm: Enable RTL8152 adapter drivers for bengal
Enable config for Realtek RTL8152/RTL8153 based USB Ethernet
Adapters for bengal target. This is to align with android
base config.

Change-Id: Ia6698245896f47cebc03924e4398f055393371bb
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2019-12-31 15:08:34 +05:30
Qingqing Zhou
a794470f2a defconfig: enable some memory configurations
Enable following memory configurations for 32-bit
bengal.

in arch/arm/Kconfig:
select IOMMU_DMA if IOMMU_SUPPORT.

defconfig:
CMA_DEBUG
IOMMU_IO_PGTABLE_FAST
IOMMU_TLBSYNC_DEBUG
DEBUG_PANIC_ON_OOM
ION_POOL_AUTO_REFILL.

perf defconfig:
IOMMU_IO_PGTABLE_FAST
ION_POOL_AUTO_REFILL.

Change-Id: I38c4dc78efde74ed790725fab7b0203c0be6a64e
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2019-12-31 13:41:21 +08:00
rbandi
be2860852e HID: Adding new ids for hid-qvr support
Adding new vendor id and product id for
hid-qvr support.

Change-Id: Ifbd2e71d63949f51dcf61dd46a7c49cba1532d1a
Signed-off-by: rbandi <rohitbandi@codeaurora.org>
2019-12-30 11:02:29 -08:00
Anirudh Ghayal
fd3586bfb7 power: qpnp-qg: Minor updates to SOC scaling features
1. Do not use module_param for FVSS dynamic parameters.
2. Ability to runtime enable/disable SOC scaling features.
3. Debug logging only if the feature is enabled.

Change-Id: I5da1cf368d523768d0b267b314394612934a6202
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2019-12-30 16:39:22 +05:30
Alexei Avshalom Lazar
69a871b49c wil6210: Validate return value of cfg80211_classify8021d()
Driver assumes that the return value of cfg80211_classify8021d()
doesn't exceed wil_1d_to_queue array size.
Add explicit check before accessing the wil_1d_to_queue array.

Change-Id: Ieadeb20c3056a9180cc5092eca07e9bdb7cc65bf
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2019-12-30 10:30:03 +02:00
Sahil Chandna
773814450b power: qpnp-smb5: Fix FV configuration when QNOVO is enabled
Currently, for CC mode, user space depends on BATT_PROFILE_VOTER's
vote on FV to select a PDO. When Qnovo is enabled, this vote is removed,
causing failure in selecting a PDO and exiting CC mode with QC4 charger.
Fix this, by making PDO selection independent of BATT_PROFILE_VOTER's
vote when qnovo is enabled.

Change-Id: I95817d3e54e373eefbab5625699665517f461322
Signed-off-by: Sahil Chandna <chandna@codeaurora.org>
2019-12-30 12:26:11 +05:30
Odelu Kukatla
219e7582a8 ARM: dts: msm: Add new bus node ids required for Lagoon
Add new bus ids that are required for bus scaling driver
on Lagoon.

Change-Id: Iaa854efafa421cec795682e50d173798791e208f
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Diptanshu Jamgade <djamgade@codeaurora.org>
2019-12-29 22:32:57 -08:00
Anirudh Ghayal
c43182bb5e power: qpnp-qg: Add support for batt-soc based SOC scaling (BASS)
At cold temperatures, when the load on battery suddenly drops
there is a possibility of monotonic-SOC being stuck for a long
time due to a rise in system SOC. This leads to a bad UX.

Fix this by gradually dropping the monotonic-SOC if the
battery-SOC has dropped by 1%, irrespective of the increase
in system SOC.

Change-Id: I5da1cf368d523768d0b267b314394612934a620e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2019-12-30 09:31:58 +05:30
qctecmdr
576ac265f8 Merge "msm:ipa: continue ODL logging on MHIP post modem SSR" 2019-12-29 15:26:07 -08:00
qctecmdr
ecb6d426f4 Merge "msm: ipa: vote for device side through mhi for tethering use cases" 2019-12-28 17:30:48 -08:00
Michael Adisumarta
b3d862a27d msm: ipa: vote for device side through mhi for tethering use cases
Specify MHI_VOTE_DEVICE flag when calling mhi-driver API:
mhi_device_get_sync to make sure device side PCIE won't
get to power collapse.

Change-Id: Ia254d3bdbc191f80af05224df4b272921aba2d10
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2019-12-27 22:17:07 -08:00
Prateek Sood
ad677f2848 tracing: Fix lock inversion in trace_event_enable_tgid_record()
Task T2                             Task T3
trace_options_core_write()            subsystem_open()

 mutex_lock(trace_types_lock)           mutex_lock(event_mutex)

 set_tracer_flag()

   trace_event_enable_tgid_record()       mutex_lock(trace_types_lock)

    mutex_lock(event_mutex)

This gives a circular dependency deadlock between trace_types_lock and
event_mutex. To fix this invert the usage of trace_types_lock and
event_mutex in trace_options_core_write(). This keeps the sequence of
lock usage consistent.

Change-Id: Ide261e25fb15f79391a6220eef246e274b0c6a69
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2019-12-27 18:57:40 -08:00
qctecmdr
fd6a4f9f0b Merge "msm: kgsl: Update the sequence to resume stalled SMMU on no GMU devices" 2019-12-27 17:33:12 -08:00
qctecmdr
3f07f34051 Merge "scsi: ufs: UIC timeout while reading sysfs entry" 2019-12-27 17:33:11 -08:00
qctecmdr
c97ca9b077 Merge "usb: xhci: Increase xhci halt timeout" 2019-12-27 17:33:11 -08:00
qctecmdr
64449392ba Merge "ion: Fix pool refill error" 2019-12-27 17:33:11 -08:00
qctecmdr
a5fb8d8db3 Merge "defconfig: bengal: Add l2cache pmu driver defconfig for Bengal" 2019-12-27 17:33:11 -08:00
qctecmdr
f4e38462ed Merge "defconfig: arm: Enable CDSP request manager for bengal" 2019-12-27 09:00:04 -08:00
Mukesh Ojha
9ed6813158 defconfig: bengal: Add l2cache pmu driver defconfig for Bengal
Enable the l2cache pmu driver support for Bengal target.

Change-Id: Ib14e529d36ccb16ed95082a6b1f8d4a23f01a66f
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2019-12-27 02:13:26 -08:00
Aditya Bavanari
a948b056d1 ALSA: pcm: Remove qos request only when it is active
Remove pm qos request for latency_pm_qos_request
only when it is active as it might lead to list corruption
in pm driver if removal is already done.

Change-Id: Ia9b5e933b217e2d988f18ae61673228b54e388bc
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-12-27 02:08:20 -08:00
qctecmdr
0b0d69894c Merge "perf: add qcom l2 cache perf events driver" 2019-12-26 23:03:40 -08:00
qctecmdr
237a1e7a23 Merge "usb: pd: Avoid double queue of usbpd_sm work" 2019-12-26 19:42:19 -08:00
qctecmdr
5146d66ac4 Merge "msm: adsprpc: Add error handling checks" 2019-12-26 19:42:18 -08:00
qctecmdr
11360aba2b Merge "i2c: i2c-qcom-geni: Enhance IPC logging debug infra in I2C" 2019-12-26 19:42:18 -08:00
qctecmdr
7580a90220 Merge "msm: synx: replace spinlocks with mutexes" 2019-12-26 19:42:18 -08:00
qctecmdr
b8f254271f Merge "selinux: cleanup the internal AVC counters on error in avc_update()" 2019-12-26 19:42:18 -08:00
qctecmdr
fac8c15b35 Merge "power: qpnp-qg: Update the qg_esr_mod_count based on fifo-length" 2019-12-26 19:42:16 -08:00
qctecmdr
553427bbad Merge "msm: Increase the kernel virtual area to include lowmem" 2019-12-26 10:11:15 -08:00
qctecmdr
d874198c9f Merge "clk: qcom: gcc: Update voltage fmax table for video clock" 2019-12-26 10:11:15 -08:00
qctecmdr
1b52c22b87 Merge "cnss2: check wlfw mac before switching to mission mode" 2019-12-26 10:11:15 -08:00