Patch "accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     accel-ivpu-ivpu_ipc-needs-generic_allocator.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1d843239558453983a294718c654e8b22b133ef0
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Date:   Thu May 25 21:45:19 2023 -0700

    accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR
    
    [ Upstream commit 50d30040eb856ff6b0382b4d9dc332dc15597729 ]
    
    Drivers that use the gen_pool*() family of functions should
    select GENERIC_ALLOCATOR to prevent build errors like these:
    
    ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free':
    include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner'
    ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_alloc_algo':
    include/linux/genalloc.h:138: undefined reference to `gen_pool_alloc_algo_owner'
    ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free':
    include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner'
    ld: drivers/accel/ivpu/ivpu_ipc.o: in function `ivpu_ipc_init':
    drivers/accel/ivpu/ivpu_ipc.c:441: undefined reference to `devm_gen_pool_create'
    ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_add_virt':
    include/linux/genalloc.h:104: undefined reference to `gen_pool_add_owner'
    
    Fixes: 5d7422cfb498 ("accel/ivpu: Add IPC driver and JSM messages")
    Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Link: https://lore.kernel.org/all/202305221206.1TaugDKP-lkp@xxxxxxxxx/
    Cc: Oded Gabbay <ogabbay@xxxxxxxxxx>
    Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
    Cc: Jacek Lawrynowicz <jacek.lawrynowicz@xxxxxxxxxxxxxxx>
    Cc: Stanislaw Gruszka <stanislaw.gruszka@xxxxxxxxxxxxxxx>
    Cc: Andrzej Kacprowski <andrzej.kacprowski@xxxxxxxxxxxxxxx>
    Cc: Krystian Pradzynski <krystian.pradzynski@xxxxxxxxxxxxxxx>
    Cc: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>
    Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>
    Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>
    Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@xxxxxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20230526044519.13441-1-rdunlap@xxxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/accel/ivpu/Kconfig b/drivers/accel/ivpu/Kconfig
index 9bdf168bf1d0e..1a4c4ed9d1136 100644
--- a/drivers/accel/ivpu/Kconfig
+++ b/drivers/accel/ivpu/Kconfig
@@ -7,6 +7,7 @@ config DRM_ACCEL_IVPU
 	depends on PCI && PCI_MSI
 	select FW_LOADER
 	select SHMEM
+	select GENERIC_ALLOCATOR
 	help
 	  Choose this option if you have a system that has an 14th generation Intel CPU
 	  or newer. VPU stands for Versatile Processing Unit and it's a CPU-integrated



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux