[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251203040935.2685490-1-xulin.sun@windriver.com>
Date: Wed, 3 Dec 2025 12:09:32 +0800
From: Xulin Sun <xulin.sun@...driver.com>
To: nas.chung@...psnmedia.com, jackson.lee@...psnmedia.com, mchehab@...nel.org
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
xulin.sun@...driver.com
Subject: [PATCH 0/3] media: wave5: Fix critical issues in driver remove path
This patch series fixes three critical issues in the wave5 VPU driver's
remove path that cause kernel warnings and system crashes.
The issues were discovered and consistently reproduced on kernel 6.12.58-rt6
with the TI AM62A platform. While testing on kernel 6.18 shows the issues
are harder to trigger, the underlying logic problems still exist in the code.
Patch 1: Fixes PM runtime reference count underflow
Patch 2: Fixes kthread worker destruction warning
Patch 3: Fixes kernel panic due to incorrect cleanup order
All patches have been tested with 50+ consecutive encoding operations and
multiple modprobe/rmmod cycles without any warnings or crashes on 6.12.58-rt6.
Xulin Sun (3):
media: wave5: Fix PM runtime usage count underflow
media: wave5: Fix kthread worker destruction in polling mode
media: wave5: Fix device cleanup order to prevent kernel panic
drivers/media/platform/chips-media/wave5/wave5-vpu.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
--
2.49.1
Powered by blists - more mailing lists