From 7b59bc170c6e335fd01650056b8e9f6a415e9427 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Sun, 4 Oct 2026 12:37:54 +0300 Subject: [PATCH] hisilicon-opensdk: bump to 2a38a27, so a CMA gk7205v500 can stream OpenIPC/openhisilicon#238. dfc3a81..2a38a27 is exactly one commit. With mmz_allocator=cma, the gk7205v500 default since #2526, a GK7205V510 panicked the kernel as soon as a bound VPSS channel delivered its first frame to VENC. Nothing was printed, because the image keeps the console loglevel at 0, and the board rebooted panic= seconds later, so it looked like a hardware reset. The closed venc object reads its bind descriptors with an unaligned ldr.w (VENC_VpssSend+0x10f). osal's CMA allocator mapped non-cached MMBs strongly-ordered, where that load faults in the VPSS interrupt. The carve-out allocator's ioremap_wc() mapping is Normal non-cacheable, where it is legal. osal now maps them write-combined, and also passes __dma_clear_buffer() the coherent flag the kernel expects. --- general/package/hisilicon-opensdk/hisilicon-opensdk.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/package/hisilicon-opensdk/hisilicon-opensdk.mk b/general/package/hisilicon-opensdk/hisilicon-opensdk.mk index cd9abc426..b2794c18f 100644 --- a/general/package/hisilicon-opensdk/hisilicon-opensdk.mk +++ b/general/package/hisilicon-opensdk/hisilicon-opensdk.mk @@ -5,7 +5,7 @@ ################################################################################ HISILICON_OPENSDK_SITE = $(call github,openipc,openhisilicon,$(HISILICON_OPENSDK_VERSION)) -HISILICON_OPENSDK_VERSION = dfc3a81022441e579fc6342755b993c7c4b433e7 +HISILICON_OPENSDK_VERSION = 2a38a27ba4764d4e2265a6f1753ecca0ef8a773f HISILICON_OPENSDK_LICENSE = GPL-3.0 HISILICON_OPENSDK_LICENSE_FILES = LICENSE