718601 Commits

Author SHA1 Message Date
qctecmdr Service
c8ef025196 Merge "tcp: clear tp->packets_out when purging write queue" 2018-04-17 12:26:29 -07:00
Satya Durga Srinivasu Prabhala
589f164a93 defconfig: msm: enable PREEMPTIRQ_EVENTS for SM8150
To be able to debug performance issues related to scheduler,
preempt and irq disable/enable trace events are needed.

Change-Id: I87e72e60aef287f30b1008fdb145a72b3fc98c5c
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2018-04-17 12:09:01 -07:00
Pavankumar Kondeti
86a695fbed trace/irq: Add trace point to track IRQs disable callers
Add trace point to track IRQs disable callers to
isolate issues unrelated to scheduler and improve debug
turn around time.

Change-Id: Ib1ef45d8bed1fc0e128b5ab2051f0c30e8c50ee7
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2018-04-17 12:08:22 -07:00
Pavankumar Kondeti
6559dea820 sched: Add trace point to track preemption disable callers
Add trace point to track preemption disable callers to
isolate issues unrelated to scheduler and improve debug
turn around time.

Change-Id: If9303b7165167e8f79cd339929daf4afc31a61c4
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2018-04-17 12:04:53 -07:00
Lingutla Chandrasekhar
f42416dabb power: reset: Support Minidump select option in dump type
On system crash, some targets are able to collect Minidump,
so add option to collect fulldump as well as minidump or both dumps.
This is snapshot of minidump driver support in msm-4.4,
'commit f4beb492260b ("power: reset: msm: add support to select both
dumps")'

Change-Id: I090653097ba12abb4fc0a1ff44bf155cc0d7a3ed
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-04-17 11:44:09 -07:00
Lingutla Chandrasekhar
391a598903 soc: qcom: Register default dump entries to minidump table
Add below common dump entries to minidump table:
All memory dump table entries, kernel data/bss sections,
percpu static sections, rtb, logbuf, wdogdata, lpm_debug,
stackpointer, and current task struct.
Also add name for memory dump table entries to accommodate
Minidump support.

Change-Id: I45d121bc36b40332cfd0a0f5142572c6ce8f8a26
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[isaacm@codeaurora.org: Resolve trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-04-17 11:43:37 -07:00
Tyler Wear
c96b88f9a1 arch: arm64: defconfig: Enable QTAGUID for SM8150
Enable netfilter QTAGUID needed for sm8150.

Change-Id: I21365c172feb3226a1b3abc6066a8643fa8401d9
CRs-fixed: 2218604
Signed-off-by: Tyler Wear <twear@codeaurora.org>
2018-04-17 09:21:41 -07:00
Hemant Gupta
890fc711e0 HID: uhid: remove custom locking from uhid_hid_open/close
Now that HID core enforces serialization of transport driver open/close
calls we can remove custom locking from uhid driver.

CRs-Fixed: 2218607
Change-Id: I87e2077a5357744d8aa88b9d9c8103ba6acbedca
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
2018-04-17 08:58:38 -07:00
Konstantin Dorfman
754a8023cd soc: qcom: add secure processor communication (spcom) driver
This driver supports communication with secure processor subsystem
over rpmsg and ungerlying glink transport layer.
The communication is based on using shared memory and interrupts.
This driver exposes interface to user space.

Migrate from using glink api to rpmsg api:
- removed not used glink functionality
- removed not used kernel api to spcom functionality
- implemented rpmsg driver registration for each new spcom channel
open/close/tx/rx/poll flows fixes:
- rpmsg_abort flag introduced to synchronize close() of a channel with
  pending sending or receiving data from the channel
- tx implemented as rpmsg_trysend() every 10ms (timeout_msec total)
- poll imlemented link up/down events as first/last rpmsg device
  probed/removed
- locking

ION api replaced by dma-buf:
ION api depricated.
This change implements following functionality:
Lock/unlock shared buffer by reference counting on underline dma-buf.
Translation user allocated shared buffer virtual address to
physical address (to enable SPU access to the buffer).

Change-Id: I28d704b18a3b0de9711ff3235c3f5551e7302557
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2018-04-17 16:35:08 +03:00
Tharun Kumar Merugu
48be0c6411 adsprpc: validate VMID before hyp_assign during unmap
Validate VMID before doing hyp_assign_phys during unmap on DSP.

Change-Id: I9c41416c9df12bd993bff59378ea66d31cda3686
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2018-04-17 18:08:07 +05:30
Tharun Kumar Merugu
9e21b253cb ARM: dts: msm: increase adsp heap size for sm8150
Increase adsp contig heap size from 12 MB to 16 MB

Change-Id: I4c8cc579f3551475ee234a0440478bee5be9416b
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2018-04-17 17:43:34 +05:30
Hareesh Gundu
933eb9895c msm: kgsl: Separate out A6xx GMU specific code
A6xx GPU has different GMUs, which requires a different
set of sequence programming. Move A6xx GMU specific code
to separate file, so that it's easy and scalable to fit
new kind of GMU in existing driver.

Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Change-Id: I7773b1626a8fa6036dda06753466d2c822960096
2018-04-17 12:39:28 +05:30
Shefali Jain
e92d489496 clk: qcom: gcc: Add global clock controller driver for QCS405
Add the clocks supported in global clock controller which clock the
peripherals like BLSPs, SDCC, USB, MDSS etc. Register all the clocks
to the clock framework for the clients to be able to request for them.

Change-Id: I6e88109c8221023ddae7a0b17051b00d233f65c4
Signed-off-by: Shefali Jain <shefjain@codeaurora.org>
2018-04-16 22:16:48 -07:00
Shefali Jain
e3c2d97b61 ARM: dts: msm: Add GCC, CPU & RPM device node for QCS405
Add global clock controller, cpu controller and rpm
clock device node to support the dummy clocks for
clients to be able to request for the clocks.

Change-Id: I7aa275f3ea5f8bf8059265f2533bdcab767a82e1
Signed-off-by: Shefali Jain <shefjain@codeaurora.org>
2018-04-16 22:15:53 -07:00
Tirupathi Reddy
10fd7410d7 misc: qpnp: add snapshot of qpnp-misc documentation
qpnp-misc driver supports accessing MISC peripheral registers
in certain PMICs.

This is snapshot of the qpnp-misc device documentation as of msm-4.9
'commit 98cddae6cdce ("Merge "msm: camera: Fix media_entity
assignment")'.

Change-Id: Ic1e820e98dceb66195c56785e50590f1ba92f830
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-04-17 09:07:37 +05:30
Swathi Sridhar
9f4a8f9825 defconfig: sdmshrike: enable CONFIG_QCOM_SECURE_BUFFER
Enable CONFIG_QCOM_SECURE_BUFFER for sdmshrike to 
enable secure ION allocations.

Change-Id: I7711f2ecf80a69b06767ab1c94192ee25ecc0196
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>
2018-04-16 20:14:30 -07:00
Skylar Chang
b9cfffacf8 msm: ipa3: support HW stats query for LTE
Add support on IPA-driver to get HW stats for
usb/wlan tethering under LTE backhaul.

Change-Id: I0c87419f35431e5175d1050a446f7fc882369972
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2018-04-16 19:50:32 -07:00
Raghavendra Rao Ananta
4d2072f04e AndroidKernel: Add configuration for the LLVM path
Set LLVM path depending on the configuration done by the build system.

Change-Id: Ib4ebf15c17c2febfee44404df0d2582625f11516
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2018-04-16 19:20:22 -07:00
Linux Build Service Account
4cec0cd668 Merge changes I5423b9e7,If3014a4f into msm-4.14
* changes:
  power: qcom: Add support for FG software algorithms
  power_supply: add cycle_counts property
2018-04-16 18:10:34 -07:00
Linux Build Service Account
463652cd8a Merge changes I493f29d1,I0b16ac79 into msm-4.14
* changes:
  ARM: dts: msm: update the DisplayPort AUX settings for sm8150
  drm/msm/dp: update the DP PHY and controller programming for sm8150
2018-04-16 18:10:31 -07:00
Linux Build Service Account
bd13de150e Merge "drivers: arm: cpuidle: support ARMv7 targets for lpm governor" into msm-4.14 2018-04-16 18:10:27 -07:00
Linux Build Service Account
cecfabfb48 Merge "soc: qcom: pil: Allow timeouts for graceful subsystem shutdown" into msm-4.14 2018-04-16 18:10:24 -07:00
Linux Build Service Account
7fbd64017e Merge "drivers: thermal: Aggregate userspace mitigation request" into msm-4.14 2018-04-16 18:10:21 -07:00
Linux Build Service Account
7162a8df75 Merge "drm/msm/dsi-staging: avoid ctl soft reset when cont-splash is enabled" into msm-4.14 2018-04-16 18:10:18 -07:00
Linux Build Service Account
296ce8539b Merge "drm/msm/sde: remove invalid excl_rect validations" into msm-4.14 2018-04-16 18:10:15 -07:00
Linux Build Service Account
dba6a24d70 Merge "usb: gadget: f_qdss: Add support for mdm qdss channel" into msm-4.14 2018-04-16 18:10:12 -07:00
Linux Build Service Account
0f2330d930 Merge "drm/msm/sde: avoid disabling clks/bw when cont-splash is enabled" into msm-4.14 2018-04-16 18:10:08 -07:00
Linux Build Service Account
7aebfb1e69 Merge "soc: qcom: pil: Expose function to get subsys_device pointer" into msm-4.14 2018-04-16 18:10:02 -07:00
Linux Build Service Account
890b01f5c1 Merge "ARM: dts: msm: Add GPU thermal config for SM8150" into msm-4.14 2018-04-16 18:09:59 -07:00
Linux Build Service Account
7777fa80bd Merge "ARM: dts: msm: Add vbat and soc mitigation for SM8150" into msm-4.14 2018-04-16 18:09:57 -07:00
Linux Build Service Account
dccb37dbc8 Merge changes I057d472b,I2bdbd0c2 into msm-4.14
* changes:
  ARM: dts: msm: add pinctrl information of display for SDMSHRIKE
  defconfig: sdmshrike: enable compilation of SDE display driver
2018-04-16 18:09:52 -07:00
Linux Build Service Account
b3341f290e Merge "ARM: dts: msm: Update video clock config for sm8150" into msm-4.14 2018-04-16 18:09:48 -07:00
Linux Build Service Account
483e99c103 Merge "iommu/iova: Limit IOVA alignment using CONFIG_ARM64_DMA_IOMMU_ALIGNMENT" into msm-4.14 2018-04-16 18:09:43 -07:00
Linux Build Service Account
7c4ed7799d Merge "clk: qcom: gdsc: Fix issue with dereferencing NULL pointer in gdsc APIs" into msm-4.14 2018-04-16 18:09:40 -07:00
Linux Build Service Account
4ce5787b08 Merge "mmc: host: Kconfig: Enable cmdq config" into msm-4.14 2018-04-16 18:09:36 -07:00
Linux Build Service Account
df4a408155 Merge "ARM: dts: msm: Add bluetooth device node for sm8150" into msm-4.14 2018-04-16 18:09:33 -07:00
Linux Build Service Account
92165529e4 Merge changes I3b5b996c,I1668a64f into msm-4.14
* changes:
  qbt1000: Fix for incorrect buffer size check and integer overflow
  qbt1000: Terminate fingerprint TA name with null
2018-04-16 18:09:30 -07:00
Linux Build Service Account
b7ff3d3a6e Merge "defconfig: sdm: Update defconfig for sdm640" into msm-4.14 2018-04-16 18:09:26 -07:00
Linux Build Service Account
f009d33da2 Merge "rcu: Create RCU-specific workqueues with rescuers" into msm-4.14 2018-04-16 18:09:19 -07:00
Linux Build Service Account
174cc3d0ae Merge changes If05b547b,I6b7616ff into msm-4.14
* changes:
  ARM: dts: msm: Add NPU device configuration on SM8150
  msm: npu: Add driver functionality to support NPU
2018-04-16 18:09:13 -07:00
Linux Build Service Account
f4bc62bbd4 Merge "power: smb5: Make TYPEC_ATTACH_DETACH_IRQ wakeup capable" into msm-4.14 2018-04-16 18:09:05 -07:00
Linux Build Service Account
baeef4281d Merge "power: smb5: update IRQ configuration" into msm-4.14 2018-04-16 18:09:03 -07:00
Linux Build Service Account
b20e2c1f0b Merge "defconfig: sm8150: Enable CMA debugfs" into msm-4.14 2018-04-16 18:08:58 -07:00
Linux Build Service Account
f3c9cf833d Merge "defconfig: sm8150: Enable MHI host driver stack" into msm-4.14 2018-04-16 18:08:54 -07:00
Tony Truong
15620de32e ARM: dts: msm: update PCIe clock frequencies for SM8150
With the new addition of PCIe sleep clock in PCIe bus driver,
update PCIe clock frequency tables for SM8150.

Change-Id: I555f7cd3427a2897e99dd8d60480602fb225b1a7
Signed-off-by: Tony Truong <truong@codeaurora.org>
2018-04-16 17:58:28 -07:00
Isaac J. Manjarres
d3badbe62b Revert "ARM: dts: msm: Add a test thermal zone for SM8150"
This reverts commit 2f994ded4e87a6ee0950fb5d78c6913d00d3e972.

Change-Id: I9a1fcf9174a8cc327a74d539315ed32d937423f8
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-04-16 16:12:19 -07:00
Sujeev Dias
b9428952cd ARM: dts: msm: Add MHI device tree nodes for sm8150
Add MHI host device tree node for MHI host driver. MHI
bus allows host to control and communicate with external
modem over high speed peripheral bus.

CRs-Fixed: 2204910
Change-Id: Id0259ae53e876c3217eacd9727225da580aee2d8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2018-04-16 16:02:19 -07:00
Chinmay Sawarkar
3fac46072c msm: vidc: Remove inversion of video priority ctrl value
Priority control value set by client match the values expected by
firmware. Realtime Enable=1 for both, hence inversion is not
required.

CRs-Fixed: 2225514
Change-Id: I24aff5ea62af4339919655ff6417d1443b232764
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2018-04-16 15:37:10 -07:00
Sujeev Dias
e4ec2969a5 defconfig: sm8150: Enable MHI host driver stack
MHI Host Interface is a communication protocol to be used by the host
to control and communicate with modem over a high speed peripheral bus.
Enabling this stack will allow host to communicate with external devices
that support MHI protocol.

CRs-Fixed: 2204910
Change-Id: I856b035d196885420797594e3c274390b5504237
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2018-04-16 15:32:59 -07:00
Kyle Yan
fae333a5e8 defconfig: sdmshrike: Enable various devfreq devices on sdmshrike
Enable devfreq drivers for sdmshrike.

Change-Id: I696e8cb12b9bbae752e331eb3bc2f3115605fd5e
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
2018-04-16 14:48:23 -07:00