From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61215C636E5 for ; Wed, 28 Aug 2024 16:52:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C9AB96B0083; Wed, 28 Aug 2024 12:52:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C49916B0085; Wed, 28 Aug 2024 12:52:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B38B46B0088; Wed, 28 Aug 2024 12:52:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 93B826B0083 for ; Wed, 28 Aug 2024 12:52:28 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 0ADAB1C4A80 for ; Wed, 28 Aug 2024 16:52:28 +0000 (UTC) X-FDA: 82502247576.03.2F272A5 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf19.hostedemail.com (Postfix) with ESMTP id 653451A001A for ; Wed, 28 Aug 2024 16:52:26 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=qNSHqZzW; spf=pass (imf19.hostedemail.com: domain of broonie@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=broonie@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724863902; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=H4DGZh/NxKQkoPnFgvpmJ4obMDfsicM5ROcMbLDmzO4=; b=GkDvDZUbIL/KgHe0lM6I6r7H4y/gUV2yRjKI/EVnAMTi40i0B7z2UKNRpXOsvvgJ6L1tyK 8Fiot9grtJ4DdT+WKEid7uXenH70f5/ceWbYZwOtrMwtL79+Hmd8w3aX0anZBU5M9mymKl 7IdNe4MV5rR+S+epSTbYDkrIKDFYaZ8= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=qNSHqZzW; spf=pass (imf19.hostedemail.com: domain of broonie@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=broonie@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724863902; a=rsa-sha256; cv=none; b=oO9asNbAe5ab9PBhyZXEQJlfatJPwlqP7G222QEyPQPXCv4el2RLEOi8Y0Yap5Yfod042q C0UCGy4JtUdqky4c0CfosNqSxY1ZzT+Fh0n3xd7ooi6qyuq5ucqnoSOIuPJfklZBy33KI4 fBZIgJPToeZ+RKTfb1PF53Ajtfh+16E= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 6FD23A42712; Wed, 28 Aug 2024 16:52:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81C06C4CEDA; Wed, 28 Aug 2024 16:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724862778; bh=kz+r2Hsc49yq/dUJy7mZpouNnMyfxG7/i4cvVNxngvc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=qNSHqZzW4JLcXoGnEKgUdLJBZI9556wWD+epWA7n9BYD0+Pt4ZifO6vss8wJcjsGf F7srsM55JJzuTuSPjQJiwjx0AXZOw/NggVa9KxbzMAoNS86hyWacZlNNiL8H2EPScy 1ERZo+S/S7+aR14G7pfDroH82w3RARx/OCmYQhS+a8rgqiMpGfEz6qQdbC/5rV/8zH s76OsqtsgNOY2cRLVXj8l8vQzb2R85t8Oj/isrCi63kIETPG+r/B93uj81hzN6//4h rHA+ABB52uvukfc+EEsiY8IMzPLpXRqIjMCeQ9BLUsxtnoPqgU0OXo10s80GHVU6yG 7evYPOw6Y2uOw== From: Mark Brown To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Marek Szyprowski Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Cristian Ciocaltea , "Liam R . Howlett" In-Reply-To: <20240828122834.3778031-1-m.szyprowski@samsung.com> References: <20240828122834.3778031-1-m.szyprowski@samsung.com> Subject: Re: [PATCH] regcache: use map->alloc_flags also for allocating cache Message-Id: <172486277725.96345.493504524354404211.b4-ty@kernel.org> Date: Wed, 28 Aug 2024 17:32:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.15-dev-37811 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 653451A001A X-Stat-Signature: ac3x4r849d71raiiain94i5ma8y9xb8i X-HE-Tag: 1724863946-361642 X-HE-Meta: U2FsdGVkX1/9DV5ztSCDLwlNh6qQSMqOUAJE3Y/7KSppKJxZkzYCD7kbbiPZFmQDRRCEX/sk67NXvFsM15sGBKRVKNhCKkkogMr8uoNipEdelV0wmBOar14UC39GESIuJ00X51EKeNuj6fgiONL5pY4OocCxHngqwrKBi1O6FkWyK/eyd5IrbSkR7nD0HJdIyhfPTIZZmq2JuN81y8UTaFw/k/bEo1ReOD9y+aIfDHGG+7JhJGq2svzRB9KpXPwPuprXPESYSc9y1DalmSik1pJf+0VWGNlEhV3szpyHG8/mOSM7meDvAYR/LTt3U1GyVMqIShsk4biCKkVi4M1O1o35pWz7ZqC28Ub3VxxhW+mYWerLSHvdMOjm3s4rIA69pdug8K4CeYqB/1k6xJsSXGslBtn6txhZYsxLhQprHK12os4azsEbPNVcI7UzdC+4I/vUzEgIiNuQlCGV/3/1ghyasSeaLZjI44vxLAYumDUGBv5ga3niMBbywa3HTDXfXKzu7GXQwIckCB6zopuzHSc4+211e9Xq5F/EaWY/CziVacfqDWcDC0BPrQ/GNkxvEpO5D/uVaLz2QXu21G1tqU+8l/YqAg+UWutQMvnPbra5bfsqA95/EOPbDriy8kUbxw/8UepqZi1DrQ9yPqi39jQxT3XcyjqAAaiN9zeDhDkMEVwpGmK1VtCXIil9GirGGpApzTD7qqNCm/KXakvOkQaC9IpoUtGxe6vs9XoLw0Qa/2yN+k2MyzYVXLD4LllgmA73aIh8clGcP1PcYDm8HK+k7ZCfU95qhvM99GqNSDug0tSZirytMBoZ6i1dHHXjkY6m2hBneBHs69FYxKw4MurQmzfdJZrnFlxO9ky7xHMwKUyu9zTTsUhVy6H61mjmxIJmGl3/ZaPwYidmpOXC+E7QZhVhkI0BHjDMAn/f35UxMJBKnUb4oQ2nH2KJ2Lj6KPK0CALOrbXdHwBziXK +6Cs9Qt3 YC/ej38A1kzLmPU3rifqRdZ7SclMQGy6jV8C11+9cQbAbJWLGqvCsUBQee2jOr2GYAhRxTL21CiK/ly/Wy+K6WDQVYeRpi2h9ojPaCpaTcgllT44yBYVhtGWSMItomevez7ZdTxS8HwdlvdjTt8qScHMVrFGwFydZ3I+znVvDLhXghep8jpgrndiTU5drLrr2pqPII22lyoY3OY+8J4RCMyZgojdgUCXr9if3Dtj/T2VgXmLg4Xgor8DH+rsyGABT0aEZYUP8Oqff1kiLmhIkhaYYjVtuP998+D8UITE2HAL1CXYmejb+tHMyWbEMyIcqk3/R X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, 28 Aug 2024 14:28:34 +0200, Marek Szyprowski wrote: > Commit fd4ebc07b4df ("regmap: Hold the regmap lock when allocating and > freeing the cache") introduced a locking around the allocating and > freeing a regmap cache, so adjust the memory allocation flags to the ones > given in the regmap configuration instead of the hardcoded GFP_KERNEL. > > This fixes the "BUG: sleeping function called from invalid context" > introduced by the mentioned commit. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regcache: use map->alloc_flags also for allocating cache commit: ae0acef3822ed8908e83cd24f337891e6be64eba 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