From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: bcm2835: use phys_to_bus() for mbox
Date: Mon, 6 Apr 2015 17:04:14 +0200 [thread overview]
Message-ID: <201504061704.14649.marex@denx.de> (raw)
In-Reply-To: <1428202104-16132-1-git-send-email-swarren@wwwdotorg.org>
On Sunday, April 05, 2015 at 04:48:24 AM, Stephen Warren wrote:
> When we communicate with the VideoCore to perform property mailbox
> transactions, that is a DMA operation as far as the property buffer
> is concerned. Use phys_to_bus() on that buffer.
>
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ---
> While this isn't USB-related, it does depend on patches that went into
> the USB topic/dwc2 tree. Either this can be merged there, or we'll have
> to wait until that branch is merged into u-boot/master and then merge
> this.
>
> As best I can tell, this is the last place we need to do this. SDHCI has
> potential but CONFIG_MMC_SDMA isn't set so I don't believe the code does
> any DMA. LCD has potential, but the VideoCore allocates the display
> surface, programs the display engine, and passes the surface's CPU pointer
> back to the CPU in a firmware message, of U-Boot isn't involved in setting
> up the DMA HW.
> ---
> arch/arm/cpu/arm1176/bcm2835/mbox.c | 5 +++--
I don't mind picking this up, but please rebase on top of u-boot/master,
which contains d6c418e4b8036038505ac67bf5d85a19ca2c650d .
Thanks!
Best regards,
Marek Vasut
prev parent reply other threads:[~2015-04-06 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-05 2:48 [U-Boot] [PATCH] ARM: bcm2835: use phys_to_bus() for mbox Stephen Warren
2015-04-06 15:04 ` Marek Vasut [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=201504061704.14649.marex@denx.de \
--to=marex@denx.de \
--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