Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299580

Re: [PATCH v5 10/20] ARC: IRQ: do not use hwirq directly at arch_do_IRQ()

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Noam Camus <noamc@ezchip.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 10/20] ARC: IRQ: do not use hwirq directly at arch_do_IRQ()
Date Thu, 31 Dec 2015 06:30:02 +0100
Message-ID <qLDYd-g9-1@gated-at.bofh.it> (permalink)
References <qKjRT-7Gi-1@gated-at.bofh.it> <qLDYe-g9-3@gated-at.bofh.it> <qLm1k-5j3-17@gated-at.bofh.it>
X-Original-To Vineet Gupta <Vineet.Gupta1@synopsys.com>, "linux-snps-arc@lists.infradead.org" <linux-snps-arc@lists.infradead.org>
Thread-Topic [PATCH v5 10/20] ARC: IRQ: do not use hwirq directly at arch_do_IRQ()
Thread-Index AQHRQKqE4GIgQjz0a0Ss7RRnNjyvdJ7jU1QAgAE/uI8=
Accept-Language en-US
Content-Language en-US
Authentication-Results spf=none (sender IP is ) smtp.mailfrom=noamc@ezchip.com;
X-Originating-IP [157.56.250.69]
X-Microsoft-Exchange-Diagnostics 1;DB3PR02MB124;5:QS9+f4BoARYMLNiv3IkDOiaXx83z68Z5Y+4JuCyW5nziiMnvpUV36k5BAKCUTb0+qmEkLwVLkfTZp8m7CCFb6OZkVABY5iN5HqmazojG3L4/rWaAlgR4IGk1l8oor8KdZ7XQFVeiG6EAtDI7cPQnYQ==;24:beaPOgmbscRrh1jTm8izVIpbVxUq5rpZHRK9szVv/jfAlaCLCvrYdz+DvWG9q86QOpcYl7Otoy1YzdFA+Fw+nL02noJNgr0w57dvQK6uLu8=
X-Microsoft-Antispam UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR02MB124;
X-Microsoft-Antispam-Prvs <DB3PR02MB124C881F6C1CF54A18D00FED6FE0@DB3PR02MB124.eurprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test UriScan:;
X-Exchange-Antispam-Report-Cfa-Test BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001)(10201501046);SRVR:DB3PR02MB124;BCL:0;PCL:0;RULEID:;SRVR:DB3PR02MB124;
X-Forefront-Prvs 08076ABC99
X-Forefront-Antispam-Report SFV:NSPM;SFS:(10009020)(6009001)(199003)(377454003)(189002)(2900100001)(4326007)(11100500001)(189998001)(77096005)(81156007)(5001960100002)(5003600100002)(2501003)(5002640100001)(92566002)(5008740100001)(87936001)(106116001)(74316001)(97736004)(2950100001)(86362001)(101416001)(33656002)(10400500002)(106356001)(40100003)(122556002)(6116002)(5004730100002)(19580395003)(76576001)(105586002)(1096002)(102836003)(1220700001)(66066001)(19580405001)(50986999)(54356999)(586003)(76176999)(3846002)(5001770100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR02MB124;H:HE1PR02MB1387.eurprd02.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en;
Received-Spf None (protection.outlook.com: ezchip.com does not designate permitted sender hosts)
Spamdiagnosticoutput 1:23
Spamdiagnosticmetadata NSPM
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7BIT
MIME-Version 1.0
X-Originatororg ezchip.com
X-Ms-Exchange-Crosstenant-Originalarrivaltime 31 Dec 2015 05:21:26.9438 (UTC)
X-Ms-Exchange-Crosstenant-Fromentityheader Hosted
X-Ms-Exchange-Crosstenant-ID 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3
X-Ms-Exchange-Transport-Crosstenantheadersstamped DB3PR02MB124
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
X-Original-Cc "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "Chris Metcalf" <cmetcalf@ezchip.com>, "daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>, "marc.zyngier@arm.com" <marc.zyngier@arm.com>
X-Original-Date Thu, 31 Dec 2015 05:21:26 +0000
X-Original-Message-ID <HE1PR02MB138766FD1F3455F09AC8FD1BD6FE0@HE1PR02MB1387.eurprd02.prod.outlook.com>
X-Original-References <1451222619-3610-1-git-send-email-noamc@ezchip.com> <1451222619-3610-11-git-send-email-noamc@ezchip.com>,<5683AD9E.10501@synopsys.com> <5683AD9E.10501@synopsys.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1299580

Show key headers only | View raw


>From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
>Sent: Wednesday, December 30, 2015 12:10 PM

>> --- a/arch/arc/Kconfig
>> +++ b/arch/arc/Kconfig
>> @@ -32,6 +32,7 @@ config ARC
>>       select HAVE_OPROFILE
>>       select HAVE_PERF_EVENTS
>>       select IRQ_DOMAIN
>> +     select HANDLE_DOMAIN_IRQ if ARC_PLAT_EZNPS

>On same lines as prev comment - just do this unconditionally for ARC port -
assuming this works with legacy domain as well.

Yes it should work for legacy domain.
On the other hand I can select it at the driver Kconfig itself and remove this line altogether.


>>
>> +#ifdef CONFIG_HANDLE_DOMAIN_IRQ
>> +extern void set_handle_irq(void (*handle_irq)(unsigned int hwirq,
>> +                                           struct pt_regs *));
>> +#endif

>Not needed !

I need to have it since we do not know at arch/arc/kernel/irq.c what is the domain allocated by the timer driver

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 00/20] Adding plat-eznps to ARC Noam Camus <noamc@ezchip.com> - 2015-12-27 14:50 +0100
  Re: [PATCH v5 09/20] ARC: IRQ: use device tree to get timer device  configuration Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-28 12:50 +0100
  Re: [PATCH v5 05/20] irqchip: add nps Internal and external irqchips Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-30 11:10 +0100
  Re: [PATCH v5 10/20] ARC: IRQ: do not use hwirq directly at  arch_do_IRQ() Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-30 11:20 +0100
    Re: [PATCH v5 10/20] ARC: IRQ: do not use hwirq directly at  arch_do_IRQ() Noam Camus <noamc@ezchip.com> - 2015-12-31 06:30 +0100
  Re: [PATCH v5 11/20] ARC: IPI: do not use generic IRQ domain Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-30 11:20 +0100
    Re: [PATCH v5 11/20] ARC: IPI: do not use generic IRQ domain Noam Camus <noamc@ezchip.com> - 2015-12-31 06:20 +0100
  Re: [PATCH v5 05/20] irqchip: add nps Internal and external irqchips Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-30 11:50 +0100
  Re: [PATCH v5 09/20] ARC: IRQ: use device tree to get timer device  configuration Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-30 12:30 +0100
  Re: [PATCH v5 04/20] clocksource: Add NPS400 timers driver Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-01-01 11:40 +0100

csiph-web