Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C89AD325485; Tue, 21 Jul 2026 21:04:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667853; cv=none; b=KVHiGGCtCw4vVR8LSOK/dOOrOM4yXzQoB+8PuVmtd1rc2suKKQtG3nmkj5ByiFqqxfNy9UjFVh13dMmZOSvUC8pkiCek8DeXACjq25B1BIGffrlU8tRqhrD/WtBmL6mVB+Eu5rTK+BDZRz8znUTBAQVNTLYgo5/Sw0kuMzB90OE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667853; c=relaxed/simple; bh=y76YMmtwxgJNHfLd9cFXFQfkejORYGzfOOzxad5DZYA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZNr/J1CPKGRCm6VO2F26JGCEdG1G4xLZdzZizACS35vJsicLkHrLrIAYSSoNT89khE1G5OTHpLEs6brPVQxVRrGIy8uBwq4cL+MtNxm/bE24Ymc03VPeFYW6f0NrZyUPzO7Q7wCww779wJzocJekONZd0n3ZaYtn21BP+9Z8KYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hHocTBZN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hHocTBZN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 905AE1F00A3D; Tue, 21 Jul 2026 21:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784667851; bh=rlqQZowMFwkE/v1nwWmRIzvElO/+APoqiOFnSdmSGPA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hHocTBZNQze5bT8NaMzkQygpQdXDIWqKAd1D4L46WStAC/92RwCbW9mf2Qh/4Ru+F WmF5cz9nmi+DMesv+Nl2VG6a4PX8jVHzdFainR174/WZvIKCEnvJsUvV7ERtznClos AkDX818IRlEsS+3nQJ43lEerA3To4682WD4IES5g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, micas-opensource , stable , Andy Shevchenko , Sasha Levin Subject: [PATCH 6.6 1217/1266] serial: 8250_mid: Disable DMA for selected platforms Date: Tue, 21 Jul 2026 17:27:34 +0200 Message-ID: <20260721152509.033866318@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152441.786066624@linuxfoundation.org> References: <20260721152441.786066624@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andy Shevchenko [ Upstream commit b1b4efea05a56c0995e4702a86d6624b4fdff32f ] In accordance with Errata (specification updates) HSUART May Stop Functioning when DMA is Active. - Denverton document #572409, rev 3.4, DNV60 - Ice Lake Xeon D document #714070, ICXD65 - Snowridge document #731931, SNR44 For a quick fix just disable the respective callbacks during the device probe. Depending on the future development we might remove them completely. Reported-by: micas-opensource Closes: https://lore.kernel.org/linux-serial/20250625031409.2404219-1-opensource@ruijie.com.cn/ Fixes: 6ede6dcd87aa ("serial: 8250_mid: add support for DMA engine handling from UART MMIO") Cc: stable Signed-off-by: Andy Shevchenko Link: https://patch.msgid.link/20260626094937.561776-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_mid.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) --- a/drivers/tty/serial/8250/8250_mid.c +++ b/drivers/tty/serial/8250/8250_mid.c @@ -10,6 +10,7 @@ #include #include #include +#include #include @@ -368,8 +369,16 @@ static const struct mid8250_board dnv_bo .freq = 133333333, .base_baud = 115200, .bar = 1, - .setup = dnv_setup, - .exit = dnv_exit, + /* + * Errata: + * HSUART May Stop Functioning when DMA is Active. + * + * - Denverton document #572409, rev 3.4, DNV60 + * - Ice Lake Xeon D document #714070, ICXD65 + * - Snowridge document #731931, SNR44 + */ + .setup = PTR_IF(false, dnv_setup), + .exit = PTR_IF(false, dnv_exit), }; static const struct pci_device_id pci_ids[] = {