All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX
Date: Tue, 5 May 2015 11:53:29 +0100	[thread overview]
Message-ID: <20150505105329.GC1550@arm.com> (raw)
In-Reply-To: <1430686172-18222-5-git-send-email-rric@kernel.org>

On Sun, May 03, 2015 at 09:49:32PM +0100, Robert Richter wrote:
> From: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
> 
> In case of ARCH_THUNDER, there is a need to allocate the GICv3 ITS table
> which is bigger than the allowed max order. So we are forcing it only in
> case of 4KB page size.

Does this problem disappear if the ITS driver uses dma_alloc_coherent
instead? That would also allow us to remove the __flush_dcache_area abuse
from the driver.

Will

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will.deacon@arm.com>
To: Robert Richter <rric@kernel.org>
Cc: Marc Zyngier <Marc.Zyngier@arm.com>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Tirumalesh Chalamarla <tchalamarla@cavium.com>,
	Radha Mohan Chintakuntla <rchintakuntla@cavium.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Robert Richter <rrichter@cavium.com>
Subject: Re: [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX
Date: Tue, 5 May 2015 11:53:29 +0100	[thread overview]
Message-ID: <20150505105329.GC1550@arm.com> (raw)
In-Reply-To: <1430686172-18222-5-git-send-email-rric@kernel.org>

On Sun, May 03, 2015 at 09:49:32PM +0100, Robert Richter wrote:
> From: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
> 
> In case of ARCH_THUNDER, there is a need to allocate the GICv3 ITS table
> which is bigger than the allowed max order. So we are forcing it only in
> case of 4KB page size.

Does this problem disappear if the ITS driver uses dma_alloc_coherent
instead? That would also allow us to remove the __flush_dcache_area abuse
from the driver.

Will

  reply	other threads:[~2015-05-05 10:53 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-03 20:49 [PATCH 0/4] arm64: gicv3: its: Fixes and updates for ThunderX Robert Richter
2015-05-03 20:49 ` Robert Richter
2015-05-03 20:49 ` [PATCH 1/4] arm64: gicv3: its: Encode domain number in PCI stream id Robert Richter
2015-05-03 20:49   ` Robert Richter
2015-05-20 12:11   ` Marc Zyngier
2015-05-20 12:11     ` Marc Zyngier
2015-05-20 12:48     ` Robert Richter
2015-05-20 12:48       ` Robert Richter
2015-05-22  8:26       ` Marc Zyngier
2015-05-22  8:26         ` Marc Zyngier
2015-05-22 22:57         ` Chalamarla, Tirumalesh
2015-05-22 22:57           ` Chalamarla, Tirumalesh
2015-05-25 10:38           ` Marc Zyngier
2015-05-25 10:38             ` Marc Zyngier
2015-05-03 20:49 ` [PATCH 2/4] arm64: gicv3: its: Add range check for number of allocated pages Robert Richter
2015-05-03 20:49   ` Robert Richter
2015-05-20 12:14   ` Marc Zyngier
2015-05-20 12:14     ` Marc Zyngier
2015-05-03 20:49 ` [PATCH 3/4] arm64: gicv3: its: Read typer register outside the loop Robert Richter
2015-05-03 20:49   ` Robert Richter
2015-05-20 12:15   ` Marc Zyngier
2015-05-20 12:15     ` Marc Zyngier
2015-05-03 20:49 ` [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX Robert Richter
2015-05-03 20:49   ` Robert Richter
2015-05-05 10:53   ` Will Deacon [this message]
2015-05-05 10:53     ` Will Deacon
2015-05-11  9:14     ` Robert Richter
2015-05-11  9:14       ` Robert Richter
2015-05-12 12:30       ` Will Deacon
2015-05-12 12:30         ` Will Deacon
2015-05-12 16:20         ` Robert Richter
2015-05-12 16:20           ` Robert Richter
2015-05-12 17:24           ` Will Deacon
2015-05-12 17:24             ` Will Deacon
2015-05-12 17:46             ` Robert Richter
2015-05-12 17:46               ` Robert Richter
2015-05-20 12:22             ` Marc Zyngier
2015-05-20 12:22               ` Marc Zyngier
2015-05-20 12:31               ` Robert Richter
2015-05-20 12:31                 ` Robert Richter
2015-05-20 16:48                 ` Catalin Marinas
2015-05-20 16:48                   ` Catalin Marinas
2015-05-21  8:35                   ` Marc Zyngier
2015-05-21  8:35                     ` Marc Zyngier
2015-05-21 12:13                     ` Robert Richter
2015-05-21 12:13                       ` Robert Richter
2015-05-21 12:34                       ` Marc Zyngier

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=20150505105329.GC1550@arm.com \
    --to=will.deacon@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.