Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp196946imj; Thu, 14 Feb 2019 18:28:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IZyCq3v6foAO0b1KXYfXmZno23aLs4irl8VliP77lKnGK1Tb2mkI8ggfI6PxjP7DBRL/vbA X-Received: by 2002:a62:6dc7:: with SMTP id i190mr7400064pfc.166.1550197697349; Thu, 14 Feb 2019 18:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550197697; cv=none; d=google.com; s=arc-20160816; b=qqU1xFjlGgQkPAl1CU+FMijxAr/b285n6Zi8ACLmZT09FJUd/eWUkaZj6A5pgM51Gr jX4+oAxkE8x2fmfYBy4UZZSEVs67Lh0Nwvvnx6gMn1LwNZ/n560SrfiqBlEO2sdAA2n5 HkQ8uFNc7S3sGqeaMe5vjEZk5EUTY7lrC30JbGmC9nRMCx7eyWLISV0i8z1L01dSRkmz ZQ2RFeIJxLLLJfnv47kmrvg4K28bm26rUmjIqQ/RK/ZzQAzMFd4r53ySxXqtfjlUCtCM la46ljEEtKhshsIK8pykBy4IdX5bHH8T0Hh+udco7Gb41wsgS/8Mtp4DMcx0pfRAukCx g50g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0SNxXGf7qj7KAntDntGjJE9zONS7+HKPWvGtcrgRN04=; b=kk9GoZ+UPFEz7OUMArxwSSxp8Ul/REhRXBjL3IzxIIm4i+PpN+ImeOZr8mVPi2+HtD 1fTmznTsdLuSzWJP9cZh77XNMMvxw/G7rZe9pq6bzmyxjaclkw7iUko+phxSiGkVgGr2 Ou1nSDylZosY6+W+cHJ7SgxslwI9xJhBW25XymZTabf0cMzI24OioULIkCzFo99sQeLx pUn2oWl2EBUZnXAdABg+xquT2/O7MQ81ppgbBItCMqQwOKuFWkERO+JcIOa1VOPdoJe4 X8/qxPsS52ftqJQhC6A6fseCEh9g/L/xbKZajz883pmtQuK5bJTcIlBjOwdVbjwq2lpE Gg9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XUrz4IpX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si3823514pgp.49.2019.02.14.18.28.01; Thu, 14 Feb 2019 18:28:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XUrz4IpX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730658AbfBOBWE (ORCPT + 99 others); Thu, 14 Feb 2019 20:22:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:60366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbfBOBWE (ORCPT ); Thu, 14 Feb 2019 20:22:04 -0500 Received: from guoren-Inspiron-7460 (23.83.240.247.16clouds.com [23.83.240.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC1422177E; Fri, 15 Feb 2019 01:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550193723; bh=Wl7PPoUzvuCUSlKvjd1wWETqmr4jShWoOsfUnAtee/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XUrz4IpXo2thK692HqwwAOwdQKPbmsMbUWiK5vtoY6MsPaceDv8axm/BdTMGVs73H yWQW1/GA1mJw6/8c0yikuFrG0VBtrDBuRWcdKLgmhPFEu7eay/5bJ9ONKtJIjsZ7pS MjFnyd/gJlxwj4Sn2z37JZZCQ7Ql4A+kEsmgbDHo= Date: Fri, 15 Feb 2019 09:21:56 +0800 From: Guo Ren To: Marc Zyngier Cc: arnd@arndb.de, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Guo Ren Subject: Re: [PATCH 01/10] irqchip/csky: Support csky,dh7k SOC intc driver Message-ID: <20190215012156.GA3226@guoren-Inspiron-7460> References: <1548764669-16656-1-git-send-email-guoren@kernel.org> <86bm3esbzr.wl-marc.zyngier@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86bm3esbzr.wl-marc.zyngier@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 02:03:52PM +0000, Marc Zyngier wrote: > On Tue, 29 Jan 2019 12:24:20 +0000, > guoren@kernel.org wrote: > > > > From: Guo Ren > > > > C-SKY dh7k SOC use simple APB interrupt controller and most of driver's > > implementation codes could be reused in csky-apb-intc.c. So merge them > > together. > > > > Signed-off-by: Guo Ren > > --- > > drivers/irqchip/irq-csky-apb-intc.c | 95 +++++++++++++++++++++++++++++++++---- > > 1 file changed, 85 insertions(+), 10 deletions(-) > > > > So this patch series seems to contain both core c-sky stuff as well as > irqchip updates. There are no dependencies on core-csky stuff and irqchip in this patch series. > > Please send an irqchip series that I can take standalone. Ok, I'll send a standalone irqchip series later. > If there are > dependencies, please state so in the cover letter, and we'll work out > something. Please make sure that everybody gets at least the cover > letter (I didn't receive one for this series). I guess you are worried about: +#include ... + + for (i = 32; i < 128; i++) + VEC_INIT(i, csky_irq); + In arch/csky, 32 - 127 trap entries are reserved for vector irqs. But the mode of vector irq need irq controller to support, or csky cpu will use trap 10 for all interrupts and get irq-num from interrupt controller. Some interrupt controllers don't support trap 10, so they need working at vector mode and get irq-num by mfcr("psr"). Here we just use csky_irq instead of csky_trap which initiated by arch/csky. Best Regards Guo Ren