Re: [PATCH v4 1/5] serial: 8250_dw: select port setup through platform data

From: Andy Shevchenko

Date: Wed Oct 28 2026 - 05:45:18 EST


On Wed, Oct 28, 2026 at 10:56:20AM +0200, Andy Shevchenko wrote:
> On Tue, Oct 27, 2026 at 05:05:29PM -0600, James Hilliard wrote:

...

> > + if (!IS_ENABLED(CONFIG_64BIT))
> > + dw8250_setup_port(p);
>
> I believe the Cavium OCTEON is 64-bit only platform, so you can just drop this
> conditional altogether.

Yes, confirmed. The only single ifdef is required when we use __raw_readq().
The second can be dropped. I will send a patch for that.

--
With Best Regards,
Andy Shevchenko