Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b16ad0e authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

soc: qcom: service-notifier: Add EARLY_PD_DOWN to PD states



Add the EARLY_PD_DOWN state to the set of possible states
for a PD. The PD will enter this state and send an indication
to the HLOS shortly before sending the PD_DOWN indication. This
indication does not require an ACK back, unlike the PD_[UP/DOWN]
indication.

This indication is sent when PD dumps are collected, and
before a PD dies. Any memory that is part of the PD dumps
should not be unmapped as part of the handling for this
indication, as it may be used during the PD dump collection.

Change-Id: I8797510e86e41ceb64c4afff55d7c286f385b98d
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 57da8b0b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 */
/*
 * Process Domain Service Notifier API header
@@ -15,6 +15,7 @@ enum qmi_servreg_notif_service_state_enum_type_v01 {
	QMI_SERVREG_NOTIF_SERVICE_STATE_ENUM_TYPE_MAX_VAL_V01 = INT_MAX,
	SERVREG_NOTIF_SERVICE_STATE_DOWN_V01 = 0x0FFFFFFF,
	SERVREG_NOTIF_SERVICE_STATE_UP_V01 = 0x1FFFFFFF,
	SERVREG_NOTIF_SERVICE_STATE_EARLY_DOWN_V01 = 0x2FFFFFFF,
	SERVREG_NOTIF_SERVICE_STATE_UNINIT_V01 = 0x7FFFFFFF,
};