Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2498773rdb; Mon, 12 Feb 2024 06:57:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4IyFt+hju37TzUk8hLenHvrrq7uG9TWe8GbuvgDXLT+9SlOuexGm+J7j7vfi2U8MT2cP+ X-Received: by 2002:a17:906:af94:b0:a38:970a:75df with SMTP id mj20-20020a170906af9400b00a38970a75dfmr5191407ejb.15.1707749866359; Mon, 12 Feb 2024 06:57:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707749866; cv=pass; d=google.com; s=arc-20160816; b=IQOo5Kf+zZXQDByWoWUZ4t4WbioLC9wuxg/Tv0NDa6+JwU8sY22/ldo+gHGfUvkQwh fftYtcQTCNzte4FLxhn3OtcijcDdgt9Ni6tCUL6Q9Pi2piKFvitIJsbO3lsE7lHlOT4x iKmIYv8sVVnTEwOqhwrXHDB2cwzBIDe4RhrAEH5SqsSXghUvXxKQEGAqKw3gETKOgFi9 05C8BYgmWtJPj8I0wcHJLgAfMk8jKBwIE8bel9Lcz0gAe9Q/N1cg2z28i9qQ+fETmYTC O3RNLrXGNk+xPW0+JjPfpaQodizS5O0wDQB+50Ok/VatH/Xg7SqEa63mi+RzDe/iPw6f txAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=ZoJgXTdG93XMCXcdtwqy8JUV2GOmXd3e2IuGvT55Kog=; fh=fbNy4Kbz7YxUnivg4vkAMx8JVvFH4idOtAMgnBtrF54=; b=lwj7RtWwNaoj7hWH22qvDKTEIE4Zz8vJzMPoQBedkGG83/4qIRRrzDoGIB4k4N5vZN p5sLmtTZk+jVXtZAJaguHFAim3PatFW5rcK7KXagpeLSHL6lay5FWKiOnqG8dfDPO3cu 8BX4El32odthTXv6RspPH2YViXgzns20OSiLCEtBtpkBAbXE78FEEE8W7I2TJVEaP6GE JACFLbXXBGnpsAcUhgV+nlje9SlOWq9rC0ik5VD+VsGvgmp23VuNyuLQQaqy9O9QsBmn 4X74EUCSuvIDlAUjy348JEl1JbM8iJBimewp4/TRyQAsd6S6WpuKIMqugw7p9XgY53aE Cp1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61852-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; AJvYcCVc5Mdn7DNJ38+tKvUu/z207TNs1dEcqMW8ivrE15RM2mBjE83mw3c5L7VvLe66r18gly55Zib5Kzk9nMcIKutbCX0S+E0DdWvppOtF1g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a24-20020a170906275800b00a3be99f21f3si245692ejd.767.2024.02.12.06.57.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 06:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61852-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; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61852-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 1F09C1F22AAF for ; Mon, 12 Feb 2024 14:57:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 100D73BB33; Mon, 12 Feb 2024 14:57:36 +0000 (UTC) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 1AD723B782; Mon, 12 Feb 2024 14:57:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707749855; cv=none; b=SKjYt1M0E8CZEc7iBCNJao1Dr5bdhhFPJme6nDTPEGw8wim9wh69kzW+S6RNM9Os1QoUiybiLe57N1/bu8tXFFRzEJNxai8xiDZCc9uCepcdYDh3rkunhqhUyjNYd+Tgyvd79/BB0hzVqKuEUDPOXltdxqzox6PWKTeVnj3ixFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707749855; c=relaxed/simple; bh=dB6h7vjL83xsxisp6w5d1sjXMpb1xlAf6QjbQZNLPNQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NJ2PxUUId5dpTHjt09jRZRW+ZYdIudIkMt3bvzcKooF2BIfeOd/PtDjhKeU9NimDu+JDtbcANnmSqgW7mkeH+Nvitb4vVF0RqYBeHVHML1uKGsCt/iwpjY2rrmwykyde6q7VJ6ypOZynxefiH85xFfNa8NmFI++RBSrQ8Owt8WA= 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; arc=none smtp.client-ip=209.85.210.48 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-ot1-f48.google.com with SMTP id 46e09a7af769-6e2e74e34a7so15735a34.1; Mon, 12 Feb 2024 06:57:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707749853; x=1708354653; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZoJgXTdG93XMCXcdtwqy8JUV2GOmXd3e2IuGvT55Kog=; b=TUf415e5hhybLfRZiTSy7xs1gaG9tlW5aU0nSFalMeM+Q/U8Bd+L6c5lyGK2lN7AyF mHBifHOBSlySRGIln5NwcHFQdA1AA8SMao90rbRz+Lw3KrHJTS89W3kFzkXlQijJ2Rm5 bVfHskhIzr8vWvR+pds5PucebyEw8u8IrgkpjhslXyq4a1WrbOYDwGMMyHNppwYUlKLG sAmVkK8kf7KalS15VkMc+pnCa9WTcGgZlM/uKu1wFK9LoQ91XW7WIbLmDiFrC1NJgeJg 1baz0M1O2KRU5HkMwmBG51mSSeur7tl71To4tS8A45Ycv97sivj8Feq09wxJGw4NTUJc S1Cg== X-Forwarded-Encrypted: i=1; AJvYcCXiQhbJ75QlPV9d0xFPGJbqqqzf/i4ffDHPYfTmkBCbl0Dj8kzT9L1RoRcLOm0SN9JDCotfTDqgBQqwoGeAcmgREY+n79nhi88CSPj5Lbg3JEefp0QmOH3fZgRRPNvIlUDUfIiGIMs= X-Gm-Message-State: AOJu0YyfhR37YB4pZqFoquLxyzmwlxVT99yzGVACYMpFYYyuElYj4e/r zemlmKbEpJQSBaLH1aqbKA0nobOEe2rt/Y10YkDJMdTrMfbQRGYEKSw3ZrHzJk4HsJFReVzJ80h HQoIwsmZweLL2ZtzT7HWXuftcagQ= X-Received: by 2002:a4a:ca0d:0:b0:599:e8ff:66d9 with SMTP id w13-20020a4aca0d000000b00599e8ff66d9mr5112472ooq.1.1707749852925; Mon, 12 Feb 2024 06:57:32 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <4a043533-009f-4db9-b107-c8374be28d2b@samsung.com> <2f125955-8c7c-465c-938c-8768f7ca360b@samsung.com> <8c468452-1b00-438a-b634-eeccc35d9a41@samsung.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 12 Feb 2024 15:57:21 +0100 Message-ID: Subject: Re: [PATCH v1] PM: sleep: Restore asynchronous device resume optimization To: Tejun Heo Cc: Marek Szyprowski , "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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, Feb 9, 2024 at 1:20=E2=80=AFAM Tejun Heo wrote: > > 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 notice= d > > that it is not possible to run it on ARM 32bit target, as it requires > > PROC_KCORE support, which is 'Visible if: PROC_FS [=3Dy] && MMU [=3Dy] = && > > !ARM [=3Dy]' for some reasons. > > Bummer. I instrumented code on my test setup (x86) and couldn't repro usa= ge > of the dfl_pwq, unfortuantely. On x86 there are fewer device links representing dependencies between devices, because it doesn't use fw_devlink which is used on ARM platforms (and other DT-based), so on x86 it is less likely to reproduce this. > 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 LGTM, thanks!