Commit graph

890,822 commits

Author SHA1 Message Date
Faiyaz Mohammed
47b2cb7ab2 iommu: arm-smmu: update access to SMMU TCU testbus registers with scm call
Update access to SMMU TCU testbus and testbus_sel registers using scm.

Change-Id: I5a125070977ffa061a8ee94fdbd9f56603c00a82
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
[guptap@codeaurora.org: resolved trival merge conflicts]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-09-15 09:19:53 +05:30
Prakash Gupta
d989e632a5 defconfig: arm64: enable SMMU TESTBUS configs
Enable ARM_SMMU_TESTBUS_DEBUGFS and CONFIG_ARM_SMMU_TESTBUS_DUMP config.

Change-Id: I5470b79f888c5358646abf358e97dcf257014d10
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-09-15 09:19:53 +05:30
Vijayanand Jitta
9d67a36c0c iommu: arm-smmu: add testbus support for smmuv500
add a debugfs interface to support testbus also add an interface for
dumping testbus information, module parameters tcu_testbus_sel and
tbu_testbus_sel can be used for selecting different testbuses to dump
on tcu and tbu respectively.

Change-Id: I1bf420db053458b2ce1f43dc544c0776a3f4d176
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
[isaacm@codeaurora.org: introduced CONFIG_ARM_SMMU_TESTBUS_DEBUGFS]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
[guptap@codeaurora.org: resolved merge conflict]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-09-15 09:19:53 +05:30
qctecmdr
65d212e2e0 Merge "clk: qcom: lahaina: Add runtime_pm support" 2020-09-14 17:26:15 -07:00
qctecmdr
26ef6f324c Merge "clk: qcom: clk-rpmh: Add div_clk1 for Lahaina" 2020-09-14 17:26:15 -07:00
qctecmdr
7b54b39b21 Merge "soc: qcom: pil: track secure pages used by pil" 2020-09-14 06:19:36 -07:00
qctecmdr
c93faef925 Merge "serial: msm_geni_serial: Register normal suspend instead of suspend_noirq" 2020-09-14 06:19:36 -07:00
qctecmdr
6bebf92411 Merge "msm: kgsl: Add gcc_bimc_gpu_axi clock to smmu clock voteable list" 2020-09-14 06:19:35 -07:00
qctecmdr
9948a5bf34 Merge "defconfig: enable memlat hw log driver" 2020-09-14 06:19:35 -07:00
qctecmdr
522ef8875f Merge "clk: qcom: smd-rpm: Add panic notifier in HOLI" 2020-09-14 00:22:43 -07:00
qctecmdr
49212527fb Merge "mm/Kconfig: Default Enable LIMIT_MOVABLE_ZONE_ALLOC" 2020-09-14 00:22:43 -07:00
qctecmdr
35433c760e Merge "msm: kgsl: Skip state change in idle check, if requested state is NONE" 2020-09-14 00:22:42 -07:00
qctecmdr
1f716a06c5 Merge "msm-perf: Added node for perf notification" 2020-09-14 00:22:42 -07:00
Akash Asthana
47de94afaf serial: msm_geni_serial: Register normal suspend instead of suspend_noirq
While executing suspend_noirq callbacks non-wakeup interrupts are
disabled, wake-up interrupts are enabled but their handling is
deferred till the completion of suspend_noirq stage.

UART console vote/unvote the resources in suspend_noirq/resume_noirq
stages. There is no issue wrt managing clk and pinctrl resources at
noirq stage however ICC BW voting can't be done at noirq stage.

ICC requests are converted to ack based requested for RPM driver, the
ack here is nothing but interrupt from IPCC driver and it can't be
processed at noirq stage, hence flow is indefinitely stuck in UART
suspend_noirq callback.

Change-Id: Ie279580795d3c85db4dc42766b0b2d9a8adb3f00
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-09-14 12:39:01 +05:30
qctecmdr
4637ca5f0b Merge "msm: kgsl: Enable IFPC for A660 GPU variant" 2020-09-13 21:34:20 -07:00
qctecmdr
a6f1022c82 Merge "input: qcom-hv-haptics: read CAL_TLRA_CL_STS from SDAM after boot up" 2020-09-13 21:34:19 -07:00
qctecmdr
0f27a47479 Merge "power: step-chg-jeita: Add support to tune hysteresis for jeita-fcc-step" 2020-09-13 21:34:19 -07:00
qctecmdr
135494c096 Merge "power: battery: Fix typo for cp_slave channel name" 2020-09-13 21:34:18 -07:00
qctecmdr
abf363fab0 Merge "clk: qcom: gdsc-regulator: Update support to skip GDSC disable" 2020-09-13 21:34:18 -07:00
qctecmdr
f2de41e350 Merge "msm; kgsl: Correct secure pagetable pointer check" 2020-09-13 21:34:17 -07:00
qctecmdr
6688d82520 Merge "defconfig: lahaina-qgki: Enable CONFIG_PSTORE_PMSG" 2020-09-13 21:34:17 -07:00
richagar
5190e75017 msm-perf: Added node for perf notification
Added support for notifying hints from userspace

Change-Id: I3af1951614e4cd20826a595c6fca23b18c5a749b
Signed-off-by: richagar <richagar@codeaurora.org>
2020-09-13 21:23:41 -07:00
qctecmdr
98a140af35 Merge "sched/fair: Improve the scheduler" 2020-09-13 18:52:20 -07:00
Huang Yiwei
5213f0e7b7 defconfig: lahaina-qgki: Enable CONFIG_PSTORE_PMSG
Enable CONFIG_PSTORE_PMSG to collect user-space log.

Change-Id: I2c1a5482e7fe1bb28a953c777ecb7459b8958b9b
Signed-off-by: Huang Yiwei <hyiwei@codeaurora.org>
2020-09-14 09:36:36 +08:00
qctecmdr
3eb36f7420 Merge "soc: qcom: msm_perf: fix error checks" 2020-09-13 16:08:31 -07:00
qctecmdr
4fab22c7c1 Merge "binder: update low_latency selection for binder transactions" 2020-09-13 16:08:30 -07:00
qctecmdr
3462a9fc21 Merge "cnss2: Set CNSS PM ops to PM domain" 2020-09-13 16:08:29 -07:00
qctecmdr
1a9824ba7e Merge "msm: kgsl: Sending KGSL events to msm perf module" 2020-09-13 12:56:20 -07:00
Aman Mehta
37a0c3378e msm: kgsl: Sending KGSL events to msm perf module
Add msm performance module function calls to send
kgsl queue, submit and retired events. These events
will be accessed by userspace through msm performance
module to apply dynamic performance boosts.

Change-Id: I6d93831e5fe821032b8e32c52e88b72ab102f6a2
Signed-off-by: Aman Mehta <amanmeht@codeaurora.org>
2020-09-13 10:44:56 -07:00
qctecmdr
63eae4e5e5 Merge "staging: android: ion: Remove system heap aliasing" 2020-09-13 10:05:31 -07:00
qctecmdr
8b8ecf1c69 Merge "input: touchscreen: synaptics_dsx: add new touch driver" 2020-09-13 10:05:31 -07:00
qctecmdr
0cfcff8f38 Merge "dt-bindings: iio: add smb139x IIO channels" 2020-09-13 07:15:09 -07:00
qctecmdr
adece9b4f0 Merge "power: smb1398: Update min-ilim setting to 1A" 2020-09-13 07:15:07 -07:00
qctecmdr
effaca9a39 Merge "scsi: ufs: Add fixup_dev_quirks vops on qcom platform" 2020-09-13 01:13:33 -07:00
qctecmdr
7e0c8f5f14 Merge "soc: qcom: mem-buf: Fix memory leak in mem_buf_alloc()" 2020-09-13 01:13:33 -07:00
qctecmdr
b05a1ae428 Merge "haven: Add support for the MEM_ACCEPTED notification" 2020-09-13 01:13:33 -07:00
qctecmdr
8e7791b3c0 Merge "cnss2: Add cnss_smmu_unmap API" 2020-09-13 01:13:32 -07:00
qctecmdr
4335979f35 Merge "power: supply: qti_battery_charger: Fix FCC configuration" 2020-09-13 01:13:32 -07:00
qctecmdr
77d8e38f16 Merge "soc: qcom: pmic_glink: add an error log when pmic_glink_write fails" 2020-09-13 01:13:31 -07:00
qctecmdr
4ef01dfe34 Merge "hwmon: qti_amoled_ecm: add debug log for nvmem writes" 2020-09-13 01:13:31 -07:00
qctecmdr
815c8456aa Merge "power: smblite: Add snapshot of SMBLITE driver and its dependencies" 2020-09-13 01:13:30 -07:00
qctecmdr
37fbddf552 Merge "irqchip: gicv3: add hardware irq print in gic_show_resume_irq()" 2020-09-13 01:13:30 -07:00
Santosh Mardi
08e48727b4 defconfig: enable memlat hw log driver
Enable memlat hw logging driver, required to collect
the logs from memlat hw, and dump in dedicated buffers
through ipc logging framework.

Change-Id: I391040be6bd110e96e96cdf0a3fbf7f34f0d9111
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 06:21:11 -07:00
Santosh Mardi
05133b02a8 drivers: soc: qcom: add initial support for rimps logging
Add initial support of rimps logging, this driver introduces
the infrastructure required to collect the logs received from
rimps and dump into ipc logging buffers.

Change-Id: Ic7b86fcf5935ada5fa5008774a9363faa40960ce
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 06:21:04 -07:00
Santosh Mardi
f22ffb695c defconfig: enable RIMPS memlat drivers
Enable SCMI memlat protocol, SCMI client and RIMPS
memlat interface driver.

Change-Id: Ia16ffedba3a64a47370aaa51755e9580f1c83a5e
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 18:47:54 +05:30
Santosh Mardi
d4a0405a4a drivers: soc: qcom: add initial support of rimps memlat interface
Add initial support of rimps memlat interface driver, this driver
expose sysfs nodes required to configure memlat governor running
in rimps, it also supports the rimps dump utility required for
debugging.

Change-Id: Ibb691b601cf5c05b50dc31488a1653cc239fb0f1
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 18:47:46 +05:30
Ashish Chavan
1a3b9a3582 power: step-chg-jeita: Add support to tune hysteresis for jeita-fcc-step
Allow configuring the rising and falling hysteresis to allow better fine
tuning of the charge current across battery temperature thresholds.

Change-Id: I88419d0694f0e70a6f1115e144685381e29cfd96
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-11 20:13:13 -07:00
Mike Tipton
5004b21405 clk: qcom: lahaina: Add runtime_pm support
Add runtime_pm support for clock providers which have register access
requirements that aren't always satisfied.

Stop registers clocks previously flagged as CLK_IS_CRITICAL, since doing
so means the device is always active and suspend is never called.
Instead, just enable these clocks by default in HW during probe.

Change-Id: I34cf74080745b627b3978fafd9eb8bbde4bb655e
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:12 -07:00
Mike Tipton
7c2b115d51 clk: qcom: clk-debug: Resume devices before accessing HW
Resume and suspend devices in debugfs handlers around accessing HW
registers to prevent bus errors.

Change-Id: I9db208f0d82a504af60cf252e5d3691b9903f8cd
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:12 -07:00
Mike Tipton
fdffc47313 clk: qcom: Add functions to suspend or resume a clk_regmap's device
Add helper functions to suspend or resume the device associated with a
clk_regmap.

Change-Id: Ie4e47fce64e2052ffacdc3a8cd56fc69758d70fb
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:11 -07:00