From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 4/6] arm64: Add DTS support for FSL's LS2085A SoC
Date: Tue, 2 Sep 2014 11:05:31 +0100 [thread overview]
Message-ID: <20140902100531.GB25092@arm.com> (raw)
In-Reply-To: <78eaae039fd04eb58e1dac715968dd72@BN1PR03MB220.namprd03.prod.outlook.com>
On Fri, Aug 29, 2014 at 07:07:40PM +0100, bhupesh.sharma at freescale.com wrote:
> > > > > + memory at 80000000 {
> > > > > + device_type = "memory";
> > > > > + reg = <0x00000000 0x80000000 0 0x80000000>;
> > > > > + /* DRAM space 1 - 2 GB DRAM */
> > > > > + };
> > > >
> > > > Does that mean:
> > > >
> > > > - This is "DRAM space 1", populated with 2GB?
> > > >
> > > > Or:
> > > >
> > > > - The DRAM space can be populated with 1 to 2 GB?
> > > >
> > > > If the former, s/ - /: / for clarity.
> > > >
> > > > If the latter, it might make sense to move that into board-specific
> > > > dts files. If this can be dynamically populated ideally the
> > > > firmware/loader would fix this up (assuming it can probe the memory).
> > >
> > > If the former. I will fix it up in v3.
> >
> > Ok. Out of curiosity, are there other DRAM spaces that might be
> > populated?
>
> Yes there is another DRAM space. The 1st one is accessible within 32 bits and
> the 2nd one is accessible from 40-bit and above. However, I was waiting
> for the 4-level ARM64 page table patches (from Catalin) to get absorbed, as w/o the
> same we can access only a 39-bit PA and hence can have only 3-level page table limited
> to the 1st DRAM region (which is accessible via first 32 bits).
>
> Any idea, about the latest state of Catalin's patch ([1])? Has it made to linux-next?
The 48-bit VA support is in mainline but you wouldn't be able to enable
it because KVM is still broken. Hopefully it will make it to 3.18-rc1.
But here we are talking about 40-bit PA range which should be fine with
3 levels of page tables. The only problem is if you want to idmap the
memory beyond 40-bit (I don't know whether UEFI requires this but for
kernel booting you wouldn't need it since the kernel image is in the
lower part).
--
Catalin
next prev parent reply other threads:[~2014-09-02 10:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 9:55 [PATCH V2 0/6] ARM64: Add support for FSL's LS2085A SoC Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 1/6] Documentation: DT: Add bindings for FSL NS16550A UART Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 2/6] Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 3/6] Documentation: DT: Add entry for FSL Management Complex Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 4/6] arm64: Add DTS support for FSL's LS2085A SoC Bhupesh Sharma
2014-08-28 14:56 ` Mark Rutland
2014-08-29 15:51 ` bhupesh.sharma at freescale.com
2014-08-29 17:47 ` Mark Rutland
2014-08-29 18:07 ` bhupesh.sharma at freescale.com
2014-09-02 10:05 ` Catalin Marinas [this message]
2014-09-02 10:14 ` Catalin Marinas
2014-09-02 10:27 ` bhupesh.sharma at freescale.com
2014-09-02 10:19 ` Marc Zyngier
2014-09-03 17:23 ` Geoff Levand
2014-09-03 17:53 ` Mark Rutland
2014-09-03 18:17 ` Geoff Levand
2014-08-28 9:55 ` [PATCH V2 5/6] arm64: dts/Makefile: Add support for FSL's LS2085A simulator model Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 6/6] arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig Bhupesh Sharma
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=20140902100531.GB25092@arm.com \
--to=catalin.marinas@arm.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.