Commit graph

872,903 commits

Author SHA1 Message Date
qctecmdr
c2e15eef58 Merge "usb: dwc3: Fix incorrect ep0 state on reset" 2019-10-28 10:32:57 -07:00
qctecmdr
a7d5a85aa0 Merge "usb: dwc3: resize txfifo of IN/INT endpoint before enabling it" 2019-10-28 09:55:51 -07:00
qctecmdr
4c196dd091 Merge "usb: dwc3: Add QTI MSM platform specific feature and other changes" 2019-10-28 09:24:14 -07:00
qctecmdr
86cb2da52a Merge "ASoC: Add a debug message to track widget power up/down" 2019-10-27 20:51:11 -07:00
qctecmdr
f53b149a86 Merge "ASoC: Change info logs to debug" 2019-10-27 20:13:16 -07:00
qctecmdr
6c77d64802 Merge "msm: qdsp6v2: Add timestamp support for compress capture" 2019-10-27 19:32:59 -07:00
qctecmdr
18dc13d57e Merge "msm: ipa3: Query stats from Q6 NLO PROD/CONS" 2019-10-27 02:42:23 -07:00
Sriharsha Allenki
f7a9e06d4f usb: dwc3: Fix incorrect ep0 state on reset
According to the databook ep0 should be in setup
phase during reset. If host issues reset between
control transfers, ep0 will be  in an invalid state.
Fix this my issuing stall and restart on ep0 if it
is not in setup phase.

CRs-Fixed: 2136658
Change-Id: I6dc20c2735a6ce772533ccb5b63ba5d1b01f89d7
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2019-10-26 23:24:01 -07:00
Mayank Rana
ec2321135d usb: dwc3: resize txfifo of IN/INT endpoint before enabling it
USB IN/INT endpoint stalls when performing TX FIFO resize functionality
when IN/INT endpoint is already active i.e. usb endpoint is enabled and
usb request is pending with it. Fix this issue by making sure that TX
FIFO resize is performed before enabling endpoint which shall happen
after set_alt(1) and before any function queues request with its
allocated USB endpoint.

This commit also squashes the following commits from previous kernels:

  Revert "usb: dwc3: drop FIFO resizing logic"
  dwc3: gadget: Improve TX FIFO resize functionality
  dwc3: gadget: Use default TX FIFO size as 1024 bytes with each IN eps
  usb: gadget: Use mult as 3 for GSI related USB IN endpoint always
  USB: dwc3: gadget: Fix TxFIFO resizing logic
  dwc3: Preserve TxFIFO of IN/INT EP for UDC without tx-fifo-resize
  dwc3: gadget: Use TXFIFO register based on used dwc3 version
  dwc3: gadget: Increase TXFIFO size as 6KB for GSI IN endpoint
  usb: dwc3: Change TXFIFO size for GSI IN EP based on controller
  usb: dwc3: gadget: Fix TXFIFO resize logic for non-zero EPs
  usb: dwc3: Increase the TxFIFO resize factor

Change-Id: I13a590f87ab8492f7c95a15b2da9f00c9c63c4f9
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2019-10-26 23:24:01 -07:00
Jack Pham
f84c92f1ec usb: dwc3: Add QTI MSM platform specific feature and other changes
This change adds the following QTI MSM platform specific features
to the USB DWC3 core & gadget drivers:
  - BAM/DBM endpoint support
  - GSI endpoint support
  - low power mode
  - glue layer notifications
  - high speed-only fallback
  - additional debug logging

Change-Id: I0f733d05f3f88a4a734d8489b5eb548391ab3af3
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2019-10-26 23:19:08 -07:00
qctecmdr
cc4575e377 Merge "ion: Simplify carveout heap base/size retrieval/error handling" 2019-10-25 23:55:06 -07:00
qctecmdr
b9d2daee17 Merge "ion: msm: Remove [cma/dma]_get_[base/size] usage" 2019-10-25 23:21:43 -07:00
qctecmdr
b116d136aa Merge "msm: camera: Add camera dt binding definitions" 2019-10-25 22:45:56 -07:00
qctecmdr
dc1f76410c Merge "iommu/arm-smmu: report BID, PID and MID of client on context fault" 2019-10-25 22:06:18 -07:00
qctecmdr
b0093c18ee Merge "iommu/arm-smmu: bypass hypervisor and read sync/inval status register" 2019-10-25 21:32:09 -07:00
qctecmdr
05e3ee327e Merge "synx: Add synx cancel signaling status" 2019-10-25 20:56:24 -07:00
qctecmdr
0380c9f41c Merge "interconnect: qcom: lahaina: Remove stub functions" 2019-10-25 20:23:51 -07:00
qctecmdr
fb260342cc Merge "interconnect: qcom: fix up endianness for rpmh messages" 2019-10-25 19:47:15 -07:00
qctecmdr
92d776643b Merge "defconfig: lahaina-gki: Enable DISP_CC clock driver" 2019-10-25 19:14:07 -07:00
qctecmdr
e57f7c7d90 Merge "clk: qcom: Add DISP_CC clock driver for Lahaina" 2019-10-25 17:51:55 -07:00
qctecmdr
6ae0f4df39 Merge "defconfig: lahaina-gki: Enable VIDEO_CC clock driver" 2019-10-25 16:43:50 -07:00
qctecmdr
19d4c23d99 Merge "ion: Conditionally compile page pool refill code" 2019-10-25 15:16:52 -07:00
qctecmdr
dce6dcf388 Merge "arm64: defconfig: Enable CONFIG_VM_EVENT_COUNTERS on Lahaina" 2019-10-25 14:19:26 -07:00
qctecmdr
1c59c5c9fa Merge "drivers: cpuidle: lpm-levels-of: conform to arm,idle-state definition" 2019-10-25 13:44:41 -07:00
qctecmdr
3ad8b20ba6 Merge "drivers: soc: qcom: snapshot of sleep drivers for Lahaina" 2019-10-25 13:09:23 -07:00
qctecmdr
8062cba26a Merge "usb: gadget: Add check gadget function bind or not" 2019-10-25 12:16:48 -07:00
qctecmdr
23db3d58bf Merge "usb: dwc3: gadget: Keep track of IRQ timing statistics" 2019-10-25 11:33:09 -07:00
qctecmdr
e47b3563e4 Merge "usb: dwc3: Keep track of interrupt statistics" 2019-10-25 10:55:58 -07:00
qctecmdr
ffc159f25b Merge "usb: dwc3: debug: Add logging APIs using IPC logging framework" 2019-10-25 10:19:26 -07:00
qctecmdr
7a8fe7f744 Merge "usb: xhci-plat: Add DT parameter to program xhci imod_interval" 2019-10-25 09:42:20 -07:00
qctecmdr
c4cf9870ca Merge "usb: dwc3: Increase the inter packet gap for USB 2.0" 2019-10-25 09:06:52 -07:00
qctecmdr
ceb8561931 Merge "clk: dt-bindings: gpu-cc: Update gpu clock driver header for Lahaina" 2019-10-25 06:11:16 -07:00
qctecmdr
f8479eca07 Merge "net: qrtr: Add IPC logging for qrtr" 2019-10-25 04:44:31 -07:00
qctecmdr
039c7ea65a Merge "msm: IPA: mhi_proxy: correct the mhi vote for both bus and device" 2019-10-25 03:24:32 -07:00
qctecmdr
f4de4c753b Merge "mm: vmscan: support complete shrinker reclaim" 2019-10-25 02:45:51 -07:00
qctecmdr
6500d721cf Merge "mm: run the showmem notifier in alloc failure" 2019-10-25 02:00:47 -07:00
qctecmdr
1a805820af Merge "mm, oom: run the showmem notifier in oom" 2019-10-25 01:05:34 -07:00
qctecmdr
7cadb9f2ea Merge "mm: cma: retry only on EBUSY" 2019-10-25 00:25:58 -07:00
qctecmdr
b95c1d307e Merge "mm: cma: Increase retries if less blocks available" 2019-10-24 23:39:33 -07:00
qctecmdr
6324083247 Merge "mm: cma: Register with show_mem notification framework" 2019-10-24 22:55:53 -07:00
Banajit Goswami
c5cd69e267 msm: qdsp6v2: Add timestamp support for compress capture
Add timestamp support for compress driver.

CRs-fixed: 1072067
Change-Id: I1c46befc223285495b3c0650e6c3eaae81f58771
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2019-10-25 13:38:24 +08:00
qctecmdr
95c1375460 Merge "mm: cma: add trace events for CMA alloc perf testing" 2019-10-24 22:12:28 -07:00
qctecmdr
92902fc9d0 Merge "mm: vmscan: support equal reclaim for anon and file pages" 2019-10-24 21:33:01 -07:00
qctecmdr
52fabc3455 Merge "iommu/io-pgtable: Deprecate IO_PGTABLE_QUIRK_NO_DMA" 2019-10-24 20:49:18 -07:00
Lina Iyer
d7e609a4d7 drivers: cpuidle: lpm-levels-of: conform to arm,idle-state definition
Start confirming to arm,idle-state compatible definition. In addition to
being compliant, this allows us to use the new API to setup the PSCI
cluster state ids for the CPU, before entering the idle state.

Let's do the following:
    - Rename enter/exit latency, residency, label properties
    - In addition to qcom,psci-cpu-mode specify
      arm,psci-suspend-param.
    - Update copyright

Change-Id: I3930fce9788e8be1e43e0e7c9ff247df2ec23f55
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2019-10-24 20:37:04 -07:00
Lina Iyer
6d5e000248 drivers: soc: qcom: snapshot of sleep drivers for Lahaina
This is a snapshot of the Sleep driver and related functionality as of
'commit b252df6e0200 ("cpuidle: lpm-levels: log enabled regulators
before entering suspend")' on msm-4.19 branch.

Updates:
        - Remove event timers
        - Remove per-cpu PM QoS
        - Remove rpm stats (Use new soc_sleep_stats driver instead)
        - Update __arch_counter_get_cntvct (new)
        - Update to get next wakeup from cpuidle device
	- Remove pending_ipi and is_IPI_pending() (defined in smp.c)
	- Update copyright
	- Update Kconfig menu items
	- Update hotplug enum to use the already upstreamed
	- ifdef's around scheduler functions that are not upstreamed

Change-Id: I75336ec927932d93c0c193a20973fc84e3b05ff5
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2019-10-24 20:36:57 -07:00
qctecmdr
5de94c187b Merge "mm: cma: sleep between retries in cma_alloc" 2019-10-24 20:07:50 -07:00
qctecmdr
52c2866900 Merge "msm: ipa: Add IPA producer and consumer clients for AQC" 2019-10-24 19:26:46 -07:00
qctecmdr
0dbf8da3bc Merge "icc: qcom: Refactor icc rpmh support" 2019-10-24 18:49:24 -07:00
qctecmdr
498f4708ad Merge "iommu/arm-smmu: Use existing facilities for I/O Coherent PTWs" 2019-10-24 17:59:46 -07:00