Do not release CVP persist buffers until all outstanding DSP frames
are handled by firmware.
Change-Id: I80ed488962109d09c368097534c6d1c9d1bee9b6
Signed-off-by: Haseeb Khan <hkhan@codeaurora.org>
QDSS mhi_qdss mode node permission sometimes cannot be updated
by ueventd, this is because mode node is not created after ueventd
received qdss KOBJ_ADD event. This change solves this issue.
Change-Id: Ibdb1051db7f442fb27f6501ec81742127e0bf930
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
Wlan fw will provide RD card chain mask capability
for as part of cap qmi message exchange between host
platform and fw platform. Using this info host platform
will determine whether RD card chain is 1x1 or 2x2. It
will enabled chain1 regulator if RD card is 2x2 and also
if wlan fw doesn't provide any details about RD card
chain mask capability chain1 regulator will enabled
by default.
Change-Id: I83d9058fe505f2519a2300a4989e08acbdbcaafb
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
This change adds the status of UART input lines namely CTS and RX.
These two lines are driven from peer device hence it helps in debug
to confirm peer device status.
This is requested by BT HOST driver to help understand logs clearly.
Change-Id: I892961a5889aea1f46fed1fbde2c924844bc3946
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Disable CONFIG_CRYPTO_MD4 for bengal debug and to align with
android base config.
Change-Id: I233d39aeaa7d0ea90f263478cfbb05838b52699d
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
Currently, we are enabling the torch mode before enabling
led module. This causes large USB current spike after the torch
event. To avoid such undesired behaviour enable the torch
mode after enabling the led module.
Change-Id: I1d867b07d05c3d745220c33a941680aa7d70f1f5
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
This change is for general scheduler improvements.
Change-Id: I917955ef029f30db6c185a41f717a89dd179cc49
Signed-off-by: Biao Long <blong@codeaurora.org>
Currently we pass sizeof(*d_lun_wbb_au) as param size to request
dLUNumWriteBoosterBufferAllocUnits. In this way we can only get 1 byte
data while dLunNumWriteBoosterBufferAllocUnites size should be 4 bytes.
To fix this issue, we should pass the actual size of that buffer. The
founction ufshcd_get_wb_alloc_units() is redundant, remove it and
directly call ufshcd_read_unit_desc_param() in ufs_get_device_desc()
to read back the dLUNumWriteBoosterBufferAllocUnits.
Change-Id: Ie6eee00dcb1a4c2334abc2a01d3e81994018835a
Signed-off-by: Ziqi Chen <ziqichen@codeaurora.org>
During any sensor threshold notification, the of-thermal framework
checks whether any trip of each thermal zone for that sensor is
violated or not. It requests thermal zone re-evaluation only for
those thermal zones those trip is violated. If trips are violated
for none of thermal zones due to some reason, then of-thermal ignores
that sensor notification and it leads to no active trip threshold
for that sensor forever.
Notify and request thermal zone re-evaluation for at least one thermal
zone for that sensor if trips are violated for none in of-thermal.
It makes sure that for every sensor notification, thermal zone
aggregate and set next active trip.
Change-Id: If9955977fe32929d853815ddb9408385291b3c58
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
DMA_ATTR_STRONGLY_ORDERED and DMA_ATTR_NO_KERNEL_MAPPING alters
the logical mapping of allocated memory. This works only for CMA
allocations where the pages are PAGE_SIZE mapped.
Disallow fallback to buddy alloc if above attrs are set.
Change-Id: I25c632d3c9179e22bc5061fd5f7e9ab6e7847322
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
If hit memory allocate failure during boot time, platform driver
will do recovery, in order to keep platform and wlan driver align,
skip update status.
Change-Id: Id5c49953d9baa3322aa3eba2727e54e0af21d8b1
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
ADPLv3 targets do not require status to be enabled on ODL_DPL pipe.
Make changes to disable the status for targets with IPAv4.5 and above.
Change-Id: Ica07a25a01e742928d3ecb19a88b7ee2305235ae
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
This change adds wlfw_rd_card_chain_cap_v0 parameter in qmi capability
message using which wlan fw will update host platform driver whether
the RD card chain mask capability is 1x1 or 2x2. Using this info
wlan platform driver will vote for chain1 regulator only if RD card
chain mask is 2x2.
Change-Id: Id0b745543225fa90f21c22066321ff4a859861c0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
arm32 original logic:
1. allocated memory for page_ext(using memblock).
2. invoke the init callback of page_ext_ops like
page_owner(using buddy).
3. initialize buddy.
after this change:
1. allocated memory for page_ext(using memblock).
2. initialize buddy.
3. invoke the init callback of page_ext_ops like
page_owner(using buddy).
with the change, failure/dummy_handle can get its correct value.
Change-Id: I6598481299da115ff4be50bf0e5a61a012d5ac83
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I19ec68fe40d931b501ea84a9306d04fcb58db60d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Reducing NAPI poll weight to 64 from 128 for debug builds.
The maximum frags previously it can accumlate for SKB is 128,
which leads to stack overflow. So, will reduce max frags to skb
to 64.
Change-Id: Iec33c4e870f9bf3c601d72078992ccb2a0b458ec
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Consider a case where the device has initiated dr_swap to
the connected PD charger to support type-C headset and charging
concurrently. If the charger got disconnected at the same time
when the driver was trying to change the data role then
send_dr_swap flag will be set during disconnect. Upon next connect,
since the flag is already set, the driver will not set the current_pr
to sink and the PD state machine will not kick in causing the charger
to be detected as DCP. Fix this by resetting the pd protocol during
cable disconnect which will clear the flags.
Change-Id: I282986b9d6df37a74d65eb80c1ebc5510add7fe9
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>