Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp250870pxk; Thu, 17 Sep 2020 01:53:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO+CjBJ9mkCoBjPQIGEq8ESU8dbbpWik5GaF2kafsaz3p82wJWI5dqxvbOyWms0wnb1trX X-Received: by 2002:aa7:cf93:: with SMTP id z19mr32594916edx.187.1600332814458; Thu, 17 Sep 2020 01:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600332814; cv=none; d=google.com; s=arc-20160816; b=qH8SmurKH0uq1drrrMrpf6ICJgmtwBztn5V3er8m/Ue3YvhZR4RQwAxvb3mLi1KGmg CON8sF9rOzxWcQLwIrONAyUp6t0uwHqaLPHpohwL4F+wQmODiD3S+VHKHqOXJBDKWAgo J9DUTbdQywAyTk2Kkprx8cMSccyIuYlK3O3G/s7+utLLGXjOLxAvhrM3Wh8oNi55ImMl sLWZTjtqGceNXQsfnDm++kQU0Q4rv1XeGuOqplxTHn0jQkLJIqzJ7W1/e3+3xtLLtsWO h6aCGDtEM7fs7TGAPI36B+Ig70VUa0O1FTFLUlZtSIpIJcsUNaxUdyIu8GIF4mXgDCXH 3aXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=z6Ik8MFeZEIDclcxjNpVE2no7Ouado4SrHpNqiqWNco=; b=op+IbvdSgrmOuplhJbJUdh/lmjrC8IbYRGicTKt2007WhVkpYuhttnF2m2iURx1jyq yhL7rG3d8HZ6N5W14PdZ922g+etoUrqK/OErBdZEH3dCOdFbzOLKHivo+zsqHs5T6P45 lgLEZzwCFku8Nq42DSHDV8UY6fTqCDyIcZCcZP9vBmKnATYHJpwC4HnAoTsz4ZUgObLd HGSn8eNXzSl88fnUzaLZCtDx/kN91EjcqQn+ic0w1J/wD1b2fz+5j5QMD20rWYjeDv+A ONWExvTRcx99HjhU9W0SinmQbiosI1E0Rl3JpQSqp1i4Iu8Yi1uNz6pYDKMg4reOJZlQ 9baA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=sRwsmYAm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kt8si9443502ejb.503.2020.09.17.01.53.10; Thu, 17 Sep 2020 01:53:34 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=sRwsmYAm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgIQIt2 (ORCPT + 99 others); Thu, 17 Sep 2020 04:49:28 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:6281 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgIQItZ (ORCPT ); Thu, 17 Sep 2020 04:49:25 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 17 Sep 2020 01:47:54 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 17 Sep 2020 01:49:22 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 17 Sep 2020 01:49:22 -0700 Received: from [10.26.74.242] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 17 Sep 2020 08:49:08 +0000 Subject: Re: [PATCH v3 08/16] irqchip/gic: Configure SGIs as standard interrupts To: Marc Zyngier CC: Linus Walleij , Marek Szyprowski , Linux ARM , , Sumit Garg , , Florian Fainelli , "Russell King" , Jason Cooper , "Saravana Kannan" , Andrew Lunn , Catalin Marinas , Gregory Clement , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Linux Samsung SOC , Thomas Gleixner , Will Deacon , "Valentin Schneider" , linux-tegra References: <20200901144324.1071694-1-maz@kernel.org> <20200901144324.1071694-9-maz@kernel.org> <933bc43e-3cd7-10ec-b9ec-58afaa619fb7@nvidia.com> <3378cd07b92e87a24f1db75f708424ee@kernel.org> <049d62ac7de32590cb170714b47fb87d@kernel.org> <81cb16323baa1c81e7bc1e8156fa47b8@kernel.org> From: Jon Hunter Message-ID: Date: Thu, 17 Sep 2020 09:49:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <81cb16323baa1c81e7bc1e8156fa47b8@kernel.org> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600332474; bh=z6Ik8MFeZEIDclcxjNpVE2no7Ouado4SrHpNqiqWNco=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=sRwsmYAmFaTCDPAkn8vF/y4g2Cmas4wK7XFrt0y/7V0EcmgrEu67Chb3lSkP100Jb zB2akawgML/0UT/BNLeVPr8jT/8jIGMtHZExgIwfdpxkpJsacH239vhpKga6PWypjn med48LElyVmDabuyz3zzX2eEGKKFMMV4LPrTgpS/GbML+jEk9VlXilS+7kYanUHHhI VT6F7woytMHNUOklP7MOSN17iQuqcdOK2nV3PE51PQ/a5btLU73LBkjvu619NeAs7w MKVcv3vCaXlYzrZvCbuQ5vy3rpJw1vewHtqvNsqCpxtfGQ6giVe8aADSDinN4Ph+x6 lm2E0XxQnB7oA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/09/2020 09:45, Marc Zyngier wrote: > On 2020-09-17 08:54, Jon Hunter wrote: >> On 17/09/2020 08:50, Marc Zyngier wrote: >>> Hi Linus, >>> >>> On 2020-09-17 08:40, Linus Walleij wrote: >>>> On Wed, Sep 16, 2020 at 5:11 PM Marc Zyngier wrote: >>>> >>>>> Can you try the patch below and let me know? >>>> >>>> I tried this patch and now Ux500 WORKS. So this patch is definitely >>>> something you should apply. >>>> >>>>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (is_f= rankengic()) >>>>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 set_sgi_intid(irqstat); >>>>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 this_cpu= _write(sgi_intid, intid); >>>> >>>> This needs changing to irqstat to compile as pointed out by Jon. >>>> >>>> With that: >>>> Tested-by: Linus Walleij >>> >>> Thanks a lot for that. >>> >>> Still need to understand why some of Jon's systems are left unbootable, >>> despite having similar GIC implementations (Tegra194 and Tegra210 use >>> the same GIC-400, and yet only one of the two boots correctly...). >> >> So far, I have only tested this patch on Tegra20. Let me try the other >> failing boards this morning and see if those still fail. >=20 > Tegra20 (if I remember well) is a dual A9 with the same GIC implementatio= n > as Ux500, hence requiring the source CPU bits to be written back. So this > patch should have cured it, but didn't... >=20 > /me puzzled. Me too. Maybe there just happens to be something else also going wrong in next. I am doing a bit more testing to see if applying the fix directly on top of this change fixes it to try and eliminate anything else in -next. Linus, what -next are you testing on? I am using next-20200916. Jon --=20 nvpublic