Skip to content
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

[WIP] Introduce riscv64 ioctls #275

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

TimePrinciple
Copy link
Contributor

Summary of the PR

Add basic support for riscv64 architecture.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

@TimePrinciple TimePrinciple changed the title [WIP] Introduce riscv64 ioctls Introduce riscv64 ioctls Aug 25, 2024
@TimePrinciple TimePrinciple changed the title Introduce riscv64 ioctls [WIP] Introduce riscv64 ioctls Aug 26, 2024
@TimePrinciple TimePrinciple force-pushed the introduce-riscv-architecture branch 8 times, most recently from 196ed61 to 7af51e7 Compare September 26, 2024 02:31
@TimePrinciple
Copy link
Contributor Author

TimePrinciple commented Sep 26, 2024

How strange, I have no clue why test_pit2 suddenly fails to pass :(

The `riscv64gc` target is to be built on "native" RISC-V platform,
removed `linker` specification used on other platform.

Signed-off-by: Ruoqing He <[email protected]>
Enable g/set ioctls of `kvm_mp_state`, `kvm_one_reg`;
register/unregister of `irq_fd`; `get_reg_list`, `signal_msi`,
`irq_line` and `set_gsi_routing`.

Signed-off-by: Ruoqing He <[email protected]>
Disable `KVM_ENABLE_CAP`, `KVM_GET_REGS` and `KVM_SET_REGS`, and related
ioctls, tests, doc tests on RISC-V 64-bit platform.

Signed-off-by: Ruoqing He <[email protected]>
Implement `create_aia_device`, `set_supported_nr_irqs` and
`request_aia_init` method to manipulate KVM AIA device.

Signed-off-by: Ruoqing He <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant