Commit Graph

951 Commits

Author SHA1 Message Date
good-circle 1e2b038eb1 tests: add riscv64 ppn access fault test 2023-02-04 16:02:38 +08:00
Yinan Xu 5bee478a7f xs: fix the offset of random bits in intrGen 2022-11-16 17:23:41 +08:00
Yinan Xu 465c6d398a xs: fix the number of external interrupts 2022-11-16 16:55:09 +08:00
Yinan Xu 536580b49f cte: disable printf in SEIP handler 2022-11-16 16:54:46 +08:00
Guokai Chen ca39c0e3f1 arch,riscv: fix supervisor timer interrupt 2022-11-07 17:18:16 +08:00
William Wang 67e4e75079
Merge pull request #21 from OpenXiangShan/merge-southlake
Add drivers and tests for southlake
2022-11-03 20:12:08 +08:00
William Wang e495761765
Merge pull request #20 from OpenXiangShan/extra-pmp-test
Add extra RISC-V PMP tests
2022-11-03 20:09:13 +08:00
William Wang f77baf5fad Merge branch 'southlake' 2022-11-03 20:08:26 +08:00
William Wang f5e7537ad5 tests: add riscv64 hugepage-pmp-atom mixed test 2022-10-29 23:11:48 +08:00
William Wang 926cbae137 tests,pmp: fix riscv64-xs pmp test 2022-10-27 22:07:36 +08:00
lixin cac71287d0 tests: add an aliasgenerator test
* used to test nanhu's alias mechanism
2022-10-12 21:07:14 +08:00
William Wang e884a91012 boot: init fregs after fp csr init 2022-09-01 11:38:51 +08:00
William Wang 51e329c753 riscv64: add LINUX_GNU_TOOLCHAIN parameter
Add LINUX_GNU_TOOLCHAIN=1 in make command to use riscv64-linux-gnu-
toolchain
2022-08-31 16:42:32 +08:00
Xuan Hu beb930f1b9 boot: init lregs and fregs 2022-08-28 22:43:23 +08:00
Yinan Xu cedd95090b riscv64: use bitmanip and scalar crypto extension 2022-07-15 17:19:03 +08:00
zzy 1ec1f9ef24 amtest: add soft intr test 2022-07-02 22:57:33 +08:00
Yinan Xu d881c99fc1 riscv,cte: disable unnecessary log 2022-06-29 14:46:51 +08:00
lixin b87c52d2bd amtest: add an beu test
* Test the workflow of bus error unit when an ecc error occurs
2022-06-25 17:32:57 +08:00
Xuan Hu 7f91c8dde9 amtest,xsconfig: Support 256 external interrupt bits tests 2022-06-23 14:02:04 +08:00
William Wang 1c79a69e24 arch,xs: rename pmp.h to csr.h 2022-06-15 16:02:39 +08:00
William Wang 405a639c02 southlake: support NOPRINT=1 config 2022-06-12 01:01:19 +08:00
Guokai Chen 3948588f11 tests: shrink sv39 PMEM size and add sfence.vma
shrink PMEM size to reduce test setup time
add sfence.vma before accessing any newly mapped virtual addresses
2022-06-06 16:47:45 +08:00
zzy 504023f91b configs: rollback some settings 2022-06-06 13:08:34 +08:00
zzy df2e647a79 amtest: fix compile problem 2022-06-04 16:35:19 +08:00
William Wang fdd541a618 tests,plic: disable time intr to test wfi 2022-05-14 18:52:00 +08:00
Yinan Xu 35a979a4bd Merge branch 'southlake' of github.com:OpenXiangShan/nexus-am into southlake 2022-05-12 21:06:08 +08:00
Yinan Xu 7b9de19d74 isa,riscv64: use rv64gcb as default 2022-05-12 21:05:44 +08:00
William Wang 7bbf5032d7 southlake: update cpu peripheral addr and simmmio addr 2022-05-12 20:51:22 +08:00
William Wang 0d39fcf582 southlake: fix INTR_GEN fake device addr 2022-05-06 20:05:55 +08:00
William Wang 88d75d286c chore: code clean up 2022-05-05 17:51:47 +08:00
William Wang f201776cae vme: update southlake addr map 2022-05-05 16:47:54 +08:00
William Wang 8ed70b7f80 Merge remote-tracking branch 'origin/driver-adding' into southlake 2022-05-04 04:27:59 +08:00
William Wang 2e96f64fc9 tests,pmp: let succeed pmp test hit good trap 2022-05-04 02:57:47 +08:00
William Wang 5dc87840fc tests,southlake: fix addr 2022-05-04 01:06:44 +08:00
William Wang 4e05701911 arch,southlake: update simmmio addr 2022-05-04 01:06:19 +08:00
William Wang 9260072cd3 tests: update test addr space for southlake 2022-05-03 17:27:01 +08:00
William Wang c58c5b51c5 arch: update southlake cpuss peripheral address
CPUSS Peripheral, 0x1f_0000_0000, 0x1f_0fff_ffff

Detailed address map:

device, address_begin, address_end
CLINT, 0x1f_0000_0000, 0x1f_0000_ffff
BEU, 0x1f_0001_0000, 0x1f_0001_ffff
Debug Module, 0x1f_0002_0000, 0x1f_0002_0fff
MMPMA, 0x1f_0003_0000, 0x1f_0003_0fff
L3CacheCtrl, 0x1f_0004_0000, 0x1f_0004_1fff
reserved
PLIC, 0x1f_0c00_0000, 0x1f_0fff_ffff

Address map in tests to be updated
2022-05-03 15:37:57 +08:00
William Wang a5676867b1 arch: update southlake 2022-05-02 20:46:10 +08:00
Guokai Chen f62a0a2d12 drivers: add more descriptions for irq reg functions 2022-05-02 17:37:28 +08:00
Guokai Chen a2eb9369ec drivers: add documents for interrupt handling process 2022-05-02 14:17:37 +08:00
Guokai Chen 0d624e7f95 drivers: shrink hello intr related constants 2022-05-01 16:35:06 +08:00
William Wang b519ebcd24 southlake: use xiangshan drivers 2022-05-01 13:00:48 +08:00
William Wang 8654979e02 Merge remote-tracking branch 'origin/master' into southlake 2022-05-01 12:49:19 +08:00
William Wang 766ac82103 southlake: add -DNOPRINT macro to disable printf / uart 2022-05-01 12:48:54 +08:00
William Wang 194056f882 riscv64: add southlake and southlake-flash 2022-04-30 16:41:57 +08:00
zzy fbb668f993 drivers: add description of cache 2022-04-30 11:52:14 +08:00
zzy 1b55242411 drivers: add description of pma 2022-04-30 11:18:20 +08:00
Guokai Chen 8684c6e365 drivers: add more description 2022-04-29 17:51:02 +08:00
zzy c6de5bae09 fix type 2022-04-29 16:53:19 +08:00
wangkaifan 74075a2d39 misc: fix compatibility 2022-04-29 16:40:23 +08:00