Commit Graph

1023649 Commits

Author SHA1 Message Date
qctecmdr
715f35518b Merge "soc: qcom: llcc: Updated snapshot of llcc tcm driver for msm-5.10" 2023-04-11 22:58:45 -07:00
qctecmdr
76ce52f7ef Merge "msm: kgsl: Fix cache mode used for kernel side mapping" 2023-04-11 21:03:21 -07:00
Anaadi Mishra
689b6f9fa9 clk: qcom: gcc: Add pwm clocks to support pdm_pwm on ANORAK
Add gcc_pwm0_xo512_div_clk_src as parent of gcc_pwm0_xo512_clk
to support the pdm_pwm functionality.

Change-Id: I226dbb1c401f93816291915ecddb4d3c320f0eb9
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2023-04-11 05:23:44 -07:00
qctecmdr
6df13532c0 Merge "msm: adsprpc: Handle UAF in fastrpc_buf_free" 2023-04-10 23:13:03 -07:00
qctecmdr
66d47398a8 Merge "defconfig: Enable pwm support for ANORAK" 2023-04-10 23:13:02 -07:00
Mukesh Pilaniya
44a469b24f build.config: incorporation of le ramdisk for waipio_le
Switch to LE ramdisk for waipio_le to align to what product side is using.

Change-Id: I62c2bd1447011c3098a7fd0d1139c28d57d7cbe5
Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>
2023-04-10 22:54:05 -07:00
Sachin Gupta
b2020139ce mmc: sdhci-msm: Enable ice-clk scaling support
Add ice clock scaling support for eMMC.

Change-Id: I30e85e6cab7bbb77204825af7f39077b50208a7d
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2023-04-10 22:38:19 -07:00
qctecmdr
2fdab2c909 Merge "usb: typec: ucsi_glink: Add charger remoteproc timestamps in logs" 2023-04-10 21:18:51 -07:00
qctecmdr
d17981836a Merge "pinctrl: qcom: Don't support reserved pin config access" 2023-04-10 19:28:38 -07:00
qctecmdr
6ed2a90d9a Merge "bindings: clock: qcom: Add gcc_pwm0_xo512_div_clk_src clock id" 2023-04-10 11:33:40 -07:00
qctecmdr
dbce2aaa21 Merge "serial: msm_geni_serial: Disable wakeup irq in shutdown path" 2023-04-10 07:53:42 -07:00
qctecmdr
6fd2a8e4c3 Merge "arm64: config: Enable CONFIG_PM_AUTOSLEEP for waipio_le" 2023-04-10 07:53:40 -07:00
Anaadi Mishra
6efaf1f777 bindings: clock: qcom: Add gcc_pwm0_xo512_div_clk_src clock id
Add clock handle for gcc_pwm0_xo512_div_clk_src clock.

Change-Id: I4d7b980bcbd35dab99441f0994870b72801a0e8b
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2023-04-10 16:05:58 +05:30
Anaadi Mishra
7d28bcaaaa defconfig: Enable pwm support for ANORAK
Enable pwm support for ANORAK.

Change-Id: I7a90a0cf5524953abcc3db24a5cc4a47b06da5fa
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2023-04-10 03:10:16 -07:00
Taniya Das
cd59552b8f PWM: Add support for PWM driver
Add pwm driver to support for Qualcomm Technologies Inc. SoCs.

Change-Id: I4486e2aadbc48605eef686c3d4b5e568d9158f72
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2023-04-10 15:39:29 +05:30
Abhinav Parihar
2109076bcc msm: adsprpc: Handle UAF in fastrpc_buf_free
Thread T1 add buffer to fl->cached_bufs and release fl->hlock and holding
buffer reference. Now thread T2 will aquire fl->hlock and free buffer in
fastrpc_cached_buf_list_free(). T1 will dereference the freed buffer.
Moving reference buffer uses for T1 inside fl->hlock to avoid UAF.

Change-Id: I5f08d5497099133f87d55f5879cfe50c2ba23ae6
Signed-off-by: Abhinav Parihar <quic_parihar@quicinc.com>
2023-04-09 22:04:26 -07:00
Jishnu Prakash
dc4e41cb27 usb: typec: ucsi_glink: Add charger remoteproc timestamps in logs
In the current design, we cannot directly match timestamps between the
APPS side ucsi_glink driver logs, with that of the charger remote-proc
side ucsi logs, as they use different timer references.

To overcome this problem, read the timer reference used by the
remoteproc, from the APPS side ucsi_glink driver and print them along
with the normal log prints, to make debugging easier.

Change-Id: I7c519385845f79fd1878a09f9e58987b326ab8ff
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2023-04-10 10:13:48 +05:30
Prasanna S
80ed20e84f serial: msm_geni_serial: Disable wakeup irq in shutdown path
We are seeing wakeup ISR being called during the
shutdown path after port is closed. As part of
shutdown, in suspend wakeup IRQ is enabled and
later it is disabled. In this duration break error
is detected invoking wakeup ISR.

Do not service wakeup IRQ in shutdown path by
keeping the wakeup IRQ disabled in suspend
since shutdown is in progress.

Also ensured irq_set_irq_wake power management is
updated correctly and balanced in resume and suspend
functions.

Change-Id: Ic5d6cabafc0e9d08a17981668016bac411be0a4c
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-04-09 21:35:11 -07:00
Mukesh Pilaniya
9a607af9bd arm64: config: Disable CONFIG_LOCK_TORTURE_TEST configs for waipio_le
Disable CONFIG_LOCK_TORTURE_TEST config for waipio_le.

Change-Id: I386a74bc00142287c2b8041b2399a8436cc5dff8
Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>
2023-04-09 21:00:56 -07:00
Yue Liu
fe08047907 pinctrl: qcom: Don't support reserved pin config access
When read pinconf-groups and pinconf-pins from debugfs,
the reserved gpio register was been accessed, device
got an NOC Error, so add the gpio chip line valid
judgment before the gpio register access.

Change-Id: I78cdf13cab6cf50b5e9cebc85db4a74fa1722953
Signed-off-by: Yue Liu <quic_yueliu@quicinc.com>
2023-04-10 11:35:00 +08:00
qctecmdr
09f06e1f1e Merge "clk: qcom: gcc-ravelin: Add support for TBU and TCU clocks" 2023-04-08 21:16:54 -07:00
qctecmdr
de1529f16b Merge "drivers: dcvs: memlat: process cpu stats before queuing work" 2023-04-08 08:46:03 -07:00
Kalpak Kawadkar
d28f076250 clk: qcom: gcc-ravelin: Add support for TBU and TCU clocks
Add support for TBU and TCU clocks on RAVELIN target, so that
clients can vote for this clocks.

Change-Id: Ifb9ec881c0e4acf2ed618d8779124a1ddf404812
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-08 06:19:39 -07:00
Sanjay Yadav
1ccf917d5f msm: kgsl: Fix static checker warning
context_lpac can be null if obj_lpac is null in
adreno_hwsched_reset_and_snapshot(). Add null pointer
check to pacify the static checker warning.

Change-Id: I28f2dd351cd15322bdc8f2639496d161d4e2243f
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
2023-04-08 15:52:04 +05:30
qctecmdr
385f356a98 Merge "Revert "coresight: cti: Fix hang in cti_disable_hw()"" 2023-04-07 16:40:30 -07:00
qctecmdr
36cc01eb6b Merge "Revert "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND"" 2023-04-07 10:45:13 -07:00
qctecmdr
c900d0e621 Merge "firmware: arm_scmi: Return error upon protocol version get failure" 2023-04-07 08:27:53 -07:00
qctecmdr
ac8685d1a9 Merge "clk: qcom: gcc-ravelin: Add support for venus resets" 2023-04-07 05:42:28 -07:00
qctecmdr
1cc533be42 Merge "bindings: clock: Add support for TBU and TCU clock ids on RAVELIN" 2023-04-07 05:42:28 -07:00
qctecmdr
d2c6561275 Merge "nvmem: qfprom: Add keepout region for Ravelin" 2023-04-07 03:28:48 -07:00
qctecmdr
1729a3bd01 Merge "nvmem: qfprom: Add support for keepout regions" 2023-04-07 01:07:44 -07:00
Xiaoqi Zhuang
816367b574 Revert "coresight: cti: Fix hang in cti_disable_hw()"
This reverts commit e33ce54cef.

This commit removes the pm_runtime_get_sync from CTI HW enable
which will lead to CTI be access without power up and cause crash.

Change-Id: Ieb096e78e7cd95dcbe75eb61cbcd4a7fc1d70b4a
Signed-off-by: Xiaoqi Zhuang <quic_xiaozhua@quicinc.com>
2023-04-06 23:10:47 -07:00
qctecmdr
643627f4b2 Merge "msm: kgsl: Do not fail reset for GBIF related errors" 2023-04-06 22:48:14 -07:00
Sai Pavan Akhil Remella
f052fa1a7c Revert "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND"
This reverts commit 8f73d1ec90.

Change-Id: Id655a67d4af6a3223fb1b2564a31570970990dbb
Signed-off-by: Sai Pavan Akhil Remella<quic_saipavan@quicinc.com>
2023-04-06 14:57:39 +05:30
Amir Vajid
69d2ed5a16 drivers: dcvs: memlat: process cpu stats before queuing work
The memlat sampling stats are updated every sample_ms in the
sched tick path and on idle entry. They are processed every
sample_ms by a work function that is queued in the jiffy
update path. However, this work function can be severely
delayed in high workload scenarios which can delay updating
last_sample_ts and hence cause extra sampling to happen in
sched tick path out of sync with jiffy updates as well as
extra jiffy updates to happen before next sampling has
completed. If an additional jiffy update and work function
execution happen before sampling stats have been updated,
all of the stats deltas will be zero which will cause a vote
of min even though cpu workload is very high. Process the
sampling stats in the jiffy update path itself to avoid
potential synchronization issues and impacts from workqueue
execution delays.

Change-Id: Ia73ff5a440e3d12dc58d266d3b9b52028acc3959
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-04-06 13:26:26 +05:30
Kalpak Kawadkar
21ef02087f bindings: clock: Add support for TBU and TCU clock ids on RAVELIN
Add TBU and TCU clock handles for GCC on RAVELIN target, so that clients
can request for the clock ids.

Change-Id: Iad57ae0f507299124969891ea4c87ccc8a7ed0e1
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-06 12:21:13 +05:30
Kamal Agrawal
ac08320191 msm: kgsl: Fix cache mode used for kernel side mapping
The kernel side mapping ignores the user passed in cachemode
and uses writecombine to map the buffer to kernel virtual address
space. This can create problems due to mismatched attributes.
Fix this by taking into account the buffer's cachemode.

Change-Id: Ifffd7822eba841e10836c98a0b28443f7a345972
Signed-off-by: Sushmita Susheelendra <quic_ssusheel@quicinc.com>
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2023-04-05 09:53:14 -07:00
qctecmdr
4b6c87b7a8 Merge "Merge keystone/android12-5.10-keystone-qcom-release.160+ (026be06) into msm-5.10" 2023-04-05 06:20:47 -07:00
Ye Bin
d55931c1cc UPSTREAM: ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
commit 5c099c4fdc438014d5893629e70a8ba934433ee8 upstream.

Syzbot report follow issue:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:227!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3629 Comm: syz-executor212 Not tainted 6.1.0-rc5-syzkaller-00018-g59d0d52c30d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ext4_write_inline_data+0x344/0x3e0 fs/ext4/inline.c:227
RSP: 0018:ffffc90003b3f368 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff8880704e16c0 RCX: 0000000000000000
RDX: ffff888021763a80 RSI: ffffffff821e31a4 RDI: 0000000000000006
RBP: 000000000006818e R08: 0000000000000006 R09: 0000000000068199
R10: 0000000000000079 R11: 0000000000000000 R12: 000000000000000b
R13: 0000000000068199 R14: ffffc90003b3f408 R15: ffff8880704e1c82
FS:  000055555723e3c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffe8ac9080 CR3: 0000000079f81000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0x2a3/0x12f0 fs/ext4/inline.c:768
 ext4_write_end+0x242/0xdd0 fs/ext4/inode.c:1313
 ext4_da_write_end+0x3ed/0xa30 fs/ext4/inode.c:3063
 generic_perform_write+0x316/0x570 mm/filemap.c:3764
 ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:285
 ext4_file_write_iter+0x8bc/0x16e0 fs/ext4/file.c:700
 call_write_iter include/linux/fs.h:2191 [inline]
 do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735
 do_iter_write+0x182/0x700 fs/read_write.c:861
 vfs_iter_write+0x74/0xa0 fs/read_write.c:902
 iter_file_splice_write+0x745/0xc90 fs/splice.c:686
 do_splice_from fs/splice.c:764 [inline]
 direct_splice_actor+0x114/0x180 fs/splice.c:931
 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:886
 do_splice_direct+0x1ab/0x280 fs/splice.c:974
 do_sendfile+0xb19/0x1270 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
---[ end trace 0000000000000000 ]---

Above issue may happens as follows:
ext4_da_write_begin
  ext4_da_write_inline_data_begin
    ext4_da_convert_inline_data_to_extent
      ext4_clear_inode_state(inode, EXT4_STATE_MAY_INLINE_DATA);
ext4_da_write_end

ext4_run_li_request
  ext4_mb_prefetch
    ext4_read_block_bitmap_nowait
      ext4_validate_block_bitmap
        ext4_mark_group_bitmap_corrupted(sb, block_group, EXT4_GROUP_INFO_BBITMAP_CORRUPT)
	 percpu_counter_sub(&sbi->s_freeclusters_counter,grp->bb_free);
	  -> sbi->s_freeclusters_counter become zero
ext4_da_write_begin
  if (ext4_nonda_switch(inode->i_sb)) -> As freeclusters_counter is zero will return true
    *fsdata = (void *)FALL_BACK_TO_NONDELALLOC;
    ext4_write_begin
ext4_da_write_end
  if (write_mode == FALL_BACK_TO_NONDELALLOC)
    ext4_write_end
      if (inline_data)
        ext4_write_inline_data_end
	  ext4_write_inline_data
	    BUG_ON(pos + len > EXT4_I(inode)->i_inline_size);
           -> As inode is already convert to extent, so 'pos + len' > inline_size
	   -> then trigger BUG.

To solve this issue, instead of checking ext4_has_inline_data() which
is only cleared after data has been written back, check the
EXT4_STATE_MAY_INLINE_DATA flag in ext4_write_end().

Fixes: f19d5870cb ("ext4: add normal write support for inline data")
Reported-by: syzbot+4faa160fa96bfba639f8@syzkaller.appspotmail.com
Reported-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20221206144134.1919987-1-yebin@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
[ta: Fix conflict in if expression and use the local variable inline_data
as it is initialized with ext4_has_inline_data(inode) anyway.]
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 257756238
Change-Id: Ifc77db2f12db2270a2f7100e548e113dee3ee492
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
2023-04-05 12:46:44 +00:00
Pankaj Gupta
db0cb3357d msm: kgsl: Enable ACD feature for A621 GPU
Adaptive Clock Distribution (ACD) is a power saving feature to
mitigate voltage droops.

Change-Id: I3a6f0305c0fd7c2165fcd0ab2ae339209576e878
Signed-off-by: Pankaj Gupta <quic_gpankaj@quicinc.com>
2023-04-05 15:47:48 +05:30
Kalpak Kawadkar
1627b78dcb clk: qcom: gcc-ravelin: Add support for venus resets
Add support for gcc venus resets on RAVELIN platform.

Change-Id: Ia3110d692274c150f3c0398942cc8eabc8fd5135
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-05 10:01:42 +05:30
Wei Liu
08ccb44bff ANDROID: GKI: Update symbols to symbol list
Update symbols to symbol list externed by oppo network group.

2 Added functions:

  [A] 'function sock* __udp4_lib_lookup(net*, __be32, __be16, __be32, __be16, int, int, udp_table*, sk_buff*)'
  [A] 'function sock* __udp6_lib_lookup(net*, const in6_addr*, __be16, const in6_addr*, __be16, int, int, udp_table*, sk_buff*)'

1 Added variable:

  [A] 'udp_table udp_table'

Bug: 193384408

Change-Id: I11069764b442ce935facb5283f0b3b3494e2846c
Signed-off-by: Wei Liu <liuwei.a@oppo.com>
2023-04-05 00:32:30 +00:00
Paul Lawrence
faf3626b8e ANDROID: incremental fs: Evict inodes before freeing mount data
Since evicting inodes triggers writes to the backing file, which uses
the mi_owner field from the mount_info struct, make sure inodes are
evicted before we free the mount_info data

Test: incfs_test
Bug: 270117845
Change-Id: I673b2e0e04b5adc3998caf6f22443598a30338af
Signed-off-by: Paul Lawrence <paullawrence@google.com>
(cherry picked from commit 7899985277527b29c47929a6d6a89c5c89b406ad)
2023-04-04 15:48:57 +00:00
Melody Olvera
4905162fc0 soc: qcom: llcc: Updated snapshot of llcc tcm driver for msm-5.10
Modified llcc tcm driver change on msm-5.10 in correspondence
with llcc tcm driver on msm-5.15. Snapshot from msm-5.4 branch
commit e9bb9895 ("Add manager for llcc tcm").

Change-Id: Id9851ebb3fa97c3cd03df1f828243a3a5d5e04c0
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Signed-off-by: Sayan Dey <quic_sayand@quicinc.com>
2023-04-04 18:20:05 +05:30
qctecmdr
3cb4b88a67 Merge "msm: kgsl: Support perfcounter enable via gpu for hwsched" 2023-04-03 22:25:47 -07:00
Baolin Wang
b7b3a636ad UPSTREAM: mm: memcontrol: set the correct memcg swappiness restriction
Since commit c843966c55 ("mm: allow swappiness that prefers reclaiming
anon over the file workingset") has expended the swappiness value to make
swap to be preferred in some systems.  We should also change the memcg
swappiness restriction to allow memcg swap-preferred.

Link: https://lkml.kernel.org/r/d77469b90c45c49953ccbc51e54a1d465bc18f70.1627626255.git.baolin.wang@linux.alibaba.com
Fixes: c843966c55 ("mm: allow swappiness that prefers reclaiming anon over the file workingset")
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 275726149
(cherry picked from commit 37bc3cb9bbef86d1ddbbc789e55b588c8a2cac26)
Change-Id: If6a46ebe5313ae0f5e75917adb6ca852c8daa6e6
Signed-off-by: Carlos Galo <carlosgalo@google.com>
2023-04-03 18:51:57 +00:00
qctecmdr
720a9a7c6e Merge "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND" 2023-04-03 06:34:02 -07:00
Duoming Zhou
3ea370605a UPSTREAM: media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
[ Upstream commit 29b0589a865b6f66d141d79b2dd1373e4e50fe17 ]

When the ene device is detaching, function ene_remove() will
be called. But there is no function to cancel tx_sim_timer
in ene_remove(), the timer handler ene_tx_irqsim() could race
with ene_remove(). As a result, the UAF bugs could happen,
the process is shown below.

    (cleanup routine)          |        (timer routine)
                               | mod_timer(&dev->tx_sim_timer, ..)
ene_remove()                   | (wait a time)
                               | ene_tx_irqsim()
                               |   dev->hw_lock //USE
                               |   ene_tx_sample(dev) //USE

Fix by adding del_timer_sync(&dev->tx_sim_timer) in ene_remove(),
The tx_sim_timer could stop before ene device is deallocated.

What's more, The rc_unregister_device() and del_timer_sync()
should be called first in ene_remove() and the deallocated
functions such as free_irq(), release_region() and so on
should be called behind them. Because the rc_unregister_device()
is well synchronized. Otherwise, race conditions may happen. The
situations that may lead to race conditions are shown below.

Firstly, the rx receiver is disabled with ene_rx_disable()
before rc_unregister_device() in ene_remove(), which means it
can be enabled again if a process opens /dev/lirc0 between
ene_rx_disable() and rc_unregister_device().

Secondly, the irqaction descriptor is freed by free_irq()
before the rc device is unregistered, which means irqaction
descriptor may be accessed again after it is deallocated.

Thirdly, the timer can call ene_tx_sample() that can write
to the io ports, which means the io ports could be accessed
again after they are deallocated by release_region().

Therefore, the rc_unregister_device() and del_timer_sync()
should be called first in ene_remove().

Suggested by: Sean Young <sean@mess.org>

Bug: 272747251
Fixes: 9ea53b74df ("V4L/DVB: STAGING: remove lirc_ene0100 driver")
Signed-off-by: Duoming Zhou <duoming@zju.edu.cn>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I0076055ed3336b6f2ef4afe8afe68620dc6c2a0a
2023-04-03 10:46:38 +01:00
qctecmdr
89d752d685 Merge "bindings: clock: gcc-ravelin: Add support for venus clock resets" 2023-04-03 02:21:27 -07:00
Shivnandan Kumar
74e130ea27 firmware: arm_scmi: Return error upon protocol version get failure
Bail out of protocol initialization routine early when basic information
about protocol version could not be retrieved. Failing to act this way
can lead to a initialized SCMI protocol which is in fact
not fully functional.


Change-Id: I661975be99fc962b102682b72b0c4b55d72bf7cb
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-04-03 12:55:29 +05:30