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

Commit 4a1ca041 authored by Chris Lew's avatar Chris Lew
Browse files

soc: qcom: glink: Change GFP_ATOMIC flag for intentless rx



Manually use __GFP_ATOMIC and __GFP_HIGH flag instead of
GFP_ATOMIC to avoid setting the __GFP_KWAPD_RECLAIM flag.
This will avoid undefine GIC access during power collapse.

CRs-Fixed: 2032636
Change-Id: I9e34af58afaee2f9c78b3e190dcdc4c6b9a524a7
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 9898f867
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -678,7 +678,8 @@ static void process_rx_data(struct edge_info *einfo, uint16_t cmd_id,
		err = true;
	} else if (intent->data == NULL) {
		if (einfo->intentless) {
			intent->data = kmalloc(cmd.frag_size, GFP_ATOMIC);
			intent->data = kmalloc(cmd.frag_size,
						__GFP_ATOMIC | __GFP_HIGH);
			if (!intent->data) {
				err = true;
				GLINK_ERR(