Commit Graph

1080740 Commits

Author SHA1 Message Date
Zhang Qilong
f8f254c8b5 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
[ Upstream commit 7d4e966f4c ]

This reverts commit 86b46bf1fe.

The pm_runtime_disable is redundant when error returns in
wm5110_probe, we just revert the old patch to fix it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221010114852.88127-3-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-25 17:45:38 +01:00
Zhang Qilong
c73aa2cc41 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
[ Upstream commit de71d7567e ]

This reverts commit fcbb60820c.

The pm_runtime_disable is redundant when error returns in
wm5102_probe, we just revert the old patch to fix it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221010114852.88127-2-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-25 17:45:38 +01:00
Jianqun Xu
3196fead2c ARM: dts: rockchip: rk3288: add rk3288-pinctrl.dtsi
Move rk3288 pinctrl functions to rk3288-pinctrl.dtsi.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I358b4311ac47cb3c88cf372fb6662dfe4d9e6bd7
2022-11-25 21:11:32 +08:00
Jianwei Fan
55d671ad12 arm64: rockchip_defconfig: enable CONFIG_VIDEO_LT6911UXE for rk3588 evb1 extboard
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ib47b113ff10a13fb0b23e19567ec84767f1b880b
2022-11-25 21:03:01 +08:00
Jianwei Fan
64e13c9628 arm64: dts: rockchip: rk3588-evb1-lt6911uxe: add lt6911uxe configuration for rk3588 evb1 extboard
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I6a1a0fd0bc25a5ce18089d4d7804d785745225b5
2022-11-25 21:01:57 +08:00
Jianwei Fan
b1657c60d0 media: i2c: lt6911uxe: add lt6911uxe HDMI to MIPI-CSI2 bridge driver
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I8310c61a4dedfee6d0b38f4f7eb34da937dd0530
2022-11-25 21:01:15 +08:00
Herman Chen
7ea35f7e29 arm64: dts: rockchip: rk3588-evb: enable avs+ decoder
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Iee041320e2b24769f28895d126657c30f9c4925e
2022-11-25 21:00:23 +08:00
Weiwen Chen
1d10186b4c mmc: mmc_ops: Skip checking ocr for thunder boot
In order to make eMMC boot more fast.

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ib8b076f30746c9b0043e464581985f10867e9054
2022-11-25 17:25:37 +08:00
Jianqun Xu
b63c12102a ARM: dts: rockchip: rk3288: move psci node to core dtsi
Currently the psci node is in rk3288-linx/android.dtsi file, move them
into the core dt file.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I0265719ab4eb6b05cb3c9414fd54f916fcce9d77
2022-11-25 16:51:32 +08:00
Herman Chen
d9cadd60be arm64: dts: rockchip: rk3588: Add avsd skip pmu idle
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ia71449a6a2d5e5e0fd4d0cdc1a433d1cb0ea7113
2022-11-25 15:46:15 +08:00
Jianwei Fan
4612b633c9 media: i2c: Lontium bridge: add CSI BGR888 media bus format
Change-Id: I0da2e6e9c6683ae6ac4c0a900b9d3bb6291d0a4c
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2022-11-24 20:09:09 +08:00
Lin Jinhan
cac789f29a ARM: configs: rv1106-smart-door: enable camera thunder boot
CONFIG_MAILBOX=y
CONFIG_ROCKCHIP_MBOX=y
CONFIG_ROCKCHIP_THUNDER_BOOT_SERVICE=y
SPI_NOR compiled as module.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I1ab9ed6265f233875451ef5cf9daf50bae1e4632
2022-11-24 19:03:47 +08:00
Lin Jinhan
2365d6f638 ARM: dts: rockchip: rv1106g-smart-door: add gc2093 thunder boot support
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I2578c1d45a037f0920dbc92f9973d7b8031eede4
2022-11-24 19:03:47 +08:00
Lin Jinhan
fea2e9f574 media: i2c: gc2093: pm_runtime_put device until stream_off for thunderboot
The camera device should keep *power on* until stream off, that make
sure the mclk is enable.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Iad14d6648b24c5e9202ba2cef2199e35fbe18fbb
2022-11-24 19:03:47 +08:00
Wang Xiaobin
39115e823e media: i2c: gc2093 support get real fps
Signed-off-by: Wang Xiaobin <xb.wang@rock-chips.com>
Change-Id: I452732edf63ed913360d309ace457097ff8afedd
2022-11-24 19:03:47 +08:00
Sisyphean Zhou
fc49bfda1b media: i2c: gc2093 support fastboot
Signed-off-by: Sisyphean Zhou <sisyphean.zhou@rock-chips.com>
Change-Id: I3245ba187df5ddcc8c5a97e3098e1436e62d7e9d
2022-11-24 19:03:47 +08:00
Yu Qiaowei
97e91ee429 video: rockchip: rga3: remove useless delay for rga3 software reset
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I244542e3a2df37b2b9ecf2d95204aa575ec65ee4
2022-11-24 19:02:24 +08:00
Yu Qiaowei
b843cf6902 video: rockchip: rga3: add iommu fault irq_handler
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I9c8159e48a9e7c7a01b8e9b155c52a7f57603ab2
2022-11-24 19:02:24 +08:00
Jianwei Fan
b541c6aa8d media: i2c: lt7911d: fix reset operation
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I5d97e98c0b26848262fa39dd1b484b23567bd4c2
2022-11-24 18:58:14 +08:00
Jianwei Fan
7f2c76d5a9 media: i2c: lt7911uxc: fix reset operation
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I0f3790c341c855ec1b1684813ad63383b2e6e51a
2022-11-24 17:31:38 +08:00
Cai YiWei
caf146538f media: rockchip: isp: fix self update config for isp30
Change-Id: I882affcf17ab0dc6e6497ea1fb1e9683ff88c3c9
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-11-23 17:42:00 +08:00
Jianlong Wang
d39e7f58f7 net: rfkill: rfkill-wlan: fix syntax errors in get_wifi_addr_vendor
Change-Id: Ibc632671ba634af0d46341fbd3f91f01afa703b5
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>
2022-11-23 15:28:47 +08:00
Lin Jianhua
fb738478a2 ARM: dts: rockchip: rk3288-linux: enable iep
Change-Id: Ibd4299e2695cd0a2009befd81ba65fdd35135ac2
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
2022-11-23 15:26:31 +08:00
Frank Wang
e81b859447 arm64: dts: rockchip: disable ss instances in park mode for usb3
The xHCI SuperSpeed instance in park mode would fail to recover, thus on
Rockchip SoCs when there is high load on the xHCI port. Such as a USB3
HUB with two USB3 disks are plugged in and do write/read test
continuously, the controller may crash like:

xhci-hcd xhci-hcd.9.auto: xHCI host not responding to stop endpoint command.
xhci-hcd xhci-hcd.9.auto: USBSTS: 0x00000000
xhci-hcd xhci-hcd.9.auto: xHCI host controller not responding, assume dead
xhci-hcd xhci-hcd.9.auto: HC died; cleaning up
xhci-hcd xhci-hcd.9.auto: xHCI host not responding to stop endpoint command.
xhci-hcd xhci-hcd.9.auto: USBSTS: 0x00001001 HCHalted HCE
usb 7-1: USB disconnect, device number 2
sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=35s
sd 2:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 12 cc 80 00 02 00 00
blk_update_request: I/O error, dev sdb, sector 1232000 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0

So set the PARKMODE_DISABLE_SS bit in the DWC3_USB3_GUCTL1 to mitigate the issue.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I57a180dbd820b105bd70d0d8834c163de1ac0597
2022-11-23 11:37:33 +08:00
Shawn Lin
b0086261b6 mmc: sdhci-of-dwmshc: Add software queue support
Add newly added software queue support to improve random performance.
Testing condition: rk3588-evb1 32GB eMMC, CPU & DRAM fixed frequency

Random read test:

fio -filename=/dev/block/mmcblk0 -direct=1 -iodepth 20 -thread -rw=randread \
-ioengine=psync -bs=4k -size=1G -numjobs=20 -runtime=40 -group_reporting \
-name=rand_100read_4k

Random write test:

fio -filename=/data/fio.bin -direct=1 -iodepth 20 -thread -rw=randwrite \
-ioengine=psync -bs=4k -size=1G -numjobs=20 -runtime=40 -group_reporting \
-name=rand_100write_4k

======================================================================
|     -       |  W/O patch  | With patch applied|  improve percentage |
| random read | 45624KB/s   | 62542KB/s         |   +37%              |
| random write| 22548KB/s   | 27977KB/s         |   +24%              |
======================================================================

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I81dca2e9c45d1a1596ef810328f32c9a2779683c
2022-11-23 10:16:54 +08:00
Tao Huang
1fda99416a arm64: rockchip_gki.config: Disable CONFIG_DRM_MAXIM_MAX96752F
Delete this unused config.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I97ba367145f90f98b23e96f38ed8d6b9cd833800
2022-11-23 09:57:14 +08:00
Wyon Bi
51450af0ed arm64: rockchip_defconfig: Disable CONFIG_DRM_MAXIM_MAX96752F
Delete this unused config.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Iec1f9f2723146e83cadd3a9eda4e135ae029e739
2022-11-23 09:52:15 +08:00
Wyon Bi
c1f870a930 Revert "mfd: Add support for Maxim MAX96776"
This reverts commit 4b9ba5d213.

Delete this unused driver.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I2ba96feb73c5ea98d3945478eb90773efe4eed0d
2022-11-23 09:48:37 +08:00
Wyon Bi
027cd3ac12 Revert "drm/bridge: Add support for Maxim MAX96776"
This reverts commit ecc6097c8d.

Delete this unused driver.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ie6af8864560413df85e14b5c1d00df19ca0142ba
2022-11-23 09:47:51 +08:00
Wyon Bi
9cd192293f Revert "mfd: Add support for Maxim MAX96752F"
This reverts commit ad3d90b0ba.

Delete this unused driver.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ie3f71ea9cfb53751e7f1370ca95acfe9726e9696
2022-11-23 09:45:23 +08:00
Wyon Bi
65358f283c Revert "drm/bridge: Add support for Maxim MAX96752F"
This reverts commit 24af5158d9.

Delete this unused driver.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I8b674c8b65bcd83e3d1be3c0dcc68fdf0e7f07ed
2022-11-23 09:42:09 +08:00
Wyon Bi
eabac9aad4 Revert "pinctrl: Add support for Maxim MAX96752F pin controller"
This reverts commit 530d7e8c7c.

Delete this unused driver.

Change-Id: I5d478b7002bf1eb6aeba42ab2d1ccdb70c47367f
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2022-11-23 00:51:56 +00:00
Wyon Bi
256063f27a Revert "gpio: Add support for Maxim MAX96752F GPIO controller"
This reverts commit 673d3358b0.

Delete this unused driver.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I157ef462ad5334c17389f39a71f109976896ca4f
2022-11-23 00:51:55 +00:00
Pavankumar Kondeti
d84fac9795 FROMGIT: mm/madvise: fix madvise_pageout for private file mappings
When MADV_PAGEOUT is called on a private file mapping VMA region,
we bail out early if the process is neither owner nor write capable
of the file. However, this VMA may have both private/shared clean
pages and private dirty pages. The opportunity of paging out the
private dirty pages (Anon pages) is missed. Fix this by caching
the file access check and use it later along with PageAnon() during
page walk.

We observe ~10% improvement in zram usage, thus leaving more available
memory on a 4GB RAM system running Android.

Link: https://lkml.kernel.org/r/1667971116-12900-1-git-send-email-quic_pkondeti@quicinc.com
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Cc: Charan Teja Kalla <quic_charante@quicinc.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 8fc5be8efc3cf356f25098fbd4bda7c0e949c2ea
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable)

Bug: 259329159
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Change-Id: I5f2d425aec94e5a75ebeaf90f9f5d7adf1975c59
2022-11-22 19:39:40 +00:00
Yiqing Zeng
a8534cd7ac ARM: dts: rockchip: ov13850/gc8034 add power gpio for rk3288-evb-rk808-linux
Change-Id: I15847124e126c7acf7e33d0aeb9430b003f37c57
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
2022-11-22 18:45:41 +08:00
Zhang Yubing
286b1fafa8 drm/rockchip: dw-dp: fixup the timing min limit
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I776ed1eaf38a7d91db3541bade02eac68908b977
2022-11-22 18:41:11 +08:00
Wang Panzhenzhuan
2c418fb7b9 arm64: configs: rockchip_defconfig: enable GC2053 & GC2093
enable gc2053 & gc2093 for rk3568-evb1 dual camera module

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I90b68722bb7a2faf6cc36675bae892be1fa6bc9b
2022-11-22 18:40:23 +08:00
Xing Zheng
873d6962c4 ARM: dts: rockchip: rv1106: specify MIC Gain to 20dB by default
Since most cases, we need to amplify the signal coming in from
the ECM recording.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I7962d5bd604775f5de23209f13d21862145444f4
2022-11-22 18:38:29 +08:00
Xing Zheng
7c5535c11f ASoC: codecs: rv1106_codec: add support properties to configure init gains
Add support init gains:

MIC  Gain     ALC Gain (0dB: 0x06)   Lineout Gain (0dB: 0x1a)
0dB  (0x01)    min: -9.0dB (0x00)     min: -39.0dB (0x00)
20dB (0x02)    max: +37.5dB (0x1f)    max: +6.0dB (0x1f)
12dB (0x03)   step: +1.5dB           step: +1.5dB

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I827329e3b96c64a7a344dfc4094fea6d118503a5
2022-11-22 18:38:29 +08:00
Alex Zhao
ed56e6902a net: wireless: rockchip_wlan: bcmdhd: disable DHD_PKTID_AUDIT_ENABLED
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I71f3a86d5a722739a03daef68c50e70de4968dd9
2022-11-22 17:55:48 +08:00
Wyon Bi
56f0ad9953 drm/bridge: analogix_dp: Fix bpp value in analogix_dp_bandwidth_ok()
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I38fc9c1d95966204c89afffe15ce551ae8c3f62f
2022-11-22 17:55:26 +08:00
Tao Huang
deb783324d Revert "input: touchscreen: gt1x: ignore pin of reset and support power invert"
This reverts commit 334791b0d3.

Reason for revert:
The following warning appears on rk3588-evb1-lp4-v10 when suspend:
[   31.636037][  T414] unbalanced disables for vcc3v3_lcd0_n
[   31.636166][  T414] WARNING: CPU: 2 PID: 414 at drivers/regulator/core.c:2768 _regulator_disable+0x2e8/0x2f4
[   31.636191][  T414] Modules linked in: bcmdhd dhd_static_buf
[   31.636256][  T414] CPU: 2 PID: 414 Comm: composer@2.1-se Not tainted 5.10.110 #116
[   31.636279][  T414] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[   31.636309][  T414] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[   31.636338][  T414] pc : _regulator_disable+0x2e8/0x2f4
[   31.636366][  T414] lr : _regulator_disable+0x2e8/0x2f4
...
[   31.636950][  T414] Call trace:
[   31.636980][  T414]  _regulator_disable+0x2e8/0x2f4
[   31.637009][  T414]  regulator_disable+0x40/0x84
[   31.637036][  T414]  panel_simple_unprepare+0x78/0xa4
[   31.637064][  T414]  drm_panel_unprepare+0x28/0x48
[   31.637094][  T414]  dw_mipi_dsi2_encoder_disable+0x70/0xbc
[   31.637123][  T414]  drm_atomic_helper_commit_modeset_disables+0x174/0x4d0
[   31.637154][  T414]  rockchip_drm_atomic_helper_commit_tail_rpm+0x44/0x184
[   31.637180][  T414]  commit_tail+0x110/0x200
[   31.637209][  T414]  drm_atomic_helper_commit+0x1f0/0x210
[   31.637238][  T414]  drm_atomic_commit+0x50/0x64
[   31.637268][  T414]  drm_mode_atomic_ioctl+0x620/0x744
[   31.637298][  T414]  drm_ioctl+0x24c/0x3b8
[   31.637328][  T414]  __arm64_sys_ioctl+0x94/0xd0
[   31.637359][  T414]  el0_svc_common+0xc0/0x23c
[   31.637388][  T414]  do_el0_svc+0x28/0x88
[   31.637417][  T414]  el0_svc+0x14/0x24
[   31.637446][  T414]  el0_sync_handler+0x88/0xec
[   31.637474][  T414]  el0_sync+0x1a8/0x1c0

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id27946e0ef3a6c320214c961b8e9b02978a15f6b
2022-11-22 17:43:26 +08:00
Jian Zheng
6a39dba2e5 ARM: configs: rv1106-cvr.config: based on rv1106-evb.config
Separate the config for the cvr product definition

Signed-off-by: Jian Zheng <zj@rock-chips.com>
Change-Id: I94040ee07992e694df6d307dead7febea78b84ec
2022-11-22 15:33:27 +08:00
Yu Qiaowei
4bf27cc8c8 ARM: dts: rockchip: rk3288-linux: fix rga to rockchip,rga2
Fix compatible of rga to "rockchip,rga2", and modify the clock names
to work fine with current driver.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Icd30ef8e090aceedbc680eb39c4a0c5b00869102
2022-11-22 15:17:43 +08:00
Zhen Chen
034aad5dd8 MALI: rockchip: upgrade bifrost DDK to g15p0-01eac0, from g13p0-01eac0
Note, the corresponding mali_csffw.bin for DDK g15 MUST be used.

Change-Id: Ic30634fa6247d62bf96f506c64d13b89e16b02e6
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2022-11-22 14:13:04 +08:00
Luffy Ou
c7eb32a49f ANDROID: GKI: Update symbols to symbol list
Leaf changes summary: 8 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 8 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

8 Added functions:

  [A] 'function int __bio_crypt_clone(bio*, bio*, gfp_t)'
  [A] 'function void address_space_init_once(address_space*)'
  [A] 'function void bio_crypt_set_ctx(bio*, const blk_crypto_key*, const u64*, gfp_t)'
  [A] 'function bool blk_mq_queue_inflight(request_queue*)'
  [A] 'function bool prepare_to_wait_exclusive(wait_queue_head*, wait_queue_entry*, int)'
  [A] 'function void* radix_tree_delete_item(xarray*, unsigned long int, void*)'
  [A] 'function void** radix_tree_lookup_slot(const xarray*, unsigned long int)'
  [A] 'function void radix_tree_replace_slot(xarray*, void**, void*)'

Bug: 257892683
Signed-off-by: Luffy Ou <luffy@oppo.com>
Change-Id: I2cc1d97c7b086604b27163cb306e51bad20f5b53
2022-11-21 17:01:54 +00:00
Greg Kroah-Hartman
673a7341bd Merge 5.10.153 into android12-5.10-lts
Changes in 5.10.153
	can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
	can: kvaser_usb: Fix possible completions during init_completion
	ALSA: Use del_timer_sync() before freeing timer
	ALSA: au88x0: use explicitly signed char
	ALSA: rme9652: use explicitly signed char
	USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
	usb: dwc3: gadget: Stop processing more requests on IMI
	usb: dwc3: gadget: Don't set IMI for no_interrupt
	usb: bdc: change state when port disconnected
	usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
	mtd: rawnand: marvell: Use correct logic for nand-keep-config
	xhci: Add quirk to reset host back to default state at shutdown
	xhci: Remove device endpoints from bandwidth list when freeing the device
	tools: iio: iio_utils: fix digit calculation
	iio: light: tsl2583: Fix module unloading
	iio: temperature: ltc2983: allocate iio channels once
	fbdev: smscufx: Fix several use-after-free bugs
	fs/binfmt_elf: Fix memory leak in load_elf_binary()
	exec: Copy oldsighand->action under spin-lock
	mac802154: Fix LQI recording
	scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
	drm/msm/dsi: fix memory corruption with too many bridges
	drm/msm/hdmi: fix memory corruption with too many bridges
	drm/msm/dp: fix IRQ lifetime
	mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
	mmc: core: Fix kernel panic when remove non-standard SDIO card
	counter: microchip-tcb-capture: Handle Signal1 read and Synapse
	kernfs: fix use-after-free in __kernfs_remove
	perf auxtrace: Fix address filter symbol name match for modules
	s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
	s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
	Xen/gntdev: don't ignore kernel unmapping error
	xen/gntdev: Prevent leaking grants
	mm/memory: add non-anonymous page check in the copy_present_page()
	mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
	net: ieee802154: fix error return code in dgram_bind()
	media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
	drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
	ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
	arc: iounmap() arg is volatile
	ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
	ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
	perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
	tipc: fix a null-ptr-deref in tipc_topsrv_accept
	net: netsec: fix error handling in netsec_register_mdio()
	net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
	net: hinic: fix memory leak when reading function table
	net: hinic: fix the issue of CMDQ memory leaks
	net: hinic: fix the issue of double release MBOX callback of VF
	x86/unwind/orc: Fix unreliable stack dump with gcov
	amd-xgbe: fix the SFP compliance codes check for DAC cables
	amd-xgbe: add the bit rate quirk for Molex cables
	atlantic: fix deadlock at aq_nic_stop
	kcm: annotate data-races around kcm->rx_psock
	kcm: annotate data-races around kcm->rx_wait
	net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
	net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
	tcp: minor optimization in tcp_add_backlog()
	tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
	tcp: fix indefinite deferral of RTO with SACK reneging
	can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
	can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
	PM: hibernate: Allow hybrid sleep to work with s2idle
	media: vivid: s_fbuf: add more sanity checks
	media: vivid: dev->bitmap_cap wasn't freed in all cases
	media: v4l2-dv-timings: add sanity checks for blanking values
	media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
	media: vivid: set num_in/outputs to 0 if not supported
	ipv6: ensure sane device mtu in tunnels
	i40e: Fix ethtool rx-flow-hash setting for X722
	i40e: Fix VF hang when reset is triggered on another VF
	i40e: Fix flow-type by setting GL_HASH_INSET registers
	net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
	PM: domains: Fix handling of unavailable/disabled idle states
	net: fec: limit register access on i.MX6UL
	ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
	ALSA: aoa: Fix I2S device accounting
	openvswitch: switch from WARN to pr_warn
	net: ehea: fix possible memory leak in ehea_register_port()
	nh: fix scope used to find saddr when adding non gw nh
	net/mlx5e: Do not increment ESN when updating IPsec ESN state
	net/mlx5: Fix possible use-after-free in async command interface
	net/mlx5: Fix crash during sync firmware reset
	net: enetc: survive memory pressure without crashing
	arm64: Add AMPERE1 to the Spectre-BHB affected list
	scsi: sd: Revert "scsi: sd: Remove a local variable"
	arm64/mm: Fix __enable_mmu() for new TGRAN range values
	arm64/kexec: Test page size support with new TGRAN range values
	can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
	serial: core: move RS485 configuration tasks from drivers into core
	serial: Deassert Transmit Enable on probe in driver-specific way
	Linux 5.10.153

Change-Id: I1cbca2c5cbaaab34ccd6e055f13c35d900d4ce25
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2022-11-21 15:47:06 +00:00
Greg Kroah-Hartman
27b36ba7c2 Merge 5.10.152 into android12-5.10-lts
Changes in 5.10.152
	ocfs2: clear dinode links count in case of error
	ocfs2: fix BUG when iput after ocfs2_mknod fails
	selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
	cpufreq: qcom: fix writes in read-only memory region
	i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
	x86/microcode/AMD: Apply the patch early on every logical thread
	hwmon/coretemp: Handle large core ID value
	ata: ahci-imx: Fix MODULE_ALIAS
	ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
	cpufreq: qcom: fix memory leak in error path
	kvm: Add support for arch compat vm ioctls
	KVM: arm64: vgic: Fix exit condition in scan_its_table()
	media: mceusb: set timeout to at least timeout provided
	media: venus: dec: Handle the case where find_format fails
	block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
	blk-wbt: call rq_qos_add() after wb_normal is initialized
	arm64: errata: Remove AES hwcap for COMPAT tasks
	r8152: add PID for the Lenovo OneLink+ Dock
	btrfs: fix processing of delayed data refs during backref walking
	btrfs: fix processing of delayed tree block refs during backref walking
	ACPI: extlog: Handle multiple records
	tipc: Fix recognition of trial period
	tipc: fix an information leak in tipc_topsrv_kern_subscr
	i40e: Fix DMA mappings leak
	HID: magicmouse: Do not set BTN_MOUSE on double report
	sfc: Change VF mac via PF as first preference if available.
	net/atm: fix proc_mpc_write incorrect return value
	net: phy: dp83867: Extend RX strap quirk for SGMII mode
	cifs: Fix xid leak in cifs_copy_file_range()
	cifs: Fix xid leak in cifs_flock()
	cifs: Fix xid leak in cifs_ses_add_channel()
	net: hsr: avoid possible NULL deref in skb_clone()
	ionic: catch NULL pointer issue on reconfig
	nvme-hwmon: rework to avoid devm allocation
	nvme-hwmon: Return error code when registration fails
	nvme-hwmon: consistently ignore errors from nvme_hwmon_init
	nvme-hwmon: kmalloc the NVME SMART log buffer
	net: sched: cake: fix null pointer access issue when cake_init() fails
	net: sched: delete duplicate cleanup of backlog and qlen
	net: sched: sfb: fix null pointer access issue when sfb_init() fails
	sfc: include vport_id in filter spec hash and equal()
	net: hns: fix possible memory leak in hnae_ae_register()
	net: sched: fix race condition in qdisc_graft()
	net: phy: dp83822: disable MDI crossover status change interrupt
	iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
	iommu/vt-d: Clean up si_domain in the init_dmars() error path
	drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
	dmaengine: mxs-dma: Remove the unused .id_table
	dmaengine: mxs: use platform_driver_register
	tracing: Simplify conditional compilation code in tracing_set_tracer()
	tracing: Do not free snapshot if tracer is on cmdline
	xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
	xen/gntdev: Accommodate VMA splitting
	mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
	riscv: Add machine name to kernel boot log and stack dump output
	riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
	perf pmu: Validate raw event with sysfs exported format bits
	perf: Skip and warn on unknown format 'configN' attrs
	fcntl: make F_GETOWN(EX) return 0 on dead owner task
	fcntl: fix potential deadlocks for &fown_struct.lock
	arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region
	arm64: topology: move store_cpu_topology() to shared code
	riscv: topology: fix default topology reporting
	perf/x86/intel/pt: Relax address filter validation
	hv_netvsc: Fix race between VF offering and VF association message from host
	ACPI: video: Force backlight native for more TongFang devices
	x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
	Makefile.debug: re-enable debug info for .S files
	mmc: core: Add SD card quirk for broken discard
	blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
	mm: /proc/pid/smaps_rollup: fix no vma's null-deref
	udp: Update reuse->has_conns under reuseport_lock.
	Linux 5.10.152

Change-Id: I2c75b6fd3ae205968bcc3133ebf71b82ff2a19b6
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2022-11-21 15:46:22 +00:00
Will Deacon
dcdb7eadfd Revert "FROMGIT: mm/vmalloc: Add override for lazy vunmap"
Revert submission 2302443

Reason for revert: Series is not queued in a maintainer tree and has not been posted to a public mailing list.
Reverted Changes:
Iffd38bf97:FROMGIT: arm64: Work around Cortex-A510 erratum 24...
I694523564:FROMGIT: mm/vmalloc: Add override for lazy vunmap

Change-Id: I345e32bac76292413908b4a81295a228003fa4c0
Signed-off-by: Will Deacon <willdeacon@google.com>
2022-11-21 14:12:47 +00:00
Will Deacon
450a37133d Revert "FROMGIT: arm64: Work around Cortex-A510 erratum 2454944"
Revert submission 2302443

Reason for revert: Series is not queued in a maintainer tree and has not been posted to a public mailing list.
Reverted Changes:
Iffd38bf97:FROMGIT: arm64: Work around Cortex-A510 erratum 24...
I694523564:FROMGIT: mm/vmalloc: Add override for lazy vunmap

Change-Id: I254d427b9dad0791ca8df4dc51be92e458c58728
Signed-off-by: Will Deacon <willdeacon@google.com>
2022-11-21 14:12:47 +00:00