-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update instruction set doc #1
Conversation
Signed-off-by: Dave Thaler <[email protected]>
8b49082
to
b94bceb
Compare
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Looked for points made by https://docs.cilium.io/en/stable/bpf/ that were not made in the ISA doc already Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
c530225
to
012e19f
Compare
Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Quentin Monnet <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Quentin Monnet <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Allowed if defined by the program type, and note that all program types on Linux use just one register as input. Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Moving it to a separate verifier expectations document Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
I can't understand the convention, is there somewhere that elaborates?
But what does "map[0]" mean? What does "insn[0]" mean, is that relative to the PC or absolute from the start of the program or what? |
To some extent, the commit descriptions in my PR. Otherwise I don't think these are documented, other than in kernel commit descriptions (also linked from the PR, although this one was missing, I updated the PR) and briefly in the UAPI header.
Sorry if the above is unclear, I wanted it to fit in the array and that's limiting. I reused the convention from the UAPI header. So
And this would load the address residing in the first entry of the map, at the provided offset, into the destination register. The commit log mentions that the
I understand, the concern sounds legitimate. I don't know if they should be part of the ISA or not (or just a Linux extension), this should maybe be debated with other folks. But I see that this is what Linux currently does and that this conflicts with the generic constraint we have on fields not covered in the spec:
So we probably want to address this one way or another. |
Signed-off-by: Dave Thaler <[email protected]>
Signed-off-by: Dave Thaler <[email protected]>
No description provided.