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 AD7A8435529; Thu, 16 Jul 2026 14:28:48 +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=1784212129; cv=none; b=JCbUSQI2PmsSZfjcjnqVk8Nu/oMdw09el6iHSz4YongkANSa24vNvWpbZE8mEmORYrFwu0evhmtCqLULqHh9XjELTf0ZJhlu+9tfFG/XIbIyEEMtA1vzm6EXDtDa9FcvCU9SSsSFwaSBxhtYgRtnqDbmjiljfS3lFus35JEE+Io= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784212129; c=relaxed/simple; bh=/0xWULU8L0BM9lHoCekE7VRlToZV7K0KeDsyIVq2zRc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fm+GNAe0ABS2EqmLqGESmUhV+ZGWIOQ6DWx/pqbiTuXpgUiRBF/mjlTrjvjw9YZ+iYeu6ueYgU6+VXd1aOLQApTZUL3M9lBhlMkzBnvdn9cBjzccUTtufXukdAmgixMv7nFvcZubiDG3bc8oaTpSGe3OLGdsO9ZGRP6omi5uqdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fiVM/i+G; 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="fiVM/i+G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EB4A1F000E9; Thu, 16 Jul 2026 14:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784212128; bh=z7C8SgwEaiB0bLjAUwKmgKqzXdkuXUYQXevSoDDUV7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=fiVM/i+G02IFWf5ar8JEizc3V2YFRBOkUaRIqro+ywcM8QCh16siZk+thKEddR3o7 YFFRETBoP4qPqFo5ZQBSLpSW/dy7hMGkUzEQ970CfvD0VW20LegiBybUr8AopzhcDQ H60Tj6l36oMQVZC95DRCvhdRXIq1SXjWIwQJNX9I= 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.12 210/349] serial: 8250_mid: Disable DMA for selected platforms Date: Thu, 16 Jul 2026 15:32:24 +0200 Message-ID: <20260716133038.061803240@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260716133033.287196923@linuxfoundation.org> References: <20260716133033.287196923@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.12-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[] = {