Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755997AbcKJWuK (ORCPT ); Thu, 10 Nov 2016 17:50:10 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:42740 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755532AbcKJWuJ (ORCPT ); Thu, 10 Nov 2016 17:50:09 -0500 Date: Thu, 10 Nov 2016 23:50:16 +0100 From: Greg KH To: Michael Zoran Cc: devel@driverdev.osuosl.org, daniels@collabora.com, swarren@wwwdotorg.org, lee@kernel.org, linux-kernel@vger.kernel.org, eric@anholt.net, noralf@tronnes.org, linux-rpi-kernel@lists.infradead.org, popcornmix@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] staging: vc04_services: add vchiq_pagelist_info structure Message-ID: <20161110225016.GA11453@kroah.com> References: <20161031081035.22677-1-mzoran@crowfest.net> <20161107100331.GA19666@kroah.com> <1478533287.17065.1.camel@crowfest.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1478533287.17065.1.camel@crowfest.net> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1766 Lines: 51 On Mon, Nov 07, 2016 at 07:41:27AM -0800, Michael Zoran wrote: > On Mon, 2016-11-07 at 11:03 +0100, Greg KH wrote: > > On Mon, Oct 31, 2016 at 01:10:35AM -0700, Michael Zoran wrote: > > > The current dma_map_sg based implementation for bulk messages > > > computes many offsets into a single allocation multiple times in > > > both the create and free code paths.??This is inefficient, > > > error prone and in fact still has a few lingering issues > > > with arm64. > > > > > > This change replaces a small portion of that inplementation with > > > new code that uses a new struct vchiq_pagelist_info to store the > > > needed information rather then complex offset calculations. > > > > > > This improved implementation should be more efficient and easier > > > to understand and maintain. > > > > > > Tests Run(Both Pass): > > > vchiq_test -p 1 > > > vchiq_test -f 10 > > > > > > Signed-off-by: Michael Zoran > > > --- > > > ?.../interface/vchiq_arm/vchiq_2835_arm.c???????????| 223 > > > +++++++++++---------- > > > ?1 file changed, 113 insertions(+), 110 deletions(-) > > > > This doesn't apply to the tree anymore because of your previous patch > > :( > > > > Can you refresh it and resend? > > > > thanks, > > > > greg k-h > > OK, I resubmitted it. > > Once this patch gets applied 64-bit should be in decent shape. I'm not > seeing any warnings or errors anymore and functional tests from a 64- > bit OS look good. > > The only remaining issue that I know of is that it needs a 32-bit > compatibility layer for the ioctls when running a 32-bit OS(Raspbian) > on top of a 64-bit kernel. Ok, let's turn off BROKEN for the module, and enable CONFIG_TEST and see if the 0-day bot barfs all over it or not :) thanks, greg k-h