Re: [PATCH v2 2/8] serial: txx9: Simplify knowing that .iotype is always UPIO_PORT

Geert Uytterhoeven <[email protected]> Tue, 4 Aug 2026 16:26:34 +0200
Newsgroups gmane.linux.serial,gmane.linux.kernel
Message-ID <CAMuHMdUyiGu7ArAVkFw5+3KH_rN0f+5GaiDwud9OnWaMM_DfSg@mail.gmail.com>
On Tue, 4 Aug 2026 at 16:05, Atsushi Nemoto <[email protected]> wrote:
> On Tue,  4 Aug 2026 10:57:54 +0200, Uwe Kleine-K=C3=B6nig (The Capable Hu=
b) <[email protected]> wrote:
> > After the previous commit it's obvious that .iotype is always UPIO_PORT=
.
> > Simplify some functions accordingly.
>
> No, .iotype can be UPIO_MEM if early_serial_txx9_setup() was called from
> arch/mips/txx9/generic/setup.c.
>
> Please drop this patch from your series.

Indeed:

    serial_txx9: ttyS0 MMIO:0x0000000fff1ff300 (irq =3D 32, base_baud =3D
3125000) is a txx9
    ** 19695 printk messages dropped **
    pcistat:22b0(ReceivedMasterAbort)
    PCIERR interrupt at 0xffffffff80379aec
    [...]

Gr{oetje,eeting}s,

                        Geert

--=20
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k=
.org

In personal conversations with technical people, I call myself a hacker. Bu=
t
when I'm talking to journalists I just say "programmer" or something like t=
hat.
                                -- Linus Torvalds