Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751401AbcJILFn (ORCPT ); Sun, 9 Oct 2016 07:05:43 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:47436 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976AbcJILFl (ORCPT ); Sun, 9 Oct 2016 07:05:41 -0400 Date: Sun, 9 Oct 2016 13:03:10 +0200 (CEST) From: Thomas Gleixner To: Rich Felker cc: linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, Jason Cooper , Marc Zyngier , Daniel Lezcano , "Paul E. McKenney" Subject: Re: [PATCH] irqchip/jcore: fix lost per-cpu interrupts In-Reply-To: <41fc74d0bdea4c0efc269150b78d72b2b26cb38c.1475992312.git.dalias@libc.org> Message-ID: References: <41fc74d0bdea4c0efc269150b78d72b2b26cb38c.1475992312.git.dalias@libc.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 588 Lines: 18 On Sun, 9 Oct 2016, Rich Felker wrote: > Ideas for improvement are welcome -- for example the > irq_is_percpu(irq_desc_get_irq(desc)) thing looks rather silly but I See the other mail. > didn't see a better way without poking through abstractions -- but > overall I think this both solves the timer stall issue that I wasted > other people's time on, and addresses the concerns about the J-Core > AIC driver being oblivious to whether an irq is per-cpu. You could put that knowledge into the device tree so you can decide at mapping time whether it is per cpu or not. Thanks, tglx