detection of priv v1.11 is based on presence of register that may not be implemented

Đang mở
#435 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
operating-systems

Hướng nghiên cứu

Start by reading the Priv v1.11/v1.12 detection logic that checks mcountinhibit and menvcfg. Update it so menvcfg can establish v1.12 support without requiring the optional mcountinhibit register; done means detection follows the stated compatibility rule and the existing firmware detection tests pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

mcountinhibit is allowed not to be implemented even with Priv v1.11 compatible cores:

[#norm:mcountinhibit_not_impl]#If the csr:mcountinhibit[] register is not implemented, the implementation behaves as though the register were set to zero.#

The biggest problem with this, is that from what I remember there is no other way to determine presence of v1.11.
In that case I think OpenSBI should assume that if menvcfg is implemented that v1.12 is implemented too, as currently this check requires mcountinhibit to be present.

Ngôn ngữ chính
C
Star
1.6k
Fork
734
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của riscv-software-src/opensbi

Tất cả issue của riscv-software-src/opensbi

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.