From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758136AbcAKDbi (ORCPT ); Sun, 10 Jan 2016 22:31:38 -0500 Received: from mail.asrmicro.com ([116.236.196.108]:47630 "EHLO mailsh.asrmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757742AbcAKDbh convert rfc822-to-8bit (ORCPT ); Sun, 10 Jan 2016 22:31:37 -0500 X-Greylist: delayed 765 seconds by postgrey-1.27 at vger.kernel.org; Sun, 10 Jan 2016 22:31:37 EST Subject: [Questions]: how to extend nr_irqs for arch arm64 Date: Mon, 11 Jan 2016 11:18:09 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8BIT Thread-Topic: [Questions]: how to extend nr_irqs for arch arm64 Thread-Index: AdFMHrI5+GC6SWp0QTWhsaqwBQkNgA== From: =?gb2312?B?WmhvdSBRaWFvKNbcx8gp?= To: , Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Cc: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, Jason I've a question about nr_irqs(with CONFIG_SPARSE_IRQ enabled) on arch arm64, and want to ask for your suggestions. The nr_irqs is set to NR_IRQS by default and NR_IRQS is small(64). Arch/arm platforms will re-set nr_irqs to a larger value. I didn't find similar way for arm64. The way I can think of is to redefine NR_IRQS. But according comments in include/asm-generic/irq.h, NR_IRQS should not be a large value. so what's the preferred way to extend nr_irqs, for arm64 specifically? Thanks in advance. Best Regards Qiao