Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1595087rdd; Thu, 11 Jan 2024 04:07:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEF9oRU3kqvt6K2LtwULS0BjkH02GgDn0p+eM2WMqNBZQ8eW6YdD8Vj+tcAwSHTvTytYz4y X-Received: by 2002:a05:6122:3281:b0:4b6:bee9:3cbd with SMTP id cj1-20020a056122328100b004b6bee93cbdmr345378vkb.5.1704974843312; Thu, 11 Jan 2024 04:07:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704974843; cv=none; d=google.com; s=arc-20160816; b=zzgV7V7Apf/rPcqio0RP9szQLL0I0X7JpCU6hAZ7O2PeaL8N0VyVhsxIPDEKgj1mvP ilk4beksNbkWJ77d0oYIDbaDx/9oX3bJIb9v/yspPPNAsmPneXYuKiRcHwxRnylvTLre 9hh95BQDu7CH/soGATZU6XRFzZLeQmPeVyd+cdtise75AY+qwb9MyONHSQ323pdYU364 b8/jMySOKY4AnuWAVS5tRKE7beOdhvD5j28f8lK7bkheglfvEKgeHPrvnRJxUWIp3afz /KMuZvdlOO8tYSlAt9owZ2d03MOTp53I1f4F+xDmD8WKSjkHKwtmcEaj8tg9liWBxLl5 3yNg== ARC-Message-Signature: i=1; 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=+XiuSCGwsd/t5Dgf3yHyqgsJ+VroL3UeTd33khGKhTI=; fh=lTc6M3tdlzPR/mDHrldc77US1aXfN7ViqyDg9BygZVY=; b=odT8y2IFQnPxQ++ZhAMCyoAVE/jAbJSZis0y86LvStlBXlATJq9kfHb7DMPecfMX8x ITE4DorwpXdOiFkfd/XEqki6JUdnokqJYumeoGu3oqa2wpiLUirWYPa1Tabmgce4q2kQ Fithb/bCHjUIFETmpeb5vJUcPFV4PuwWxbLfKsq6A11gnkF3f2a+hhKRVi1MbtuhL66q MWSkapIQlxOot4QOungjMEA2FiERZE13Ffg0ktULMUrX+5Usa5v8fQLicTS6hakAOV67 /sCO8PNFSLp/y67F0ZtnBJLHvOZdgXbruwR9ucqFHChSq0sl757D4ouGmaB1TpTUfUKx bG5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-23553-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23553-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h8-20020ac5c288000000b004b7353d91a9si65758vkk.140.2024.01.11.04.07.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:07:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23553-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-23553-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23553-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 108271C22952 for ; Thu, 11 Jan 2024 12:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0C8915AE9; Thu, 11 Jan 2024 12:01:56 +0000 (UTC) Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (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 251933FB10; Thu, 11 Jan 2024 12:01:54 +0000 (UTC) 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-oo1-f51.google.com with SMTP id 006d021491bc7-598a2136259so236186eaf.1; Thu, 11 Jan 2024 04:01:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704974514; x=1705579314; 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=+XiuSCGwsd/t5Dgf3yHyqgsJ+VroL3UeTd33khGKhTI=; b=iC0NQjk9AZwojcWE425RB4I1KjYFiF4vzjGQ1YJxTXyc84IYVsMb1k2gQxf8rRBogv L8dfl+YcMM/UFEkwYOgPtMKPVvltVfL1RWyQN8c9vVhbptUVA9lgF+2qGIOwM2TfkfQI Yp3O71vBUDpK1FyWzQDxin3+HAjF/oVZ0PeTY0Nh5c5SR/Bmb2S6zAD4LjXQeDn1aR8d Q2wypfheVxjDlfHCN9RCxRm16XCeVlmAv0hLgDNODEcIWOBt7TYCNhmxO0evyVae38PT uddTxCTWJypPxxaNWfpzk+d1x9vPlgFgocBEF8fYUx/hrTgCO5gjy52+WIaXIUxWo5ER ThSQ== X-Gm-Message-State: AOJu0YybguhzfwZKD+irY/xRT10AKW/2IjRa8/I0GmTYKf0Zm34hwKf+ ugs4dLduPWAc+haNW6ZQAgDL77HDNqURFq+jzRCK2MXVxWM= X-Received: by 2002:a4a:d08d:0:b0:598:81b7:4d25 with SMTP id i13-20020a4ad08d000000b0059881b74d25mr2025290oor.1.1704974513976; Thu, 11 Jan 2024 04:01:53 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <10423008.nUPlyArG6x@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Thu, 11 Jan 2024 13:01:41 +0100 Message-ID: Subject: Re: [PATCH v1] PM: sleep: Restore asynchronous device resume optimization To: Stanislaw Gruszka Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Linux PM , Ulf Hansson , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 11, 2024 at 8:58=E2=80=AFAM Stanislaw Gruszka wrote: > > On Wed, Jan 10, 2024 at 03:05:07PM +0100, Stanislaw Gruszka wrote: > > On Wed, Jan 10, 2024 at 01:33:07PM +0100, Rafael J. Wysocki wrote: > > > > I would consider different naming just to make clear this > > > > is regarding async call, in_progress looks too generic for me. > > > > > > OK, what about async_in_progress? > > Sure, that better. > > Even better would be using_async IMO, because we don't know if > async call is in progress or finish or before start. Well, "in progress" applies to all of the processing of the async call and I regard it as "in progress" once it is known that it will run asynchronously eventually. In any case, I've already applied the async_in_progress version, thanks!