Correct number of arguments are not passed to the dev_dbg
call here. This is leading to access of garbage value.
Fix this by removing the extra format specifier in the
string.
Change-Id: Id64a00c1ca44c5ee2014fd806c234f702a7941f6
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Improve readability of logs by converting hex values to decimal,
and printing memstall deltas instead of absolute values.
Change-Id: I43f21dd9817b540184ce05fd7151459d3502ea28
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Print the threshold registered for a trigger in decimal, which is
more readable.
Change-Id: Ia10bd233845446be62a4ea9d2232ff1ba638c50e
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Use proper accessor for high watermark access.
Change-Id: I381bc58455c55c33ebaf2e87dc5ad79131f2f5b5
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Separate header buffer and non-ion copy buffers allocation
to avoid virtual address over allocation and
some improvement in latency with non-ion buffers.
Change-Id: I9f5e3bbb974dc7b1db92e386b980fd2d8b4f08aa
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Merugu Tharun Kumar <mtharu@codeaurora.org>
As cma_get_base and cma_get_size are not intended to be used by
leaf drivers on GKI enabled build, use of_reserved_mem_lookup to
get heap base and size.
Change-Id: I91194187c89ff8c7f7d445833afce1a4716f0ea4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
By default fastmap uses an atomic context.
On GKI builds fastmap is not supported, but we need to ensure that when
a client requests that fastmap be enabled on a GKI build that they still
use an atomic context.
Change-Id: I145e4679e973b10f666a0bef6ba104223fa5e7a9
Signed-off-by: Liam Mark <lmark@codeaurora.org>
PCI_MSM_MSI is no longer its own config option. It is bounded
with PCI_MSM so remove any dependencies for it.
Change-Id: Ic417b5e063c268f1bda73e28ffe790c4da4698e8
Signed-off-by: Tony Truong <truong@codeaurora.org>
PCIe driver needs to toggle between bi_tcxo and phy pipe
clock as part of its LPM sequence. This is done by setting
pipe_clk/ref_clk_src as parent of pipe_clk_src.
Change-Id: Ie634e6024fef3e5736793fc53d281be2d52bcbf7
Signed-off-by: Tony Truong <truong@codeaurora.org>
PCIe root complex driver needs to support enable/disable
gcc_aggre_noc_pcie*_axi_clk.
Change-Id: I044d5081692d50ae82d5ab29c4913359719e5031
Signed-off-by: Tony Truong <truong@codeaurora.org>
When building as a module, the __setup() macro is undefined and the
compiler will warn about the now unused setup function. Mark it as
__maybe_unused to avoid the compiler warning.
Change-Id: Ic0dedbad341aae7d83169517d94af3b0ea038ac9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
iommu_debug_dma_unmap_write() returns 0 instead of an error code
when the command passed to the dma_unmap debugfs node is not
in the expected format.
Change-Id: Ie4f5dfa4423edc539fec9c38554e97c79fccc6c3
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Some of user space daemon like ADB queries endpoint descriptor using
ioctl to know wMaxPacketSize value. Based on wMaxPacketSize value it
queues additional buffer to read zero length packet if expected read
buffer size is multiple of wMaxPacketSize. Currently driver is missing
handling for super speed plus case which results into sending full
speed related USB endpoint descriptor (i.e. wMaxPacketSize 64 bytes).
Hence when adbd is expecting 64 bytes packet from host, it queues one
more additional buffer. This results into mismatch of ADB command and
response when multiple ADB commands are used and causing different ADB
related stability issues. Fix this issue adding super speed plus check
with FUNCTIONFS_ENDPOINT_DESC ioctl command.
Change-Id: I9416295c07c2d98f9d32df43d7e506f975da15a2
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
This change updates USB function drivers to assign SSP descriptors
using usb_assign_descriptors() API. USB SSP descriptors are needed
to enumerate these functions as different composite device in
super speed plus mode.
Change-Id: Iea4d623afb2bf572358d1cc1d0673f20f2d7d5aa
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
CONFIG_QCOM_SPMI_TEMP_ALARM is incorrectly disabled in
lahaina_QGKI.config and lahaina_debug.config. Remove this
disablement so that the SPMI temp alarm driver is compiled
in both GKI and QGKI builds.
Change-Id: I2f54dae62dabe50758974c70f39f713141d16d8f
Signed-off-by: David Collins <collinsd@codeaurora.org>