mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 1/2] firmware: arm_scmi: Add System Power utility macro
@ 2021-01-05 13:09 Cristian Marussi
  2021-01-05 13:09 ` [PATCH v4 2/2] firmware: arm_scmi: Add SCMI System Power Control driver Cristian Marussi
  0 siblings, 1 reply; 4+ messages in thread
From: Cristian Marussi @ 2021-01-05 13:09 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel
  Cc: sudeep.holla, lukasz.luba, Jonathan.Cameron, arnd, gregkh, robh,
	Cristian Marussi

Add a trivial macro to check the kind of SCMI SystemPower request.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
---
 include/linux/scmi_protocol.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h
index ecb3aad1a964..a666a152d1eb 100644
--- a/include/linux/scmi_protocol.h
+++ b/include/linux/scmi_protocol.h
@@ -738,6 +738,7 @@ struct scmi_power_state_changed_report {
 struct scmi_system_power_state_notifier_report {
 	ktime_t		timestamp;
 	unsigned int	agent_id;
+#define SCMI_SYSPOWER_IS_REQUEST_GRACEFUL(flags)	((flags) & BIT(0))
 	unsigned int	flags;
 	unsigned int	system_state;
 };
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-21 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 13:09 [PATCH v4 1/2] firmware: arm_scmi: Add System Power utility macro Cristian Marussi
2021-01-05 13:09 ` [PATCH v4 2/2] firmware: arm_scmi: Add SCMI System Power Control driver Cristian Marussi
2021-01-07 16:04   ` Greg KH
2021-01-21 10:22     ` Cristian Marussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®