Commit graph

892,042 commits

Author SHA1 Message Date
Veera Vegivada
c6d48fab42 clk: qcom: Add VIDEOCC clock driver for SM8150
Add the VIDEOCC clock definitions and driver support for SM8150.

Change-Id: I7874461de22f3d120d9b4c6594c003fbe2571ecb
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:58 +05:30
Veera Vegivada
9ad208e4f1 clk: qcom: Add the Camera clock driver for SM8150
Add the camera clock definitions and driver support for SM8150.

Change-Id: Ice5cef3269988f499d4dbbc619ba7c4825f207ac
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:58 +05:30
Veera Vegivada
ea4cbcb847 clk: qcom: Add GPU clock driver for SM8150
Add driver support for GPUCC clocks frequency plan.

Change-Id: Ib8e8e1d332001f8c9fd200e7494d5a0201be4937
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:57 +05:30
Veera Vegivada
1de24295c3 clk: qcom: gcc-sm8150: Update the support for gcc
Update the clock structure to support VDD data, add the support for
voltage regulators.
Also add the GPU, NPU, UFS and USB related clocks.

Change-Id: If89b02369473ca4003cdad3d02fb1c8c3cbd4cb1
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:57 +05:30
Veera Vegivada
96bd24d314 clk: qcom: alpha-pll: Export required symbols from alpla-pll
Export symbols clk_trion_pll_configure() and clk_regera_pll_configure()
so drivers as modules can use it.

Change-Id: I498b309e48b87aaab92c2395b265f1938ddb567f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:57 +05:30
Veera Vegivada
ac801eb444 dt-bindings: clock: Add dt-bindings for SM8150
Add clock controller dt-bindings for SM8150.

Change-Id: I5f3cfa965ba3191fd87f1942c200b168f67206f6
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:56 +05:30
Veera Vegivada
fab9323396 clk: qcom: sm8150: define vdd_levels enum and vdd_corner[] map
Define a vdd_levels enum and vdd_corner[] mapping table which can
be used by clock controller drivers to configure the vdd_class
associated with their clocks.

Change-Id: Iae5551770c1bda12756464fa9d2f68ae571f87e9
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-10 15:53:56 +05:30
Santosh Dronamraju
6fa1f0f18d mailbox: apcs-ipc: Add support for sm8150
The qcom-apcs-ipc-mailbox driver maps the apps
register to trigger interrupts to remote subsystems. This
change adds the correct configuration for sm8150.

Change-Id: Ie49285b5bdb1c0767b67d162585f09260665e72d
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2020-11-10 15:52:30 +05:30
qctecmdr
92efb2ac5a Merge "Correct the FM port numbers for Chk 3.x" 2020-11-09 09:59:53 -08:00
qctecmdr
259cc85af8 Merge "msm: kgsl: Do not fail after drawobj is added to context queue" 2020-11-09 09:59:52 -08:00
qctecmdr
a3b4c5531f Merge "msm: kgsl: Add support for voting vdd parent supply voltage" 2020-11-09 09:59:52 -08:00
qctecmdr
96509a115e Merge "rpmsg: rpm-smd: Add null check for irq_chip affinity callback" 2020-11-09 09:59:51 -08:00
qctecmdr
ca7e73792c Merge "f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry" 2020-11-09 04:48:55 -08:00
qctecmdr
30db81ccfa Merge "ANDROID: scsi: ufs: Handle double release of clocks" 2020-11-09 04:48:54 -08:00
qctecmdr
014cedbc8b Merge "gki: Adding GKI_VERSION to fetch corresponding images" 2020-11-09 04:48:54 -08:00
Raghavendra Kakarla
20a7398ee0 rpmsg: rpm-smd: Add null check for irq_chip affinity callback
Add the null checks for irq_chip callback while calling
affinity call of glink interrupt.

Change-Id: I62cec6ade0233094ef9a821185677b703d3ba1a3
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-11-09 14:45:58 +05:30
Satish Kodishala
2ca553c8db Correct the FM port numbers for Chk 3.x
Correct the FM port numbers for Chk 3.x.
They are currently reversed.

CRs-Fixed: 2801744
Change-Id: Id713e373b5db015830f9dc597525e1cfd5519888
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
2020-11-05 04:13:51 -08:00
qctecmdr
8543fd31f2 Merge "interconnect: qcom: sdxlemur: Set keepalive for important BCMs" 2020-11-05 01:57:25 -08:00
qctecmdr
0a416b51c7 Merge "checkpatch: Handle quotes within commit reference descriptions" 2020-11-05 01:57:25 -08:00
qctecmdr
d3e347cf5c Merge "serial: msm_geni_serial: Add new UART IPC log file in DMA mode" 2020-11-05 01:57:24 -08:00
qctecmdr
3d62af2882 Merge "defconfig: enable CPUCP drivers for yupik" 2020-11-05 01:57:24 -08:00
qctecmdr
7c87f5b6eb Merge "Netfilter: IRC: Copy nickname to proper address" 2020-11-05 01:57:24 -08:00
qctecmdr
49ab2ae400 Merge "ARM: msm: Add board config support for 32 bit NIGHTJAR" 2020-11-05 01:57:23 -08:00
qctecmdr
bcbbc3a54a Merge "devfreq: delete l2wb feature pmu events during governor stop" 2020-11-05 01:57:23 -08:00
qctecmdr
c9d2eaf4a6 Merge "cpufreq: schedutil: Queue sugov irq work on policy online cpu" 2020-11-04 14:57:12 -08:00
qctecmdr
64d7b4bd9b Merge "drivers: soc: qcom: initial support for plh scmi client driver" 2020-11-04 14:57:12 -08:00
qctecmdr
f546de6b43 Merge "scsi: ufs: Fix ufs power down/on specs violation" 2020-11-04 14:57:11 -08:00
qctecmdr
06a7c1dba5 Merge "linux: rmnet: add RMNET IOCTL for set MTU" 2020-11-04 06:07:47 -08:00
qctecmdr
ee912b37f3 Merge "msm: kgsl: Add support for RDPM frequency register writes" 2020-11-04 06:07:46 -08:00
qctecmdr
47bb7dd59c Merge "cnss2: Control ADSP power collapse based on WLAN state" 2020-11-04 06:07:46 -08:00
qctecmdr
92bbd73111 Merge "cnss2: Overload QDSS trace save indication for generic mem dump" 2020-11-04 06:07:46 -08:00
qctecmdr
8693b60144 Merge "usb: gadget: qdss: Add NULL check against channel with usb_qdss_free_req()" 2020-11-04 06:07:46 -08:00
qctecmdr
9d8a1b1f7a Merge "sched: fix compile issue" 2020-11-04 06:07:45 -08:00
Chandana Kishori Chiluveru
8f9bea1d7c serial: msm_geni_serial: Add new UART IPC log file in DMA mode
This patch adds new IPC log file to dump IRQ registers to know
the interrupt status in dma mode. This will help in debugging
interrupt storm issues in dma mode.

Also increase the IPC log buffer size.

Change-Id: I33a32e8d237769808a9c7553c9c3e6d1024d9f50
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-11-04 12:06:44 +05:30
Chandana Kishori Chiluveru
de89e43ada serial: msm_geni_serial: Add delay for rx invalid transfer
Check for RX data in rx buffer for faulty transfer and add
delay of 2 msecs delay in order for dma rx transfer
to be actually completed.

Also dump required qup registers when the uart dma rx data is
seen as all zeros.

Change-Id: Ifaa0cb7d22b8419ffacfee7212b0a28ed8ebf2a1
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-11-04 11:54:34 +05:30
Santosh Mardi
25253a2705 devfreq: delete l2wb feature pmu events during governor stop
Delete l2wb and l3 access pmu events when the governor
is stopped.

Change-Id: If443cb6b53e2ad43ebee04a1fc3274a31b05e5b9
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-11-04 11:50:26 +05:30
Santosh Mardi
73ee91fc44 drivers: soc: qcom: read current counter value before PMU save
Call perf_event_read_local() to update current counter value
in hw_perf_event structure before saving PMU snapshot to
shared memory.

Change-Id: Id5945cd6b6c9fab6f87917224b5b5f54dca5ef9c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-11-04 11:32:18 +05:30
Santosh Mardi
273a638613 defconfig: enable CPUCP drivers for yupik
Enable required drivers for CPUCP communication on
yupik target.

Change-Id: Ia47a867118e3eadf011228ef21c6a2c87ac7efa4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-11-03 20:03:24 -08:00
Wuyun Zhao
a30c81fea9 f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry
Under some condition, the __write_node_page will submit a page which is not
f2fs_in_warm_node_list and will not call f2fs_add_fsync_node_entry.
f2fs_gc continue to run to invoke f2fs_iget -> do_read_inode to read the same node page
and set code node, which make f2fs_in_warm_node_list become true,
that will cause f2fs_bug_on in f2fs_del_fsync_node_entry when f2fs_write_end_io called.

- f2fs_write_end_io
					- f2fs_iget
					 - do_read_inode
					  - set_cold_node
					  recover cold node flag
 - f2fs_in_warm_node_list
  - is_cold_node
  if node is cold, assume we have added
  node to fsync_node_list during writepages()
 - f2fs_del_fsync_node_entry
  - f2fs_bug_on() due to node page
  is not in fsync_node_list

[   34.966133] Call trace:
[   34.969902]  f2fs_del_fsync_node_entry+0x100/0x108
[   34.976071]  f2fs_write_end_io+0x1e0/0x288
[   34.981539]  bio_endio+0x248/0x270
[   34.986289]  blk_update_request+0x2b0/0x4d8
[   34.991841]  scsi_end_request+0x40/0x440
[   34.997126]  scsi_io_completion+0xa4/0x748
[   35.002593]  scsi_finish_command+0xdc/0x110
[   35.008143]  scsi_softirq_done+0x118/0x150
[   35.013610]  blk_done_softirq+0x8c/0xe8
[   35.018811]  __do_softirq+0x2e8/0x578
[   35.023828]  irq_exit+0xfc/0x120
[   35.028398]  handle_IPI+0x1d8/0x330
[   35.033233]  gic_handle_irq+0x110/0x1d4
[   35.038433]  el1_irq+0xb4/0x130
[   35.042917]  kmem_cache_alloc+0x3f0/0x418
[   35.048288]  radix_tree_node_alloc+0x50/0xf8
[   35.053933]  __radix_tree_create+0xf8/0x188
[   35.059484]  __radix_tree_insert+0x3c/0x128
[   35.065035]  add_gc_inode+0x90/0x118
[   35.069967]  f2fs_gc+0x1b80/0x2d70
[   35.074718]  f2fs_disable_checkpoint+0x94/0x1d0
[   35.080621]  f2fs_fill_super+0x10c4/0x1b88
[   35.086088]  mount_bdev+0x194/0x1e0
[   35.090923]  f2fs_mount+0x40/0x50
[   35.095589]  mount_fs+0xb4/0x190
[   35.100159]  vfs_kern_mount+0x80/0x1d8
[   35.105260]  do_mount+0x478/0xf18
[   35.109926]  ksys_mount+0x90/0xd0
[   35.114592]  __arm64_sys_mount+0x24/0x38

Change-Id: I495123d15908293ccc866bc60e6adc230bc2f5fd
Signed-off-by: Wuyun Zhao <zhaowuyun@wingtech.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Git-commit: db5ae363292705d52c5b653d5079a07a6417ef4c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2020-11-04 08:58:25 +05:30
Paras Singh Jain
a809d69a40 Netfilter: IRC: Copy nickname to proper address
Fix to copy nickname to address provided by
nickname pointer and avoid overwriting
pointer value.

Change-Id: I8746d8249e807299ae3bec36f6ed9934d8c1628a
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-11-03 10:25:10 -08:00
Gaurav Singh
1a96b0ead8 drivers: soc: qcom: initial support for plh scmi client driver
Add initial support for plh scmi client driver which registers
into scmi framework for plh vendor protocol extension.
Also registers with plh interface driver msm_performance.

Change-Id: I448a714486ff4c7ea38cbeeec1ddb5e183b76e65
Signed-off-by: Gaurav Singh <sgaurav@codeaurora.org>
2020-11-03 06:44:11 -08:00
Gaurav Singh
1efbc7e966 Firmware: arm_scmi: initial support for plh vendor protocol
The perf lock hardening protocol is intended for the management
of perf lock hardening on RIMPS.
The commands in this protocol provide functionality to configure
plh details, plh tunables, configuring the log levels and
debugging support.

Change-Id: I9f5292ee3e32a038160e66d38ec15637a55458fd
Signed-off-by: Gaurav Singh <sgaurav@codeaurora.org>
2020-11-03 06:43:46 -08:00
qctecmdr
8c86f95982 Merge "drm/bridge: lt9611uxc: add hpd support for lt9611uxc" 2020-11-02 20:59:38 -08:00
qctecmdr
c0d9738fcd Merge "Merge android11-5.4.61+ (874de1d) into msm-5.4" 2020-11-02 20:59:38 -08:00
qctecmdr
160bf6e6d6 Merge "pci: msm: Add support to handle DRV power collapse" 2020-11-02 20:59:38 -08:00
qctecmdr
770c7141e8 Merge "arm: defconfig: Enable TSENS driver for sdxlemur" 2020-11-02 20:59:37 -08:00
qctecmdr
6da09c4559 Merge "clk: qcom: gdsc-regulator: Extend the support for ACD reset" 2020-11-02 20:59:37 -08:00
qctecmdr
e43996e3bb Merge "msm: kgsl: Don't skip gmufw preallocations during firmware read" 2020-11-02 20:59:37 -08:00
qctecmdr
69a33a0555 Merge "mtd: msm_qpic_nand: Add a check to read an ONFI parameter page" 2020-11-02 20:59:36 -08:00
Monika Singh
d189e4ea6d ANDROID: scsi: ufs: Handle double release of clocks
Remove double release of UFS clocks when
ufshcd_prepare_lrbp_crypto fails for any reason.

Change-Id: Icf427330a08d1841ade1724322885be765102a79
Signed-off-by: Monika Singh <monising@codeaurora.org>
2020-11-03 09:43:05 +05:30