Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp396193pxb; Thu, 26 Aug 2021 05:52:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL6LdITGoiQK5fsxfolRKOCfr11SMxL31A0FFL1/1Od48gdw+0r9/WZAgOQo5Z2WVh/Byq X-Received: by 2002:a92:de4b:: with SMTP id e11mr2554989ilr.22.1629982375784; Thu, 26 Aug 2021 05:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629982375; cv=none; d=google.com; s=arc-20160816; b=kd0rUTIw3PK/gv/Ire/IBjnKOogV7U8zKaMeQ/fQYu63eQ8nIh2K3gsyN+NRHMrTxz WzUIXmK7nZv21EiOdWUBXi9e2by6opD+pCnSkCtJWVV42kWu7bsfcyTsy6KVPyuptsv5 C9vVIckHJ0dZpi898kVQd5PfedL74yd0BNJbna9K+Hl6XrsPdf0Hi2oNV4Thpjj2b17R +IIcrCzVOADtxNIj89tT3ndrLmx/xInKNqROHrSLLQTRKh4dv0FZa4ahwH1aloJd+90u i1KDU9MxTWxOAFCdES1NBLDKKdlNl5vyiUg8U5a0z9DomMnTuJXLMESiR2IyXOyYGv/+ aYSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JcjTtTlVcCxB8ctlYeNpdgxEV71Tkqw14Hej6qbI+pM=; b=VaruYtDJWbuz1yRYKexyYLP0Xdfoq41dSvZRfPYOAZJruwz5G7dOVJyutg7u8nePvL rEkQ+cU7eJ6/MNoTTVCyzYLXZw/3W4VI+hZaH+dDGuiFAlUtqZs4AGVHFt+Ir0Dnt2LW z5aLf1mPsgFjPRkJf2j6+KXkHbcIdmAd1NAZb2EnZmbyU1qz60Gy/qzQlVuAh8nbktox 8TC4k5NIPiIC3tiogezJ8N27cgwvA/cdHMdPpAvcqlcIJge5dgzNcu5cqaoVHEDoaJfX gE5r0NGoHOs3SuIXsMH/UgoBScAHwhMUa2D+VxvsV4/ldIe9BQgYg2zQ2WcmImzbYEz1 KVcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qm+TOzSD; 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 d10si2872895ios.58.2021.08.26.05.52.43; Thu, 26 Aug 2021 05:52:55 -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=Qm+TOzSD; 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 S242562AbhHZMwc (ORCPT + 99 others); Thu, 26 Aug 2021 08:52:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:59904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242551AbhHZMwc (ORCPT ); Thu, 26 Aug 2021 08:52:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C4196103E; Thu, 26 Aug 2021 12:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629982305; bh=yl6Q4PT2hwmFvxlCQJtB/8ICwpoMGDhQhxIEcB4UTMQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qm+TOzSDy8dgKN1oLULEGtxQ1UzplZXCTKdvEFzLrYrp/IvgRfnCLA2tVJw+zAU4A qTjhZi0fVaSSOmUjcxApY0xj+k/y8+2U/B1vcejswAdcj+KoWatuSYdQBONat60cH5 YG6ZF3GFgDsAsd1WIp/ihqhB8d1p7Q54cZySpDjl8tAYZ+SV92S1f5L/SExXx2+Rqu NJCogjCVsQlbHuVxPIBJUrqrw5jel6PGH3mz9ZwHhhkXMpIh4i7ez30jYdaW88A804 9Ua1dht+gh3OhlYlds9DGsCcay/78Os60OPx1W5HkEu+nFg1/1KuwhoVB2QXlpE51E Ki/JUtvCUt8Tw== From: Mark Brown To: Vladimir Oltean Cc: Mark Brown , Rasmus Villemoes , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Thomas Gleixner , Lee Jones , Biwen Li , Marc Zyngier , "Rafael J. Wysocki" , Hou Zhiqiang , Arnd Bergmann Subject: Re: (subset) [PATCH 0/2] Use raw spinlocks in the ls-extirq driver Date: Thu, 26 Aug 2021 13:51:09 +0100 Message-Id: <162998211486.33598.9715111275111133802.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210825205041.927788-1-vladimir.oltean@nxp.com> References: <20210825205041.927788-1-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Aug 2021 23:50:39 +0300, Vladimir Oltean wrote: > The ls-extirq irqchip driver accesses regmap inside its implementation > of the struct irq_chip :: irq_set_type method, and currently regmap > only knows to lock using normal spinlocks. But the method above wants > raw spinlock context, so this isn't going to work and triggers a > "[ BUG: Invalid wait context ]" splat. > > The best we can do given the arrangement of the code is to patch regmap > and the syscon driver: regmap to support raw spinlocks, and syscon to > request them on behalf of its ls-extirq consumer. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/2] regmap: teach regmap to use raw spinlocks if requested in the config commit: 67021f25d95292d285dd213c58401642b98eaf24 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark