From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424526AbcBRBrv (ORCPT ); Wed, 17 Feb 2016 20:47:51 -0500 Received: from erouter8.ore.mailhop.org ([54.187.218.212]:21434 "EHLO erouter8.ore.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423846AbcBRBru (ORCPT ); Wed, 17 Feb 2016 20:47:50 -0500 X-Greylist: delayed 816 seconds by postgrey-1.27 at vger.kernel.org; Wed, 17 Feb 2016 20:47:49 EST X-MHO-User: 34073164-d5e1-11e5-a023-11ad6df26ed1 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 74.98.178.100 X-Mail-Handler: DuoCircle Outbound SMTP X-DKIM: OpenDKIM Filter v2.6.8 io 46E168006E Date: Thu, 18 Feb 2016 01:47:40 +0000 From: Jason Cooper To: Paul Burton Cc: linux-mips@linux-mips.org, Ralf Baechle , Marc Zyngier , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/15] irqchip: mips-gic: Use HW IDs for VPE_OTHER_ADDR Message-ID: <20160218014740.GP5183@io.lakedaemon.net> References: <1454469335-14778-1-git-send-email-paul.burton@imgtec.com> <1454469335-14778-8-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454469335-14778-8-git-send-email-paul.burton@imgtec.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2016 at 03:15:27AM +0000, Paul Burton wrote: > The Linux CPU number doesn't necessarily match up with the ID used for a > VP by hardware. Convert the CPU number to the HW ID using mips_cm_vp_id > when writing to the VP(E)_OTHER_ADDR register in order to ensure that we > correctly access registers for the VPs of secondary cores. This most > notably affects systems using CM3, such as those based around I6400. > > Signed-off-by: Paul Burton > --- > > drivers/irqchip/irq-mips-gic.c | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) Note: standard subject line for irqchip is 'irqchip/mips-gic: [A-Z]...' with that small change, Acked-by: Jason Cooper thx, Jason.