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

【vgein=0,并且处在VS模式下,CSR访问操作,也应该上报illegal】 #7

Open
zhaohong1988 opened this issue Nov 11, 2024 · 1 comment

Comments

@zhaohong1988
Copy link

No description provided.

@zhaohong1988
Copy link
Author

附:昆明湖上报illegal场景,由于接口上CSR可分配地址为0x70-0xff,因此如下情况上报illegal。1) 若VGEIN不在外部中断范围内,那么VS模式的所有CSR地址访问均上报错误,包括V 模式的vsisreg访问,VGEIN=0

image

  1. 若XLEN=64,那么,如下情况也会报错:
    eipx,eiex,若x=1~63内的奇数,则访问M/S/VS模式的CSR也报错。eip对应0x81-0xBF内的奇数地址,eie对应0xC1-0xFF的奇数地址。
    image
    3)作为鲁棒性操作,与CPU侧商定:当CSR访问期间,模式非法:只有M, S, VS模式有效。

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

No branches or pull requests

1 participant