gisa_set_iam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gisa_set_iam(9) β€” like, the Kernel API Manual obviously πŸŽ€

okay bestie, gather round, because today we're talking about gisa_set_iam β€” the little function that goes "hey, new IAM value, who dis?" and swaps out the GISA interruption alert mask for you. It's giving low-level s390 KVM realness and honestly? Iconic. ✨


🌸 SYNOPSIS 🌸

int gisa_set_iam (struct kvm_s390_gisa *gisa , u8 iam );

That's the whole vibe check right there β€” two args, one int back. No cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gisa β€” the GISA you're operating on, aka the main character of this whole operation πŸ’–
  • iam β€” the new IAM value to use. Fresh out the box, ready to slay ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea, bestie: this changes the IAM atomically together with the next alert address and the IPM of the GISA β€” but only if the GISA is not part of the GIB alert list. Like, it's a package deal, all three or nothing, no half-sending. πŸ”₯

And where do all three fields live? They're all chillin' in the first long word of the GISA. One word, three fields, very efficient, very demure. πŸŽ€

Fr fr though β€” the atomicity is the whole point here. Don't be out here thinking you can do these fields one at a time, because that's not the move. πŸ’€

⭐ RETURN ⭐

  • 0 β€” success, we ate, periodt πŸ’…
  • -EBUSY β€” in case the gisa is part of the alert list. Like sorry babe, it's occupied, try again later πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./arch/s390/kvm/s390/interrupt.c β€” go read the source bestie, it's right there πŸ¦‹

And these icons, obviously, you should also check out:


okay that's the whole page, you're welcome, go be a kernel girlie πŸ’œ

stay hydrated, read your structs, and ship it 🌸

β€” with love, from ./arch/s390/kvm/s390, October 2026, gisa_set_iam(9) 🫢✨

πŸ“¦ where this page comes from