1. 26 May, 2023 1 commit
    • Benjamin Gaignard's avatar
      media: verisilicon: Additional fix for the crash when opening the driver · 14b4bd01
      Benjamin Gaignard authored
      This fixes the following issue observed on Odroid-M1 board:
      
       Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
       Mem abort info:
       ...
       Modules linked in: crct10dif_ce hantro_vpu snd_soc_simple_card snd_soc_simple_card_utils v4l2_vp9 v4l2_h264 rockchip_saradc v4l2_mem2mem videobuf2_dma_contig videobuf2_memops rtc_rk808 videobuf2_v4l2 industrialio_triggered_buffer rockchip_thermal dwmac_rk stmmac_platform stmmac videodev kfifo_buf display_connector videobuf2_common pcs_xpcs mc rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi drm_display_helper panfrost drm_shmem_helper gpu_sched ip_tables x_tables ipv6
       CPU: 3 PID: 176 Comm: v4l_id Not tainted 6.3.0-rc7-next-20230420 #13481
       Hardware name: Hardkernel ODROID-M1 (DT)
       pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
       pc : hantro_try_fmt+0xa0/0x278 [hantro_vpu]
       lr : hantro_try_fmt+0x94/0x278 [hantro_vpu]
       ...
       Call trace:
        hantro_try_fmt+0xa0/0x278 [hantro_vpu]
        hantro_set_fmt_out+0x3c/0x298 [hantro_vpu]
        hantro_reset_raw_fmt+0x98/0x128 [hantro_vpu]
        hantro_set_fmt_cap+0x240/0x254 [hantro_vpu]
        hantro_reset_encoded_fmt+0x94/0xcc [hantro_vpu]
        hantro_reset_fmts+0x18/0x38 [hantro_vpu]
        hantro_open+0xd4/0x20c [hantro_vpu]
        v4l2_open+0x80/0x120 [videodev]
        chrdev_open+0xc0/0x22c
        do_dentry_open+0x13c/0x48c
        vfs_open+0x2c/0x38
        path_openat+0x550/0x934
        do_filp_open+0x80/0x12c
        do_sys_openat2+0xb4/0x168
        __arm64_sys_openat+0x64/0xac
        invoke_syscall+0x48/0x114
        el0_svc_common+0x100/0x120
        do_el0_svc+0x3c/0xa8
        el0_svc+0x40/0xa8
        el0t_64_sync_handler+0xb8/0xbc
        el0t_64_sync+0x190/0x194
       Code: 97fc8a7f f940aa80 52864a61 72a686c1 (b9400800)
       ---[ end trace 0000000000000000 ]---
      
      Fixes: db6f68b5 ("media: verisilicon: Do not set context src/dst formats in reset functions")
      Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
      Tested-by: default avatarMichael Tretter <m.tretter@pengutronix.de>
      Tested-by: default avatarDiederik de Haas <didi.debian@cknow.org>
      Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
      14b4bd01
  2. 18 May, 2023 1 commit
    • Mauro Carvalho Chehab's avatar
      Merge tag 'v6.4-rc2' into v4l_for_linus · 8c1688e8
      Mauro Carvalho Chehab authored
      Linux 6.4-rc2
      
      * tag 'v6.4-rc2': (162 commits)
        Linux 6.4-rc2
        parisc: Fix encoding of swp_entry due to added SWP_EXCLUSIVE flag
        ext4: bail out of ext4_xattr_ibody_get() fails for any reason
        ext4: add bounds checking in get_max_inline_xattr_value_size()
        ext4: add indication of ro vs r/w mounts in the mount message
        ext4: fix deadlock when converting an inline directory in nojournal mode
        ext4: improve error recovery code paths in __ext4_remount()
        ext4: improve error handling from ext4_dirhash()
        ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
        ext4: check iomap type only if ext4_iomap_begin() does not fail
        ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
        ext4: fix data races when using cached status extents
        ext4: avoid deadlock in fs reclaim with page writeback
        ext4: fix invalid free tracking in ext4_xattr_move_to_block()
        ext4: remove a BUG_ON in ext4_mb_release_group_pa()
        ext4: allow ext4_get_group_info() to fail
        cxl: Add missing return to cdat read error path
        tools/testing/cxl: Use DEFINE_STATIC_SRCU()
        x86/retbleed: Fix return thunk alignment
        Documentation/block: drop the request.rst file
        ...
      8c1688e8
  3. 14 May, 2023 29 commits
  4. 13 May, 2023 9 commits