From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410AbaINFlF (ORCPT ); Sun, 14 Sep 2014 01:41:05 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:58771 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752339AbaINFlC (ORCPT ); Sun, 14 Sep 2014 01:41:02 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 96.249.243.124 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/ITAvvY9luPnZ3u9ta0ZUBrIwPsiNfj1c= X-DKIM: OpenDKIM Filter v2.0.1 titan 3434B5E12B7 Date: Sun, 14 Sep 2014 01:40:55 -0400 From: Jason Cooper To: Christoph Lameter Cc: Bartlomiej Zolnierkiewicz , Mark Brown , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, nicolas.pitre@linaro.org, Russell King , Tejun Heo , Kyungmin Park Subject: Re: linux-next: Tree for Sep 1 Message-ID: <20140914054055.GI21986@titan.lakedaemon.net> References: <20140901230728.GM29327@sirena.org.uk> <1627064.QhxvejlWdk@amdc1032> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph, On Tue, Sep 02, 2014 at 10:00:07AM -0500, Christoph Lameter wrote: > On Tue, 2 Sep 2014, Christoph Lameter wrote: > > > Oww.. This is double indirection deal there. A percpu offset pointing to > > a pointer? > > > > Generally the following is true (definition from > > include/asm-generic/percpu.h that is used for ARM for raw_cpu_read): > > > > #define raw_cpu_read_4(pcp) (*raw_cpu_ptr(&(pcp))) > > I think what the issue is that we dropped the fetch of the percpu offset > in the patch. Instead we are using the address of the variable that > contains the offset. Does this patch fix it? > > > Subject: irqchip: Properly fetch the per cpu offset > > The raw_cpu_read() conversion dropped the fetch of the offset > from base->percpu_base in gic_get_percpu_base. > > Signed-off-by: Christoph Lameter Acked-by: Jason Cooper thx, Jason.