Re: [PATCH 02/11] ARM: Add code to support SMCCC on AArch64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 29, 2018 at 08:48:51PM -0700, Andrey Smirnov wrote:
> Port SMCCC code from Linux kernel. To accomodate that:
> 
>   - Introduce CONFIG_ARM_SMCCC, to allow enabling the code
>     independent of CONFIG_ARM_SECURE_MONITOR
> 
>   - Bring <linux/arm-smccc.h> in
> 
>   - Add necessary constants to arch/arm/asm-offsets.c
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  arch/arm/Kconfig                   |   4 +
>  arch/arm/cpu/Makefile              |   4 +-
>  arch/arm/cpu/smccc-call_64.S       |  52 +++++++++++
>  arch/arm/include/asm/asm-offsets.h |   1 +
>  arch/arm/lib/asm-offsets.c         |   7 +-
>  include/linux/arm-smccc.h          | 135 +++++++++++++++++++++++++++++
>  6 files changed, 200 insertions(+), 3 deletions(-)
>  create mode 100644 arch/arm/cpu/smccc-call_64.S
>  create mode 100644 arch/arm/include/asm/asm-offsets.h
>  create mode 100644 include/linux/arm-smccc.h
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 3555b4ee5..6f8eec708 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -388,7 +388,11 @@ config ARM_SEMIHOSTING
>  	  the data on the host computer connected to the target via
>  	  debugging channel (JTAG, SWD). If unsure say N
>  
> +config ARM_SMCCC
> +	bool
> +
>  config ARM_SECURE_MONITOR
> +        select ARM_SMCCC

Whitespaces instead of tab here.

Sascha

-- 
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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux