Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp618555rdb; Thu, 8 Feb 2024 16:20:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnJ80PM3kgxod9wtPbm409+stxjqfm8xAzsy4Ef8WoEHCFwEJYvwvKTYRZciSwyDplNl9qPto+vp92ZO0OqGQIg2jCZNsx85PD626JRQ== X-Google-Smtp-Source: AGHT+IHu5666Q/A8by6tp++5B9wX10BvKCBcwx/J1OBXXY8RyWCW8ExwlaRvwImO+B8/YvtMt73Q X-Received: by 2002:aa7:c408:0:b0:561:2711:9585 with SMTP id j8-20020aa7c408000000b0056127119585mr96263edq.32.1707438036192; Thu, 08 Feb 2024 16:20:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707438036; cv=pass; d=google.com; s=arc-20160816; b=mo4hQ/eswdaZ9o2vaAwvU24Cu143EwzSAGpnjmDj3vq887jfi4Yl8DD/vWk0/BLkWR rZ5xKxQusqu8ZZYk1sKoZ4D35Pg/sAgIUU2ZrA1r95hznacWF/U4A6jKBK8PvSHzDRCF tCiZcEkWW3+TJVMam4qz/Qi8gXO0e7hBxdBh3eP5l3UArYgNk076yp116h9yjFuuKOcX TxOyDGgHpP3F//M3LwfUqKttBfkd40rxwdZdRGd+bQ7K2vuwNRUpQg/zVijrPdKCBXwq qrdV8Uow3gDYNRl6BAJCTdoVIHUFFoyKtQUm+Oh0AYNYeMJgyV8Zuai6cn9LdCoCmx2a zVoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=qdbUMa7QPeYlxa1Su029+aRrsMhXW6Au1xJECB9csBs=; fh=m23bD7DxUH2p1PkFtKNMNkVNCdXMhqG8Sx50zJnmQeI=; b=LqssujAKh0HOutQdC8iuU2fZ1saWyckcB5JqgaT/cTTBFswXPy3QzpuBjFxDTXu5us 8QBul5So7EATdGM5YwOFZwzOuBeIR9eC7Y6gGYpRIzu2DaZpY3n03LWPp2TYhBqa2WOz vC5tpgXihidBLHQYlmCz6t4TsqnnlZC+q6kZaApyRYEbvx2QLAxGpSnEit3u720C3Wd9 DqV94MuBRqNLiGfxCbJEcFvy3dH0viiThrJRvcRJwy90FiIUj3JeVZ1xpMQRngSE/MLV anfTWsLG0ak9+Q8It3Dea8k3HVD088yAzDAt/gEUCF+6U/qjK5caUgYezTw4EKUsqbkU zuTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FkfkWhys; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58899-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUvVylrvJE34TtCiUpeByz1w4Xkn9RqiLRibJbWoZNGpOQGOXpKMSzEtuWqasZ5HODkVFCwxhcDfwC1l/3Xv8Ps7pC+A57EF8KHRbI9aA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g25-20020a056402181900b0055fee9483aesi238267edy.458.2024.02.08.16.20.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 16:20:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58899-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FkfkWhys; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58899-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BF0CC1F28006 for ; Fri, 9 Feb 2024 00:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDCD363C; Fri, 9 Feb 2024 00:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FkfkWhys" Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A64CA360; Fri, 9 Feb 2024 00:20:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707438025; cv=none; b=VWSH8aKPubw4IsWAyRaRNhlyFLmtapHu7Uk2FISGLQFIqUFUSBTsb75NqVJnD1pyo+rhGkkju4L8elbq9NbOKzDgk6Dy2otiQz+0C1LI9HNmK7gQqgEl81PzOwpuzPnVh3bJTXpFy2IMC43i2yMEbuFl14JO+LtfWz221l2twCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707438025; c=relaxed/simple; bh=fQWAOxbdQHOI67uYRWUiLe/DLkQixdHM/rCmFw0lUSw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IWWXs0twq8wNXpIZfq0ksGwMFQut2yKIxMMVG/7I1ihGURXvIOrqIjPDiHvfrKqVtUE2Xtwe6HJcEgZEwX0027bKhZ3z/qmArdao55frT7oCOrdWznIsMk02xV8S5y31gNOIXXo66mXiG/8ncrUtA50eCtMLc7X6ZHU2AyTWpS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FkfkWhys; arc=none smtp.client-ip=209.85.215.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5cddfe0cb64so243037a12.0; Thu, 08 Feb 2024 16:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707438023; x=1708042823; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=qdbUMa7QPeYlxa1Su029+aRrsMhXW6Au1xJECB9csBs=; b=FkfkWhysalDRtusQgYdI/RNRHQW5YLEbtS9XeaIMtLGcmZWAkWIY2gXuRSDzrxS3lU W1709lwW9EcJCewcuqbgHTUMtxjw6jQzxNUApqdvmrxxRhuqZT696DADHu02zGsA2OZO lD5c4shiyKdgL8jk8YFDz56pWe8I0bVSrA12mVya3zN5I7my4CwHY8woDizsL82Kl8hV SVr33np5zrDMC7+jL/1I3GHLyfO+vbobn2BQiXr6ozyL2NXJUsX/Pfssu3+yZTG+kvGO FkecJ779GRlxi2QEeUUGXafdqiJcCzDekNSIGEz7zaP0fb6r3rYuJgFpF4aqAaj0QlH+ j4Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707438023; x=1708042823; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qdbUMa7QPeYlxa1Su029+aRrsMhXW6Au1xJECB9csBs=; b=GRHz7JkjB+9hrquDSRuv59ly8+Qej1X9iptaGQo7xnEhfU7rQwZrY1CgEKEq+6/IEa iWGK607IL+XOUgc0RaxBIym2fuL5O+sI1GqRnixFiM60HtIY/HzSsPV/GPosMv5nj1bQ oEuuNpqClE7lrwxRqbMbIL0PpqpbKxwR1RBMac3EgZ8u7xIUFNpfKktdfeI9n0G+uRGW mQW0g7GGAdIAm37QXKrUM4HEORG7RTvUiupQiJY+0dLIu0s/aQDaW2YKbQsFhbGFxmbt x8QrXWPxtZFCBl8seWh8ydTQ6zMFHzFAIIjwELrMJUWrMq62fgWWgCqzGBVjeLei0pAk WSpg== X-Forwarded-Encrypted: i=1; AJvYcCXyjIGWYnwVVs4Rjcsjs9DXiMvW+dFPYjPBN/S37P3G6CRXTBIf6T24irbujytxzeN0300er7Tf5rJDiNvln59LBDNyWB4JChF+MFu3b0JtqS4nfneAjmfoDRYqN/i1MSguIjwdzMY= X-Gm-Message-State: AOJu0YxzpA+phSjtt7lvU3sICoSNlzKkf3cuiDlYHDxSPWP3IERGwBzv LqjGcIVdbDP0TW5017EtlI0DFKxyuHGzEU4ropZmW2eZgIYyJ8V6 X-Received: by 2002:a05:6a21:910c:b0:19c:7b2b:6cbf with SMTP id tn12-20020a056a21910c00b0019c7b2b6cbfmr132390pzb.47.1707438022874; Thu, 08 Feb 2024 16:20:22 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWwbMylMOXtZirFccrYiGQ+FeRED7/Iu4gbTGnMDE3n3U9fn1RUWQoe1fMEXn+HYKL3CuID4PZFL+0ON01URiokctgRfflwt27wVQy78VyEz4vh1ur8OEijsm9OvZgWAwQxu8xYRxpnzrS2LrlzZSArGKDk9XXLjx8qAJrQl+QO5E1fVM4cCr9tupQO8ILgT+DfltuI2NHKLEKXmjyVvST/FMHpqJjgDBUGB50/sSF9EgLC6MHMAfPxZea/A7lNiuH+r7BxHNXi/mV2Y8g6j1qwKKb5b6CYHqOD/iVhAkO3BZf6HHRmpBmxmFOsetnyy7+3IjrPoRbGIYj5V9FXnnJraIfzV6rjTpWTMWoHWmhURRuh6FUaQTG3kwvvrJs= Received: from localhost ([2620:10d:c090:400::4:3c45]) by smtp.gmail.com with ESMTPSA id kn13-20020a170903078d00b001d75c26e857sm341088plb.288.2024.02.08.16.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 16:20:22 -0800 (PST) Sender: Tejun Heo Date: Thu, 8 Feb 2024 14:20:21 -1000 From: Tejun Heo To: Marek Szyprowski Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Linux PM , Ulf Hansson , Nathan Chancellor , LKML , Stanislaw Gruszka , Lai Jiangshan , Naohiro.Aota@wdc.com, kernel-team@meta.com Subject: Re: [PATCH v1] PM: sleep: Restore asynchronous device resume optimization Message-ID: References: <4a043533-009f-4db9-b107-c8374be28d2b@samsung.com> <2f125955-8c7c-465c-938c-8768f7ca360b@samsung.com> <8c468452-1b00-438a-b634-eeccc35d9a41@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8c468452-1b00-438a-b634-eeccc35d9a41@samsung.com> Hello, On Thu, Feb 08, 2024 at 08:47:12AM +0100, Marek Szyprowski wrote: > I've tried to get drgn running on the test target, but then I've noticed > that it is not possible to run it on ARM 32bit target, as it requires > PROC_KCORE support, which is 'Visible if: PROC_FS [=y] && MMU [=y] && > !ARM [=y]' for some reasons. Bummer. I instrumented code on my test setup (x86) and couldn't repro usage of the dfl_pwq, unfortuantely. Independent of understanding what's going on with the system_unbound_wq, the correct solution seems like using a dedicated workqueue with raised min_active. Just posted the patchset to do that: http://lkml.kernel.org/r/ZcVtzJvJCRV5OLM-@slm.duckdns.org Thanks. -- tejun