The NetBSD Project

CVS log for src/sys/arch/riscv/riscv/db_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / riscv / riscv

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Nov 25 22:04:14 2024 UTC (7 days, 4 hours ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -4 lines
risc-v: support crash(8)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 23 12:03:55 2024 UTC (9 days, 14 hours ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -57 lines
risc-v: split db_{read,write}_bytes from db_machdep.c

Another step towards crash(8) support

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Nov 23 11:37:43 2024 UTC (9 days, 15 hours ago) by skrll
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
risc-v: don't include locore.h in db_machdep.h

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 12 19:04:14 2023 UTC (17 months, 3 weeks ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
risc-v: MULTIPROCESSOR support

Add MULTIPROCESSOR support for RISC-V, but leave disabled for the moment
as it's not 100% stable.

Some other improvements to spl and cpu identification / reporting.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 12 07:53:56 2022 UTC (2 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -5 lines
Nuke funny trailing whitespace.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Sep 27 08:18:21 2022 UTC (2 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -4 lines
Basic ddb and backtrace support.

[   1.0000000] panic: kernel diagnostic assertion "msgbufaddr != 0" failed: file "/home/nick/netbsd/nbcvs/src/sys/arch/riscv/riscv/riscv_machdep.c", line 564
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] trace fp ffffffc000801dd0
[   1.0000000] fp ffffffc000801e10 ?() at ffffffc0001eee98
[   1.0000000] fp ffffffc000801e30 ?() at ffffffc0002ad984
[   1.0000000] fp ffffffc000801ee0 ?() at ffffffc000005430
[   1.0000000] cpu0: End traceback...
[   1.0000000] Trapframe @ 0xffffffc000801cb0 (cause=3 (breakpoint), status=0x100, pc=0xffffffc0000007e4, va=0):
[   1.0000000] ra =0xffffffc0001eee9c, sp =0xffffffc000801dd0, gp =0xffffffc0006a8f40, tp =                 0
[   1.0000000] s0 =0xffffffc000600ac0, s1 =            0x1000, s2 =0xffffffc000438df0, s3 =0xffffffc000801d80
[   1.0000000] s4 =0xffffffc0001eed78, s5 =0xffffffc0006d55f8, s6 =0xffffffc000801d88, s7 =0xffffffc0006dfdb8
[   1.0000000] s8 =0xffffffc000428c18, s9 =0xffffffc000801dd0, s10=0xffffffc0000a3822, s11=0xffffffc0006d55f8
[   1.0000000] a0 =              0x17, a1 =               0xa, a2 =                 0, a3 =0xffffffc00041f658
[   1.0000000] a4 =                 0, a5 =               0x1, a5 =                 0, a7 =               0x1
[   1.0000000] t0 =0xffffffc0006dfe30, t1 =0xffffffc000801bb8, t2 =0xffffffc000803000, t3 =              0x75
[   1.0000000] t4 =                 0, t5 =              0x63, t6 =               0x1
[   1.0000000] kernel: breakpoint
Stopped in pid 0.0 (system) at  ffffffc0000007e4:       c.ebreak
db>

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:24 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +30 -2 lines
Sync w/ HEAD.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:15 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +30 -2 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 23 23:22:55 2021 UTC (3 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +30 -2 lines
Improve ddb disassembly for mips (and riscv, cribbed from mips).

- use db_read_bytes to get instructions
- move the address check logic previously attached only to fetching
  instructions for disassembly to db_read_bytes (and db_write_bytes)

Motivated by related x86 changes this afternoon.

Note that the address check logic is not as sophisticated as what the
x86 code does, but it's what we had before. (Except that riscv will
now also try to fetch usermode instructions instead of just failing.)

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:15 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +21 -16 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Apr 14 06:32:20 2021 UTC (3 years, 7 months ago) by dholland
Branches: MAIN
CVS tags: thorpej-cfargs-base, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +21 -16 lines
Add a ddb disassembler for riscv.

builds, but not really tested yet.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:00 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -2 lines
Sync w/ HEAD.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 4 07:09:46 2020 UTC (4 years ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
RCSID and whitespace police...

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 4 06:56:56 2020 UTC (4 years ago) by skrll
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:05 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +2 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:51 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Merge changes from current as of 20200406

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 14 16:12:16 2020 UTC (4 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-futex
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Trailing whitespace

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 16 07:42:52 2019 UTC (5 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
Misc changes in RISC-V.

Revision 1.1.20.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:05 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +2 -2 lines
Synch with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 23 15:40:33 2018 UTC (6 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
PR/53206: David Binderman: fix array bounds comparison in KASSERT.

Revision 1.1.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:39 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.1.18.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.18.1: +244 -0 lines
update from HEAD

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:01 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +244 -0 lines
Sync with HEAD

Revision 1.1.18.1
Sat Mar 28 16:13:56 2015 UTC (9 years, 8 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.1: +0 -244 lines
file db_machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:39 +0000

Revision 1.1.2.1
Sat Mar 28 16:13:56 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.1: +0 -244 lines
file db_machdep.c was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 28 16:13:56 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, pgoyette-compat, nick-nhusb
Beginnings of RISCV kernel support.  Note that the pmap support is not yet
committed and probably won't be for awhile.  This is mostly preliminary
waiting for the supervisor specification to come out.  Lots of missing pieces
but it mostly builds.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>