From: "Suthikulpanit, Suravee" <Suravee.Suthikulpanit@amd.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: "olof@lixom.net" <olof@lixom.net>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"will.deacon@arm.com" <will.deacon@arm.com>,
"marc.zyngier@arm.com" <marc.zyngier@arm.com>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"robherring2@gmail.com" <robherring2@gmail.com>,
"liviu.dudau@arm.com" <liviu.dudau@arm.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"arm@kernel.org" <arm@kernel.org>,
"Lendacky, Thomas" <Thomas.Lendacky@amd.com>,
"Schopp, Joel" <Joel.Schopp@amd.com>
Subject: Re: [PATCH V5] arm64: amd-seattle: Adding device tree for AMD Seattle platform
Date: Fri, 28 Nov 2014 16:42:04 +0000 [thread overview]
Message-ID: <D09EA4E8.A828%suravee.suthikulpanit@amd.com> (raw)
In-Reply-To: <201411281613.11626.arnd@arndb.de>
On 11/28/14, 22:13, "Arnd Bergmann" <arnd@arndb.de> wrote:
>On Wednesday 26 November 2014, suravee.suthikulpanit@amd.com wrote:
>> From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
>>
>> Initial revision of device tree for AMD Seattle Development platform.
>>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Cc: Marc Zyngier <marc.zyngier@arm.com>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
>> Signed-off-by: Thomas Lendacky <Thomas.Lendacky@amd.com>
>> Signed-off-by: Joel Schopp <Joel.Schopp@amd.com>
>> ---
>> V5 Changes:
>> * Rebase to arm-soc for-next (per Olof)
>> * Restructure the DTS/DTSI into board and SoC configurations (per
>>Olof)
>> * Add model property at the top level (per Olof)
>> * Move pcie0 under smb and change smb's ranges property to empty
>>since pcie
>> is not in the same range. (per Olof)
>> * Change v2m0's ranges property (per Arnd)
>> * Change timer interrupt type to level-trigger (per Marc)
>
>Applied to next/arm64, thanks!
Thank you
>
>Looking at this one more time, I had another question:
>
>> + smb0: smb {
>> + compatible = "simple-bus";
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> + ranges;
>> +
>> + /* DDR range is 40-bit addressing */
>> + dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>;
>> +
>
>What is a DDR range?
>
>Also, what is special about the last byte? Did you intentionally
>leave it out? I think when we calculate the dma mask, we will
>use 0x3fffffffff so we don't step on the last byte, which I assume
>is not what you intended.
>
> Arnd
Hm..probably not then. What I meant is to specify 40-bit addressing for
the memory range starting
from [0x80_0000_0000 - 0x100_0000_0000).
As, I discussed with you on IRC, it should also cover the V2m MSI register
frame, and should be starting from
0. The fix should then be:
dma-ranges = <0 0 0 0 0x100 0x00000000>
I will send a patch out to fix and add better comment for this.
Thanks,
Suravee
prev parent reply other threads:[~2014-11-28 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 4:51 suravee.suthikulpanit
2014-11-28 15:13 ` Arnd Bergmann
2014-11-28 16:42 ` Suthikulpanit, Suravee [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=D09EA4E8.A828%suravee.suthikulpanit@amd.com \
--to=suravee.suthikulpanit@amd.com \
--cc=Joel.Schopp@amd.com \
--cc=Thomas.Lendacky@amd.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=olof@lixom.net \
--cc=robherring2@gmail.com \
--cc=will.deacon@arm.com \
/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
all inboxes | Powered by JetHome®