From 320c8b56ff28f00117b53e2fda5f8e3f33bbb307 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 26 Oct 2023 10:47:11 +0000 Subject: [PATCH] ANDROID: GKI: db845c: add new dma_buf symbols to list In commit 8332311cd02a ("misc: fastrpc: Fix incorrect DMA mapping unmap request"), the symbols dma_buf_map_attachment_unlocked and dma_buf_unmap_attachment_unlocked are now required to be used by the db845c target, so add them to the symbol list to fix up the build. 2 function symbol(s) added 'struct sg_table* dma_buf_map_attachment_unlocked(struct dma_buf_attachment*, enum dma_data_direction)' 'void dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment*, struct sg_table*, enum dma_data_direction)' Fixes: 8332311cd02a ("misc: fastrpc: Fix incorrect DMA mapping unmap request") Change-Id: Ib634cfa9a88a6708893a938a7d48d542db5b7b61 Signed-off-by: Greg Kroah-Hartman --- android/abi_gki_aarch64.stg | 22 ++++++++++++++++++++++ android/abi_gki_aarch64_db845c | 2 ++ 2 files changed, 24 insertions(+) diff --git a/android/abi_gki_aarch64.stg b/android/abi_gki_aarch64.stg index 1907773740a3..b14e8d1a06f5 100644 --- a/android/abi_gki_aarch64.stg +++ b/android/abi_gki_aarch64.stg @@ -343819,6 +343819,16 @@ elf_symbol { type_id: 0x451c3ee7 full_name: "dma_buf_map_attachment" } +elf_symbol { + id: 0x25104c49 + name: "dma_buf_map_attachment_unlocked" + is_defined: true + symbol_type: FUNCTION + crc: 0xedb9c6b4 + namespace: "DMA_BUF" + type_id: 0x451c3ee7 + full_name: "dma_buf_map_attachment_unlocked" +} elf_symbol { id: 0xc99a7edf name: "dma_buf_mmap" @@ -343869,6 +343879,16 @@ elf_symbol { type_id: 0x17ffed59 full_name: "dma_buf_unmap_attachment" } +elf_symbol { + id: 0x68016e57 + name: "dma_buf_unmap_attachment_unlocked" + is_defined: true + symbol_type: FUNCTION + crc: 0xffe8aa2b + namespace: "DMA_BUF" + type_id: 0x17ffed59 + full_name: "dma_buf_unmap_attachment_unlocked" +} elf_symbol { id: 0xe8233473 name: "dma_buf_unpin" @@ -387500,11 +387520,13 @@ interface { symbol_id: 0xe6ad1d16 symbol_id: 0xda3a8347 symbol_id: 0xb3e02cd2 + symbol_id: 0x25104c49 symbol_id: 0xc99a7edf symbol_id: 0xdcb8ed3c symbol_id: 0x4ec1de19 symbol_id: 0xe5cfd7ac symbol_id: 0xd0deb542 + symbol_id: 0x68016e57 symbol_id: 0xe8233473 symbol_id: 0x710f1fc2 symbol_id: 0xaa54a71f diff --git a/android/abi_gki_aarch64_db845c b/android/abi_gki_aarch64_db845c index 09191ef02a16..4fdb4e394771 100644 --- a/android/abi_gki_aarch64_db845c +++ b/android/abi_gki_aarch64_db845c @@ -197,6 +197,8 @@ dma_async_device_register dma_async_tx_descriptor_init dma_buf_export + dma_buf_map_attachment_unlocked + dma_buf_unmap_attachment_unlocked dma_fence_context_alloc dma_fence_init dma_fence_release