Commit graph

898,663 commits

Author SHA1 Message Date
Kamal Agrawal
547129b6ad msm: kgsl: Avoid flooding kernel log with invalid ioctl errors
For invalid ioctl inputs from user, kgsl already returns -ENOIOCTLCMD error
code. Avoid flooding kernel log with such errors.

Change-Id: Iaf9c8eb0c51b221738482e2b4b02289913a2878e
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-05-07 00:44:15 -07:00
qctecmdr
b794964c98 Merge "cnss2: Restore PCIe config space before enable PCIe device" 2021-05-06 19:07:09 -07:00
qctecmdr
ef335b8083 Merge "msm: ep-pcie: Give BAR0 and BAR2 the right size" 2021-05-06 19:07:08 -07:00
qctecmdr
03fb5fd7c5 Merge "mtd: msm_qpic_nand: Remove the SW workaround on sdxlemur" 2021-05-06 19:07:08 -07:00
qctecmdr
752f6f5a25 Merge "msm: kgsl: Update A660 variant GPU revision number" 2021-05-06 19:07:07 -07:00
qctecmdr
1d9b786a0b Merge "arm64: kexec_file: add crash dump support" 2021-05-06 19:07:07 -07:00
qctecmdr
7659c1bb0f Merge "defconfig: gen3auto: enable BPFtrace userland tools" 2021-05-06 19:07:07 -07:00
qctecmdr
824637b721 Merge "defconfig: Enable support for cpuidle for monaco" 2021-05-06 19:07:06 -07:00
qctecmdr
c8ef6a8b1c Merge "msm: veth_ipa: page fault during VETH0 bring up fix" 2021-05-06 19:07:06 -07:00
qctecmdr
a6761c3916 Merge "drivers: pinctrl: Add gpio to mpm mapping for Monaco" 2021-05-06 19:07:06 -07:00
AKASHI Takahiro
cc61becf8f arm64: kexec_file: add crash dump support
Enabling crash dump (kdump) includes
* prepare contents of ELF header of a core dump file, /proc/vmcore,
  using crash_prepare_elf64_headers(), and
* add two device tree properties, "linux,usable-memory-range" and
  "linux,elfcorehdr", which represent respectively a memory range
  to be used by crash dump kernel and the header's location

Change-Id: I0dd87adc9e9c958467ed6a7e822f826635b77504
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: James Morse <james.morse@arm.com>
Tested-and-reviewed-by: Bhupesh Sharma <bhsharma@redhat.com>
Git-commit: 3751e728cef2908c15974a5ae44627fd41ef3362
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Akshay Adiga <aadiga@codeaurora.org>
2021-05-05 13:48:03 -07:00
Anthony Mah
e11de4eab7 defconfig: gen3auto: enable BPFtrace userland tools
FR for K5.4 on automotive to enable bpftrace for simplified
debugging.  bug: b/172247134.

Change-Id: I1a98d83de0c15c6268304c4b3e69ef97395b1a75
Signed-off-by: Anthony Mah <amah@codeaurora.org>
2021-05-05 09:51:22 -07:00
qctecmdr
a9eb6ca4c9 Merge "spi: spi-msm-geni: Keep device to suspend if PM call fails" 2021-05-05 07:04:00 -07:00
qctecmdr
2940ea5d3d Merge "power: smb5-lib: Improve the charge-termination WA handling" 2021-05-05 07:04:00 -07:00
qctecmdr
c5a53f9a92 Merge "usb: gadget: f_gsi: Add support to enable/disable using TCM MEM" 2021-05-05 07:03:59 -07:00
qctecmdr
e4c91ca621 Merge "defconfig: sdmsteppeauto: Enable boot marker and rpmh master stats driver" 2021-05-05 07:03:59 -07:00
Srinivas Rao L
598e0e2ea2 drivers: pinctrl: Add gpio to mpm mapping for Monaco
Add gpio to mpm  mapping for the wakeup capable gpio interrupts

Change-Id: If366a57efdb33b68b3283a7d81760ab62eb634d3
Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
2021-05-05 05:49:07 -07:00
Srinivas Rao L
618e2b8131 drivers: irqchip: Add Monaco MPM wake interrupt mapping
Add wakeup capable interrupts mapping for MPM.

Change-Id: Ia2e02bf22ea32cafdb7a5327470aafd01cf05ad4
Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
2021-05-05 05:48:55 -07:00
qctecmdr
b2d000088e Merge "cnss2: Print address range for minidump region" 2021-05-05 04:13:03 -07:00
qctecmdr
3a0aae3d7a Merge "msm: ipa: Add QMI messages for moving NAT table" 2021-05-05 04:13:03 -07:00
qctecmdr
d6959cc418 Merge "pci: msm: Disable access to MSI config as part of suspend" 2021-05-05 04:13:03 -07:00
qctecmdr
28de7583e1 Merge "msm: adsprpc: Handle ramdump collection" 2021-05-05 04:13:02 -07:00
qctecmdr
299fbd4ebd Merge "Closing the HAB socket correctly in unmount scenarios" 2021-05-05 04:13:02 -07:00
qctecmdr
242cd8934f Merge "net: stmmac: Make code changes to support dlkm compilation" 2021-05-05 04:13:01 -07:00
qctecmdr
c534c6d21b Merge "cnss2: Refactor registers dump APIs" 2021-05-05 04:13:01 -07:00
Vinay Sudra
bafcfcf5d4 defconfig: sdmsteppeauto: Enable boot marker and rpmh master stats driver
Enable boot time marker and rpmh master stats driver for sdmsteppeauto
targets.

Change-Id: I3d274b57d56a81a47e35582de98b1e4bf623fa86
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-05-05 14:25:53 +05:30
qctecmdr
38b09e6378 Merge "defconfig: gen3auto: Enable driver to print xbl log" 2021-05-05 01:22:08 -07:00
qctecmdr
cf00bfe49a Merge "char: virtio_fastrpc: Move PM notifier to driver probe" 2021-05-05 01:22:08 -07:00
qctecmdr
01bb9a3f0f Merge "msm: kgsl: Add Common Boot KPI marker" 2021-05-05 01:22:07 -07:00
qctecmdr
becb6bbf79 Merge "net: stmmac: cleanup and free the nodes and gpios setup in probe" 2021-05-05 01:22:07 -07:00
qctecmdr
07ced40c64 Merge "usb: gadget: f_cdev: Fix use after free of port in f_cdev" 2021-05-05 01:22:06 -07:00
qctecmdr
0c5c89fd18 Merge "msm: kgsl: Fix race between kgsl device open and close" 2021-05-05 01:22:06 -07:00
qctecmdr
10a04be7c5 Merge "netfilter: Port Trigger: Support added for Port Trigger Feature" 2021-05-05 01:22:05 -07:00
qctecmdr
578a2b25d2 Merge "input: qpnp-power-on: Add support for suspend to disk" 2021-05-05 01:22:05 -07:00
qctecmdr
fc53e6c07d Merge "defconfig: Enable ethernet adaptor class driver on sdxnightjar" 2021-05-05 01:22:04 -07:00
Raghavendra Kakarla
4118a44557 defconfig: Enable support for cpuidle for monaco
This patch enables the cpuidle support and also
removes the DDR stats logging which is not required.

Change-Id: I6e46ab54cf4115d93c76b940532bb24263de96b1
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2021-05-05 13:16:57 +05:30
Akshay Pandit
37c2f40165 msm: veth_ipa: page fault during VETH0 bring up fix
Created separate work queue structs for callbacks and events.
Fixed user data argument passed to ipa ready callback.
emac is notified once uC is ready after interface up.

Change-Id: I3755c5ae51448899a700ed22035d2636415cd56c
Acked-by: Sarosh Hasan <sarohasa@qti.qualcomm.com>
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-05-05 12:16:17 +05:30
Jeya R
611c802366 msm: adsprpc: Handle ramdump collection
Process exit and ramdump collection synchronization
done using work.

Change-Id: Ib1f30b26537417f9c69fc9510ae34b2c33502e2d
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-05-04 12:13:29 -07:00
Mayank Rana
99e27d7d9b usb: gadget: f_gsi: Add support to enable/disable using TCM MEM
This change adds support to enable/disable using TCM memory for
USB IN data buffer with RMNET interface.

Change-Id: I27f04c1bc170e06ccbc9c57ef0e9b8f870e4fe97
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2021-05-04 09:41:28 -07:00
Mayank Rana
e334d6d2ed dwc3-msm: Add LLCC TCM memory usage for USB IN endpoint data buffers
Add LLCC TCM memory usage for USB IN endpoint data buffers.

Change-Id: Iab4153838684530736bfb7373ecb492ca4202f08
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2021-05-04 09:41:22 -07:00
Deepak Kumar
8eaf5dc0ac msm: kgsl: Update A660 variant GPU revision number
A660 variant GPU correct revision number is A642. Update
the revision and revision checks to reflect correct value.

Change-Id: I6cc295c35c5a5d0ed5045271cbf50adc74cb15c3
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2021-05-04 21:51:52 +05:30
Mukesh Kumar Savaliya
339174da6e spi: spi-msm-geni: Keep device to suspend if PM call fails
If the runtime PM is disabled, call to get_sync() will fail. In this
scenario, keep device to suspend state and return the error with warn
stack. This should help balance the runtime PM count in get_sync()
failed scenario.

In addition, if the runtime PM is found to be disabled, decide to
return an error and let framework retry the transfers.

Change-Id: Id37a49a4d7550c55dffffc915a63c5fe157f5559
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2021-05-04 17:54:59 +05:30
Bojun Pan
11e37b96ae Closing the HAB socket correctly in unmount scenarios
This change is required for the VM restart mechanism where the
unclosed HAB socket will block the reboot of the GVM.

Change-Id: I4c84e65d981bc1bb09e943dc6985217d3407e9ab
Acked-by: Sriragh Karat <skarat@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2021-05-04 03:48:34 -07:00
Maulik Shah
21d8d2b3a7 pinctrl: qcom: Update GPIO to PDC interrupt map for sdmshrike
Update the GPIO to PDC interrupt map.

Change-Id: I4a21b666144d3014d92f24a4f5cc4584700e2c72
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2021-05-04 15:15:55 +05:30
Sneh Shah
bbaefbdf62 net: stmmac: Make code changes to support dlkm compilation
Replace ethqos function calls with function pointer in stmmac.
Makefile changes to compile all ethqos files as single ko.

Change-Id: Iae8fb981b59cf14e33d31530a8798cc56c0e9926
Signed-off-by: Sneh Shah <snehshah@codeaurora.org>
2021-05-04 15:05:59 +05:30
qctecmdr
336a29e70a Merge "msm: npu: update uapi header file to align with 4.14/4.19 kernel" 2021-05-03 18:42:37 -07:00
qctecmdr
b52ffb09f0 Merge "drivers: gnss: Add SiRFStart GNSS chip power controls" 2021-05-03 18:42:37 -07:00
qctecmdr
aced172961 Merge "hwrng: refine hwrng delay for retry" 2021-05-03 18:42:37 -07:00
Vijayakumar Badiger
72dffdb9d1 drivers: gnss: Add SiRFStart GNSS chip power controls
This is a driver to handle SiRFStar GNSS chip power controls,
a device node is created to interact with driver power controls
and exposes set of IOCTLs. These IOCTLs provide mechanisms to
transition of GNSS receiver power state.

Change-Id: Idf8ff2553736221930f4f032455692e3752176ce
Signed-off-by: Vijayakumar Badiger <vbadig@codeaurora.org>
Signed-off-by: Santoshkumar Zalake <szalake@codeaurora.org>
2021-05-03 11:34:29 -07:00
Rituraj Raman
001efe54a3 msm: kgsl: Add Common Boot KPI marker
Add a boot marker to indicate the time when
driver kgsl is initialised and ready.

Change-Id: I4c3073f642354ef16d1f1f8ed99f520e3ec76c59
Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
2021-05-03 17:34:21 +05:30