Message ID | 20231227-topic-psci_fw_sus-v1-0-6910add70bf3@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 05EF1C46CD4 for <linux-arm-kernel@archiver.kernel.org>; Wed, 27 Dec 2023 22:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dSj04Q/MwaEpoANi6hc3AQIXq9VpNCnBsgeule37vCI=; b=cgiELLJwkFfxor 9WZvVl2427m0fNAaG7c87LTRmRCAkNlyG3XIphzEVcUc3Mh4wkpu7MAVURvw7tqF8gxSWHja1AW72 MovHAgBNfGIw2s8lBo6XyyNVWyUHr/XHq4xztfLNJkUTuZn2CXW04sBIFrHDMbiVpnieH1BrglG2j GTIG1IpdNOleF/ADU/bGMoS7vdowLCL4ymyXbfCv8XpXSvOvuzXB3Bl3tvZDBHcPQeBvzqGQb4Iak nlJ0OsOVqBGNYsVj7EYkbS8vEyvCqWiR1OJv3/ywj1rJBxtoSioLz0nSReiCbusbYG7gOh+j73hwM s/Sld0bHWFy2UBiCp3VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIcBs-00Fa04-1c; Wed, 27 Dec 2023 22:15:52 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIcBq-00FZzb-22 for linux-arm-kernel@lists.infradead.org; Wed, 27 Dec 2023 22:15:51 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50e7b273352so2337924e87.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 27 Dec 2023 14:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703715348; x=1704320148; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=UaweJOUZhA3J0eI5gLkKX20Jp7IChzn7EYWBfNX1EM0=; b=vE/VKWgRN4rvkLOIRIji1EUNGpn7GG9we5/4r7faZvmzgPSb8ouMoUkaRsHkSa8/vh py+TP1m1rf5ait5W/9ZuuVOn3MjrOxpRQMJsqJ91AcyCTkvIo2M/F9K6wrMDWVBcK0Lq TfBFcdx6sIluUtumtg1aFqsfeDLswon5K/VJwykDi1UzclBUdLhyFgG5odzrcCWC2bmG Tmq/mou7i8PUJGigDQ0ZXzMyZpsqKpPOKTd8u43J8qlIu4l2ceTjW2C8+L6RfdVzm5Rz oyAOJiAd3Dwisf5nWk45KwgXhUs8cJ7vW5O4QX23dhqs61lJl0V2GWh/cPRuLOaISUHy 1NLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703715348; x=1704320148; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UaweJOUZhA3J0eI5gLkKX20Jp7IChzn7EYWBfNX1EM0=; b=JqRreW2kJEOpbHRK+FLM/cNPPElqiF5ctK6dnhTt1cyKhkPGu7P9I8RKSahnLdjeIR BSxXY3HSCjg8QsXoCNtGwV7X5P2F4gOdCHj4bGrkXNYF2E7obwajRouE5geF04/HvkX2 PY8Mj16YETPYaoKhPqwCPpgXwKpFk9i1dc6RLfrYxikSG0bCwzkgzktjAIm8vUwPqQ3a yKD34g/prNfregoJM4Ls0KSeyxMnCVrQLyx9cb1rE67QLrqgxZyJWZumWTeIsLxEppNt EO5ed7BsX4x6HS7k5fP7erOArsHJODQFT2ynB5oJ8RuHsDz/QXiJDfWsY1zhcaXU+CmX +W5Q== X-Gm-Message-State: AOJu0YyU9VSnI2jAXbIYDg5Jc16REaHFC1d12TRovw/P1GjBedyEQW3N gtmdISvKTwfccNgUlVe3KyRHW2Qnj25ivdr91+hq4xsnbUg= X-Google-Smtp-Source: AGHT+IFlsXGFoF67COkuE201sgiR0FJiM1XT3DBqVq7fGOfwQohZ0saWlu2MNFjEFMfxhpkB3+RAHw== X-Received: by 2002:a05:6512:ba6:b0:50e:7be8:46f6 with SMTP id b38-20020a0565120ba600b0050e7be846f6mr2633774lfv.83.1703715347918; Wed, 27 Dec 2023 14:15:47 -0800 (PST) Received: from [10.167.154.1] (178235179028.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.28]) by smtp.gmail.com with ESMTPSA id vw17-20020a170907059100b00a26f3d6062csm2821501ejb.50.2023.12.27.14.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 14:15:47 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH 0/2] Advertise pm_resume/suspend_via_firmware with PSCI Date: Wed, 27 Dec 2023 23:15:29 +0100 Message-Id: <20231227-topic-psci_fw_sus-v1-0-6910add70bf3@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAGijGUC/x2N0QqDMAwAf0XyvEDNQMd+ZQxpY5wBqaWZbiD++ 8Ie7+C4A0yqisG9OaDKrqZrdmgvDfAc80tQR2egQNeWqMf3WpSxGOswfQbbDGNIgUI38q3vwLs UTTDVmHn2Mm/L4rJUmfT7Hz2e5/kDQX2yIHgAAAA= To: Mark Rutland <mark.rutland@arm.com>, Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703715346; l=1011; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Rck/esDXRrOWaEACIothwBzUAgF0KQN27onJv0JCYOU=; b=95GrHAoDTaaGen2QvwWaM9ccYun2A59CqjzfHNp/lNupMeKqrKSJK+rGrgiAxdYHYncj3V4nj YKx1lfYCx69CzFzTO0d2xpu+gvjrEfW3n5ydzpuiAGgMe9wTt3HSIXo X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231227_141550_698420_23953D71 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Advertise pm_resume/suspend_via_firmware with PSCI
|
expand
|
Some device drivers are curious to know if "the firmware" (which to many just means ACPI, because x86/ibm_pc is clearly the only arch on this planet :P) is responsible for suspending/resuming the platform, altering their behavior if that's the case. The same flag makes sense regardless of the type of firmware used. PSCI also happens to be the suspend handler on many platforms even without ACPI, so it's only natural to report such capabilities as well. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- Konrad Dybcio (2): firmware/psci: Set pm_set_resume/suspend_via_firmware() for SYSTEM_SUSPEND firmware/psci: Set pm_set_resume/suspend_via_firmware() on qcom drivers/firmware/psci/psci.c | 67 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) --- base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 change-id: 20231227-topic-psci_fw_sus-a0b0206dc876 Best regards,