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 B69F2424D78; Thu, 16 Jul 2026 13:48:13 +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=1784209703; cv=none; b=XCegkz+MvJU7gHuNOYCWRylw8u6SWXDlPRsKoNDPBIZX/kmLqQpeiPcxrhzbRNnj9lE18A39qukIa2kgCZYv2P1ZhL8Gwxs7aROq/9Mv7m6/nJpMVzAH0+dOvnwaak+V0NOqp5tDU/Dry319uFqg+RRh/hfEj+c/CkvUxYddyEI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784209703; c=relaxed/simple; bh=dxoj3K1SKGkkekLY1L0bFhdQs/h7+nDueGUoJ7KGNRw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uSHmo04CC35GuY2DeMUWhyoVTK2nYMqOY5G4s5NAG+AJitHkWTjm+DJO2zEOM3M50YqQ5G6E0vdDmAQKmSLtLsRHEDyRiSllED7ASg+aYfWQt5C05Eyhf/ELMtYyRPyqBT3x2u25YIxOQeV760O6PKEEYS2bkbnJ6vkMGsAVn7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sIkfOHt9; 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="sIkfOHt9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABEAD1F00A3D; Thu, 16 Jul 2026 13:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784209689; bh=9k1MAYRXqdRdrOn3EY08MqERh3yl/v1u48dLfWlhfC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=sIkfOHt9MqLyv3St061ATSafSMIilprWMj+4kg3rKx39/zhwdCZLKFU+6ZrArVnEl EiLy84JDUR/JosLbzIPcfC0IJ7VvRPLmmD23LEV8ASs6A/j7WUMt1vUPXEZk96TOYT Wwclz2/uK1H4OzZSj2t/Jjx0nK9BR/9VR4lMV66A= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, micas-opensource , stable , Andy Shevchenko Subject: [PATCH 7.1 281/518] serial: 8250_mid: Disable DMA for selected platforms Date: Thu, 16 Jul 2026 15:29:09 +0200 Message-ID: <20260716133053.960459288@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260716133047.772246337@linuxfoundation.org> References: <20260716133047.772246337@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 7.1-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[] = {