When a context bank's SCTLR is programmed for an SMMU client
that wishes to bypass S1 translations and enable io-coherency, the
SHCFG bitfield of the SCTLR is set to 0. This means that a
client's transaction's shareability memory attribute will not be
modified as it goes through the SMMU.
This is problematic if the SMMU client's transaction is marked as
non-shareable, as the attribute will not be modified to be classified
as io-coherent, since io-coherent transactions should be cacheable
and shareable. Instead, the transaction will not snoop the CPU
caches, and will go to DDR, and may read incorrect data.
Thus, program the SHCFG bitfield in the context bank's SCTLR to
override the shareability attribute to outer shareable when
enabling io-coherency for clients using S1 bypass.
Change-Id: Ia4c1bbe7812ce7c2062c636e2b1bb39fa1ac516c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
defconfigs generated at runtime scan through dependency order of
config fragments and enable respective config flag. Remove duplicate and
unnecessary configs in debug config fragment.
Change-Id: Ifbc74382a16479e0b7de068fe9c92211f49c1c92
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Following flags are needed to support block crypto
based inline encryption framework on EMCC devices:
1. CONFIG_MMC_CQHCI_CRYPTO.
2. CONFIG_MMC_CQHCI_CRYPTO_QTI.
Test:
1. Device booted upto UI with File Based Encryption enabled.
2. Key insertion using fscryptctl tool.
3. Created new files under /data and checked retention across
multiple re-boots.
4. vts_kernel_encryption_test tests.
5. check_encryption test for verifying metadata encryption.
Change-Id: I574838b0e65e336d2c056ab7cfce8c9cd3e801e0
Signed-off-by: Vaibhav Agrawal <vagrawa@codeaurora.org>
store eth_ready_info pointer for late callback
trigger instead of storing cb and user data addresses.
eth_ready_info pointer is static and shall be searched
when callback is unregistered.
Change-Id: I03cbbc4920ee663890bad12ece6d41e9bd2a68d5
Signed-off-by: Amir Levy <alevy@codeaurora.org>
This change enables novatek nt36xxx config for holi target.
Change-Id: I11842aae692dd9294c314e0a7fddb1c9cf63942b
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
Pull the RFR line before doing stop_rx in uart driver.
This is to prevent any rx data to come into the uart rx fifo when
stop_rx is being executed.
Remove the rx length zero check in
handling dma rx to prevent race conditions with EOT and DMA_DONE
interrupt bits.
Issue scenarios could be that during baud rate change/ runtime
suspend or any other place where stop_rx is used, there might
be a race between rx data entering uart rx fifo and availability
of dma buffers in uart driver. In this scenarios there will
be interrupt storm with rx water mark interrupt.
Change-Id: I92163c4997c1709269dce67a1d492533f710abfb
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
Add snapshot of the smb358 charger as of msm-4.14
commit 790f0644f00c ("net: stmmac: Alert QTI on SDX
of host AP's SSR status"). Fix minor static analysis
tool errors.
Change-Id: I7c88f48a90cfca6c22ac4ed5289f78a32e524dc4
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Add novatek chip id and firmware during boot up to
enable touch.
Change-Id: I382ae51c7bb4bf270c2e01b484281fcc24270062
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
Update phy revision information before calling phy_init(),
so that phy driver can perform revision specific configurations.
Change-Id: I834306851e30a203705ad824fc142813b989abc5
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>