From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/4] MIPS: Use CPHYSADDR to implement mips32 virt_to_phys
Date: Fri, 27 May 2016 12:58:47 +0200 [thread overview]
Message-ID: <57482867.70208@gmail.com> (raw)
In-Reply-To: <20160526134936.14721-2-paul.burton@imgtec.com>
Am 26.05.2016 um 15:49 schrieb Paul Burton:
> Use CPHYSADDR to implement the virt_to_phys function for converting from
> a virtual to a physical address for MIPS32, much as is already done for
> MIPS64. This allows for virt_to_phys to work regardless of whether the
> address being translated is in kseg0 or kseg1, unlike the previous
> subtraction based approach which only worked for addresses in kseg0.
> This allows for drivers to provide an address to virt_to_phys without
> needing to manually ensure that kseg1 addresses are converted to
> equivalent kseg0 addresses first.
>
> This patch is equivalent to this Linux patch currently waiting to be
> reviewed & merged:
>
> https://patchwork.linux-mips.org/patch/12564/
>
> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
>
> ---
>
> Changes in v2:
> - New patch.
>
> arch/mips/include/asm/io.h | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
applied to u-boot-mips, thanks.
--
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160527/4aacbc1d/attachment.sig>
next prev parent reply other threads:[~2016-05-27 10:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 13:49 [U-Boot] [PATCH v2 0/4] Malta MIPS64 support Paul Burton
2016-05-26 13:49 ` [U-Boot] [PATCH v2 1/4] MIPS: Use CPHYSADDR to implement mips32 virt_to_phys Paul Burton
2016-05-27 10:58 ` Daniel Schwierzeck [this message]
2016-05-26 13:49 ` [U-Boot] [PATCH v2 2/4] net: pcnet: Stop converting kseg1->kseg0 addresses Paul Burton
2016-05-27 10:59 ` Daniel Schwierzeck
2016-05-26 13:49 ` [U-Boot] [PATCH v2 3/4] net: pcnet: Make 64 bit safe Paul Burton
2016-05-27 10:59 ` Daniel Schwierzeck
2016-05-26 13:49 ` [U-Boot] [PATCH v2 4/4] malta: Allow MIPS64 builds Paul Burton
2016-05-27 10:59 ` Daniel Schwierzeck
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=57482867.70208@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--cc=u-boot@lists.denx.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