Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1840951pxb; Fri, 22 Oct 2021 08:38:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm2imlyF9q/kSnb+a2zxsQb17reWWtUvHdnldfhfn2Jm0wV89BUXx8VrX8D/L4DN0WO5oJ X-Received: by 2002:a17:906:9b53:: with SMTP id ep19mr425318ejc.66.1634917127614; Fri, 22 Oct 2021 08:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634917127; cv=none; d=google.com; s=arc-20160816; b=hHzqmuiiqm9iCP3/n/WAoIiL4Z7gahiSz6tt0FxEuVOrI0ZO2+vJr80qK3wUgkzCEj 3T9DAn0Ub1zxveLFHsZiUuPLUfySKEeDIzM4QXzWF4o7UCCqN4n9eMtdwIWVO/au4MU3 yhCKAKcO6ID6iqnmMQlbr3BaH48cfLOoMjlAXmTVJmMnCJIDt61rKDPygiqaXL9l/ZFf yxGcMhLnhx9CkR78XrNB9c/0u7klhobZ5TUGeewMdnCFKjaTTiEeJ0mQAG0+0+3WlEgb YLksxmY+SxOct4Ohl0O5qFrQdh04s0HDdd7b7y/KSdvBIiHpvD7e83jcDpZ5z4+dKCLw 3PBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nnkuXJGX+noTrrrF4eiOaVnbH4JMnDO+7rwz+9U727U=; b=zVAniGabDJ/s0cJgDZk8Ap3c5kCXvi1O1UE/iMOmsYWH9p7bVh4S86a3prrUxp30hj AyvN7VOah/GVqMMg0/HizGnNBeHjThH5IURxey8wpc+idOPnqgsWgY33LfvNCos6gBfm 0L2d9NeofYurNSnjNq35sKufc91E5MTssBQ1Nawib8CijqLOOQhR/hkO8vbfPTtj/NH0 ECDhWmOwng6f0F1RJRlBJuyySnTh9qO6g0kXLhBNv/kflGwKii3ta+4rw16XAhoHbJXf XVoT29fw/BmlKMNGY9KwqMVtMLFHVXjPyD3s01Vfcj9AxVfUPIT1eUYGeoweYUwGr0J2 1neg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fj2si14366795ejc.474.2021.10.22.08.38.23; Fri, 22 Oct 2021 08:38:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233266AbhJVPi1 (ORCPT + 99 others); Fri, 22 Oct 2021 11:38:27 -0400 Received: from foss.arm.com ([217.140.110.172]:55954 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233233AbhJVPi1 (ORCPT ); Fri, 22 Oct 2021 11:38:27 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 42DB91FB; Fri, 22 Oct 2021 08:36:09 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.73.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3F8973F694; Fri, 22 Oct 2021 08:36:05 -0700 (PDT) Date: Fri, 22 Oct 2021 16:36:02 +0100 From: Mark Rutland To: Vladimir Murzin Cc: linux-kernel@vger.kernel.org, aou@eecs.berkeley.edu, catalin.marinas@arm.com, deanbo422@gmail.com, green.hu@gmail.com, guoren@kernel.org, jonas@southpole.se, kernelfans@gmail.com, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, maz@kernel.org, nickhu@andestech.com, palmer@dabbelt.com, paulmck@kernel.org, paul.walmsley@sifive.com, peterz@infradead.org, shorne@gmail.com, stefan.kristiansson@saunalahti.fi, tglx@linutronix.de, torvalds@linux-foundation.org, tsbogend@alpha.franken.de, vgupta@kernel.org, will@kernel.org Subject: Re: [PATCH 09/15] irq: arm: perform irqentry in entry code Message-ID: <20211022153602.GE86184@C02TD0UTHF1T.local> References: <20211021180236.37428-1-mark.rutland@arm.com> <20211021180236.37428-10-mark.rutland@arm.com> <0efc4465-12b5-a568-0228-c744ec0509a3@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0efc4465-12b5-a568-0228-c744ec0509a3@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 22, 2021 at 04:18:18PM +0100, Vladimir Murzin wrote: > Hi Mark, > > On 10/21/21 7:02 PM, Mark Rutland wrote: > > +/* > > + * TODO: restructure the ARMv7M entry logic so that this entry logic can live > > + * in arch code. > > + */ > > +asmlinkage void __exception_irq_entry > > +static void nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs) > > I'm seeing build time failure... > > drivers/irqchip/irq-nvic.c:50:8: error: two or more data types in declaration specifiers > static void nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs) > ^~~~ > drivers/irqchip/irq-nvic.c:50:13: warning: 'nvic_handle_irq' defined but not used [-Wunused-function] > static void nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs) > > I've fixed that locally and planing to give it a go... Ah, whoops. I've removed the extraneous `static void` from nvic_handle_irq() and build tested that as part of stm32_defconfig. The updated version is in my irq/handle-domain-irq branch at: git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git Thanks, Mark.