Add a check to ensure that overflow does not happen in multiplication
operation.
Change-Id: I8b3be6acd92147543ab785c5762a1b2609e5a93d
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
This change sets SPEC_FENCE_FLAG_ARRAY_BIND flag in speculative
fence to indicate bind ioctl is triggered.
Change-Id: I718dfe8c6278a585e58bb59811de05b72106d6d3
Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
Add memory related modules to first stage on neo.
Change-Id: Ie1d0234223741f0b43dc79d8dc6c30bd7568bd03
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
When the ADSP is down, for particular slimbus message code and
message type transactions we are waiting for 1sec for the ADSP
to be up. Blocking function for 1sec is causing issues in the
audio layer.
Added a dtsi based flag whether to wait for adsp to be up or return
error immediately.
Change-Id: I09a3e135806d4044cdb95e2cc35092d6f5c2f68b
Signed-off-by: Anvesh Salveru <quic_asalveru@quicinc.com>
Free memory only during error while opening a port.
In success case, memory will be freed during port
closure.
CRs-Fixed: 3113018
Change-Id: Ice2172c7865e5df5898b3ac927f842db1516fd96
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
We no longer use "qcom,dwc-usb3-msm-tx-fifo-size" property to know
the TXFIFO size instead depend on the value present in DWC3_GHWPARAMS7
register.
Change-Id: I39a95a51b1e0954b91946b602d6754512c97c522
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Compression before encryption to AP minidump can save a lot of
disk size, so disable the AP minidump encryption by default, and
leave the choice to customers.
Change-Id: Ib7a3c71cf6f62466a219a5d86f065bb0f760fe45
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
This change does restructure of GPIO PDC mapping.
Change-Id: Ib02cd25b55505dd8f7f3f2d87b482e69df05902c
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
On some endpoints there is no PCIe driver in bootloader to update
MHI registers due to that there is some garbage values present at
miscoffset register so in the sw if there is no valid value
updating it to zero.
Change-Id: Id230da97484f7042166e2cd68fc18730857374c3
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Currently, when waiting for hBoost ready times out, error code -EBUSY is
returned. In addition to that, reset the FIFO play logic so that the
following FIFO requests can still be served.
Meanwhile, add 100us before updating HAPTICS_EN for hBoost to have
enough time to handle its power transition as per the hardware
recommendation.
Change-Id: Iebfc98b589bda747e4c2b6fdf6ff78d2f46ece5d
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Add dispcc-neo to modules.list.neo to enable
it to load during first stage init.
Change-Id: I57a15a36de9afc45241bea2e19aa7468ac846872
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
Add debug-regulator.ko to modules.list.neo to enable
it to load during first stage init.
Change-Id: If67a8a592d9ced62b4063a96cb3e0c4920b6de1c
Signed-off-by: Ashish Chavan <quic_ashichav@quicinc.com>
This change halts cancel command operation if IOS lines not in
good state for i2c due to Power or slave side issue. Perform cancel
once IO lines comes to good state. Till that i2c transfer will not
be servied.
This is a workaround fix if the abort is failing after cancel and
never recovers.
Change-Id: Icca5904d0d3df7432b948343ef9396cb25d93cd0
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Signed-off-by: Ajay Prathi <quic_aprathi@quicinc.com>
Make sure to free the temporary buffer that holds the clients message
and header in the sendmsg path for gunyah vsock.
Change-Id: I398d5ec00f869b5f63e5f6daf8a609dcbbb13537
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
In pinctrl_bind_pins(), if a device have only default pinctrl state,
it will be selected before driver really probe,
remove default state select operation which is redundant.
Keep sw reset to make sure orientation was latched when exist reset,
the reset should also work when orientation was override by upper layer.
Change-Id: I2b31a25f06c89f3da235d316aea9362fc032a17b
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Add support for display clock controller on NEO platform,
for display clients to be able to request for clocks.
Change-Id: Id4652573afb68ea2b9727fc6c430efec775721ac
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
Add device support in the MHI controller driver for
waipio device as an endpoint. In the endpoint mode
it supports only two MHI channels LOOPBACK rx channel
and the LOOPBACK tx channel.
Change-Id: I47bd47b48f6b991602e93e9a2cdc61161d7cf179
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <quic_vbadigan@quicinc.com>