Commit graph

877,183 commits

Author SHA1 Message Date
David Collins
acbb167a16 defconfig: lahaina: remove disablement of SPMI temp alarm driver
CONFIG_QCOM_SPMI_TEMP_ALARM is incorrectly disabled in
lahaina_QGKI.config and lahaina_debug.config.  Remove this
disablement so that the SPMI temp alarm driver is compiled
in both GKI and QGKI builds.

Change-Id: I2f54dae62dabe50758974c70f39f713141d16d8f
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-01-30 16:38:46 -08:00
qctecmdr
addcafbc89 Merge "defconfig: enable schedutil governor on Lahaina" 2020-01-29 20:50:45 -08:00
qctecmdr
5898582bda Merge "net: qrtr: Introduce MHI transport for qrtr" 2020-01-29 20:50:45 -08:00
qctecmdr
e9130c5963 Merge "regulator: rpmh-regulator: support parent supply specification in subnodes" 2020-01-29 20:50:45 -08:00
qctecmdr
7d0324ab17 Merge "msm: cvp: Use compiler data type in uapi" 2020-01-29 20:50:44 -08:00
qctecmdr
5e7a256761 Merge "clk: qcom: clk-rpmh: Mark rfclka2 as optional for Lahaina" 2020-01-29 15:32:56 -08:00
qctecmdr
41c90d480a Merge "psi: Use deferrable psi_avgs_work" 2020-01-29 15:32:56 -08:00
qctecmdr
e1007d065f Merge "sched/fair: consider uclamp boost while deciding the start_cpu" 2020-01-28 08:04:51 -08:00
qctecmdr
b325307ce5 Merge "regulator: qcom_pm8008: correct parent supply voltage voting" 2020-01-28 08:04:50 -08:00
qctecmdr
b1f377f8e9 Merge "iommu/arm-smmu: log outstanding transactions on sync timeout" 2020-01-28 08:04:50 -08:00
qctecmdr
154900b51b Merge "regulator: qcom_pm8008-regulator: correct chip-en chip variable type" 2020-01-28 02:41:33 -08:00
qctecmdr
9d88952dd4 Merge "regulator: refgen: add support for proxy consumers" 2020-01-28 02:41:33 -08:00
qctecmdr
5f6b078629 Merge "msm: pcie: update PCIe RC and MSI driver to compile as GKI modules" 2020-01-28 02:41:31 -08:00
qctecmdr
b7906ffb6d Merge "dwc3: gadget: Fix dr_mode check with USB device mode APIs" 2020-01-27 20:21:00 -08:00
qctecmdr
d0e6ace9d5 Merge "interconnect: qcom: Add QoS config support" 2020-01-27 20:21:00 -08:00
qctecmdr
d129a56a31 Merge "PM / devfreq: Make governor registration less verbose" 2020-01-27 20:20:59 -08:00
qctecmdr
468d86d1fd Merge "wil6210: fix vendor command policy for vendor unspec commands" 2020-01-27 20:20:59 -08:00
qctecmdr
bfab88fcd6 Merge "arm64: defconfig: Enable CMA performance optimizations on Lahaina" 2020-01-27 20:20:59 -08:00
Mike Tipton
f9fea2da9a clk: qcom: clk-rpmh: Mark rfclka2 as optional for Lahaina
Mark rfclka2 as an optional clock for Lahaina. This clock is currently
unused on our internal development boards and thus isn't populated in
cmd_db. It could be used on future boards, so don't remove it entirely.

Change-Id: I0f216e14e675196d4817c89db730d40f1e20aba1
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-01-27 15:33:56 -08:00
Shaleen Agrawal
ac4fd2f97f defconfig: enable schedutil governor on Lahaina
Enable schedutil governor as part of lahaina port.

Change-Id: I8b04c587fb217fe0333593c95b4e9afc4af83427
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-01-27 13:59:47 -08:00
qctecmdr
1bf7671f03 Merge "defconfig: lahaina-gki: enable the qcom_pm8008-regulator driver" 2020-01-27 13:53:31 -08:00
qctecmdr
57241317ab Merge "defconfig: lahaina: enable the battery charger driver" 2020-01-27 13:53:30 -08:00
qctecmdr
9f3b06dc62 Merge "arm64: defconfig: Enable SG support in Lahaina GKI" 2020-01-27 13:53:29 -08:00
qctecmdr
3ee13ad157 Merge "usb: gadget: f_cdev: Fix func_suspend" 2020-01-27 13:41:00 -08:00
qctecmdr
6b47c82f48 Merge "mhi: Export more symbols" 2020-01-27 13:41:00 -08:00
qctecmdr
786200ca58 Merge "arm64: defconfig: Enable CFI_PERMISSIVE flag" 2020-01-27 13:41:00 -08:00
Ruofei Ma
fc665a4e64 msm: cvp: Use compiler data type in uapi
Move to use compiler data type instead of C keyword in
uapi.

Change-Id: I814863cbd1969654fd6c4203d863679874cc7892
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
2020-01-27 13:00:11 -08:00
qctecmdr
0dbcf5d8eb Merge "iommu/arm-smmu: Fix memory leak with respect to TBU data structures" 2020-01-26 04:10:13 -08:00
qctecmdr
2f4f901935 Merge "mm: fix the use of ALLOC_CMA" 2020-01-26 04:10:13 -08:00
Chris Goldsworthy
b4a6f88e58 iommu/arm-smmu: log outstanding transactions on sync timeout
On a TLB sync timeout for a given SMMU, dump the outstanding transaction
bitmap for each of its TBUs.  Additionally, introduce a sync_timed_out flag
for each SMMU to be present with the enabling of CONFIG_IOMMU_DEBUG to (1)
ensure that only one thread performs the relevant logging and BUG_ON()
during a sync timeout, and (2) prevent other incoming threads from
triggering further timeouts, which can overwrite the SMMU state data that
would contain information on the initial sync timeout.

Change-Id: I43855ecc51ddd2f3a1a287a39c123784c54ad538
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-01-25 22:05:08 -08:00
qctecmdr
0300f957f5 Merge "msm: kgsl: Remove icc path from gmu device" 2020-01-25 03:42:49 -08:00
qctecmdr
fc7c6abaea Merge "Example kernel headers header_lib package" 2020-01-25 03:42:49 -08:00
qctecmdr
3ae91cab0d Merge "arm64: defconfig: Re-enable USB_F_FS_IPC_LOGGING for lahaina_debug" 2020-01-25 03:42:49 -08:00
qctecmdr
30e09ecb9f Merge "defconfig: Add kernel hardening features" 2020-01-25 03:42:48 -08:00
qctecmdr
b1c328c697 Merge "net: cnss2: Build generic netlink support by default" 2020-01-24 17:58:35 -08:00
qctecmdr
bd193f8ca9 Merge "msm: ipa4: Fix to unmap the page if skb allocation failed" 2020-01-24 17:58:35 -08:00
qctecmdr
1adc5749d2 Merge "msm: kgsl: Remove write-only register from snapshot" 2020-01-24 17:58:34 -08:00
qctecmdr
a34fbd7bd4 Merge "input: touchscreen: Add new Focaltech touch driver" 2020-01-24 17:58:34 -08:00
David Dai
91f43c8e38 interconnect: qcom: Add QoS config support
Introduce support to initialize QoS settings for
QNOC platforms.

Change-Id: I17a237e88f21f7bbc98621d072fff9c1b1bc6403
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2020-01-24 14:05:43 -08:00
Chris Lew
61a6bc5bf3 net: qrtr: Introduce MHI transport for qrtr
MHI is used to communicate with external modems. Add MHI support for
QRTR to support QMI traffic between an external modem and the local
processor.

This change squashes the following commits from msm-4.14:
  commit cb30e68df75b ("qrtr: Introduce MHI transport for qrtr")
  commit 09915150093b ("qrtr: mhi: Configure IPC mhi channel to autostart")
  commit 76663f56fb8c ("net: qrtr: mhi: Create list for pending ul
                       transfers")
  commit 7be78c8d6afa ("net: qrtr: mhi: Register for early notifications")
  commit c0e7627fca46 ("net: qrtr: mhi: Use spin_lock_bh in
                       qcom_mhi_qrtr_send")
  commit e5f6a6769ceb ("net: qrtr: Add forwarding support based on net id")
  commit a42f90b127d8 ("net: qrtr: Make qrtr rx threads as RT priorities")
  commit 3358eee17fec ("net: qrtr: Send HELLO message on endpoint
		       register")

This change squashes the following commits from msm-4.19:
  commit 35ea4352871d ("net: qrtr: mhi: check whether ul pkt list is
		       empty")

Change-Id: I8d3ba9e9d48a7c37e21031c2ad1f27329dfdab6d
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-01-24 14:02:44 -08:00
Amir Vajid
315786328d PM / devfreq: Make governor registration less verbose
Several devfreq governors print to kernel logs for each
device that registers. Update them to only print when
debugging is enabled.

Change-Id: Id7cf8c9ef70363cdfd4fc1fc72b109f28ab07288
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2020-01-24 11:17:39 -08:00
David Collins
9991ef652c regulator: qcom_pm8008-regulator: correct chip-en chip variable type
Change the struct type of the "chip" variable in the chip-en
regulator callbacks from "struct pm8008_regulator *" to the
correct type: "struct pm8008_chip *".

Change-Id: I3f93ec629e791e4bc8da24222c005d681d168f82
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-01-24 10:38:05 -08:00
qctecmdr
1ee0801df1 Merge "Merge android-5.4.5 (9cdc723) into msm-5.4" 2020-01-23 20:04:58 -08:00
Jordan Crouse
e7378399f9 mhi: Export more symbols
Export mhi_device_configure to avoid the following modpost error:

ERROR: "mhi_device_configure" [drivers/bus/mhi/devices/mhi_satellite.ko]
undefined.

Change-Id: Ic0dedbada3dd6d3cd760727fe7076dbcfccdfc93
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-01-23 18:47:44 -08:00
Jordan Crouse
5ccad5a6da mhi: Fix compile errors
module_init() was incorrectly used instead of module_exit(). Fix
the macro and the exit function for the correct prototype. Slightly
adjust a function callback to match the header prototype and add a
missing variable.

Fixes: 689af8a2e0a ("mhi: add snapshot for MHI driver stack").

Change-Id: Ic0dedbad55f535efd0d77b9bb3ff0ea1e25d6f3a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-01-23 18:47:27 -08:00
Tony Truong
da0e7ccfa4 msm: pcie: update PCIe RC and MSI driver to compile as GKI modules
Add required changes so that PCIe root complex and MSI driver
will compile as GKI modules.

Change-Id: Ic34098be2af217dc4ff004817625be90c5dbfd3f
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-23 18:44:00 -08:00
David Collins
4cff6add5d regulator: qcom_pm8008: correct parent supply voltage voting
Make a request for the parent supply voltage (with headroom
included) inside of pm8008_regulator_enable().  This ensures that
the required headroom is enforced if a consumer calls
regulator_disable() followed by regulator_enable() for one of
the PM8008 LDO regulators.

Also, change the procedure used to request the parent supply
voltage inside of pm8008_regulator_set_voltage().  The parent
voltage request should only be made if the PM8008 LDO is enabled.
Additionally, the request should be made after the PM8008 LDO
voltage is changed if the voltage is being reduced.  This ensures
that there are no transient headroom voltage violations.

Change-Id: Ic008689e3cb6361265767fe7daa36cf4d14ae0f3
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-01-23 18:02:58 -08:00
Prakruthi Deepak Heragu
d935788fb2 arm64: defconfig: Enable CFI_PERMISSIVE flag
Enable this flag so that kernel doesn't panic if there is a CFI error.

Change-Id: I4de6076639aa0db19a4fcc36d94048a0c3651917
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-01-23 16:44:07 -08:00
Prakruthi Deepak Heragu
b3c2bf5498 scripts: gki: Add LD to make args to enable CFI/LTO
Include LD also as a make argument to enable CFI to satisfy the
ld.lld requirement in order to enable CONFIG_LD_IS_LLD.

Change-Id: I1ffa90fd88cbd2e953137380186e30cfd4e12b16
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-01-23 16:37:57 -08:00
qctecmdr
187d2284fd Merge "arm64: defconfig: Enable TSENS driver for lahaina" 2020-01-23 08:18:16 -08:00