From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [crypto] [marvell-cesa] Driver hangs on Armada 385 device
Date: Wed, 24 Aug 2016 14:38:55 +0200 [thread overview]
Message-ID: <20160824143855.72e43246@free-electrons.com> (raw)
In-Reply-To: <57bd7c72.94052e0a.c451a.684f@mx.google.com>
Hello,
On Wed, 24 Aug 2016 13:52:33 +0300, radioconfusion at gmail.com wrote:
> I assume that you mean mem=1022M.
>
> Quick testing results:
> mem=256M works
> mem=384M not
> mem=524160k not (512M-128k)
> mem=524228k works (512M-60k)
> mem=512M works
> mem=524348k not (512M+60k)
> mem=524416k not (512M+128k)
> mem=768M works
> mem=896M not
> mem=960M not
> mem=1022M not
> mem=1023M not
> mem=1048000k not
> mem=1048448k not (1024M-128k)
> mem=1048514k not
> mem=1048516k works (1024M-60k)
> mem=1048518k works
> mem=1048520k works
> mem=1024M works
The Mbus windows need to have a power of two size, and there are
windows going from the device to the CPU for devices doing DMA. If the
memory size is not a power of two, I'm not sure we're rounding up the
window size to the next power of two. That might be the issue here.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-08-24 12:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 10:52 [crypto] [marvell-cesa] Driver hangs on Armada 385 device radioconfusion at gmail.com
2016-08-24 12:38 ` Thomas Petazzoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-08-24 9:15 radioconfusion at gmail.com
2016-08-24 9:26 ` Russell King - ARM Linux
2016-08-19 11:54 radioconfusion at gmail.com
2016-08-19 12:12 ` Thomas Petazzoni
2016-08-19 13:07 ` Romain Perier
2016-08-19 13:08 ` Russell King - ARM Linux
2016-08-19 13:28 ` Russell King - ARM Linux
2016-08-19 14:09 ` Romain Perier
2016-08-19 14:19 ` Romain Perier
2016-08-19 14:21 ` Russell King - ARM Linux
2016-08-19 14:39 ` Romain Perier
2016-07-14 12:29 radioconfusion at gmail.com
2016-07-08 9:55 radioconfusion at gmail.com
2016-07-07 9:20 radioconfusion at gmail.com
2016-07-07 13:43 ` Thomas Petazzoni
2016-07-05 8:46 radioconfusion at gmail.com
2016-07-06 7:06 ` Thomas Petazzoni
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=20160824143855.72e43246@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.