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: 825479 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 BD96812C54B for ; Wed, 4 Sep 2024 19:42:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725478957; cv=none; b=g7riPJ0k/0vjNXfi/v+Y+Qa/3mfcalQB8Tz4nHy7zSqOAkHpkLiGRTpdeafbbpN/KdJQiFemw13ga596nj1LlqqDS21PByS4yrki/BRT3Ya9l138aqeNQsj410nEvm/JJA69jDySIm2iiUZVHmtRsmH8/312eaShn2HVkMezKEM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725478957; c=relaxed/simple; bh=HPWO/QLWDgxzRKoF7in9Oi7XC89XY0rfcsR+2YhVW1k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tQRmwqDl2OvwoIACuBWMjDjXcwGua6M/lpN2jgsz6VTjZcB/JxLSWbGv/av5TrlRnjVj7v2gSKUGMwe5SmATnWUtGo1wu3WorhElfhG2ruPUgfsjc+pXgL18qT4vfPCO2tJEdY3F+bFDpH6xQbkjr1tBdArFZvEtv/ANPxuvgfA= 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=TpOz+5uc; arc=none smtp.client-ip=209.85.128.44 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="TpOz+5uc" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-42bb8c6e250so9884485e9.1 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=vger.kernel.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=TpOz+5ucWeQ/PQB8bEI61/Zy1Y8Kg8EXSc+vMwiWcVUHzdYjlc4Ft+rhe7ViEyBKzN R/pq8RltUq1BqujGyXEBd0TBkC6i88PCdqv1uGaZx9GlAQWczxntZ0A8mLWVznNVAZTl H0dgMK0AAuATNEj+rN7bN+qTePytnY9tYUreVpmrUt0QNQm7uIKP4ittNsd93S2/E5jU RbRjaHj7ynp7f+ogX8SSIHckcvnouumSv+yY2QtcmfUmKSyns2HRLDtEkvEzQ2Jjm+Us fQWlSFbGdVt0AL1IXXCTWtE3jtiTHxOOQk5FK/B8aPJV6FWkn0nt7wesiw+Wp04rxiCn ne/g== 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=ovXRs1rKlpOcRFsdIZ1RtjBlLH0um2yYr8ucXRyNMtIhUjRHqH7QzaQLbgCCoA3d4U xKXTqBmZGJ8Cxzd5vyQLBbcKb3d3+5B2ulGSp1UA9s//euucdbQL/MNqr0hbdPreBe7e 4piL3xHi1piia8SbFju9gcmNjzi9kceZ3Z+XY8ms9HJwon+3NmU80t21hlQJTJYhqFCn 1KRBrUpVAbvBIWrqhU6FX7rzuYIOnGSGCi2newshmBDAh2vGemUiSwZ78rPK/P91+YRd xZPRgzN44e+ylXHOiGmyfzrtc7K58dSDyDgRIHu/D7Ip0xaJewligVtbS0J3DnPW856s 6kNA== X-Forwarded-Encrypted: i=1; AJvYcCXUfFXk5JHBAMPAenCGs6U/bWm1HmZKWqTdqQJB0ZJ005U4x4Q43Wi5KdD7tW24zwwG4ePYECrrgQ==@vger.kernel.org X-Gm-Message-State: AOJu0YxmIEnI/F9OWoAwloNBDP9yID9WzXYNES4mpKEEiQvAtLWqKb6w nceSDSZg70rTmBrde3W3gjxdLrL1oWEsn/EpxhiDjpS81htwgX//D5uLfEyHlug= 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> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 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.