From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbdGJPya (ORCPT ); Mon, 10 Jul 2017 11:54:30 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:36410 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932078AbdGJPy1 (ORCPT ); Mon, 10 Jul 2017 11:54:27 -0400 Subject: Re: [PATCH 5/6] irqchip: brcmstb-l2: Abstract register accesses To: Doug Berger , Thomas Gleixner Cc: Kevin Cernekee , Jason Cooper , Marc Zyngier , Brian Norris , Gregory Fong , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , "open list:BROADCOM BMIPS MIPS ARCHITECTURE" , "open list:IRQCHIP DRIVERS" , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" References: <20170707192016.13001-1-opendmb@gmail.com> <20170707192016.13001-6-opendmb@gmail.com> From: Florian Fainelli Message-ID: <7cd8c234-f048-fdc7-6e66-277de550265a@gmail.com> Date: Mon, 10 Jul 2017 08:54:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170707192016.13001-6-opendmb@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/07/2017 12:20 PM, Doug Berger wrote: > Added register block offsets to the brcmstb_l2_intc_data structure > for the status and mask registers to support reading the active > interupts in an abstracted way. It seems like an irq_chip method > should have been provided for this, but it's not there yet. > > Abstracted the implementation of the handler, suspend, and resume > functions to not use any hard coded register offsets. > > Signed-off-by: Doug Berger Reviewed-by: Florian Fainelli -- Florian