Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1272682rwp; Thu, 13 Jul 2023 08:31:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEknZOwOwJN2fhdoZAnE1hj0EVIX2JUEiZvfONO2/06RAnXmOKgi7wGJhnwDI24uSSOsSSb X-Received: by 2002:a2e:9cc2:0:b0:2b6:e3cd:831d with SMTP id g2-20020a2e9cc2000000b002b6e3cd831dmr1649902ljj.31.1689262302625; Thu, 13 Jul 2023 08:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689262302; cv=none; d=google.com; s=arc-20160816; b=shuApnRF2ikAiURFkSTtXYgWD0R4c2JOeffyax8+LIeCdY+LKAPWikxq/exMTgLFel D9LjrDYyDuZDTHomHhTUWEYC6jJzQEqbR9iN0MlgEo20xCEVIbZwhlqBpKtWzaqASFGF UzSNC2HwOGOpRGsdA7IKPTiG8eercDlrMzXgpVsAQB/2sbEJWNOHy8mrvwJLZwfpVE+j YnmoC6QM0EM3OOl8T5ei/9UBEw8R04cClM1xAq1wB+Et4CBl8Tme7Dhyrz+WPypqLPBh w3eJIMbvM2yj/y+Lo/P3EGEj9covzs4Gx7RZ6qpvydaJeyOfy72GdTVQWcpqAe6IqzCD 5Vyw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iYjNTUqSiYl8vwyNSsAeGi7CHGWUcxXyiQo03UPyYJM=; fh=Hok+ajaJDYSqQWOazOJ3mMUHAr1BGzKZ2yKwUOJpHDQ=; b=cD2f3BcR9j/x1g7H4oRLSgxQVoilgaegmELBIYZ8ag7YgBG7KoRUULcWXlM11x4quE smEjlDx+LxhVaFQnz/Nkt7UVmXxVOhf1pnuBHB0biQlwiIO11vgKfMf8af/acHf2Xn8g W2c5+/tuq1oPO6+ygcmKBCRAisxmd2nzG5ve+3wV3Z5IopCQlYd3Ap8biaEWwrfO7EHu PDL2vopgwTa7Ct8ac61ZAaSdvtO87lYk2+h1p8IT1UUCVIw6nVW6GK1mDxwFXqpNRw9m 94PD9b9X36socGF9nAKDU8pZ4eWuCeo4jYE2r1mB9UdEKN2pAWtXfZMZBkdy4Jnh8wg7 3/WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gYS9wL2Q; 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 f11-20020a170906824b00b0098dfdc3f2e6si7251428ejx.982.2023.07.13.08.31.17; Thu, 13 Jul 2023 08:31:42 -0700 (PDT) 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=gYS9wL2Q; 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 S232479AbjGMPB2 (ORCPT + 99 others); Thu, 13 Jul 2023 11:01:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbjGMPB0 (ORCPT ); Thu, 13 Jul 2023 11:01:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA18710D4; Thu, 13 Jul 2023 08:01:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4E06D618B3; Thu, 13 Jul 2023 15:01:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 955B5C433CA; Thu, 13 Jul 2023 15:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689260484; bh=hMwzdjfenrzCe8aNIV6vaSfgaTnzYR9NztGPNMqWikc=; h=From:To:Cc:Subject:Date:From; b=gYS9wL2Qwq09HRFZjN/NxnzMo/H/lxYhTckgFIJG9hIKl0KIY9ap4bAxpIShtgv8O XEq1b/RYz40KVrZuhP+k4N5AyNOMon1wqk7wtJ0tjrJ0EaZjHJNkeB1tJoyB3ZLiUN Kp5OUxkUyo5EWniB0uomh0gbpAogqdiUViJyC2kfJrL28AMNUakbTD2JyPpQ1++Sc9 EJzHFiMBKubs9ffEdyP+efCcr47PHfUMzTgXqilg4Lh/EIzIR16DUNWjMDN/y5kiRf uE5o9ICu0JMrTRp6BtIcPJsGNOE0yd7wDASplqMbMa7SDq+WYk6odGytv0f4fvsuIz 7rPAngGcc6mrQ== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qJxor-0007vi-07; Thu, 13 Jul 2023 17:01:25 +0200 From: Johan Hovold To: "Rafael J. Wysocki" , Greg Kroah-Hartman Cc: Pavel Machek , Len Brown , Andy Gross , Bjorn Andersson , Konrad Dybcio , Jiri Slaby , Tony Lindgren , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Johan Hovold Subject: [PATCH 0/3] PM / wakeirq: fix wake irq arming Date: Thu, 13 Jul 2023 16:57:38 +0200 Message-ID: <20230713145741.30390-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 When reviewing the Qualcomm serial-driver suspend implementation I noticed the odd runtime PM state update which had snuck in. Turns out it was added to work around a bug in PM core which prevented drivers not implementing runtime PM from using dedicated wake irqs. This series fixes the wake irq arming and drops the unused wake irq enable helpers before dropping the bogus runtime PM state update in the Qualcomm driver. I suggest that Rafael takes all of these through his tree. Johan Johan Hovold (3): PM / wakeirq: fix wake irq arming PM / wakeirq: drop unused enable helpers serial: qcom-geni: drop bogus runtime pm state update drivers/base/power/power.h | 1 + drivers/base/power/wakeirq.c | 61 ++++----------------------- drivers/tty/serial/qcom_geni_serial.c | 7 --- include/linux/pm_wakeirq.h | 10 ----- 4 files changed, 9 insertions(+), 70 deletions(-) -- 2.41.0