From: Jan Kiszka <jan.kiszka@siemens.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 17/17] jetson-tk1: Add PSCI configuration options and reserve secure code
Date: Tue, 21 Apr 2015 20:10:35 +0200 [thread overview]
Message-ID: <5536929B.4070602@siemens.com> (raw)
In-Reply-To: <1429639131.6174.22.camel@hellion.org.uk>
On 2015-04-21 19:58, Ian Campbell wrote:
> On Tue, 2015-04-21 at 07:18 +0200, Jan Kiszka wrote:
>> From: Ian Campbell <ijc@hellion.org.uk>
>>
>> The secure world code is relocated to the MB just below the top of 4G, we
>> reserve it in the FDT (by setting CONFIG_ARMV7_SECURE_RESERVE_SIZE) but it is
>> not protected in h/w. See next patch.
>
> Next patch, but this is the last one? Was it reordered earlier in the
> series or is it not yet included here?
Yes, I reordered because this one activates the feature. Tom, in case
you apply, please just drop that reference.
Jan
>
>>
>> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> Reviewed-by: Tom Rini <trini@konsulko.com>
>> Reviewed-by: Thierry Reding <treding@nvidia.com>
>> Tested-by: Thierry Reding <treding@nvidia.com>
>> Tested-by: Ian Campbell <ijc@hellion.org.uk>
>> ---
>> arch/arm/mach-tegra/tegra124/Kconfig | 2 ++
>> include/configs/jetson-tk1.h | 5 +++++
>> 2 files changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra/tegra124/Kconfig
>> index 88f627c..5114299 100644
>> --- a/arch/arm/mach-tegra/tegra124/Kconfig
>> +++ b/arch/arm/mach-tegra/tegra124/Kconfig
>> @@ -5,6 +5,8 @@ choice
>>
>> config TARGET_JETSON_TK1
>> bool "NVIDIA Tegra124 Jetson TK1 board"
>> + select CPU_V7_HAS_NONSEC if !SPL_BUILD
>> + select CPU_V7_HAS_VIRT if !SPL_BUILD
>>
>> config TARGET_NYAN_BIG
>> bool "Google/NVIDIA Nyan-big Chrombook"
>> diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
>> index 8c016b7..aeafbd5 100644
>> --- a/include/configs/jetson-tk1.h
>> +++ b/include/configs/jetson-tk1.h
>> @@ -79,4 +79,9 @@
>> #include "tegra-common-usb-gadget.h"
>> #include "tegra-common-post.h"
>>
>> +#define CONFIG_ARMV7_PSCI 1
>> +/* Reserve top 1M for secure RAM */
>> +#define CONFIG_ARMV7_SECURE_BASE 0xfff00000
>> +#define CONFIG_ARMV7_SECURE_RESERVE_SIZE 0x00100000
>> +
>> #endif /* __CONFIG_H */
>
>
--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2015-04-21 18:10 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 5:18 [U-Boot] [PATCH v7 00/17] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 01/17] ARM: Clean up CONFIG_ARMV7_NONSEC/VIRT/PSCI conditions Jan Kiszka
2015-04-22 6:02 ` Huan Wang
2015-04-22 14:03 ` Andre Przywara
2015-04-22 14:31 ` Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 02/17] sun7i: Remove duplicate call to psci_arch_init Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 03/17] ARM: Factor out common psci_get_cpu_id Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 04/17] ARM: Factor out reusable psci_cpu_off_common Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 05/17] ARM: Factor out reusable psci_cpu_entry Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 06/17] ARM: Factor out reusable psci_get_cpu_stack_top Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 07/17] ARM: Put target PC for PSCI CPU_ON on per-CPU stack Jan Kiszka
2015-05-13 7:21 ` Wang Dongsheng
2015-05-13 7:31 ` Jan Kiszka
2015-05-13 8:06 ` Wang Dongsheng
2015-04-21 5:18 ` [U-Boot] [PATCH v7 08/17] tegra124: Add more registers to struct mc_ctlr Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 09/17] virt-dt: Allow reservation of secure region when in a RAM carveout Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 10/17] tegra: Make tegra_powergate_power_on public Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 11/17] ARM: Add board-specific initialization hook for PSCI Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 12/17] tegra124: Add PSCI support for Tegra124 Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 13/17] tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0 Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 14/17] tegra: Set CNTFRQ for secondary CPUs Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 15/17] ARM: tegra: Enable SMMU when going non-secure Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 16/17] tegra: Boot in non-secure mode by default Jan Kiszka
2015-04-21 5:18 ` [U-Boot] [PATCH v7 17/17] jetson-tk1: Add PSCI configuration options and reserve secure code Jan Kiszka
2015-04-21 17:58 ` Ian Campbell
2015-04-21 18:10 ` Jan Kiszka [this message]
2015-04-21 15:33 ` [U-Boot] [PATCH v7 00/17] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix Stephen Warren
2015-05-08 6:01 ` Jan Kiszka
2015-05-08 15:40 ` Tom Warren
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=5536929B.4070602@siemens.com \
--to=jan.kiszka@siemens.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