From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 27 Jun 2013 00:23:50 +0200 (CEST) Received: from multi.imgtec.com ([194.200.65.239]:24717 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6827473Ab3FZWXrbCF6L (ORCPT ); Thu, 27 Jun 2013 00:23:47 +0200 Message-ID: <51CB69E4.1070900@imgtec.com> Date: Wed, 26 Jun 2013 17:23:32 -0500 From: "Steven J. Hill" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Ralf Baechle CC: Tony Wu , , Chris Dearman Subject: Re: [PATCH] MIPS: Fix gic_set_affinity infinite loop References: <20130621111308.GC23231@hades.local> <51C486DF.4020303@imgtec.com> <20130626190547.GK7171@linux-mips.org> In-Reply-To: <20130626190547.GK7171@linux-mips.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.159.62] X-SEF-Processed: 7_3_0_01192__2013_06_26_23_23_40 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 37154 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Steven.Hill@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On 06/26/2013 02:05 PM, Ralf Baechle wrote: > > I assume on a SMP GIC configuration he must have tried something like > > echo 1 > /proc/irq/2/smp_affinity > > Where 1 is a CPU bit mask and 2 the number of a GIC interrupt of which > to change the affinity. > I confirmed the hang on the Malta board. Tony's patch fixes this. Thank you Tony. Steve From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from multi.imgtec.com ([194.200.65.239]:24717 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6827473Ab3FZWXrbCF6L (ORCPT ); Thu, 27 Jun 2013 00:23:47 +0200 Message-ID: <51CB69E4.1070900@imgtec.com> Date: Wed, 26 Jun 2013 17:23:32 -0500 From: "Steven J. Hill" MIME-Version: 1.0 Subject: Re: [PATCH] MIPS: Fix gic_set_affinity infinite loop References: <20130621111308.GC23231@hades.local> <51C486DF.4020303@imgtec.com> <20130626190547.GK7171@linux-mips.org> In-Reply-To: <20130626190547.GK7171@linux-mips.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Ralf Baechle Cc: Tony Wu , linux-mips@linux-mips.org, Chris Dearman Message-ID: <20130626222332.j552liBYoVOBuKr5qmrErsa7OtcahRORRk-wnnUHfe0@z> On 06/26/2013 02:05 PM, Ralf Baechle wrote: > > I assume on a SMP GIC configuration he must have tried something like > > echo 1 > /proc/irq/2/smp_affinity > > Where 1 is a CPU bit mask and 2 the number of a GIC interrupt of which > to change the affinity. > I confirmed the hang on the Malta board. Tony's patch fixes this. Thank you Tony. Steve