STRUCT PSIL_EP_MAP(9)
π struct psil_ep_map(9) β the Kernel API Manual glow-up
Okay bestie, sit down, because today's main character is struct psil_ep_map from the kernel API manual (struct psil_ep_map(9) if we're being formal, which we're not π). It's literally the little struct that holds your PSI-L thread ID configuration maps. Iconic. Let's get into it β¨
πΈ NAME πΈ
struct psil_ep_map β PSI-L thread ID configuration maps. That's it, that's the vibe π«Ά
π SYNOPSIS π
No cap, here's the whole thing, copied exactly, don't @ me:
struct psil_ep_map {
char *name;
struct psil_ep *src;
int src_count;
struct psil_ep *dst;
int dst_count;
};
Look at her. Five fields. Perfectly balanced. β¨
π¦ Members π¦
nameβ the name of the map, and the move here is to set it to the name of the SoC. Like, identity is important, she needs to know who she is πsrcβ an array of source PSI-L thread configurations. The originals. The OGs πsrc_countβ how many entries are in thesrcarray. Gotta know how many besties are in the group chat π₯dstβ an array of destination PSI-L thread configurations. Where things are headed, main character energy πdst_countβ the number of entries in thedstarray. Same deal, but fordstπ
π Description π
Okay so here's the tea β β in the case of a symmetric configuration for a matching src/dst thread (think 0x4400 and 0xc400, cute little mirror images of each other πͺ), only the src configuration can be present. That's allowed! You don't have to write both, bestie, nobody's forcing you π
And if there's no dst configuration found, the code will literally go looking for (dst_thread_id & ~0x8000) to find the symmetric match. That's the lookup. That's the whole trick. She's resourceful like that π§
Fr fr though β remember this is about the symmetric case specifically. Don't go assuming it's a general fallback for everything, because it's not, and I refuse to let you embarrass yourself π
β SEE ALSO β
- Kernel file
./drivers/dma/ti/k3-psil-priv.hβ go read it, iykyk π
aaaand that's the page, bestie π you absolutely ate this one, no crumbs. This little number lives over at ./drivers/dma/ti and it's dated October 2026, so mark your calendar and stan responsibly. bye bestie, slay πβ¨π¦
π¦ 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