Since f_qdss is compiled as a module, it is dependent on
msm_data_fifo_config() being exported to avoid an undefined reference
compilation error.
Change-Id: I41155fe7af14c8e4003841f54ef878d3535d33d7
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Some symbols utilized by f_qdss are not exported, which leads to symbol
undefined errors when compiling usb_bam as a module. Export the symbols
remaining symbols used by f_qdss.
Change-Id: I3f01cee19bbbc990487df4437e15c3c5aa2a98e5
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
The conditional check in qdss_enable_debug_inface_store() ensures that the
user input is either a 1 or 0. However, the comparison check used has
overlapping conditions, leading to a compile warning/error. Change the
operators to check explicitly for 1 or 0 to avoid this.
Change-Id: I582cd0ab56815b434818744f597f867fbf3abce2
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
The supported lanes are defined through dt.
Sometimes during link-startup (spm-lvl = 5) the discovered
lanes is less than the defined lanes. But sw anyway tries
configure the defined lanes and PMC fails.
This check is to catch these scenarios.
Change-Id: Iff8aac6a5b18b612771ecea2eaccdfc2569b5968
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Add support for charge pump master and slave power supplies through IIO
devices and properties under them through IIO channels under the device.
Change-Id: Iccd70399bb1326548b2aa597ec04d648ebd28097
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
STM should work on both non-secure and secure device. So remove the debug
fuse check.
Change-Id: If3ff461fec1dca2165ceaaf3750af7338332c486
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
The memory sharing usecases that memshare caters to require the memory
associated with the usecase to be XPU protected. Since the memory
is currently drawn from the common CMA pool, there is still a normal
cached mapping in the kernel for the memory. This can lead to
speculative cache-line fills before the memory is unmapped from the
stage-2 page tables of Linux, and XPU protected. Later, when the lines
are evicted from the cache (as clean-evicts), this results in a write
to the system cache, which triggers an XPU violation.
Use carveouts for the memshare usecases, to avoid creating normal
cached mappings in the kernel for the memory that the memshare
usecases need to use.
Modify allocation based on the checks for the client id of the
memshare child node.
Change-Id: I1cfdc600a1aeea06072253cbbf1564fa5bebd62b
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
For 8nm zero value is treated as a valid efuse value and
driver should honor this efuse value to update the tune
params. This change makes the updation of tune value possible
even if the efuse value is zero.
Change-Id: I6eac2e2414bf61b89aa41bebbfe56ad10017969e
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
After checking packet id invalid go to exit, do not process
the packet.
Change-Id: I97a396eca869d2b0f26b02b179a68a1ee049d4b6
Signed-off-by: suchawla <suchawla@codeaurora.org>
Enable STM_PROTO_BASIC to support to write log to /dev/coresight-stm.
Change-Id: I9c736953e664de799f221a87b81953b4c020fbd5
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
mhi_device_get_sync() can sleep while waiting for MHI M0 event.
When timeout passed in is 0 for CNSS force wake API, call it
instead of mhi_device_get_sync_atomic() which will only do busy
wait.
Change-Id: I8ba5a3382b4104eb7324c9e7f3fc1ce3c21065f4
Signed-off-by: Yue Ma <yuem@codeaurora.org>
If the host initiates a BUS reset when SETUP packet
is in progress, it is possible that the trb_enqueue
is set to 1 and ep0_bounced is set to true in handling
the SETUP packet which was interrupted with the BUS reset.
With the trb_enqueue set to 1, instead of the first TRB
the second TRB is queued but the START_TRANSFER is issued
on the first TRB which does not have HWO is set leading
to the enumeration failure, since there is no available
TRB to handle the SETUP packet from the host.
Fix this by resetting the trb_enqueue and ep0_bounced to
prevent the enumeration failure.
Change-Id: I73a4ca0a970124714acc511ab507d1411d197709
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>