When USB is disconnected we dont reset the num_trbs field of a
request before giving it back to the respective function. When
this request is re-used it will have an incorrect num_trb value.
For f_qdss HW path we use 1 endless request and allocate 1 TRB to
accommodate this request. This request is freed only during an USB
composition switch. Doing an USB plug-out/plug-in during an active
bam2bam session would result in erroneously incrementing the num_trbs
value when the transfer is resumed. When this request is dequeued
during a qdss_close we would increment dequeue pointer in accordance
with this incorrect num_trbs value. This leads to dequeue pointer
going beyond enqueue pointer and thus the subsequent ep_queue fails
due to this mismatch. Fix this by always setting the num_trb field
to 1 for requests going through qdss HW path.
Change-Id: Ibddad6c8fdd67b42d12752ae3ead73d20110c290
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Enable the virtual subsystem notification driver on the Auto
virtual machine.
Change-Id: I4b46d42e2012effb2186cd4854d494f15c621bcc
Signed-off-by: Anant Goel <anantg@codeaurora.org>
Enable the Shared Memory (SMEM) driver on the Auto
virtual machine.
Change-Id: Ia2d043972e4e69b78cccb2a61206baf7fc60eb01
Signed-off-by: Anant Goel <anantg@codeaurora.org>
The spss-util driver provides utilities required for the Secure
Processor Subsystem (SPSS). It provides the fuse state for key
selection and the SPSS HW version.
Legacy spss not support load spss by UEFI and also not support
CMAC/IAR feature.
Change-Id: Iea0d66ed66a2817850f99f74bf716d33db956812
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
The direct connect registers base need to keep differently for
sm8150 since it used per tile registers in devicetree.
pinctrl driver does tile plus hmss base address for configuring
direct connect interrupts. Update the tile address to correctly
point to direct connect registers.
Change-Id: Ic959ed067be30dd457449e874298be30b696cd07
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Enable CONFIG_QCOM_KGSL and CONFIG_QCOM_KGSL_IOCOHERENCY_DEFAULT
to enable KGSL support.
Enable CONFIG_MSM_ADSPRPC, CONFIG_MSM_CDSP_LOADER, and
CONFIG_MSM_FASTCVPD to enable FastRPC on sdmsteppeauto.
Enable CONFIG_QCOM_SECURE_BUFFER to enable secure buffer
transactions.
Enable IOMMU related configs for fastmap, selftest, and other
related configs.
Change-Id: Id9665df61851d26d3113081d65e1807585d99f81
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Fix compiler error due to multiple definitions
of boot_marker_enabled function.
Change-Id: Ibeb5a33e8b13ad97d9109847c412a2442979653e
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
In case of cma allocation failure, req-size is logged, but instead of
requested size we are printing total size. Fix it.
Fixes: 45422bc880 ("mm: cma: Print region name on failure")
Change-Id: Ifc96209a0ccdb295fbb9767d3d93b3a567fa16fd
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Rename quinvmauto to autogvm to have superset configs for
all gen linux guest.
Change-Id: Ic4a87ebdf4aa3d97ee4dd8265e4dcbde630637e7
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
Add option "CONFIG_DIREWOLF" to enable to compilation for
the Direwolf platform.
Change-Id: Id556b35e251002d07f7ee38023725f744ee682c3
Signed-off-by: Anant Goel <anantg@codeaurora.org>
qcom,converged-dt is meant to use one DT node which has multiple
sub-nodes to support multiple devices. There is also one simple
scenario that one same DT node can be directly used by multiple
devices without creating sub-nodes. Use separate DT entry for such
case to add firmware path prefix to simplify implementation and
avoid conflicts.
Change-Id: I3beb3dfce30d31f086eeb6667afa83560880ff32
Signed-off-by: Yue Ma <yuem@codeaurora.org>
In order to support MBIM in a multi-config usb composition
make use of composite gadget driver support for OS descriptor.
This allows Host to identify preferred configuration to choose.
Pass signature field, vendor code, compatibleID and
subCompatibleID from user space. Also remove redundant MBIM OS
descriptor related data structure definitions in the driver.
Change-Id: I6fd8b950d53ef700be2d435e5973dd2c74525cd8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Porgramming guide for tcu clock testbus controller says:
1) Write to the ARM_SMMU_TESTBUS_SEL_HLOS1_NS.
2) Read from the ARM_SMMU_TCU_TESTBUS_HLOS1_NS
to know the internal smmu clock status. Program them accordingly.
Change-Id: I6140d877c2d8366030699fb04099078ebb3b6e2c
Fixes: 47b2cb7ab2 ("iommu: arm-smmu: update access to SMMU TCU testbus registers with scm call")
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
SPI Transfer mode selection is based on length but in SPI responder case
we get some latency for FIFO mode transfer that will cause some delay
in SPI responder transfer and we get "TX_FIFO_RD_ERR" interrupt. Moving
SPI responder to DMA mode for all transfer will not have this latency
issue and SPI requester/responder will be in sync and we won't get any
error related to SPI requester/responder sync.
Change-Id: I6b9676aad2a4875a9ff6c4d998a45d2cd8a14cfa
Signed-off-by: Ashish Kori <akori@codeaurora.org>