Commit graph

892,772 commits

Author SHA1 Message Date
Siddartha Mohanadoss
748b7ed021 defconfig: Enable PCIe end point device for sdxlemur
Enable PCIe EP controller for sdxlemur to enable mobile
broadband interface module support.

Change-Id: I173acc946da74700c3195f9c16eeceaf9eacb46d
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2020-12-10 15:06:22 -08:00
qctecmdr
1297536962 Merge "usb: dwc3: core: Destroy ipc log context on remove" 2020-12-10 06:46:25 -08:00
qctecmdr
324146f8ba Merge "mm/madvise: remove racy mm ownership check" 2020-12-10 06:46:25 -08:00
qctecmdr
4f0abb7427 Merge "dm verity: skip verity work on I/O errors when system is shutting down" 2020-12-10 06:46:25 -08:00
qctecmdr
7c3f466a36 Merge "input: qcom-hv-haptics: fix out of bound of FIFO samples array" 2020-12-10 06:46:24 -08:00
qctecmdr
37093a2edd Merge "firmware: qcom: tzbsp_diag info not required for qsee_log" 2020-12-10 06:46:24 -08:00
qctecmdr
c81a2b0920 Merge "arm64: defconfig: Enable CRYPTO_SHA1_ARM64_CE algorithm" 2020-12-10 06:46:23 -08:00
qctecmdr
3e35a068a5 Merge "msm: pcie: Disable access to PARF register when link is disabled" 2020-12-10 06:46:23 -08:00
qctecmdr
f274bc425e Merge "defconfig: msm-5.4: Adding sfe support to sdxlemur target" 2020-12-10 06:46:23 -08:00
qctecmdr
609dff6223 Merge "defconfig: Enable new file encryption framework" 2020-12-10 06:46:22 -08:00
qctecmdr
32473be6ee Merge "mmc: core: Add partial initialization support" 2020-12-10 06:46:22 -08:00
qctecmdr
2ae503d752 Merge "defconfig: Enable Novatek NT36xxx Touch for yupik target" 2020-12-10 06:46:21 -08:00
qctecmdr
b54ec6fdfe Merge "defconfig: clean up debug config fragment for SDXLEMUR" 2020-12-09 19:47:45 -08:00
qctecmdr
712f68c376 Merge "sound: usb: Unmap secondary event ring before freeing" 2020-12-09 19:47:45 -08:00
qctecmdr
ac19da4fa6 Merge "iommu/arm-smmu: Fix io-coherency enablement for clients using S1 bypass" 2020-12-09 19:47:44 -08:00
qctecmdr
c4c415a165 Merge "msm: ipa: store eth_ready_info pointer" 2020-12-09 19:47:44 -08:00
Isaac J. Manjarres
76296974fd iommu/arm-smmu: Fix io-coherency enablement for clients using S1 bypass
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>
2020-12-09 10:39:00 -08:00
Jeevan Shriram
26721bcead defconfig: clean up debug config fragment for SDXLEMUR
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>
2020-12-09 09:31:10 -08:00
Sriharsha Allenki
2933225984 usb: dwc3: core: Destroy ipc log context on remove
The IPC log context and the log buffers allocated
are not destroyed upon remove, this will lead to
memory leak and cause memory allocation failures,
if the probe fails indefinitely.

Change-Id: I6844507cb5c5bec4908f34b3f00090594d2cefcf
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-12-09 08:14:11 -08:00
qctecmdr
323f338f25 Merge "interconnect: qcom: Add OSM L3 support on SM8150" 2020-12-09 07:54:25 -08:00
qctecmdr
fada40633a Merge "msm: ipa3: add support on sockv5 info" 2020-12-09 07:54:25 -08:00
qctecmdr
0849eb81df Merge "f2fs: change to use rwsem for cp_mutex" 2020-12-09 07:54:25 -08:00
qctecmdr
1e1b65a360 Merge "power: supply: qti_battery_charger: Add TIME_TO_FULL_NOW property" 2020-12-09 07:54:24 -08:00
qctecmdr
c337ef1596 Merge "scsi: ufs-qcom: update phy revision information" 2020-12-09 07:54:24 -08:00
qctecmdr
db33e6b422 Merge "defconfig: gen3auto: Enable SPMI PMIC drivers" 2020-12-09 07:54:23 -08:00
qctecmdr
c223f4f164 Merge "power: qti_battery_charger: Add a shutdown notification" 2020-12-09 07:54:22 -08:00
Vaibhav Agrawal
62549fc9c2 defconfig: Enable new file encryption framework
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>
2020-12-09 00:27:07 -08:00
qctecmdr
aa01bdf5fa Merge "pci: msm: Dump PCIe registers upon WAKE assertion" 2020-12-08 23:22:30 -08:00
qctecmdr
80b988c32b Merge "dt-bindings: iio: Add ADC support for PM7325 and PM7325B" 2020-12-08 23:22:30 -08:00
qctecmdr
5dbc56a5fc Merge "arm64: defconfig: Add mproc related defconfig for sa8155" 2020-12-08 23:22:30 -08:00
qctecmdr
879422d564 Merge "power: smb1355: Extend minoff-time and dead-time for SMB1355" 2020-12-08 23:22:29 -08:00
Amir Levy
a0fe172a68 msm: ipa: store eth_ready_info pointer
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>
2020-12-09 09:21:37 +02:00
Sachin Grover
e1cf010956 arm64: defconfig: Enable CRYPTO_SHA1_ARM64_CE algorithm
This is to enable SHA-1 digest algorithm (ARMv8 Crypto Extensions).

Change-Id: Ic6d428907debb0dcd065a72537f4acf4a70f1e6b
Signed-off-by: Sachin Grover <sgrover@codeaurora.org>
2020-12-08 23:13:54 -08:00
Minchan Kim
475c63f782 mm/madvise: remove racy mm ownership check
Jann spotted the security hole due to race of mm ownership check.

If the task is sharing the mm_struct but goes through execve() before
mm_access(), it could skip process_madvise_behavior_valid check.  That
makes *any advice hint* to reach into the remote process.

This patch removes the mm ownership check.  With it, it will lose the
ability that local process could give *any* advice hint with vector
interface for some reason (e.g., performance).  Since there is no
concrete example in upstream yet, it would be better to remove the
abiliity at this moment and need to review when such new advice comes
up.

Change-Id: I536de5167b6cf7378a06a6b7815f1dd2869a56a4
Fixes: ecb8ac8b1f14 ("mm/madvise: introduce process_madvise() syscall: an external memory hinting API")
Reported-by: Jann Horn <jannh@google.com>
Suggested-by: Jann Horn <jannh@google.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-Commit: a68a0262abdaa251e12c53715f48e698a18ef402
Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2020-12-09 12:31:23 +05:30
Kiran Gunda
18baafdbfd power: supply: qti_battery_charger: Add TIME_TO_FULL_NOW property
Report TIME_TO_FULL_NOW battery power-supply class property required
by userspace.

Change-Id: Idc5ea4718bd9537e46191d254fa2e3e252141041
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-12-09 12:15:00 +05:30
Aman Gupta
872cd375f7 defconfig: msm-5.4: Adding sfe support to sdxlemur target
- This change will add sfe support for the target

Change-Id: I0088f2d64fbf2ebb10435138edcca0eb9ddb0f4b
Signed-off-by: Aman Gupta <amangupt@codeaurora.org>
2020-12-08 20:39:44 -08:00
qctecmdr
38e6f2c27c Merge "input: touchscreen: nt36xxx: Add Chip id and firmware" 2020-12-08 19:20:03 -08:00
qctecmdr
a21b1725d6 Merge "pinctrl: qcom: spmi-gpio: add support for PM7325 and PM7325B PMIC variants" 2020-12-08 19:20:03 -08:00
qctecmdr
46ce41b9e4 Merge "ADSPRPC: Enable ram dumps collection" 2020-12-08 19:20:03 -08:00
qctecmdr
93338907ef Merge "power: smb358: Add snapshot of smb358 charger" 2020-12-08 19:20:02 -08:00
qctecmdr
f18de3d2b1 Merge "serial: msm_geni_serial: Pull RFR before stop_rx for uart" 2020-12-08 19:20:02 -08:00
qctecmdr
32447710b0 Merge "uapi: Add QTI specific header for UART" 2020-12-08 19:20:01 -08:00
qctecmdr
2a149a8b09 Merge "pinctrl: qcom: Add flexibility to disable the wakeup capability" 2020-12-08 19:20:00 -08:00
qctecmdr
f7fba33e12 Merge "Merge android11-5.4.61+ (559c23e) into msm-5.4" 2020-12-08 19:20:00 -08:00
qctecmdr
6744f5c01e Merge "msm: ipa3: add new client enum" 2020-12-08 19:19:59 -08:00
qctecmdr
fa889c3aae Merge "interconnect: qcom: Add interconnect provider driver for Yupik" 2020-12-08 09:27:16 -08:00
qctecmdr
9a035516a2 Merge "mhi_dev: add MHI device driver snapshot" 2020-12-08 09:27:16 -08:00
qctecmdr
3b438cfcad Merge "scsi: ufs: Correct H8_ENTER_COND_MASK" 2020-12-08 09:27:16 -08:00
qctecmdr
32f19d33cd Merge "HID: qvr: Remove device pointer on disconnect" 2020-12-08 09:27:16 -08:00
qctecmdr
388412dbd4 Merge "defconfig: Enable RTB on sdxlemur" 2020-12-08 09:27:15 -08:00