gisa_set_iam(9)
π 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:
gisa_clear_ipm(9)gisa_get_ipm_or_restore_iam(9)kvm_s390_gisc_register(9)kvm_s390_gisc_unregister(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms