ufs_qcom_advertise_quirks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ufs_qcom_advertise_quirks β€” the kernel API manual, bestie edition

okay so real talk: this one lives in the Kernel API Manual, and the function is literally called ufs_qcom_advertise_quirks. Yes that's a mouthful. No we're not shortening it. Periodt.


✨ NAME ✨

ufs_qcom_advertise_quirks β€” bestie, this is the one that goes and announces all the known QCOM UFS controller quirks πŸ’… like it's posting them to the group chat so everyone's in the loop.


πŸ¦‹ SYNOPSIS πŸ¦‹

void ufs_qcom_advertise_quirks (struct ufs_hba *hba );

that's it. that's the whole signature. void return, one argument, no drama. πŸŽ€


🌸 ARGUMENTS 🌸

  • hba β€” the host controller instance 🫢 (yes, the one, the main character of this whole function)

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea β˜• β€” the QCOM UFS host controller might have some non standard behaviours (we call them quirks, it's giving "not like other controllers" energy ngl) compared to what's specified by the UFSHCI specification.

and this function? this function is the one that advertises all such quirks to the standard UFS host controller driver, so that the standard driver takes them into account. like, it's literally the hype person making sure everybody knows what's up before things go sideways πŸ’€

no cap, that's the whole point: quirks get surfaced, the standard driver stays informed, nobody gets surprised. slay.


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file that owns all of this:

  • ./drivers/ufs/host/ufs-qcom.c

and the rest of the QCOM UFS gang, in the order the manual lists them (i'm not reordering, i'm not merging, i'm not playing games πŸ™ˆ):

fr fr go read the .c file too, it's iconic in its own right 🌈

πŸŽ€ ok bye bestie, stay quirky (the kernel-sanctioned kind) πŸŽ€

this cutie came out of the ./drivers/ufs/host directory, October 2026 vintage, and yes it's still ufs_qcom_advertise_quirks(9) in the Kernel API Manual β€” iconic, timeless, no notes πŸ’– ⭐

πŸ“¦ where this page comes from