From patchwork Thu Jul 13 14:57:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 702324 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A1ECC0015E for ; Thu, 13 Jul 2023 15:01:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbjGMPB1 (ORCPT ); Thu, 13 Jul 2023 11:01:27 -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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) Reviewed-by: Tony Lindgren Reviewed-by: Tony Lindgren Tested-by: Tony Lindgren Acked-by: Greg Kroah-Hartman