All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/1] arch: arm: Program GIC LPI configuration table
Date: Fri, 6 Dec 2019 14:02:25 -0500	[thread overview]
Message-ID: <20191206190225.GS9549@bill-the-cat> (raw)
In-Reply-To: <20191205051402.12284-1-vladimir.olovyannikov@broadcom.com>

On Wed, Dec 04, 2019 at 09:14:02PM -0800, Vladimir Olovyannikov wrote:

> From: Bharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
> 
> Programs the following:
> 1. Redistributor PROCBASER configuration table (which
> is common for all redistributors)
> 2. Redistributor pending table (PENDBASER), for all the
> available redistributors.
> 
> Signed-off-by: Bharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
> Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
> ---
>  arch/arm/Kconfig              |  11 +++
>  arch/arm/include/asm/gic-v3.h | 134 ++++++++++++++++++++++++++++++++++
>  arch/arm/lib/Makefile         |   3 +
>  arch/arm/lib/gic-v3-its.c     | 100 +++++++++++++++++++++++++
>  4 files changed, 248 insertions(+)
>  create mode 100644 arch/arm/include/asm/gic-v3.h
>  create mode 100644 arch/arm/lib/gic-v3-its.c
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f96841c777..cf46aa867d 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -61,6 +61,17 @@ config LNX_KRNL_IMG_TEXT_OFFSET_BASE
>  endif
>  endif
>  
> +config GIC_V3_ITS
> +	bool "ARM GICV3 ITS"
> +	default n

Note that n is the default, we can drop this.

> diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
> index 9de9a9acee..942ed1c73a 100644
> --- a/arch/arm/lib/Makefile
> +++ b/arch/arm/lib/Makefile
> @@ -52,6 +52,9 @@ obj-$(CONFIG_FSL_LAYERSCAPE) += ccn504.o
>  ifneq ($(CONFIG_GICV2)$(CONFIG_GICV3),)
>  obj-y	+= gic_64.o
>  endif
> +ifdef CONFIG_GIC_V3_ITS
> +obj-y	+= gic-v3-its.o
> +endif
>  obj-y	+= interrupts_64.o
>  else
>  obj-y	+= interrupts.o

This part of the Makefile can be tricky to read.  We should be able to
use the normal formation of 'obj-$(CONFIG_GIC_V3_ITS)' in this spot in
the file as we don't have other difficult to express concisely in make
constraints around.

Other than that, please make sure the code is checkpatch clean, I don't
have any commentary on the implementation itself but I gather it's
tested on your end.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191206/4690c724/attachment.sig>

  reply	other threads:[~2019-12-06 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-05  5:14 [PATCH 1/1] arch: arm: Program GIC LPI configuration table Vladimir Olovyannikov
2019-12-06 19:02 ` Tom Rini [this message]
2019-12-06 22:18   ` Vladimir Olovyannikov

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=20191206190225.GS9549@bill-the-cat \
    --to=trini@konsulko.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 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.