The NetBSD Project

CVS log for src/sys/modules/cyclic/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / sys / modules / cyclic

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3.30.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:54 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -1 lines
Merge changes from current as of 20200406

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:05 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +1 -1 lines
Sync with head.

Revision 1.3.34.2: download - view: text, markup, annotated - select for diffs
Wed Feb 12 19:55:56 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Diff to: previous 1.3.34.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.34.1: +1 -1 lines
Pull up following revision(s) (requested by riastradh in ticket #701):

	external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.2
	external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c: revision 1.17
	external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c: revision 1.18
	sys/modules/cyclic/Makefile: revision 1.5
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.2
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.3
	sys/arch/aarch64/aarch64/vectors.S: revision 1.10
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.2
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.3
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.4
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.5
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.6
	sys/arch/aarch64/include/cpu.h: revision 1.20
	external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h: revision 1.9

Create a buffer space of 512 bytes before the trapframe.

dtrace fbt needs enough space to emulate an

        stp     x29, x30, [sp,#-FRAMESIZE]!

instruction in a function prologue.  In the aarch64 instruction
encoding, FRAMESIZE can be as large as 512 bytes, so reserve this
much space when KDTRACE_HOOKS is enabled.

Use db_write_bytes to overwrite kernel text.

Tidy up a bit.  No functional change intended.

aarch64 fbt_invop doesn't actually use the argument, but it would
make more sense for it to be the return value and/or first argument
register.  Certainly it's not `eax'!

Tidy up a bit: don't set things we won't use; assert nonzeroness.

Use /dev/ksyms, not /netbsd, for the running kernel's symbols.

Teach dtrace about el1_trap_exit frames on aarch64.

Implement dtrace_getarg and dtrace_getreg while here.

Count the number of artificial frames in aarch64 fbt probe correctly.

Change the address ranges that aarch64 considers toxic for dtrace.
`Toxic' means dtrace forbids D scripts from even attempting to read
or write at them.

Previously we considered [0, VM_MIN_KERNEL_ADDRESS) toxic, but
VM_MIN_KERNEL_ADDRESS is only the minimum address of the kernel map;
the direct-mapped region lies below it, and with PMAP_MAP_POOLPAGE we
allocate virtual pages for pool backing directly from physical pages
through the direct-mapped region.  Also, this did not consider I/O
mappings to be toxic, which they probably should be.

Instead, treat:

[0, AARCH64_KSEG_START)
and
[VM_KERNEL_IO_ADDRESS, 0xfff...ff)

as toxic.  (The upper bound for 0xfff...ff ought to be inclusive, not
exclusive, but I think we'll need another mechanism for expressing
that to dtrace!)

Switch from db_write_bytes to using direct-mapping.

This way there's no dependency on ddb.

Define the MULTIPROCESSOR cpu_number() for modules too.
Modules should work whether the main kernel is multiprocessor or not.
In particular, dtrace should not think cpu_number() is 0 while
cpu_index(curcpu()) and curcpu()->ci_index are nonzero, leading to
rather spectacularly bogus results...

cyclic.kmod needs -Wno-sign-compare for aarch64 CPU_INFO_FOREACH.
Provisional workaround; feel free to fix.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 12 06:36:19 2020 UTC (6 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
cyclic.kmod needs -Wno-sign-compare for aarch64 CPU_INFO_FOREACH.

Provisional workaround; feel free to fix.

Revision 1.3.34.1: download - view: text, markup, annotated - select for diffs
Mon Dec 9 15:19:31 2019 UTC (6 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines
Pull up following revision(s) (requested by jmcneill in ticket #525):

	external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
	distrib/sets/lists/modules/md.i386: revision 1.83
	share/mk/bsd.own.mk: revision 1.1168
	usr.bin/mkubootimage/mkubootimage.c: revision 1.25
	sys/modules/dtrace/Makefile: revision 1.7
	usr.bin/mkubootimage/mkubootimage.c: revision 1.26
	sys/modules/dtrace/Makefile: revision 1.8
	external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
	distrib/sets/lists/modules/mi: revision 1.128
	sys/arch/aarch64/include/frame.h: revision 1.3
	sys/arch/evbarm/conf/mk.generic64: revision 1.4
	external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
	sys/modules/cyclic/Makefile: revision 1.4
	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
	sys/arch/aarch64/aarch64/start.S: revision 1.3
	sys/arch/aarch64/aarch64/trap.c: revision 1.22
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
	external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
	distrib/sets/lists/modules/md.amd64: revision 1.82
	usr.bin/mkubootimage/mkubootimage.1: revision 1.13
	distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 3 22:10:56 2019 UTC (6 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines
dtrace: add support for aarch64

Revision 1.2.6.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:32 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.6.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.2: +16 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:06 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +16 -4 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:10 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +16 -4 lines
sync with head

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 5 06:40:45 2014 UTC (12 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, 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-merge-20190127, pgoyette-compat-base, 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, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, 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, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-0-RC1, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +16 -4 lines
Tidy up Makefile of cyclic and dtrace modules to support ARM

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:00 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.1: +16 -0 lines
resync with head

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:24 2013 UTC (13 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +1 -1 lines
sync with head

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:47 2013 UTC (13 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +16 -0 lines
sync with (a bit old) head

Revision 1.2.6.1
Fri Dec 14 15:46:51 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -16 lines
file Makefile was added on branch tls-maxphys on 2013-02-25 00:30:00 +0000

Revision 1.2.2.1
Fri Dec 14 15:46:51 2012 UTC (13 years, 11 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.2: +0 -16 lines
file Makefile was added on branch yamt-pagecache on 2013-01-16 05:33:47 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 14 15:46:51 2012 UTC (13 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
make this work

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Dec 2 01:05:16 2012 UTC (13 years, 11 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base7
adapt the cyclic module and profile dtrace provider to netbsd.
for now, just hook the cyclic callback into hardclock().

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>