From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80FB7C4361B for ; Tue, 15 Dec 2020 15:48:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3364C2184D for ; Tue, 15 Dec 2020 15:48:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3364C2184D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qsF9uG2haFQfv9E9hzr2cGf8+oXs6cSlB0s2LdA/K0k=; b=oIDXelkriZ++ifXpf1zB3VM4g fDf/5ZsSvT7pabKzLFhx+LfVfUcz/3RnMBb7jCXuyYyIlHjGG+OM/ZmuKGLh4q3fLRiPAtyTCHTsq HTVW0O270ZoX+sd9aoh45AGHYko4Nmm/dNmw4/MDe+HWGNH0QLglKlI5xpl/mnCNuWAEeGZWPv0XD mIUw/itADaoRzuIFXqgg0SVhAbnGCZmypGsECLo5yYLCOiqneokbFGBnVmZTZr9MXXz8OfVrVwzMb abJqta85+FehTHKnQxuVx15amgALGKVfCOo/ZRLekGZ4K7hYPTH0lZIC8ahDZ8pTscY8vfuKtQAPm M0p5uUOkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCXW-00020i-4C; Tue, 15 Dec 2020 15:47:02 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCXS-0001zO-UI for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2020 15:47:00 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 079A62184D; Tue, 15 Dec 2020 15:46:58 +0000 (UTC) Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kpCXP-001WcH-V4; Tue, 15 Dec 2020 15:46:56 +0000 MIME-Version: 1.0 Date: Tue, 15 Dec 2020 15:46:55 +0000 From: Marc Zyngier To: Guenter Roeck Subject: Re: [PATCH 3/5] irqchip/bcm2836: Make IPIs use handle_percpu_devid_irq() In-Reply-To: References: <20201109094121.29975-1-valentin.schneider@arm.com> <20201109094121.29975-4-valentin.schneider@arm.com> <20201215002134.GA182208@roeck-us.net> <38f8fbe9ceb7a0adb47e62d62260b297@kernel.org> <1795afb5-a4fd-3a90-99c4-71373476ad65@roeck-us.net> <9007dd8a0d5334141d083b14121ba11c@kernel.org> User-Agent: Roundcube Webmail/1.4.9 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: linux@roeck-us.net, valentin.schneider@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andrew@lunn.ch, Lorenzo.Pieralisi@arm.com, jason@lakedaemon.net, sbranden@broadcom.com, gregory.clement@bootlin.com, f.fainelli@gmail.com, rjui@broadcom.com, tglx@linutronix.de, sebastian.hesselbarth@gmail.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_104659_166616_283360BA X-CRM114-Status: GOOD ( 18.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Lorenzo Pieralisi , Jason Cooper , Scott Branden , Ray Jui , Gregory Clement , linux-kernel@vger.kernel.org, Florian Fainelli , Thomas Gleixner , Valentin Schneider , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-12-15 15:39, Guenter Roeck wrote: > On 12/15/20 7:26 AM, Marc Zyngier wrote: >> On 2020-12-15 15:21, Guenter Roeck wrote: >>> Hi Marc, >>> >>> On 12/15/20 2:19 AM, Marc Zyngier wrote: >>>> Hi Gunter, >>>> >>>> On 2020-12-15 00:21, Guenter Roeck wrote: >>>>> On Mon, Nov 09, 2020 at 09:41:19AM +0000, Valentin Schneider wrote: >>>>>> As done for the Arm GIC irqchips, move IPIs to >>>>>> handle_percpu_devid_irq() as >>>>>> handle_percpu_devid_fasteoi_ipi() isn't actually required. >>>>>> >>>>>> Signed-off-by: Valentin Schneider >>>>> >>>>> This patch results in boot failures (silent stall) for the qemu >>>>> raspi2 emulation. Unfortunately it can not be reverted because >>>>> handle_percpu_devid_fasteoi_ipi no longer exists in next-20201214, >>>>> so I don't know if it is the only problem. >>>> >>>> This is odd. This works just fine for me on both the RPi2 and 3 >>>> emulation, running a full Debian userspace. Could this be caused >>>> by the version of QEMU you are using? Here's what I have: >>>> >>>> $ qemu-system-arm --version >>>> QEMU emulator version 5.1.0 (Debian 1:5.1+dfsg-4+b1) >>>> >>> >>> I used qemu 5.0 which - up to now - worked fine. Let me try with >>> 5.1 and 5.2. Sorry, I should have tried first before bothering you. >> >> No bother at all. If this works for you on more recent versions of >> QEMU, that'd be an interesting data point. I'm also interested in >> the result of the patch either way. >> > > It doesn't work for me with qemu 5.1, nor with qemu 5.2. My userspace > is generated with buildroot, busybox-based, and very basic. OK, so something is definitely different between our setups. Mind pointing me to your config and your QEMU invocation? > > Your patch fixes the problem for me, though, so feel free to add > > Tested-by: Guenter Roeck > > if/when you submit it. Thanks for that. M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel