Commit graph

889,431 commits

Author SHA1 Message Date
qctecmdr
8baae46492 Merge "ANDROID: Revert "module: Refactor section attr into bin attribute"" 2020-08-25 20:50:04 -07:00
qctecmdr
7399f76820 Merge "drivers: thermal: cpu_voltage: Use the child device node" 2020-08-25 20:50:04 -07:00
qctecmdr
7965554ba6 Merge "NFC: Align DT property name with DTSI files" 2020-08-25 20:50:03 -07:00
Subbaraman Narayanamurthy
844516d943 Revert "input: qcom-hv-haptics: read CAL_TLRA_CL_STS from SDAM after boot up"
This reverts commit 7d3ecfd796.

This change had caused a regression with swr-haptics driver probe
as the soundwire master couldn't enumerate swr haptics. Revert
this until we can understand why soundwire enumeration fails.

Change-Id: Ie5840247013a1a3fab15758e9ace7b131619be49
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-08-24 15:27:02 -07:00
Mayank Grover
0afd6cbeae arm64: defconfig: enable CONFIG_DEBUG_PREEMPT for debug config
Enable CONFIG_DEBUG_PREEMPT for debug builds, to help
enable atomic context debugging.

Change-Id: I301b15dc4f780e00f5c9146fca8e8122fd2ce3f6
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-08-22 03:44:26 -07:00
qctecmdr
f0e66e8900 Merge "arm64: defconfig: Set panic timeout and panic oops config" 2020-08-21 18:26:14 -07:00
Sandeep Singh
a9974f00fc defconfig: Enable CONFIG_NL80211_TESTMODE config for holi
This change enables CONFIG_NL80211_TESTMODE config for
wlan host driver in holi.

Change-Id: I0974f58a2f25c14991ff4a22b998827b0a579b95
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-08-21 13:33:27 +05:30
Ram Chandrasekar
83d14255e3 drivers: thermal: cpu_voltage: Use the child device node
The cooling device registration is using the parent node of the cpu
voltage cooling device. The devicetree configs are using the child node
to identify the cooling device. Switch to use the child device node, so
that the cooling device is bound with the thermal zone.

Change-Id: Id501421002c5dac7cb924455e09538a384ec9f85
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-08-20 16:05:36 -07:00
Tapas Dey
8c7862e060 NFC: Align DT property name with DTSI files
Modified code in driver to align DT property
name with DTSI files.

Change-Id: I6423dcc68eb1dbf73c63240b128f41476caba99c
Signed-off-by: Tapas Dey <tdey@codeaurora.org>
2020-08-20 21:12:50 +05:30
qctecmdr
1e4aef37ea Merge "regulator: rpm-smd: Correct proxy regulator registration" 2020-08-20 04:00:19 -07:00
qctecmdr
b4566e9b72 Merge "coresight: tmc: Modified trigger number for reset CTI" 2020-08-20 04:00:19 -07:00
qctecmdr
6eda02cc70 Merge "spi: spi-msm-geni: Add support to disable dma mode for SPI transfers" 2020-08-20 01:26:16 -07:00
Jishnu Prakash
30b4881d6e regulator: rpm-smd: Correct proxy regulator registration
Correct the device passed for registering a proxy consumer supply
in the regulator device probe.

Change-Id: I33028648b66b922cb1132fd87ca8aa2be1b02799
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-20 12:16:05 +05:30
qctecmdr
dcf7c5cb14 Merge "mm: Allow pages that are swapped in to come from the movable zone" 2020-08-19 22:51:13 -07:00
qctecmdr
d0eb308301 Merge "power: qpnp-smb5: Fix Initialize mutex for PD typec designs" 2020-08-19 22:51:13 -07:00
qctecmdr
a16407c5cc Merge "arm64: defconfig: Trim genericarmv8 defconfig" 2020-08-19 20:17:49 -07:00
qctecmdr
cdc7a0e02c Merge "soc: qcom: eud: Fix inconsistent nature of the cmdline" 2020-08-19 20:17:49 -07:00
qctecmdr
05a56a8195 Merge "input: qcom-hv-haptics: toggle CAL_EN mode if HBST is in open loop" 2020-08-19 20:17:48 -07:00
qctecmdr
9b0287edec Merge "byte-cntr: Don't start usb transfer when rwp offset is invalid" 2020-08-19 20:17:48 -07:00
qctecmdr
50b6104974 Merge "defconfig: Enable scheduler Uclamp for Holi" 2020-08-19 20:17:47 -07:00
Mao Jinlong
1c03177d1a byte-cntr: Don't start usb transfer when rwp offset is invalid
Don't start usb transfer when rwp offset is invalid to avoid exception
happening when transfer usb data.

Change-Id: I7182ebb2e66131a21d65f7df0ad239c6346c0e9d
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-08-20 09:10:34 +08:00
Raghavendra Rao Ananta
bd9bea635c soc: qcom: eud: Fix inconsistent nature of the cmdline
The EUD driver's 'enable' command line argument is set to
EUD_ENABLE_CMD even if the bootloader hasn't enabled it,
which is not correct. Hence, update the 'enable' variable
based on the state of the hardware.

Change-Id: I1159436c0e9a803462f2154ccc05649d3f7b40da
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-08-19 17:11:37 -07:00
qctecmdr
2b77ca772b Merge "soc: qcom: mem-buf: Relinquish unclaimed donated memory" 2020-08-19 15:08:38 -07:00
qctecmdr
26773d2817 Merge "pci: pci-msm-msi: Re-name irq chip name for the driver" 2020-08-19 15:08:37 -07:00
qctecmdr
5e72daf3f2 Merge "pci: msm: Add support to handle ep driver requested link down" 2020-08-19 15:08:37 -07:00
Hemant Kumar
0d97dfe55c pci: msm: Add support to handle ep driver requested link down
In case PCIe endpoint driver infers link down because of
completion timeout for config space access or if link fails
to enumerate, ep driver can request to handle the link down.
This allows to stream line the link down notification to ep
driver to initiate recovery operation.

Change-Id: I652e60e570c1e90c9f96d1c197e4b5501cd60a1e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-08-19 12:25:59 -07:00
Isaac J. Manjarres
84d7f52bcb mm: Allow pages that are swapped in to come from the movable zone
Pages that are swapped out are pages that can reside in the movable
zone. However, when they are swapped in, they are restricted to the
normal zone, when they can reside in the movable zone again. Set the
GFP flags accordingly for swapin allocations, so that they can be
satisfied from the movable zone.

Change-Id: I25919034a5197a1c4f830e498d32347aa460187f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-08-19 10:36:06 -07:00
qctecmdr
65a3cf720f Merge "msm: synx: fix cleanup of fence during handle creation" 2020-08-19 09:35:25 -07:00
qctecmdr
ba3bad2943 Merge "msm: kgsl: Avoid race of fault handler and recovery" 2020-08-19 09:35:24 -07:00
Lingutla Chandrasekhar
6c32bd14fd defconfig: Enable scheduler Uclamp for Holi
Enable Uclamp for Holi, which is replacement of STUNE.

Change-Id: Ie89b57b244bc818759e63b320d9f015dba5255ec
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2020-08-19 19:36:33 +05:30
himta ram
a63da6461e arm64: defconfig: Enable CONFIG_MEDIA_RADIO_SUPPORT on Lahaina
Enable CONFIG_MEDIA_RADIO_SUPPORT on Lahaina.

Change-Id: If9111ba4ac18a27b551d78ac71278cff254e2ca6
Signed-off-by: himta ram <hram@codeaurora.org>
2020-08-19 05:27:02 -07:00
qctecmdr
8f5109a94b Merge "usb: XHCI: Implement xhci_handshake_check_state() API" 2020-08-19 01:50:26 -07:00
gkiranku
38eedef680 msm: kgsl: Avoid race of fault handler and recovery
There is a possibility of cx gdsc off timeout when stall on fault
is enabled. smmu fault handler is blocked on device mutex to keep
cx vote and dispatcher trying to turn it off for recovery. To avoid
this race condition, return from fault handler when there is contention
for device mutex.

Change-Id: Ia895152f8cf1ce9bdcfecf256558ba291dabc978
Signed-off-by: gkiranku <gkiranku@codeaurora.org>
2020-08-19 13:24:09 +05:30
Ashish Kori
937ea26ef6 spi: spi-msm-geni: Add support to disable dma mode for SPI transfers
QUPv3 controller supports different modes of data transfers for SPI.
Add support to choose only fifo mode for data transfers. Currently
SSC DMA path is broken as agnoc is not enabled. This clk is owned by
SLPI, once SLPI change is mainlined we can use DMA mode for SSC QUP
also.

Change-Id: Ie4c67be29adba9d6c5a5bb1b9eb2161a2b384100
Signed-off-by: Ashish Kori <akori@codeaurora.org>
2020-08-19 10:12:13 +05:30
qctecmdr
a8241c9e7e Merge "sched/walt: Improve the scheduler" 2020-08-18 21:37:56 -07:00
qctecmdr
47b5189297 Merge "msm: adsprpc: prevent use-after-free from fastrpc ctx" 2020-08-18 19:16:21 -07:00
Edgar Flores
0739405b7b msm: adsprpc: prevent use-after-free from fastrpc ctx
Avoid using fastrpc ctx after sending rpmsg since it may get
free during async session. During async fastrpc session there
is race condition where after sending rpmsg the ctx could be
free from async query thread.

Change-Id: I5738163096e429f19bd9b495699a1897083737b3
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
2020-08-18 16:01:12 -07:00
Keerthi Gowda Balehalli Satyanarayana
e882b7e804 arm64: defconfig: Trim genericarmv8 defconfig
Remove unwanted configs for VM.

MemTotal increased by approx. 4MB and MemFree
increased by approx. 6MB.

Change-Id: I27781fe9f2d7edf2e0464d6e9d1d5259e07cf525
Signed-off-by: Keerthi Gowda Balehalli Satyanarayana <kbalehal@codeaurora.org>
2020-08-18 14:42:00 -07:00
qctecmdr
85082b1d7a Merge "pinctrl: qcom: spmi-gpio: Add support for PMX65" 2020-08-18 14:18:23 -07:00
qctecmdr
ba763c41c2 Merge "msm: kgsl: Fix HFI start failed on SA8155" 2020-08-18 14:18:22 -07:00
qctecmdr
a290f5efa9 Merge "msm: kgsl: Add suspend_context to gmu based targets" 2020-08-18 14:18:22 -07:00
qctecmdr
580c2daadd Merge "mhi: core: Add checks for bhi and bhie offsets" 2020-08-18 14:18:21 -07:00
qctecmdr
bce0c19d8f Merge "aarch64: ABI: add kernel_restart to GKI KMI symbol list" 2020-08-18 14:18:21 -07:00
Branden Bonaby
f2f127dcdf arm64: defconfig: Set panic timeout and panic oops config
To allow the Secure VM to function similarly to the
primary VM during a panic, the panic timeout and panic
on oops configs need to be set the same way they are set
in the generic GKI configs. Currently this is not set so
the default is 0, meaning that during a panic the watchdog
becomes disabled and the system does not reboot.

Change-Id: Ib92df399da28cd8a39ad7d972fcc56fa2ad0f46a
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:18:58 -07:00
Branden Bonaby
3c963c7592 arm64: defconfig: Enabled SOC and Haven watchdog drivers
Add SOC and Haven watchdog  drivers for Lahaina.

Change-Id: Ia9283c9e7ee8cb99377bc3460f58c3433d28092a
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:18:41 -07:00
Branden Bonaby
86d73e7f8c haven: watchdog: Add virtual watchdog support
This driver takes advantage of the watchdog api in
the hypervisor through the use of ARM SMCCC calls.
It allows for communication between the watchdog
code in the kernel, and the watchdog api in the
hypervisor.

Change-Id: I9406f066fb9fd1b808a4b52a328b0c6c8185238e
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:18:12 -07:00
Branden Bonaby
04085c1d11 soc: qcom: Add qcom watchdog framework support
Refactor the soc watchdog driver to use the
qcom watchdog framework.

Change-Id: I12a6afff4299bb39cacca27bcf483e08a503add0
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:17:55 -07:00
Branden Bonaby
065a08cb14 soc: qcom: Create framework for qcom watchdogs
Separate core watchdog functionality from the qcom watchdog
driver to create a framework for other qcom watchdogs. This
will reduce the duplication of code for future watchdog
drivers and allow them to take advantage of this framework.

Change-Id: I1234af9d92de6841bd09157042a4fbba1745f11b
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:17:42 -07:00
Branden Bonaby
d71acda6dc soc: qcom: Remove watchdog percpu interrupts
Refactor watchdog core to remove the bark percpu
interrupt as it is deprecated and no longer used
by the watchdog.

Change-Id: Idbd959a7b42895d72f4f812057304687f7aca948
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:17:25 -07:00
Branden Bonaby
2492da5ed7 soc: qcom: Remove unused member variables
Refactor watchdog core to remove unused member
variables in the watchdog data structure.

Change-Id: I3a83fdb291064f25721549a3fe70f97629c148b4
Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
2020-08-18 12:17:10 -07:00