Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp418281rwr; Thu, 27 Apr 2023 03:19:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4W9tB4lro/P3RzF5tH0yECcoZhfQJY/nnNKkEyWsjAJV8outn2dPGLDLGYxQKjCKTAqlyj X-Received: by 2002:a05:6a00:4009:b0:63b:4978:a50a with SMTP id by9-20020a056a00400900b0063b4978a50amr1578920pfb.1.1682590747282; Thu, 27 Apr 2023 03:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682590747; cv=none; d=google.com; s=arc-20160816; b=pMpQlhX4nclM/ikDJoYC7fSYHWwuTgS/KUFiX/kEB9WjBmFNG5sKzjEJ8kSEkhPk2P +pr8cSa6NVKsLEmk83R0lvYJsEZfVC53P8twR48izfOKeMh8yz0+2+BG6r9G+2jY6rpz x/jEZ3p7Ch3kTUXh4kYsobfof0xCHdfuKyILAX9VqK/+sHxHKAs+L2cpcL5SqvTmDbSx /SmWLZbc0HVydZRQ9X4E5soeZuMxDuFfdGdPKC9IWpRsSid7GKjvxP4Y4iULg9oY7fSz jPqDEkTX7RMq8MUnB8wZWyqSFQlt9QyK7RaqRBkkQAQMuGUm2BzR0ocaE5SkbBSdl9ns AeHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6+6Nq7f7iEf2fCYB9LAN8/BPL9H0AwkLjmSrZ1m8AcQ=; b=ifAQjRUHNgC77pEP2+k/uHDu0C0x0LaIdwMY6etjmMPylWgr2bHfcTF8QtBR6mABjQ MZrriUbEWeU7pNOx3H6XRxXlIini60IoTWk8dzk5Kjm+/KiMl6njNWpDlMFOgS2ZjAbu WHg5sm6vdbLxDOiJd81nX90t3Vin+luyI5dPD1PLXxXr3D94Mq8UMkQovjn2FELefqvK vp3WtdevGohVCloOli0KQYliapZ6LF6596CHpI43evHfzSAdRP2F7LtsMYxyRWDJzxfQ Qu+6MVnYKjQGKEiCgATztP341dZ56dcxcKpne6iM3kuKcg6MxzFXDaTo79ME9ip2Eo4y uisA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uopaMlnx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z28-20020aa7959c000000b0063b7acc199bsi16513145pfj.65.2023.04.27.03.18.53; Thu, 27 Apr 2023 03:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uopaMlnx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S243474AbjD0KHF (ORCPT + 99 others); Thu, 27 Apr 2023 06:07:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243429AbjD0KHE (ORCPT ); Thu, 27 Apr 2023 06:07:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B6D11FC0; Thu, 27 Apr 2023 03:07:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 21610633E7; Thu, 27 Apr 2023 10:07:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDF70C433EF; Thu, 27 Apr 2023 10:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682590022; bh=NpPUxdiGmbPhMzPhGolYoqA+iiu2qAbTIUmG3IlvkBg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uopaMlnxAadrlJeOvUyXERVtGXrAzEIpeMldv/tk06iMcNE7F3/hWfRj+Ca/EUtXb YdUsi6lCe8viviR8eAZm5/Mnv2f3WZ1wmXnrniXiesePc/22nBQmZe6vdlGPiPjsH1 jZssnpP9l4KgpFNHBQeeMoM6ebmwHpWYxqoDMsDOgYwByzaBkJALj6i+dGbH2Inby6 pgWeOqazPR8GxI6JJUoI64n6zcMvKDj9OajMirX+Bb3VrtSvPa5zWdkv1PY/PKjulx 7nNWEq7qTf2PJpukuqRlk21euEUCxN1l/ctfm6C/5c2AhQJqLMSS6gvez1G09U6EMk j8aceljwHzt7A== Date: Thu, 27 Apr 2023 11:06:57 +0100 From: Will Deacon To: "Bouska, Zdenek" Cc: Thomas Gleixner , Catalin Marinas , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Kiszka, Jan" , "linux-rt-users@vger.kernel.org" , Nishanth Menon , Puranjay Mohan Subject: Re: Unfair qspinlocks on ARM64 without LSE atomics => 3ms delay in interrupt handling Message-ID: <20230427100656.GA10855@willie-the-truck> References: <87pm7qxrg6.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 27, 2023 at 09:38:59AM +0000, Bouska, Zdenek wrote: > > Why is this interrupt handling specific? Just because it's the place > > where you observed it? > Yes. > > > So if that helps, then this needs to be addressed globaly and not with > > some crude hack in the interrupt handling code. > I just wrote, what helps for me. I didn't mean it as a proposal for merge. > Sorry for confusion. > > I tried using Will's cpu_relax() implementation [1] everywhere but I was not > successful with that yet. ARM64's VDSO makes it complicating and even > if I left original cpu_relax() just in VDSO, Linux did not boot for me. It definitely seemed to work when I posted it all those years ago, but I'm not surprised if it needs some TLC to revive it on more recent kernels. Will