]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 8 Nov 2022 12:19:51 +0000 (14:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Nov 2022 12:04:39 +0000 (13:04 +0100)
commit726f4929dac928183cbb2910bba8492bb5c8785f
tree4bc91992e9eb29a84255d81447dd9ac86a006e3e
parentfc760e177156dbd7dffd904877170ffdbde5b020
serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake

Configure DMA to use 16B burst size with Elkhart Lake. This makes the
bus use more efficient and works around an issue which occurs with the
previously used 1B.

The fix was initially developed by Srikanth Thokala and Aman Kumar.
This together with the previous config change is the cleaned up version
of the original fix.

Fixes: 7423c8c990cd ("serial: 8250_lpss: Enable DMA on Intel Elkhart Lake")
Cc: <stable@vger.kernel.org> # serial: 8250_lpss: Configure DMA also w/o DMA filter
Reported-by: Wentong Wu <wentong.wu@intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221108121952.5497-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_lpss.c