Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp617082oof; Tue, 25 Sep 2018 02:18:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV62rrym6v7L7ldRSc0jF0WeqnCG+b8hkIhNad0O1zBpx88qmOW+V+SxvIPXXB/B7fmzhBWOF X-Received: by 2002:a63:34c7:: with SMTP id b190-v6mr148620pga.184.1537867095757; Tue, 25 Sep 2018 02:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537867095; cv=none; d=google.com; s=arc-20160816; b=ZJFzwis6nCvIsi/XMZXuHem9lSSaisjNbsnJizIJTIjrGxdQZDrSsygxuE9mEejNkQ rLUYHiN47RnaTn0hKFBkgtnOz22z+I7niUKVBBvjjAlc4zT7T27ttft+rfPLKO3RvaEh /7WEi0S4qRriEk3yLGThmUQk8u+KsCIg/EZ8DPErZF7lWzScBi7OwSMKSdCbR9sEnJt/ 6rwJ19nyWlMACB6BZ38agwlZCHuZbINPWNb8cGB/UM7b7QGLQkRqpmDoCPxwwaV0aWcl DANe7pLWf9kHwMVJq8+kjunvdrjdJdSKHP8nMfDS1CXDlXITp6jzZcdweJ42xKZf64wo zUkQ== 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; bh=963bv3Yi+Acb/AXMNfX57E3ERzLhRNlzRPBpfgz6VDg=; b=YvWwrv4a0XkQB/f3DSjKv5Ay8LM5x8b2OaxmympOL40KhWsE/NJ9k/Fjlf73piFVE5 Nsi/VEHz4IScVDv8ONSlpSRvz9HwIgJDszAUkT9KglYa9axFurZp17L82pu5KmUv4dbP iIGuuMUFm15WxYv9JPeHOjjijarWzHquIzNQvkPxrVF+LMQwGcLok6DYcmsRtaWGG1m/ H7OeE04Cb9a5aN7QvlU/2RPNlKfIim4vp/4ZIzvZylRkwrTa+BmFruwaI4Amu2+lk/kC zOIfs1f9gTPw44b3SAnQ9vGvbXCAWF6eXg2AI4GYYzx65gEcsm22YDdjJNBx+PNmIRpb JEmA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7-v6si1828031pfb.309.2018.09.25.02.17.59; Tue, 25 Sep 2018 02:18:15 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728510AbeIYPYN (ORCPT + 99 others); Tue, 25 Sep 2018 11:24:13 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:53008 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbeIYPYN (ORCPT ); Tue, 25 Sep 2018 11:24:13 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08167352|-1;CH=blue;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03272;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.CvbLvsF_1537867023; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CvbLvsF_1537867023) by smtp.aliyun-inc.com(10.147.42.22); Tue, 25 Sep 2018 17:17:04 +0800 Date: Tue, 25 Sep 2018 17:17:03 +0800 From: Guo Ren To: Arnd Bergmann Cc: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Rob Herring , Stephen Rothwell , Linux Kernel Mailing List , DTML , linux-arch , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Greentime Hu Subject: Re: [PATCH V7 2/2] csky: remove irq_mapping from smp.c. Message-ID: <20180925091702.GA6607@guoren> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Sep 24, 2018 at 10:23:14PM +0200, Arnd Bergmann wrote: > On Tue, Sep 18, 2018 at 3:48 PM Guo Ren wrote: > > > > - remove irq_mapping from smp.c to irq-driver > > - Add set_ipi_irq_mapping api to irq-driver > > - update asm/smp.h > > > > Signed-off-by: Guo Ren > > The patch seems ok to me, but please try to improve the changelog comments. > Generally speaking, use full English sentences instead of an enumerated list, > and explain what the change is for rather than what you are doing. The text Ok, I'll improve it. > you have here can easily be derived from looking at the code changes, > but I still don't understand what caused you to change it, and why this > is better than the previous version. The changelog comment will change to: There are some feedbacks from irqchip, and we need to adjust "smp.c & smp.h" to match the csky_mptimer modification. - Move IPI_IRQ define into drivers/irqchip/csky_mpintc.c, because it's a interrupt controller specific. - Bugfix request_irq with IPI_IRQ, we must use irq_mapping return value not directly use IPI_IRQ. The modification also involves csky_mpintc. Best Regards Guo Ren