From: Chintan Patel <chintanlike@gmail.com>
To: Helge Deller <deller@gmx.de>, linux@armlinux.org.uk
Cc: tzimmermann@suse.de, linux-fbdev@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v3] fbdev: claim Cyber2000 SPARC I/O aperture before ioremap
Date: Mon, 29 Jun 2026 21:22:06 -0700 [thread overview]
Message-ID: <c3f61201-f1d0-4302-b726-04ae16294fa8@gmail.com> (raw)
In-Reply-To: <5879368e-1a91-4d4d-9243-dd9de9d06962@gmx.de>
On 6/23/26 00:57, Helge Deller wrote:
> On 6/16/26 06:30, Chintan Patel wrote:
>> Claim the memory resource associated with the Cyber2000 SPARC MMIO
>> aperture before accessing it.
>>
>> This is part of the effort to request memory regions in fbdev drivers.
>
> IMHO this patch doesn't make much sense.
> The PCI regions (e.g. for x86) are already requested one level higher
> and are being kept reserved.
> This patch here only touches the SPARC code inside a path which is e.g.
> being used everytime the machine wakes up from sleep (does sparc even
> suspends?). So, instead here, I think (if you want to make this robust)
> the region should be reserved e.g. in cyberpro_common_probe(), but I'm
> not sure if this is even worth the effort....?
>
> Helge
Hi Helge,
Thanks for the explanation.
That makes sense. I was following the fbdev TODO item to request memory
regions, but I agree that reserving and releasing the region in
cyberpro_pci_enable_mmio() isn't the right lifetime if the function can
be called multiple times.
I'll take a closer look at whether the reservation belongs in
cyberpro_common_probe(). If not, I'll drop this patch.
Thanks,
Chintan
prev parent reply other threads:[~2026-06-30 4:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 4:30 [PATCH v3] fbdev: claim Cyber2000 SPARC I/O aperture before ioremap Chintan Patel
2026-06-23 7:57 ` Helge Deller
2026-06-30 4:22 ` Chintan Patel [this message]
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=c3f61201-f1d0-4302-b726-04ae16294fa8@gmail.com \
--to=chintanlike@gmail.com \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=tzimmermann@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox