Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions dts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,13 @@ UARTLITE and PLIC settings. Generated multi-hart templates reserve the fixed
131 MiB checkpoint window `[0x80300000, 0x88600000)`.

The full capability block describes XiangShan hardware and is not fully
emulated by the current QEMU `nemu` machine. In particular, DT-advertised
`smrnmi` requires an OpenSBI platform `smrnmi_handlers_init` callback, while
the `nemu` timer path cannot execute the DT-advertised `sstc` CSR sequence.
The current multi-core DTB must omit `smrnmi` and `sstc` and run with
`sstc=false`.
supported by the current OpenSBI generic platform and QEMU `nemu` machine.
DT-advertised `smrnmi` requires an OpenSBI platform
`smrnmi_handlers_init` callback, which the generic platform does not provide.
All single-hart and multi-hart DTBs used with the generic platform must omit
`smrnmi`. In addition, the current multi-core `nemu` timer path cannot execute
the DT-advertised `sstc` CSR sequence, so multi-core DTBs must omit `sstc` and
run with `sstc=false`.

The build does not invoke this generator automatically. Run it and review the
result before building with the corresponding `HARTS` value.
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-AIA-mem16g.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smaia", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssaia", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem128g-novec.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem24g-novec.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem24g.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem64g-novec.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem64g.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem8g-novec.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-mem8g.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA-novec.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
2 changes: 1 addition & 1 deletion dts/xiangshan-fpga-noAIA.dts.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sdtrig", "sha", "shcounterenw", "shgatpa",
"shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
"shvstvecd", "smcsrind", "smdbltrp",
"smmpm", "smnpm", "smrnmi", "smstateen",
"smmpm", "smnpm", "smstateen",
"ss1p13", "ssccptr", "sscofpmf",
"sscounterenw", "sscsrind", "ssdbltrp", "ssnpm",
"sspm", "ssstateen", "ssstrict", "sstc",
Expand Down
Loading