Commit graph

892,051 commits

Author SHA1 Message Date
Ram Chandrasekar
ec7aeba76f defconfig: arm64: Enable DDR cooling device for lahaina
Enable DDR cooling device for Lahaina. This cooling device can place a
DDR vote to maintain a minimum performance level.

Change-Id: Id9f157c43d75887f05150694ec4a0db43c926c45
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-11-10 08:49:29 -08:00
Ram Chandrasekar
728c44c098 drivers: thermal: Add a new DDR cooling device
Add a new DDR cooling device which can request for a DDR state as a part
of cooling device request. This will help in the situation where DDR has
to be kept at a specific state during thermally constrained situations.

Change-Id: Ic1108cc86424c03e7cb176d595c534e5905c103a
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-11-10 08:49:19 -08:00
qctecmdr
295a7cb934 Merge "pinctrl: qcom: spmi-gpio: Add support for PMD9650" 2020-11-09 23:34:44 -08:00
qctecmdr
67665e9ea4 Merge "power: smblite-lib/smb5-lib: Fix partner registration for microusb" 2020-11-09 23:34:43 -08:00
qctecmdr
7f439aa4a9 Merge "msm: ep_pcie: Clear PERST_RAW_RESET_STATUS after link training" 2020-11-09 23:34:43 -08:00
qctecmdr
fb456054b8 Merge "input: touchscreen: Remove linking across different modules" 2020-11-09 23:34:43 -08:00
qctecmdr
c560170820 Merge "defconfig: enable rimps plh interface" 2020-11-09 23:34:42 -08:00
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
Siddartha Mohanadoss
e7ff4a4ecf msm: ep_pcie: Clear PERST_RAW_RESET_STATUS after link training
Clear AOSS_CC_RESET_STATUS::PERST_RAW_RESET_STATUS
after PCIe link training in HLOS. Failure to clear it in
HLOS will result in PBL to consider it a controller reset
pending state during warm reset and initiate a controller
reset even if the PCIe link is up.

Change-Id: I3e5b89181be29062f79e4c5ace1863124367c72c
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2020-11-06 09:23:23 -08:00
Siddartha Mohanadoss
b3b4878e49 msm: ep_pcie: Add support to control pipe clock mux
Toggle between tcxo and phy pipe clock as part of
LPM sequence. Switch the source to XO before disabling
PCIe gdsc to avoid PCIe gdsc to be stuck until source
is switched to XO.

Change-Id: Ie2044da622962ff316319e7891974621e5c0ee92
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2020-11-06 09:23:17 -08:00
Kavya Nunna
a00317108c power: smblite-lib/smb5-lib: Fix partner registration for microusb
Typec attach_detach handler gets executed which is not
expected for micro-usb design. Return from type-C attach-detach
handler for micro-usb stack.

Change-Id: Ia7bfe6b407757663be4f7d143ccd88a60079657b
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-11-06 10:24:04 +05:30
Kavya Nunna
325d5f396f power: smblite-lib/smb5-lib: Add partner registration for microusb otg
Add partner registration for otg to provide UX. USB_HAL expects
power_role and data_role to be updated for the notification to UI.
Update power_role and data_role for microusb otg.

Change-Id: I741df638e18a400c862845bddd5bb19130adecd7
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-11-06 10:23:49 +05:30
Siddartha Mohanadoss
77bd2d1044 msm: ep_pcie: add PCIe endpoint driver snapshot
Snapshot of PCIe endpoint driver as of msm-4.14.

'commit <adeff59> (""drivers: clk: msm:
fix compilation for non DEBUG_FS build"")'.

The following changes were done:
-Replace msm_bus driver with interconnect framework.
-Remove iommu deprecated API's.
-Fix checkpatch warnings on usage of module param.
-Fix several checkpatch warnings.

Change-Id: I04ee8f5d5802af0aa0cdd607a79c91e3eca7f194
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2020-11-05 09:50:23 -08:00
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
Ravikanth Tuniki
cd6c99dc88 input: touchscreen: Remove linking across different modules
Remove linking and create dependency by exporting the function
in synaptics touch driver.

Change-Id: I494d61fafbed516a39972521b14b0bfc2337b3bd
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2020-11-05 10:45:48 +05:30
Ravikanth Tuniki
e4e5585516 input: touchscreen: Enable Synaptics tcm Modules
Add Synaptics Touch Driver as Modules for Holi GKI.

Change-Id: Id40deb882a80624b702731576effd43a6d43da4a
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2020-11-05 10:34:19 +05:30
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
Gaurav Singh
8897d96198 defconfig: enable rimps plh interface
Enables SCMI PLH protocol, SCMI client and RIMPS
PLH interface.

Change-Id: I837c8689e377d53ffb3fb323f2541eb1f0584f45
Signed-off-by: Gaurav Singh <sgaurav@codeaurora.org>
2020-11-03 18:12:02 -08:00
Gaurav Singh
9d8197eb10 drivers: soc: qcom: msm_performance: plh interface support
Initial support of rimps PLH interface.
This interface exposes sysfs nodes required to configure
PLH running in rimps.

Change-Id: I18a4cfc346b7923dc083a0433a1993df964dba86
Signed-off-by: Gaurav Singh <sgaurav@codeaurora.org>
2020-11-03 18:08:51 -08:00
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