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


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 12 19:04:14 2023 UTC (8 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Wed Oct 12 07:53:56 2022 UTC (16 months, 2 weeks ago) by simonb
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

Nuke funny trailing whitespace.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 27 08:18:21 2022 UTC (16 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Thu Jun 17 04:46:24 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.7: +30 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync w/ HEAD.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:15 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.7: +30 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 23 23:22:55 2021 UTC (2 years, 9 months ago) by dholland
Branch: 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
Changes since 1.7: +30 -2 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Sat Apr 17 17:26:15 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.6: +21 -16 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 14 06:32:20 2021 UTC (2 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-cfargs-base, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.6: +21 -16 lines
Diff to previous 1.6 (colored)

Add a ddb disassembler for riscv.

builds, but not really tested yet.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:00 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync w/ HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 4 07:09:46 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

RCSID and whitespace police...

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 4 06:56:56 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.2.2.1: +2 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:51 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Merge changes from current as of 20200406

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 14 16:12:16 2020 UTC (3 years, 11 months ago) by skrll
Branch: 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
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Trailing whitespace

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 16 07:42:52 2019 UTC (4 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, 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
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Misc changes in RISC-V.

Revision 1.1.20.1 / (download) - annotate - [select for diffs], Wed May 2 07:20:05 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Synch with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 23 15:40:33 2018 UTC (5 years, 10 months ago) by christos
Branch: 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
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

PR/53206: David Binderman: fix array bounds comparison in KASSERT.

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:39 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.18.1: +244 -0 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:01 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.1: +244 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.18.1, Sat Mar 28 16:13:56 2015 UTC (8 years, 11 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1: +0 -244 lines
FILE REMOVED

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 (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -244 lines
FILE REMOVED

file db_machdep.c was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 28 16:13:56 2015 UTC (8 years, 11 months ago) by matt
Branch: 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-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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>