smmu_domain logger is freed as part of error handling in
arm_smmu_init_domain_context. But smmu_domain->logger is still non null.
This cause smmu_domain->logger to be accessed during domain free. Fix
this.
Fixes: f1746fc8a009 ("iommu: qti: Track iommu domains")
Change-Id: I82a7f9121b78ca9338d202694dbc0a98150f0c92
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
BAM endpoint TRB ring has usage of 2 TRBs (normal and LINK), and
completion API (dwc3_msm_req_complete_func()) currently only
increments dequeue pointer by 1 assuming that dwc3_gadget_giveback()
does increment dequeue pointer for normal TRB. With newer changes
in dwc3 gadget framework, it moves requests to cancelled list with
usb_ep_dequeue() and reclaim those TRBs on end transfer command
completion. Reclaiming TRB back to trb pool is done only when
req->num_trbs is non zero. dwc3_msm_ep_queue() API checks for
enqueue and dequeue pointers, and on mismatch of it error out.
This results into no BAM2BAM communication after trying to use USB
as sink with QDSS usecase. Fix this issue by incrementing req->num_trbs
with dwc3_msm_ep_queue() API for normal TRB so dequeue pointer is
incremented with dwc3_gadget_ep_cleanup_cancelled_requests() API.
Change-Id: I0777aea7c6add7fb6fea7ea74056786e33435427
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Modify the GMU AO clockgating value for A660.
Change-Id: I35ea9ecae951c966c76ace14c1b24e588065dd83
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
Using weak keyword in function declarations with CFI may lead to
undesired results, remove it.
Change-Id: Idc683e47ef3ce42c694b713d6c88dce5485863c8
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Registering the cooling device from the probe, can result in the
execution of get_property() function, before the probe is complete.
To avoid this, register the cooling device from a workqueue, instead of
registering in the probe.
Change-Id: Ic9279fd5ca5476df66baa6e0f302a7f3bd6b899b
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Dummy netdevice is needed to add a default route to force routing
via interfaces which do not have an IPv6 address but require
encryption and encapsulation using IPv4.
CRs-Fixed: 2639763
Change-Id: I667bb2358ef23baf2c83620b368541beaefa2cf0
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>