From mboxrd@z Thu Jan 1 00:00:00 1970 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 EAA8841A55A; Thu, 16 Jul 2026 14:10:35 +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=1784211037; cv=none; b=G6jOrVamDMqaXMfYimBirZJYVPgfJj14x4ANZqNKqcHPVjpFl0uKNo0kPIjN5cr/nT5zL5VChdxmW5g6oxNQR3+QWsBQjO2cSWkd8jK/n6GhYXHABf8M+PKPWifyk9rIWm7LSlbdBozcQ985L/HTZLZLReZsP/VccTRe721MalM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784211037; c=relaxed/simple; bh=Gp1v8nOlaPxvurphM7hm6qCduDoE9F/c3pfoyCUisQc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GfOCJh8S2PGg7FuSPnNiUrUySr7qNaEMu8K/gjzKUpDRKDb4Lynu12n94b06RbHSthDVpQm2CyuMRPm/r8KGc7EAdvDAYgg8Flre35TwpPILlEj7ZlDIl58vD85L2aAxmXvaq2AQkjMDKRaN73WJu6Qx8+NlwinAHKQwhQWVLDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SU3wqUzP; 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="SU3wqUzP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D27B1F000E9; Thu, 16 Jul 2026 14:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784211035; bh=/DhLv0yTboJk5f0HCyjKHqf6UfzEsu42SCkgI6FWC1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SU3wqUzPeA/oTjH8OPjABrblCgrcFk7B3RfQAq3QCftTAkcy3n9mckIjC/GXBHE9D HqgAupNDmo0Cr2vAXqQm2vh+Rhk2oezMB2mVb+IY/mh+8rw7Wzjxzbmu6A6Tcizczc dzC9V7a4Zc/8hqdTK9Dz06iQzyHAqE/gdIHgzZUE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, micas-opensource , stable , Andy Shevchenko Subject: [PATCH 6.18 273/480] serial: 8250_mid: Disable DMA for selected platforms Date: Thu, 16 Jul 2026 15:30:20 +0200 Message-ID: <20260716133050.730291840@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260716133044.672218725@linuxfoundation.org> References: <20260716133044.672218725@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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andy Shevchenko commit b1b4efea05a56c0995e4702a86d6624b4fdff32f upstream. 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 --- 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[] = {