Commit graph

878,439 commits

Author SHA1 Message Date
qctecmdr
7895836686 Merge "mm: make faultaround produce old ptes" 2020-02-18 18:45:18 -08:00
qctecmdr
7c15235756 Merge "defconfig: msm: Enable QUPv3 drivers on Lahaina QGKI perf image" 2020-02-18 18:45:18 -08:00
qctecmdr
c231872b48 Merge "iommu: iommu-debug: Fix race with respect to test buffer allocation" 2020-02-18 18:45:17 -08:00
qctecmdr
ffd6caeb9c Merge "msm: cvp: Disable CVP power collapse" 2020-02-18 18:45:17 -08:00
Vivek Aknurwar
f31f05bffa clk: qcom: clk-alpha-pll: Remove already enabled warning in PLL configs
It is expected that PLLs are already enabled since
boot usually enable PLLs. clk_hw_get_name can't be
used in clock pre-registration stage since hw->core
will be NULL.

PLL already enabled warning is valid in enable path.

Change-Id: I9040426f2803e5a413d919b143de6fa59098b09b
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-02-18 17:36:18 -08:00
Chaitanya Pratapa
5634379f11 msm: ipa: Update WLAN pipes to use WLAN2 clients
This change will update the EP consumer and producer clients to WLAN2.

Change-Id: I5beb2d8ed067869f374182bde7370cd45ddd97e8
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2020-02-18 16:30:25 -08:00
qctecmdr
deb357dcf4 Merge "clk: qcom: gcc-lahaina: Enable gpu_memnoc_gfx and gpu_snoc_dvm_gfx always" 2020-02-18 14:35:53 -08:00
qctecmdr
e95684caeb Merge "haven: Pass doorbell irq number to client callback" 2020-02-18 14:35:53 -08:00
qctecmdr
2ad77720d7 Merge "power: supply: qti_battery_charger: Handle generic notification" 2020-02-18 14:35:52 -08:00
qctecmdr
7a3a08b2a4 Merge "msm: cvp: buffer managerment optimization for Lahaina" 2020-02-18 14:35:52 -08:00
Mahesh Kumar Kalikot Veetil
71a3560bd0 cnss2: Replace "%p" with "%pK"
The format specifier %p can leak kernel addresses. Use "%pK" instead.
The behaviour of "%pK" depends on the 'kptr_restrict sysctl'.

Change-Id: I65882067783100e7b9ecdc1e697b93948945b4ea
CRs-Fixed: 2616581
Signed-off-by: Mahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org>
2020-02-18 10:19:05 -08:00
Jishnu Prakash
01152db0c3 iio: adc: qcom-vadc-common: Change ADC7 die_temp output unit to mC
Change ADC7 die_temp output unit from C to mC, as thermal
framework expects temperatures to be reported in mC.

Change-Id: Ie14b745f7db625f399ac5f79b3467a1654ea4a21
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-02-18 22:47:00 +05:30
Elliot Berman
10aa2cf5ac defconfig: arm64: Enable QCOM_SCM driver
Enable QCOM_SCM driver on genericarmv8-64_defconfig.

Change-Id: I238739b4d421644ee3ce96d17c1f8adb4047579d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-18 08:38:52 -08:00
Elliot Berman
710a5ef7f1 arm64: Kconfig: Add ARCH_QCOM dependency for ARCH_QTI_VM
ARCH_QTI_VM is an ARCH_QCOM platform.

Change-Id: Ic5dd9aae9eb2457261d985eb075b2562755fb0d3
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-18 08:38:52 -08:00
Elliot Berman
f5e7418644 defconfig: arm64: Add ARCH_QCOM config
Add ARCH_QCOM to genericarmv8-64_defconfig. ARCH_QCOM selects GPIOLIB
and PINCTRL, so those options get removed from defconfig.

Change-Id: I25d7e5e36ecd115679f623ec5cb91a2134da0705
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-18 08:38:29 -08:00
Elliot Berman
ce32b9ac95 haven: Pass doorbell irq number to client callback
Clients may need irq number to handle doorbell, e.g. to use a common irq
handler framework.

Change-Id: Iab64a0ce3330eab2b8fa052e9d8b9b9856510e6a
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-18 08:31:59 -08:00
Georgi Djakov
4d7b9fbbd2 interconnect: qcom: Remove duplicate compatible string
There are duplicate compatible entries for gem_noc. Remove one of them.

Change-Id: I9c667edd88646bfcdb9d023ad7668cf683d6e5c6
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-18 06:38:47 -08:00
Georgi Djakov
51cd983d87 interconnect: qcom: Configure QoS when provider is sync stated
In the current code, QoS configuration is attempted before the votes
for MM0 are in place. That's why we may observe some hangs during boot.
Move all QoS configuration to happen during the sync_state to ensure
that the keepalive votes are already in place and also enable the
relevant interface clocks while we setup QoS.

Change-Id: Ief6817b8e32423f07fece4cf04068e7311c9f8cb
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-18 06:38:47 -08:00
Georgi Djakov
ad4e53bdd3 interconnect: qcom: Enable the QoS ports
Start enabling QoS for most of the ports. Use predefined values for
priority and urgency.

Change-Id: I5bed0ddaa63007b630ef700fb6b534cb62d4b18c
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-18 06:37:27 -08:00
Isaac J. Manjarres
bced4952ab iommu: iommu-debug: Fix race with respect to test buffer allocation
When the buffer pointed to by test_virt_addr is allocated, there
is no synchronization with respect to checking if it is necessary
to allocate the buffer. This can lead to various adversarial
scenarios, where multiple concurrent allocations of the same
buffer can occur, resulting in memory leaks.

To avoid these scenarios, make the check and allocation of the
buffer atomic with respect to other accesses to test_virt_addr.

Change-Id: Ie7e05930042b0bbf4bec0a4f1f5b325970023a5a
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-18 06:36:42 -08:00
Patrick Daly
39cc9a4594 iommu: qti: Track iommu domains
Add a new module to track iommu domains, including those which
may not currently be active. Supports multiple types of smmu
drivers.

Change-Id: Iacb98d823db8a87a2cf0868c467914847351950b
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
[isaacm@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-18 06:34:11 -08:00
Patrick Daly
209228f315 iommu: iommu-debug: Remove CONFIG_IOMMU_DEBUG_TRACKING
Remove this interface in preparation for a more modern replacement.

Change-Id: I84e6827167be54366bb78c6389131119ca6ccd33
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
[isaacm@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-18 06:33:55 -08:00
Isaac J. Manjarres
1526eb0939 arm64: defconfig: Disable CONFIG_IOMMU_DEBUG_TRACKING
Disable this Kconfig in preparation for its removal.

Change-Id: Ifff0c6d2f92b56b67b31a9c4caa8dc4d42e1ee5c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-18 06:33:39 -08:00
Dedy Lansky
f3faf2e8cf net: wireless: Add snapshot of db.txt
This change adds snapshot of the db.txt.
This snapshot is taken as of commit <d8a1c5fd0d2d8>
(net: wireless: update db.txt for 60GHz band).

Change-Id: Ibadad5ccdb006fda79b4d494a1995fb77995b953
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-02-18 16:17:23 +02:00
Alexei Avshalom Lazar
7478b98826 Revert "cfg80211: reg: remove support for built-in regdb"
This reverts commit c8c240e284.

Restore support for internal regulatory database. It is
needed since Android does not have CRDA.

Change-Id: Ie60e0f4dd450c6efbbc8643e01c946bc11b557ee
Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-02-18 16:17:16 +02:00
Georgi Djakov
df6ff70885 interconnect: qcom: Do not set any QoS for the NSP
The QoS settings for the NSP should not be configured from the HLOS side.
We’ll leave that to the CDSP image, which has the code to do this.

Change-Id: I6d7f319b69ca75e89bd02b40e185556aa68ab937
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-18 04:55:01 -08:00
qctecmdr
1e97619791 Merge "arm64: defconfig: Enable CONFIG_PANIC_ON_OOPS" 2020-02-18 00:46:01 -08:00
qctecmdr
d5b3b6eb7a Merge "arm64: defconfig: Enable QCOM watchdog for Lahaina" 2020-02-18 00:46:01 -08:00
qctecmdr
15af7d21bc Merge "iommu-debug: allocate test_virt_addr when reading it" 2020-02-18 00:46:01 -08:00
qctecmdr
72bd5c7146 Merge "lib/list_sort: fix function type mismatches" 2020-02-18 00:46:00 -08:00
qctecmdr
973c385901 Merge "defconfig: arm64: Enable wakelock feature for lahaina" 2020-02-18 00:46:00 -08:00
Mukesh Kumar Savaliya
8199eb7c65 defconfig: msm: Enable QUPv3 drivers on Lahaina QGKI perf image
Enable QUPv3(Common driver, I2C, SPI, UART, I3C and GSI) drivers
support on Lahaina QGKI defconfig for perf image.

In addition also enable Slimbus satellite driver called NGD.

Change-Id: I0201cc33e98b06f56ce57e2be83a9e3466039c98
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2020-02-18 13:02:23 +05:30
qctecmdr
f0eb9ece12 Merge "defconfig: lahaina: Enable CONFIG_EDAC_QGKI flag" 2020-02-17 21:08:38 -08:00
qctecmdr
289de54670 Merge "arm64: defconfig: Add LOCALVERSION strings for Lahaina" 2020-02-17 17:05:17 -08:00
qctecmdr
00a956f9bc Merge "Revert "pinctrl: msm: Configure interrupts as input and gpio mode"" 2020-02-17 17:05:16 -08:00
qctecmdr
b4c49deec7 Merge "soc: qcom: Add forever loop after non-secure bite configuration" 2020-02-17 17:05:16 -08:00
qctecmdr
0041159aca Merge "arm64: defconfig: Enable CPUFREQ-HW for Lahaina" 2020-02-17 09:13:20 -08:00
qctecmdr
e76088ab26 Merge "radio: RTC6226: fill device capabilities in video_device" 2020-02-17 05:20:49 -08:00
qctecmdr
64bf5d34ce Merge "clk: qcom: clk-rpmh: Wait for completion when enabling clocks" 2020-02-17 05:20:49 -08:00
qctecmdr
5db3ab05f5 Merge "defconfig: lahaina-gki: Enable USB Audio QMI Service driver" 2020-02-17 05:20:48 -08:00
qctecmdr
ed697b5005 Merge "clk: qcom: Cache vdd vote if clk is unprepared" 2020-02-17 05:20:48 -08:00
qctecmdr
2ce9a17876 Merge "leds: qti-flash: Add support for qti_flash_led_prepare()" 2020-02-17 05:20:48 -08:00
qctecmdr
907accbfb0 Merge "arm64: defconfig: Enable the mem-buf driver on Lahaina QGKI" 2020-02-17 01:36:26 -08:00
qctecmdr
f51d43dca0 Merge "msm: tsens: Add code to support thermal framework changes" 2020-02-17 01:36:26 -08:00
Naveen Yadav
46daa28e2b arm64: defconfig: Enable CPUFREQ-HW for Lahaina
Enable CPUFREQ-HW for enabling cpu frequency scaling.

Change-Id: I8fadd29676063361d8d4ea2237e9ec0e94ce8c85
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-02-17 10:15:13 +05:30
qctecmdr
9034a3fc22 Merge "thermal: adc-tm: Fix match table description and Makefile" 2020-02-16 03:54:48 -08:00
qctecmdr
bc4811bb64 Merge "arm64: defconfig: Enable memory debug configs on Lahaina" 2020-02-15 04:45:14 -08:00
qctecmdr
74fcbede00 Merge "arm64: defconfig: Enable new touchscreen on Lahaina" 2020-02-15 04:45:14 -08:00
Shyam Kumar Thella
58d77b9db0 leds: qti-flash: Add support for qti_flash_led_prepare()
qti_flash_led_prepare() API is used by flash clients (E.g. Camera) to
query maximum current available for flash. Add support for this API
which initially returns maximum current that is supported for flash
LED module (2000 mA). Also, add a sysfs parameter under switch devices
to show max available flash current.

Change-Id: I3aed009a0d7e0f34a6d05a45af34fcd0f37a6fe7
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-02-14 18:01:08 -08:00
Merugu Tharun Kumar
6403a163ef msm: adsprpc: Cache invalidate optimization
Avoid double invalidate operation by changing flags in cache
maintenance apis. Instead of invalidating whole buffer use
partial cache maintenance apis to invalidate only for length
user passed. Introducing offset based invalidate, when buffers
have partial or full overlap, avoid invalidation for overlap.
Cleaning inv_args_pre as there is no need for handling unaligned
buffers separately.

Change-Id: I7b38c3cfd924ab4f327c6dd664a087a4c9055dbb
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Merugu Tharun Kumar <mtharu@codeaurora.org>
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
2020-02-14 16:34:17 -08:00