From: Florian Eckert <fe@dev.tdt.de>
To: Jiri Slaby <jirislaby@kernel.org>
Cc: gregkh@linuxfoundation.org, kumaravel.thiagarajan@microchip.com,
andriy.shevchenko@linux.intel.com, pnewman@connecttech.com,
angelogioacchino.delregno@collabora.com, peterz@infradead.org,
yujiaoliang@vivo.com, arnd@kernel.org, cang1@live.co.uk,
macro@orcam.me.uk, schnelle@linux.ibm.com,
Eckert.Florian@googlemail.com, linux-kernel@vger.kernel.org,
linux-serial@vger.kernel.org
Subject: Re: [PATCH v2] serial: 8250_pcilib: Replace deprecated PCI functions
Date: Wed, 01 Oct 2025 16:45:44 +0200 [thread overview]
Message-ID: <e19fa21955115f4621b47b170c3a2193@dev.tdt.de> (raw)
In-Reply-To: <f6fe95e5-0dd3-4ce0-b741-06cacf283e4c@kernel.org>
On 2025-09-30 09:34, Jiri Slaby wrote:
> On 30. 09. 25, 9:27, Florian Eckert wrote:
>> When the '8250_exar' module is loaded into the kernel, a kernel trace
>> with 'WARN_ON(legacy_iomap_table[bar])' is dumped to the console,
>> because the old pci table mapping is still used in '8250_pcilib'.
>>
>> The old function have been deprecated in commit e354bb84a4c1 ("PCI:
>> Deprecate pcim_iomap_table(), pcim_iomap_regions_request_all()").
>>
>> The remapping already takes or must take place in the driver that
>> calls
>> the function 'serial8250_pci_setup_port()'. The remapping should only
>> be
>> called once via 'pcim_iomap()'. Therefore the remapping moved to the
>> caller of 'serial8250_pci_setup_port()'.
>>
>> To replace the outdated/legacy iomap_table processing in '8250_pcilib'
>> the
>> function signature of 'serial8250_pci_setup_port()' has been extended
>> with
>> an already iomapped address value. So this can be used directly
>> without
>> io mapping again.
>>
>> Signed-off-by: Florian Eckert <fe@dev.tdt.de>
>> ---
>>
>> v2:
>> * The function 'pcim_iomap()' returns a NULL pointer in the event of
>> an
>> error, so error handling has been adjusted.
>
> LGTM now.
>
> Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Thanks for the review tag. Will this be included in linux next?
Or do I need to do something? I also think that this should be
backportet
to the latest LTS kernel “6.12.*”. This is where I noticed the problem.
--
Florian
next prev parent reply other threads:[~2025-10-01 14:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 7:27 [PATCH v2] serial: 8250_pcilib: Replace deprecated PCI functions Florian Eckert
2025-09-30 7:34 ` Jiri Slaby
2025-10-01 14:45 ` Florian Eckert [this message]
2025-10-02 5:25 ` Greg KH
2025-10-07 14:31 ` Florian Eckert
2025-10-13 20:35 ` Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2025-10-18 19:33 Andy Shevchenko
2025-10-20 6:47 ` Florian Eckert
2025-10-20 8:42 ` Andy Shevchenko
2025-10-20 16:18 ` Florian Eckert
2025-10-20 17:32 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e19fa21955115f4621b47b170c3a2193@dev.tdt.de \
--to=fe@dev.tdt.de \
--cc=Eckert.Florian@googlemail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arnd@kernel.org \
--cc=cang1@live.co.uk \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kumaravel.thiagarajan@microchip.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=macro@orcam.me.uk \
--cc=peterz@infradead.org \
--cc=pnewman@connecttech.com \
--cc=schnelle@linux.ibm.com \
--cc=yujiaoliang@vivo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.