Commit graph

898,684 commits

Author SHA1 Message Date
qctecmdr
b382f222c2 Merge "serial: msm_geni_serial: Allow clock_on/off ioctl to be optional" 2021-05-07 10:25:15 -07:00
qctecmdr
dcb612382b Merge "scsi: ufs: Narrow down fast pass in system suspend path" 2021-05-06 22:23:00 -07:00
qctecmdr
ede504cedc Merge "defconfig: autogvm: Enable boot marker for KPI measurement" 2021-05-06 22:23:00 -07:00
qctecmdr
39d09dfcce Merge "usb: f_fs: Fix use-after-free for epfile" 2021-05-06 22:23:00 -07:00
qctecmdr
a5af1843ad Merge "mtd: msm_qpic_nand: Enable Pagescope read feature and reset status_desc" 2021-05-06 22:22:59 -07:00
qctecmdr
36d9ba8f4c Merge "sched/walt: consider average max_nr when compare max_nr" 2021-05-06 22:22:59 -07:00
qctecmdr
54a9c89962 Merge "icnss2: Add support for MHI state info" 2021-05-06 22:22:59 -07:00
qctecmdr
5ab7307c8a Merge "adsprpc: Map dynamic loading memory persistent" 2021-05-06 22:22:58 -07:00
qctecmdr
e3e00bfbe0 Merge "power: qcom: Add QTI QBG(Qualcomm Battery Gauging) driver" 2021-05-06 22:22:58 -07:00
qctecmdr
7b79fdc03f Merge "defconfig: Add initial defconfig fragments for scuba" 2021-05-06 22:22:58 -07:00
qctecmdr
5aeb2f7dfe Merge "PCIe: ASPM: Save/restore ASPM-L1SS controls in reverse order" 2021-05-06 22:22:57 -07:00
Ashish Kori
790ab2f4d7 serial: msm_geni_serial: Allow clock_on/off ioctl to be optional
Add support in the driver to manage power without enabling pm runtime.
UART driver gives control to user space client to vote for clock on/off
by exposing ioctls. These vote clock on/off APIs depend on PM runtime
framework for power related operations.

This change relaxes driver from depending on userspace ioctls to invoke
runtime resume/suspend for basic uart functionality which will now be
done by system suspend/resume. This will block PM framework API's and
use system suspend/resume API for UART on/off.

Change-Id: Idf0632c0e2d40907f7a226cd7e3e814d1c1f6751
Signed-off-by: Ashish Kori <akori@codeaurora.org>
2021-05-06 21:53:14 -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
Vinay Sudra
c211b368e2 defconfig: autogvm: Enable boot marker for KPI measurement
Enable boot time marker config options for Linux GVM targets.

Change-Id: I928ddfcac740a6f3b7bb9e5cffbd8e81daca73d6
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-05-05 21:48:40 -07:00
Hongwei Ren
e842eb0771 defconfig: Add initial defconfig fragments for scuba
Add initial defconfig fragments bengal_GKI.config,
bengal_QGKI.config, and bengal_debug.config for scuba.

Change-Id: I548eab2b6fe62247fe2a413eba173072cd54ec22
Signed-off-by: Hongwei Ren <hongren@codeaurora.org>
2021-05-05 21:36:16 -07:00
Hemant Kumar
787d287d9e PCIe: ASPM: Save/restore ASPM-L1SS controls in reverse order
Commit 54fdb1e448 ("PCIe: ASPM: Save/restore ASPM-L1SS
controls for suspend/resume") restores PCI_L1SS_CTL1, then
PCI_L1SS_CTL2. It should do those in the reverse order, since
the Enable bits are in PCI_L1SS_CTL1.  It also restores L1SS
state before we restore the PCIe Capability potentially enabling
ASPM as a whole. Fix the issue by changing order for both save
and restore.

Change-Id: I84e3db25b651b93dd4c037fa287f58edde90407a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-05-05 13:52:20 -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
Pratham Pratap
971a857733 usb: f_fs: Fix use-after-free for epfile
Commit 1c3b63b8d8 ("usb: f_fs: Avoid use-after-free of
epfile") fixed use-after-free in ffs_func_eps_disable but
there is still a possiblilty of ffs_epfile_release going
ahead and freeing the buffer while ffs_func_eps_disable has
acquired the spin_lock and initialized local copy of epfile.
Since ffs_epfile_release doesn't have spin_lock protection
for freeing up the read buffer, fix this by putting it under
spin_lock protection as well.

Change-Id: I85b1a0aea88c0033fbeef4c5db5104caac211540
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-05-05 13:39:24 +05:30