Skip to contentSkip to conversation

s390x: Use interrupts in SCLP

PATCH David Hildenbrand 1 participant 1 message Dec 6, 2018 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 18 lines
Quoted 10 lines
Quoted 10 lines
(quoted diff) +1 -0
+
 void sclp_memory_setup(void)
 {
 	ReadInfo *ri = (void *)_sccb;
@@ -37,7 +76,10 @@ void sclp_memory_setup(void)
 	int cc;
 
Quoted 7 lines

Review void sclp_memory_setup(void) · line 82

Quoted 5 lines
(quoted diff) +3 -0
 	ri->h.length = SCCB_SIZE;
+	sclp_busy = true;
 	sclp_service_call(SCLP_CMDW_READ_SCP_INFO_FORCED, ri);
+	while (sclp_busy)
+		/* Wait for SCLP request to complete */;

Should we factor that out into something like

Quoted 3 lines

As written above, I'm all for the second one, but I dislike the start one liner.

Sure, fine with me!

Signature · 3 lines
Thanks,

David / dhildenb