genwqe_health_thread(9)
π«Ά genwqe_health_thread(9) π«Ά
okay bestie, welcome to the Kernel API Manual entry for genwqe_health_thread β itβs giving βsmall thread, big responsibilities,β and weβre gonna get into all of it. no cap, every detail is staying. π
π NAME π
genwqe_health_thread β Health checking thread
β¨ SYNOPSIS β¨
int genwqe_health_thread (void *data );
π¦ ARGUMENTS π¦
dataβ GenWQE device information
π DESCRIPTION π
okay so first thing: this thread is only started for the PF of the card. thatβs the rule, bestie. β¨
This thread monitors the health of the card. A critical situation is when we read registers which contain -1 (IO_ILLEGAL_VALUE). In this case we need to be recovered from outside. Writing to registers will very likely not work either. π
This thread must only exit if kthread_should_stop becomes true. periodt.
Condition for the health-thread to trigger: a) when a kthread_stop request comes in or b) a critical GFIR occured. π¨
Informational GFIRs are checked and potentially printed in GENWQE_HEALTH_CHECK_INTERVAL seconds.
π SEE ALSO π
Kernel file ./drivers/misc/genwqe/card_base.c β yes, that exact path, iconic.
genwqe_devnode(9)genwqe_dev_alloc(9)genwqe_bus_reset(9)genwqe_recovery_on_fatal_gfir_required(9)genwqe_T_psec(9)genwqe_setup_pf_jtimer(9)genwqe_setup_vf_jtimer(9)genwqe_stop(9)genwqe_recover_card(9)genwqe_fir_checking(9)genwqe_pci_fundamental_reset(9)genwqe_reload_bistream(9)genwqe_pci_setup(9)genwqe_pci_remove(9)genwqe_probe(9)genwqe_remove(9)genwqe_err_error_detected(9)genwqe_init_module(9)genwqe_exit_module(9)
source/version: ./drivers/misc/genwqe Β· date: October 2026 β thatβs the cute little sign-off, bestie, ty for reading, mwah πβ¨
π¦ 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