mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Raphaël Poggi" <poggi.raph@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 01/12] arm: add armv8 Kconfig entries
Date: Thu, 23 Jun 2016 16:43:34 +0200	[thread overview]
Message-ID: <CACqcpZBDpPJMY1=VyEiO3GYg9LGcTcwvWdGkR8o5FETqW6vKnA@mail.gmail.com> (raw)
In-Reply-To: <20160615063329.GE9677@pengutronix.de>

2016-06-15 8:33 GMT+02:00 Sascha Hauer <s.hauer@pengutronix.de>:
> Hi Raphael,
>
> On Tue, Jun 14, 2016 at 09:06:35AM +0200, Raphael Poggi wrote:
>> Signed-off-by: Raphael Poggi <poggi.raph@gmail.com>
>> ---
>>  arch/arm/Kconfig     | 23 +++++++++++++++++++++++
>>  arch/arm/cpu/Kconfig | 29 ++++++++++++++++++++++++++++-
>>  2 files changed, 51 insertions(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
>> index 1fc887b..986fdaa 100644
>> --- a/arch/arm/Kconfig
>> +++ b/arch/arm/Kconfig
>> @@ -315,6 +315,29 @@ config ARM_BOARD_APPEND_ATAG
>>
>>  endmenu
>>
>> +choice
>> +     prompt "Barebox code model"
>> +     help
>> +       You should only select this option if you have a workload that
>> +       actually benefits from 64-bit processing or if your machine has
>> +       large memory. You will only be presented a single option in this
>> +       menu if your system does not support both 32-bit and 64-bit modes.
>> +
>> +config 32BIT
>> +     bool "32-bit barebox"
>> +     depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
>> +     help
>> +       Select this option if you want to build a 32-bit barebox.
>> +
>> +config 64BIT
>> +     bool "64-bit barebox"
>> +     depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
>> +     select ARCH_DMA_ADDR_T_64BIT
>> +     help
>> +       Select this option if you want to build a 64-bit barebox.
>> +
>> +endchoice
>> +
>>  menu "ARM specific settings"
>>
>>  config ARM_OPTIMZED_STRING_FUNCTIONS
>> diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
>
> arm64 needs 64bit pointers. You could merge the following to this patch
> to make resource_size_t 64bit wide and to get rid of the "warning: cast
> from pointer to integer of different size [-Wpointer-to-int-cast]"
> warnings.

Ok, thanks

>
> Sascha
>
> From 599547f4054ca715f66a83bf49dc9293e3cc0af0 Mon Sep 17 00:00:00 2001
> From: Sascha Hauer <s.hauer@pengutronix.de>
> Date: Wed, 15 Jun 2016 08:29:51 +0200
> Subject: [PATCH] arm64: select PHYS_ADDR_T_64BIT
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/cpu/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
> index fd327a8..c90501e 100644
> --- a/arch/arm/cpu/Kconfig
> +++ b/arch/arm/cpu/Kconfig
> @@ -1,9 +1,13 @@
>  comment "Processor Type"
>
> +config PHYS_ADDR_T_64BIT
> +       bool
> +
>  config CPU_32
>         bool
>
>  config CPU_64
> +       select PHYS_ADDR_T_64BIT
>         bool
>
>  # Select CPU types depending on the architecture selected. This selects
> --
> 2.8.1
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2016-06-23 14:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14  7:06 Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 01/12] arm: add armv8 Kconfig entries Raphael Poggi
2016-06-15  6:33   ` Sascha Hauer
2016-06-23 14:43     ` Raphaël Poggi [this message]
2016-06-14  7:06 ` [PATCH v2 02/12] arm: Makefile: rework makefile to handle armv8 Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 03/12] arm: introduce lib64 for arm64 related stuff Raphael Poggi
2016-06-15  6:15   ` Sascha Hauer
2016-06-23 14:43     ` Raphaël Poggi
2016-06-14  7:06 ` [PATCH v2 04/12] arm: cpu: add arm64 specific code Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 05/12] arm: include: system: add arm64 helper functions Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 06/12] arm: cpu: start: arm64 does not support relocation Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 07/12] arm: include: bitops: arm64 use generic __fls Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 08/12] arm: include: system_info: add armv8 identification Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 09/12] arm: cpu: cpuinfo: add armv8 support Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 10/12] arm: cpu: disable code portion in armv8 case Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 11/12] arm: cpu: add basic arm64 mmu support Raphael Poggi
2016-06-14  7:06 ` [PATCH v2 12/12] arm: boards: add mach-qemu and virt64 board Raphael Poggi
2016-06-24  8:17 ` Raphaël Poggi
2016-06-24 11:49   ` Re: Sascha Hauer

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='CACqcpZBDpPJMY1=VyEiO3GYg9LGcTcwvWdGkR8o5FETqW6vKnA@mail.gmail.com' \
    --to=poggi.raph@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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