Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp441662pxb; Thu, 26 Aug 2021 06:43:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSxAHpAXgjCv5Tyeg7OjtUMMnrSw0f2NGzQMcmsDeorWpeALl/Lqv2aS/M2tlLxzhy9HyG X-Received: by 2002:a5d:8acf:: with SMTP id e15mr3063257iot.184.1629985424643; Thu, 26 Aug 2021 06:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629985424; cv=none; d=google.com; s=arc-20160816; b=c+btCTQBHCTHuaBRkUYDnohvnOR+gSKqvwx37N5+K4GFNkmp+/INStcaTzvxnMaR0h rloyxFukONY4fhq25GqPT1S9bu5YLWDCP8vlGV1O9hvgDvKsdR6FxZ6cLObKGAXH0Mkf nGsh/dvL4zx5KjkF80Js27A0GdL8colc3a+CCkyTy3t+hUbQw3sVcbCt/H2sOYL4+XwK Ce6ntHM+jl0rNw1e82Ch5wUd8qxKvJrw646APCaefKsPXDpJ4b9PEgHO3DUGvnJejcWH OlGe6kbglS+aOJsHK3oukU1ZuN8TzC/4wQMk+FOeo5KDzhQUNxA4RZTwz+TI8AE6rHFJ iv+w== 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=uebnNnYGlimZPRy36Tyv3Gz9meNQC09LtrZ31oKi+OM=; b=yXDKHatHIR0W68T4LG1at4UO9Tl7MQp+/aAlGv9uokc73hj1Yy/PRXC90D7wlRbZIL 5UaTkQ7lxhNfui648U7wzFMD4s7SRQpHDac3+R5Xh8B4EuHmB1wCJoeFi5YnffIvmzlj fPMFcPI8akI4vI6nui2IZGjmKmV76o/kVx6CZbl0ZgcO9Vttt8sp/Jb6+mk0uvuS1sCA zHSKfpcawbniN/81S1YG7PWGoh90aimTsXPYR4U9YoO3HrLJxfo4Gcw4e2dsNNkVnbw+ vgU5ZX2QcHTql8sFrCSqxczWc+oq7ktu8yFEgjhfNl5zMw/KW9vkCARyFHntFTqAEfWC bmZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tjXw4uS6; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si2800335jaq.37.2021.08.26.06.43.31; Thu, 26 Aug 2021 06:43:44 -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=@kernel.org header.s=k20201202 header.b=tjXw4uS6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242644AbhHZNl6 (ORCPT + 99 others); Thu, 26 Aug 2021 09:41:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:51714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242241AbhHZNlz (ORCPT ); Thu, 26 Aug 2021 09:41:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E5F060ED3; Thu, 26 Aug 2021 13:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629985268; bh=d6cWKlulQYuYbLxO50RwaiPqpKO52JhiP3U7TXUlBuo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tjXw4uS6+K3PFT5NV7+MocAxwQO3NA1gfwxtmz+SkfzyWhZcbX11TEwbyMEisRM90 0GZte+c/egAUU7vifTlb9Qwio1AgFKouKAQSuTY10Iw618uvwuFthJFAyS/VwOxEy/ klTkEEcbHuIDWnQ6al8BXF/HAhpQWo2AerGgvY0pQBhFJADjRFNy0N4sk6Ykq0WN9N oHx5jYjThslXfgHlrJJCqO8q6JkJzTFWjrMRjTLNZ3KMyrYKcR6V99pFfiQ1QxSzUI eLp53NPSnGTGhmEQw2PnCbHx5TX+ALDe26JVjlxVNLWsvYzwgwG35fUZhGpY86s4a5 wJzNmBWLYIbUw== Date: Thu, 26 Aug 2021 14:40:39 +0100 From: Mark Brown To: Rasmus Villemoes Cc: Vladimir Oltean , Lee Jones , Arnd Bergmann , Thomas Gleixner , Marc Zyngier , linux-kernel@vger.kernel.org, Esben Haabendal Subject: Re: "BUG: Invalid wait context" in ls_extirq_set_type Message-ID: <20210826134039.GG4148@sirena.org.uk> References: <20210825135438.ubcuxm5vctt6ne2q@skbuf> <26de7b85-e466-e9af-077a-9d1dc087e061@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gKijDXBCEH69PxaN" Content-Disposition: inline In-Reply-To: <26de7b85-e466-e9af-077a-9d1dc087e061@rasmusvillemoes.dk> X-Cookie: /earth: file system full. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gKijDXBCEH69PxaN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 26, 2021 at 11:01:31AM +0200, Rasmus Villemoes wrote: > I don't know what the right fix is. Am I right when a say that for !RT, > spinlock==raw_spinlock? If so, switching regmap's spinlock to > raw_spinlock would be nop for !RT and fix this issue, but would of > course have quite far-reaching effects on RT kernels. Note that regmap doesn't have a fixed kind of locking used for all regmaps, the individual regmaps can select which (if any) kind of lock they want to use on a per-regmap basis. Adding raw_spinlock support wouldn't affect any regmap that doesn't actively select raw spinlocks. --gKijDXBCEH69PxaN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEnmdcACgkQJNaLcl1U h9AU2Af/ekGEj8EBgJMNI7xxeCic0QVbCCGNrEEZ8sXZSI2YQtLNB4l4SGYB+Rk0 WUr8+toFR2kDw9GjaRKr0/Ny9Jrj8W+sWwJ270cvPkk+pU4txB/ZG+w5XEEi2jDG 9qDbJT7SN8WKrgt3JGYaeygOrlVxFjru7aSo8wwCrJ6GrTfgS58Ih+srtxBIK0ed lzoBrGz1xYb60+iMFO20kJGlL2/bGhUWUbsPOHEoZqo6JQqNDCQEglJi4NxBiqKb XO7aD16X0MZkYt8nDMjhcxBofQPGPRJRqh4KdAU5eD7JgEGeo+fzYnnpwSgcF4yM C6B0qEzrxWmC/2U0BTWioAPvvBUwtw== =DooY -----END PGP SIGNATURE----- --gKijDXBCEH69PxaN--