Hi, * Matthew Howell <matthew.howell@xxxxxxxxxxxx> [230828 20:41]: > From: Matthew Howell <matthew.howell@xxxxxxxxxxxx> > XR17V35X cards seemingly unable to register serial port. Confirmed on > Sealevel 7202C, 7204EC, and Exar XR17V352 reference board. > dmesg states: "Couldn't register serial port 0, irq 24, type 2, error -22" > > I first identified the problem when I pulled down 6.6-rc1 and I was able > to trace it to d962de6ae51f9b76ad736220077cda83084090b1. I understand that this > commit is noted as being reverted in 1ef2c2df1199, but I was only able to > resolve the issue by reverting d962de6ae51f myself using this patch. Thanks for the report. Do you maybe mean 6.5-rc1 instead of 6.6-rc1 above? If so, I suspect the issue you are reporting got already fixed during the -rc cycle for v6.5 kernel. > I suggest reverting using this patch unless someone more knowledgeable > about what these changes actually do has a better suggestion. Can you please test with v6.5 kernel? It has the two fixes below that sounds like you may have been missing: a4a79e03bab5 ("serial: core: Revert port_id use") 04c7f60ca477 ("serial: core: Fix serial core port id, including multiport devices") Note how commit a4a79e03bab5 already did a partial revert of what you're suggesting. If you already have these two commits, then let's investigate further to see what might be still wrong. Regards, Tony