Skip to content

Support LoongArch64 for seccomp #8361

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

Closed
wants to merge 1 commit into from
Closed

Support LoongArch64 for seccomp #8361

wants to merge 1 commit into from

Conversation

zhaixiaojuan
Copy link
Contributor

The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a RISC style.

Documentations:
ISA:
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html
ABI:
https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
More docs can be found at:
https://loongson.github.io/LoongArch-Documentation/README-EN.html

@k8s-ci-robot
Copy link

Hi @zhaixiaojuan. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@samuelkarp
Copy link
Member

Hi @zhaixiaojuan,

It looks like this isn't ready for review yet. opencontainers/runtime-spec#1187 needs to be resolved first, then the go.mod needs to be updated to have the new dependency. You may also want to review the contributing guidelines, which covers the requirement for a DCO sign-off.

Thanks!

@samuelkarp
Copy link
Member

samuelkarp commented Apr 6, 2023

Additionally, since you appear to work for Loongson: we have no access to a machine that supports LoongArch64. It would be helpful for us to have access to resources for CI.

Signed-off-by: zhaixiaojuan <zhaixiaojuan@loongson.cn>
@zhaixiaojuan
Copy link
Contributor Author

Thank you very much, I will update go.mod and related dependencies after opencontainers/runtime-spec#1187 is merged.
For build testing, can we remotely configure machines to run CI?

@AkihiroSuda AkihiroSuda marked this pull request as draft April 7, 2023 12:10
@github-actions
Copy link

This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed.

@github-actions github-actions bot added the Stale label Aug 25, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This PR was closed because it has been stalled for 7 days with no activity.

@zhaixiaojuan
Copy link
Contributor Author

@samuelkarp

Hi, opencontainers/runtime-spec#1229 has been merged and v1.2.1 has been released.
opencontainers/runtime-spec#1187 has been replaced by opencontainers/runtime-spec#1229.

Can this PR be reopened? Regarding the CI resources you mentioned, what specific work do we need to do and what resources do we need to provide?

@samuelkarp
Copy link
Member

The repository that submitted this pull request has been deleted.

It looks like this PR cannot be reopened, but you can open a new one with the same change now.

Regarding the CI resources you mentioned, what specific work do we need to do and what resources do we need to provide?

We fully support Linux amd64, Linux arm64, and (with help from Microsoft) Windows amd64. We have CI resources that can be used in presubmits (to validate pull requests), merge queue (to make sure a merged PR won't break the branch), and periodic tests (to catch anything that was missed). We also use these CI resources to build our release artifacts. We drive most of this through GitHub Actions via GitHub-hosted runners; I don't believe this is a possibility for LoongArch64. If we wanted to have a similar level of support, we'd need:

  1. Hardware resources to run CI
  2. Management of those resources, including things such as base OS image updates and other maintenance tasks (we don't have to do this ourselves with GitHub-hosted runners, for example)
  3. To have either self-hosted Actions runners (though it does not appear to be possible with LoongArch64) or the development and management of a similar CI system + similar CI integration (and then the ongoing maintenance of that)
  4. To have help diagnosing/troubleshooting architecture-specific issues that occur

On the other hand, we could merge a PR like this without providing full upstream support for the architecture. We have a similar stance for experimental support for alternative operating systems like FreeBSD. Loongson could take on the burden of providing support for containerd for their customers.

I'll let the rest of the maintainers chime in if they have a different opinion here. We're also happy to discuss this in our community meeting or in the #containerd-dev channel on the CNCF slack.

@zhaixiaojuan
Copy link
Contributor Author

Hi, I resubmitted a PR: #11727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants