From: Nicholas Piggin <npiggin@gmail•com>
To: Christophe Leroy <christophe.leroy@c-s•fr>,
linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH 2/3] powerpc/64s/radix: ioremap use ioremap_page_range
Date: Mon, 24 Jun 2019 13:12:08 +1000 [thread overview]
Message-ID: <1561338208.fzkdxt4wa2.astroid@bobo.none> (raw)
In-Reply-To: <19abe0c7-9d58-73f9-d1e9-118e95a7961c@c-s.fr>
Christophe Leroy's on June 20, 2019 2:25 am:
>
>
> Le 19/06/2019 à 05:59, Nicholas Piggin a écrit :
>> Christophe Leroy's on June 11, 2019 4:46 pm:
>>>
>>>
>>> Le 10/06/2019 à 05:08, Nicholas Piggin a écrit :
>> I would like to remove the early ioremap or make it into its own
>> function. Re-implement map_kernel_page with ioremap_page_range,
>> allow page tables that don't use slab to avoid the early check,
>> unbolt the hptes mapped in early boot, etc.
>
> Getting early ioremap out of the picture is a very good idea, it will
> help making things more common between all platform types. Today we face
> the fact that PPC32 allocates early io from the top of memory while
> PPC64 allocates it from the bottom of memory.
>
> Any idea on how to proceed ?
I have to have a bit better look at other arches and our platform
code. Without having looked closely at all the details, I would hope
we could use GENERIC_EARLY_IOREMAP without too much pain.
Thanks,
Nick
next prev parent reply other threads:[~2019-06-24 3:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 3:08 [PATCH 1/3] powerpc/64: __ioremap_at clean up in the error case Nicholas Piggin
2019-06-10 3:08 ` [PATCH 2/3] powerpc/64s/radix: ioremap use ioremap_page_range Nicholas Piggin
2019-06-11 6:46 ` Christophe Leroy
2019-06-19 3:59 ` Nicholas Piggin
2019-06-19 12:49 ` Christophe Leroy
2019-06-24 1:03 ` Nicholas Piggin
2019-06-19 16:25 ` Christophe Leroy
2019-06-24 3:12 ` Nicholas Piggin [this message]
2019-08-05 12:52 ` Christophe Leroy
2019-06-10 3:08 ` [PATCH 3/3] powerpc/64s/radix: Enable HAVE_ARCH_HUGE_VMAP Nicholas Piggin
2019-06-11 6:28 ` [PATCH 1/3] powerpc/64: __ioremap_at clean up in the error case Christophe Leroy
2019-06-19 4:04 ` Nicholas Piggin
2019-06-19 13:04 ` Christophe Leroy
2019-06-30 8:37 ` Michael Ellerman
2019-08-20 7:44 ` Christophe Leroy
2019-08-27 8:16 ` Nicholas Piggin
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=1561338208.fzkdxt4wa2.astroid@bobo.none \
--to=npiggin@gmail$(echo .)com \
--cc=christophe.leroy@c-s$(echo .)fr \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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