Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1122076rwb; Tue, 29 Nov 2022 09:13:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf7QJQCdPMADXZkuWMgHu8/lKs3LcaWnhb+dzTdNSMCBIPRPyqSPiuqDIusLlHKmxu9U621R X-Received: by 2002:a05:6a00:21c2:b0:56b:bba4:650a with SMTP id t2-20020a056a0021c200b0056bbba4650amr38561103pfj.4.1669741990615; Tue, 29 Nov 2022 09:13:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669741990; cv=none; d=google.com; s=arc-20160816; b=Vm4dxg/v1JrMDYJFDM8UY4XIyIB5fix5ZdvLm6Ac4+y0dNQ2niO8Ops8oIgDLwt4Qa LVirUuV9g5ijMWuPrcJPZfefzqoP7nm3bqHxk3TPDycbgaThKVho5oWW8BUyDnvg4kyB anl/fyidJqFOgbq6NbBwf25UktWqx2einDem5UBEnIprJwlX+D3QPJV+Og6l99mX7BNS 3BQkTEk7GhkWyPPr4js5Z7LX7ZrPdOw6V31d1SByF6RzgkhgUXCb6c8BzVZT1c3C5klJ RU8yVtxHVxmYaks+NSAIx0dLAcOEZKgJIwEAtPbtM/RuadFVArx/9CUM9axsZk7ZT7lx aKtA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=p3gOkOFWloDADBdr8xTbrD34EQJF6rpsM361lWPUN9s=; b=Z6c+hsnvdxk8JvGvzjsTWPIHmShKexVVrh1nV8tIYw6fVBrwfm/pPh5T3+1VkaZaxX Kq5RvCga0ARKDzJ0v5LfZq+qdzP91w4wsW2RPmvXrpujiWOIGdXFddiNddgf7JXEf63u +/by1xtPtW9UTQeIqQopHAd+28DGZ4Lf5uwp0EV1oHCTuifz65u0lWmdzocZ9XvCi2e/ U5EZzA/NIgcjmLo7A0THKX5LMt4cXxttAf/SCy3Yv1SXXjkrs0UjdyM9bZOVyDl4iI97 Qm7eikK80bZ7sLAPUYCHLSBk9rRomrBT7PfUu+oC5CM5bDhvPivmyVWgzP8/j1E/3h2v J75w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkW60Dr0; 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 e17-20020a17090301d100b00188c7b09446si8064110plh.44.2022.11.29.09.12.58; Tue, 29 Nov 2022 09:13:10 -0800 (PST) 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=VkW60Dr0; 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 S236182AbiK2Qvd (ORCPT + 84 others); Tue, 29 Nov 2022 11:51:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236266AbiK2QvI (ORCPT ); Tue, 29 Nov 2022 11:51:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0A0370452 for ; Tue, 29 Nov 2022 08:47:01 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id BC81AB816E9 for ; Tue, 29 Nov 2022 16:46:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A61BEC433C1; Tue, 29 Nov 2022 16:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669740368; bh=1uxPxaTClnycnzo3WdqTQKtEilfHzKefuhdmzFy6SZs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=VkW60Dr0nyNUwHnvurYS0HvZDysnA4i98pTdxZdX9o+LVhf5uPZI3WdvoE0OZGrV5 f8bM8O7syCqRA/u+Bq/V2SFrc7rbjAzgnRpkACH/dM/Nudi0pIy2MoiMydVlNjmlES DFyq3DoWq7Xo6fiFtq8gYpN+qG+Iww/lIHw9qtM4PAOBKXlh/6jM5YxtOqcDM5D1xC rDMDa/YGUJmMjpgx15BiPQgoSxunb8sj1LuoDxp41c0rl2E2PMm6qTBYcGMj6ULqr5 x55nmXzRsb+K+JpV/dBvCFYWvoualztH7ZphBfIaC1c2U4XLVgVZxBkU2nILrwkETk 39hPbT7gH6jRA== From: Mark Brown To: Liam Girdwood , Support Opensource , Ricardo Ribalda Cc: linux-kernel@vger.kernel.org In-Reply-To: <20221124-da9211-v1-0-a54549aa6d3b@chromium.org> References: <20221124-da9211-v1-0-a54549aa6d3b@chromium.org> Subject: Re: [PATCH v1 0/1] regulator: da9211: Fix crash when irqs are pre-enabled Message-Id: <166974036738.313894.8241146715693014720.b4-ty@kernel.org> Date: Tue, 29 Nov 2022 16:46:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-fc921 X-Spam-Status: No, score=-7.1 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 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, 24 Nov 2022 17:45:30 +0100, Ricardo Ribalda wrote: > If the system does not come from reset (like when it is kexec()), the > regulator might have an IRQ waiting for us. > > If we enable the IRQ handler before its structures are ready, we crash. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: da9211: Use irq handler when ready commit: 02228f6aa6a64d588bc31e3267d05ff184d772eb 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