Thread (35 messages) 35 messages, 7 authors, 2024-02-26

Re: [PATCH v1 10/14] serial: 8250_of: Switch to use uart_read_port_properties()

From: Andrew Jeffery <andrew@codeconstruct.com.au>
Date: 2024-02-26 04:12:34
Also in: linux-aspeed, linux-mips, linux-serial, linux-tegra, lkml

On Thu, 2024-02-22 at 18:47 +0200, Andy Shevchenko wrote:
On Thu, Feb 22, 2024 at 06:43:08PM +0200, Andy Shevchenko wrote:
quoted
On Thu, Feb 22, 2024 at 03:23:24PM +0200, Andy Shevchenko wrote:
quoted
On Thu, Feb 22, 2024 at 11:07:05AM +1030, Andrew Jeffery wrote:
quoted
On Wed, 2024-02-21 at 20:31 +0200, Andy Shevchenko wrote:
quoted
Since we have now a common helper to read port properties
use it instead of sparse home grown solution.
I did some brief testing of the series for the Aspeed machines under
qemu, building them on top of v6.8-rc5:

export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
make aspeed_g5_defconfig
make -j$(nproc)
qemu-system-arm -M rainier-bmc -nographic -no-reboot -kernel arch/arm/boot/zImage -dtb arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb -initrd ...

I got an oops during boot, which bisected to this change:
Thank you for prompt testing! I will look at it.
I found the issue, will be fixed in next version.
Whoever is going to test this series, the

-		port->iotype = use_defaults ? UPIO_MEM : port->iotype;
+		port->iotype = UPIO_MEM;

should be applied to uart_read_port_properties() implementation.
Thanks, with that fix applied it works fine for me also.

Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help