From patchwork Wed Sep 4 19:42:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13791307 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECAE0CD4F23 for ; Wed, 4 Sep 2024 19:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=szwxrglvpeUQl4D09BmEH2+sb0TQ16anV8CEupHgKHo=; b=Vtnaw0+wo3rMMuACPw6xr9o9rn P7N5j9iVMtnkV4Ih0stHwoAsV2bc4qb3Yqjyi4CoIda4ORbiBiYbZCDY87q1rFsSRv0mqiKXqMu8E cal2LkwgBEbDspkztXt8qBHn+ITDub3YnqFeMWGqIAzbL2AsfzsAt9qZ9Ci4bFHD5YNBItYkzlNBi Okpwey/S7IuUQxomj7UR2VI4UNtl87E++0IXvz7mmU5RKxqZi+9+kuJ5u1y4BHm+5O6yr4joduV/V 4bTddSejsaEo6iu4Sk+vvEy1idAZjOxHicceoWNQJztHR8sB8km2Pjo/sv3ubmTrUfHa9+19dZrL9 onszjxVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slvuq-00000005r1e-40Aw; Wed, 04 Sep 2024 19:43:44 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slvtj-00000005qXU-0PcO for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 19:42:36 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-42bb8cf8a5bso9845115e9.2 for ; Wed, 04 Sep 2024 12:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1725478953; x=1726083753; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=szwxrglvpeUQl4D09BmEH2+sb0TQ16anV8CEupHgKHo=; b=iA7MG0qa20jBkqOuoFhnGojS/pRfoY8FNPqNtv/VnT9FtZtOPqHc+Fq2C9xXPJ4STr 1RiINhB+MQw4B6aa2Te0kgPKELdDEtfLrpU+TnwomUlyc4JWDQBPoTGdX9XRY42YyA95 UfgkwISOZeHYmKaIu9Od54r3FkWVvBGTwt04DPLq0aTjtQ12r6VnwuBw/PcYiWg3aIWd kn5GuOAoep9M8wkk38z4AtEmhPfBVeU0aMbSo65gWqC9AhaNuez6Qyn4K6sXP4nZnEes HYBuKtUk8ol51BwftRuPEYjHbDZQccGdqTwosUGJ1G6qR1p+qn0ty5RnxlsnNlpj/M8i EFqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725478953; x=1726083753; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=szwxrglvpeUQl4D09BmEH2+sb0TQ16anV8CEupHgKHo=; b=r/n5DBcKCCCz8aCFabCGpJtFtvYPRP83HwZaMUW3h+FfNLdDJFxIbY9SONgMysbRbv q6+CvyWv2ATwESkR0nBot68BvtJ1SARRD52fCNsCF3UCK7ilHITpXLceUdFj+93Bepar ZFW2yKUa7ZiMngI1pyEkVhbagZT57rjOBx1Eq3uWwPzL8Saq4TGg2QtPHGQfXdj7EYek BGePcd3Wih0judl9wCKRQcCkTix7LqT7e84pirfs2nlzwvW01zGy5Vg/R9hk8wmU6nFh 4RgPWQzCJ6JiNa6YWGw7C77/z6xe5zqJsygCUV1nVi9KN48AVncc1Ve4ZSLqUak24i6K 4q8w== X-Forwarded-Encrypted: i=1; AJvYcCWQFvwS+4AktJ70kd/xsRAoIRVMgYvvytWwD2jJM8qYpaQgtYDObrHc/sjmILCCJOR+VA5iyCT6hj6vCubU9V/l@lists.infradead.org X-Gm-Message-State: AOJu0YyZH0FOU1c3/hXOtk/77DmLKv+hMMjHPGeKxHW+jXPNUmnih7yq q5tReg6af2ri4tDtVsvwoBdkX3ll84mdFkOhCc0rwe7i1lhq7IgH/FRbV1cLGc0= X-Google-Smtp-Source: AGHT+IFk3uD14cxjLLnbcx+WXfHpLB4aaPC/kUY7CjP/WqEDJMsp7u1Er/Xm1lUwOZqJYbZXIZswcg== X-Received: by 2002:a05:600c:1d1e:b0:42b:a8fb:570 with SMTP id 5b1f17b1804b1-42c9548ce8amr28233995e9.24.1725478953005; Wed, 04 Sep 2024 12:42:33 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a247:83d8:caa7:e645:3612:56b6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374c03595fcsm12473625f8f.98.2024.09.04.12.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 12:42:32 -0700 (PDT) From: Markus Schneider-Pargmann To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , "Rafael J . Wysocki" , Pavel Machek , Len Brown , Greg Kroah-Hartman Cc: Vibhore Vardhan , Kevin Hilman , Dhruva Gole , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v12 1/5] PM: QoS: Export dev_pm_qos_read_value Date: Wed, 4 Sep 2024 21:42:25 +0200 Message-ID: <20240904194229.109886-2-msp@baylibre.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240904194229.109886-1-msp@baylibre.com> References: <20240904194229.109886-1-msp@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_124235_159005_3708EA1A X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In the ti_sci driver we would like to pass the resume latencies set on devices to the firmware so it can decide which power mode is the best to choose. To be able to build a driver using this function as a module, this function should be exported. Signed-off-by: Markus Schneider-Pargmann Reviewed-by: Dhruva Gole Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- drivers/base/power/qos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index bd77f6734f14..ff393cba7649 100644 --- a/drivers/base/power/qos.c +++ b/drivers/base/power/qos.c @@ -137,6 +137,7 @@ s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type) return ret; } +EXPORT_SYMBOL_GPL(dev_pm_qos_read_value); /** * apply_constraint - Add/modify/remove device PM QoS request.