GENWQE_POKE(1)
π NAME π
genwqe_poke β the IBM Hardware Accelerator Tool, bestie. Yes, that's the whole name, and yes, we're gonna learn it together π
This one's a User Command, and it ships as part of GENWQE_POKE(1) β so you already know it's gonna be a whole moment β¨
πΈ SYNOPSIS πΈ
genwqe_poke [-h] [-v,--verbose]
π DESCRIPTION π
Okay so here's the tea on all the flags, no cap. Every single one, right in order π«Ά
-C,--card<cardno>β the card number, and it can be(0...3).-A, --accelerator-type=GENWQE|CAPIβ pick your accelerator type:GENWQEorCAPI. Heads up tho,CAPIis only available for System p. Periodt.-V, --versionβ print version. That's it, that's the whole job β¨-q, --quietβ it saysquiece output.in the source and I'm keeping that exactly, so: quiece output π-w, --width<32|64>β access width.64is the default, so if you say nothing, you get the big one.-X, --cpu<id>β only run on this CPU. It's giving "one specific core and nowhere else" energy.-i, --interval<intv>β interval in usec.0is the default.-c, --count<mum>β number of pokes.1is the default. (Yes,<mum>β that's literally what it says, I am not touching it π)-r, --read-backβ read back and verify. Trust but verify, queen π-p, --psl-bar<bar>β access PSL bar. This one isCAPIonly, so don't try it onGENWQEbestie.-m, --mask<mask>β the mask math, verbatim:
x = (x & ~mask) | (val & mask)
And here's how you call it:
<addr> <val>
π¦ Example π¦
genwqe_poke 0x0000000 0xdeadbeef
0xdeadbeef my beloved π
π₯ Testcase to trigger error recovery code on genwqe card π₯
Okay so if you WANT to see the card do its little recovery dance (this is literally the testcase for that, it's not a vibe I invented):
Fatal GFIR:
genwqe_poke -C0 0x00000008 0x001
Info GFIR by writing to VF:
genwqe_poke -C2 0x00020020 0x800
β οΈ Bestie listen β that first one is literally named "Fatal GFIR". It's a deliberate error-trigger testcase. You're poking hardware on purpose here. Main character energy, but carefully π
π§ Registers for Capi card (-A CAPI) π§
- FIR Reg:
0x1000 ... 0x1028,6 Regs - Err. Inj Reg:
0x1800and0x1808 - Agr. Regs:
0x2000and0x2078 - Gzip Regs:
0x2100and0x2178
β Only CAPI (debugging) β
genwqe_poke -ACAPI -C0 --psl-bar=2 --width=64 --mask <mask>
<offs> <data>
Just so we're keeping it 100: that invocation is the Only CAPI (debugging) one, so it's -ACAPI all squished together, --psl-bar=2, --width=64, and then your --mask <mask> with <offs> <data> at the end. Iconic, lowkey. π
Alright that's the whole page, and just so you have the receipts: this is genwqe_poke version 4.0.20, dated August 2025. Slay, go poke responsibly π«Άππ
π¦ where this page comes from
- ubuntu resolute: genwqe-tools 4.0.20-3 Β· Apache-2.0
- ubuntu stonking: genwqe-tools 4.0.20-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms