From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753289AbaKLG0E (ORCPT ); Wed, 12 Nov 2014 01:26:04 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:1262 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752968AbaKLGZz (ORCPT ); Wed, 12 Nov 2014 01:25:55 -0500 From: Jisheng Zhang To: , CC: , , Jisheng Zhang Subject: [PATCH v2 0/3] irqchip: dw-apb-ictl: IRQ_GC_MASK_CACHE_PER_TYPE and PM support Date: Wed, 12 Nov 2014 14:22:51 +0800 Message-ID: <1415773374-4629-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.1.3 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.28,0.0.0000 definitions=2014-11-12_04:2014-11-11,2014-11-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411120057 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches try to improve dw-apb-ictl irqchip driver a bit. The first patch improves the performance a bit -- use the relaxed version The two dw-apb-ictl's irq_chip_type instances have separate mask registers, so the second patch enables IRQ_GC_MASK_CACHE_PER_TYPE. The last patch adds suspend/resume support to the driver. Tested on Marvell BG2Q-DMP board. Changes in v2: - Add Sebastian's Acks - Update the first commit as Sebastian and Thomas suggested - Add into commit log summary of the discussion why relaxed variants can be used Jisheng Zhang (3): irqchip: dw-apb-ictl: always use use {readl|writel}_relaxed irqchip: dw-apb-ictl: enable IRQ_GC_MASK_CACHE_PER_TYPE irqchip: dw-apb-ictl: add PM support drivers/irqchip/irq-dw-apb-ictl.c | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) -- 2.1.3