From nobody Thu Oct 31 02:16:44 2024 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 40D77143744 for ; Mon, 7 Oct 2024 06:09:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728281390; cv=none; b=X9awvZF1Hb9TJiVmWFlcgT/6YdfwRDt/wcVmwzs7Yi7vQ5xqiOCaWo832Jtu5gmAtFYLCB4ON/zZZX6RYhia6DnOqYajQqOUe4ny3Ir+VyJnqqoIVp3yVMexhMoqZGa2ltvG0pZoY7RYRulI1satCYn3NXJIogaVRkkZstitQ38= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728281390; c=relaxed/simple; bh=2y8uH64yfzV0w3LNWnAsmQ9joLDzznVm6rctMixptTw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jflItsZmkWvWSw85VDO10J3OnJ2DjXTF9x6a1jqRgb2StejFS1LT1i4CTil9Ia1daUw+uca6DL5Evek5bNCF8ZgT/EkkSHEjT/pFnRBQbh6CSaIqiYVYo/041qwBAwpC66hBx81eDEV6jQNFi5cJlsz+ix8I+KLKWybOE3GWuVo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=A6Z4Kp/F; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="A6Z4Kp/F" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5c882864d3aso4540956a12.2 for ; Sun, 06 Oct 2024 23:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728281385; x=1728886185; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vAA9jPxU0BfqvqEkfgPpbiip1Qzle+GG2gZf/PhNMVM=; b=A6Z4Kp/FGDl/DLAbf7d4jHP3IJYM1licu/sVWI6iEmpS98Mvo8QSYQThtxumrplpzn IWO8iYPbIAsZg5lCoN7/QGiiGf30fSWpupFgItMcBhL7pkRdM3gY/H/69PWFqGkSFrkn F1ySskEInsKwaHuun9AsC8aDZAWzh62NdyOGBpLMzrGhuUER0AJ49bu9ClHWnRmp3Jun 3OSV8Fk36yCnrg1EdjqL93FVtJlw+mTwGo9u2FB5XAWOe5/mwcDB49zRBYYwdXj9kNCD HUdgc7GzidOE/l1FGZK6K2ZnMTe5HPIeYDnnVGjg7zfOBLnW0NoSv5Urxdi6PMeqaCh8 OV5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728281385; x=1728886185; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vAA9jPxU0BfqvqEkfgPpbiip1Qzle+GG2gZf/PhNMVM=; b=fKRpVri2MT7jDjXG8HcYpHd0+FB4aqqRtAlyCwHqJJ4Uimu3dzUkJouoIvnERxF9/3 ZIBb2dsrpbLDUDylqoXnZsJnYKFfgtuBrICMto+BrGtU8QT8siBsC2xPTzy13HD1iQRK rOo4EJvhc75cZB2XfhjvBRdPDK/bD/h/cn+SnoIEOlAloQMsvuIvNMReioDdQfbjAFgw mg/Ohe4zAcUiy4YfEGI4cNNwL+8XoBqxP0E0/vQViPCNzqxokLJyHi6q9K8931q+vyjm ydBQqlys0z6CfuksdbZ3odAoPXzKZ6hvu3YBREUD9bBp1vNrBEOYRlKg/ddbJLOppR3I jqsQ== X-Forwarded-Encrypted: i=1; AJvYcCUPgsUWqs3BQ/JoH16koJMG3Yz5+EkpLk0egwhffncnSp8F6a4iZkDHFVafzhnS7Nu+8UvIkKgRhy2H+JI=@vger.kernel.org X-Gm-Message-State: AOJu0Yw6PvZsLRmV7TvVYx5pNIHy8BzV2Ba1j2vqYq/+/hDbvv1nO2QS Sk20fvTqtOeqgzss3Iku/6BwMKc82Q14P68tPpxefS8I9PSQabJLWfIfr6rEvlw= X-Google-Smtp-Source: AGHT+IHhb+bk5P/hhsqwiz2jxOOW+vG1SmyFJlGritE2akoP/ChRbLdPyzWQcmKZOyMmcSrj0wYJbA== X-Received: by 2002:a17:907:e647:b0:a8d:caa:7ffb with SMTP id a640c23a62f3a-a991bd73236mr1085273466b.29.1728281385567; Sun, 06 Oct 2024 23:09:45 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a992e623957sm337291766b.76.2024.10.06.23.09.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Oct 2024 23:09:45 -0700 (PDT) From: Markus Schneider-Pargmann Date: Mon, 07 Oct 2024 08:08:54 +0200 Subject: [PATCH v13 1/5] PM: QoS: Export dev_pm_qos_read_value Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241007-tisci-syssuspendresume-v13-1-ed54cd659a49@baylibre.com> References: <20241007-tisci-syssuspendresume-v13-0-ed54cd659a49@baylibre.com> In-Reply-To: <20241007-tisci-syssuspendresume-v13-0-ed54cd659a49@baylibre.com> To: "Rafael J. Wysocki" , Pavel Machek , Len Brown , Greg Kroah-Hartman , Nishanth Menon , Tero Kristo , Santosh Shilimkar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kamlesh Gurudasani , Kevin Hilman , Dhruva Gole , Vishal Mahaveer , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1038; i=msp@baylibre.com; h=from:subject:message-id; bh=2y8uH64yfzV0w3LNWnAsmQ9joLDzznVm6rctMixptTw=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNKZq3mClun9NDvjU23pfk76t5yD3Fp30/IL+X3NBSoKv tpNIcc7SlkYxDgYZMUUWe5+WPiuTu76goh1jxxh5rAygQxh4OIUgIkc5GBkuHro5+0ZU450q2ul s0/vmTmrtHez4x+lYB6Jx6UPjguumMLwz3Kdz4K/Wc1bgmcv/yDDXvlXdY26/ce+Y6U577d2Vux v5QAA X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 Export the function dev_pm_qos_read_value(). Most other functions mentioned in Documentation/power/pm_qos_interface.rst are already exported, so export this one as well. This function will be used to read the resume latency in a driver that can also be compiled as a module. 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 bd77f6734f14cda9f45c26538ee7ea7c3a0bc136..ff393cba7649696a6eb1c41993b= 26a90ff02e5c2 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) =20 return ret; } +EXPORT_SYMBOL_GPL(dev_pm_qos_read_value); =20 /** * apply_constraint - Add/modify/remove device PM QoS request. --=20 2.45.2