Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753269AbbEKJsP (ORCPT ); Mon, 11 May 2015 05:48:15 -0400 Received: from mail-bl2on0072.outbound.protection.outlook.com ([65.55.169.72]:60789 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753148AbbEKJsL (ORCPT ); Mon, 11 May 2015 05:48:11 -0400 X-Greylist: delayed 1129 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 May 2015 05:48:11 EDT Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; Date: Mon, 11 May 2015 11:14:38 +0200 From: Robert Richter To: Will Deacon CC: Robert Richter , Marc Zyngier , Catalin Marinas , Tirumalesh Chalamarla , Radha Mohan Chintakuntla , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX Message-ID: <20150511091438.GW4251@rric.localhost> References: <1430686172-18222-1-git-send-email-rric@kernel.org> <1430686172-18222-5-git-send-email-rric@kernel.org> <20150505105329.GC1550@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20150505105329.GC1550@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [92.224.193.75] X-ClientProxiedBy: VI1PR06CA0022.eurprd06.prod.outlook.com (25.162.116.160) To CO2PR0701MB808.namprd07.prod.outlook.com (10.141.246.26) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR0701MB808; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CO2PR0701MB808;BCL:0;PCL:0;RULEID:;SRVR:CO2PR0701MB808; X-Forefront-PRVS: 05739BA1B5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(24454002)(51704005)(164054003)(87976001)(122386002)(97756001)(77156002)(62966003)(19580405001)(5001960100002)(77096005)(110136002)(40100003)(50466002)(19580395003)(189998001)(47776003)(83506001)(92566002)(66066001)(4001350100001)(33656002)(42186005)(46406003)(54356999)(2950100001)(76176999)(46102003)(76506005)(50986999)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR0701MB808;H:rric.localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2015 09:14:53.5636 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0701MB808 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1271 Lines: 33 On 05.05.15 11:53:29, Will Deacon wrote: > On Sun, May 03, 2015 at 09:49:32PM +0100, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > 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. __get_free_pages() is also used internally in dma_alloc_coherent(). There is another case if the device brings dma mem with it. I am not sure if it would be possible to assign some phys memory via devicetree to the interrupt controller and then assign that range for its table allocation. Another option would be to allocate a hugepage. This would require setting up hugepages during boottime. I need to figure out whether that could work. What about on the remaining 3 patches? Thanks, -Robert -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/