CVS commit: src/usr.sbin/puffs/mount_sysctlfs

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:23:02 UTC 2023 Modified Files: src/usr.sbin/puffs/mount_sysctlfs: sysctlfs.c Log Message: add missing '\n' To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c

CVS commit: src/usr.sbin/puffs/mount_sysctlfs

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:23:02 UTC 2023 Modified Files: src/usr.sbin/puffs/mount_sysctlfs: sysctlfs.c Log Message: add missing '\n' To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c

CVS commit: src/sbin/sysctl

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:15:24 UTC 2023 Modified Files: src/sbin/sysctl: sysctl.c Log Message: commonize case block To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sbin/sysctl/sysctl.c Please note that diffs are not

CVS commit: src/sbin/sysctl

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:15:24 UTC 2023 Modified Files: src/sbin/sysctl: sysctl.c Log Message: commonize case block To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sbin/sysctl/sysctl.c Please note that diffs are not

CVS commit: src/sbin/sysctl

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:11:26 UTC 2023 Modified Files: src/sbin/sysctl: sysctl.c Log Message: don't pass add=1 to print_tree() when displaying by specifying nodes. For example, "sysctl -w kern.mbuf=" had been displayed extra node names in

CVS commit: src/sbin/sysctl

2023-04-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Apr 2 18:11:26 UTC 2023 Modified Files: src/sbin/sysctl: sysctl.c Log Message: don't pass add=1 to print_tree() when displaying by specifying nodes. For example, "sysctl -w kern.mbuf=" had been displayed extra node names in

CVS commit: src/sys/dev/pci

2023-01-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Jan 26 01:24:19 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: - Don't discard a packet even if the TX descriptor is temporarily not enough, and error messages are not output. - The argument to

CVS commit: src/sys/dev/pci

2023-01-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Jan 26 01:24:19 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: - Don't discard a packet even if the TX descriptor is temporarily not enough, and error messages are not output. - The argument to

CVS commit: src/doc

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:20:54 UTC 2023 Modified Files: src/doc: CHANGES Log Message: add support for AQC113-116 to aq(4) To generate a diff of this commit: cvs rdiff -u -r1.2947 -r1.2948 src/doc/CHANGES Please note that diffs are not

CVS commit: src/doc

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:20:54 UTC 2023 Modified Files: src/doc: CHANGES Log Message: add support for AQC113-116 to aq(4) To generate a diff of this commit: cvs rdiff -u -r1.2947 -r1.2948 src/doc/CHANGES Please note that diffs are not

CVS commit: src/share/man/man4

2023-01-14 Thread Ryo Shimizu
2020 +++ src/share/man/man4/aq.4 Sat Jan 14 13:20:40 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: aq.4,v 1.4 2020/04/24 04:37:27 ryo Exp $ +.\" $NetBSD: aq.4,v 1.5 2023/01/14 13:20:40 ryo Exp $ .\" .\" Copyright (c) 2020 Ryo Shimizu .\" All rights reserved. @@ -24,7 +24,7 @@ .\&q

CVS commit: src/share/man/man4

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:20:40 UTC 2023 Modified Files: src/share/man/man4: aq.4 Log Message: - add AQC113 and the variants - fix first appeared version to 9.1. it was backported. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:20:15 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Added support for the Aquantia (Marvell) AQC113 10G Network Adapter and the variants, to aq(4) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:20:15 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Added support for the Aquantia (Marvell) AQC113 10G Network Adapter and the variants, to aq(4) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:19:32 UTC 2023 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.1455 -r1.1456 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1454 -r1.1455

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:19:32 UTC 2023 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.1455 -r1.1456 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1454 -r1.1455

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:18:17 UTC 2023 Modified Files: src/sys/dev/pci: pcidevs Log Message: add Aquantia (Marvell) AQC113 ethernet devices and the variants To generate a diff of this commit: cvs rdiff -u -r1.1474 -r1.1475

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:18:17 UTC 2023 Modified Files: src/sys/dev/pci: pcidevs Log Message: add Aquantia (Marvell) AQC113 ethernet devices and the variants To generate a diff of this commit: cvs rdiff -u -r1.1474 -r1.1475

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:17:50 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: fix indentation To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_aq.c Please note that diffs are not public

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:17:50 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: fix indentation To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_aq.c Please note that diffs are not public

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:17:20 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: - avoid panic when failing during attach or detach with modload/drvctl. - free workqueue resources when detaching. - remove debug message. To

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:17:20 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: - avoid panic when failing during attach or detach with modload/drvctl. - free workqueue resources when detaching. - remove debug message. To

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:16:27 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: fix build error in sys/module/if_aq/ avoid error of "comparison of integer expressions of different signedness" and -Werror=sign-compare To

CVS commit: src/sys/dev/pci

2023-01-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Jan 14 13:16:27 UTC 2023 Modified Files: src/sys/dev/pci: if_aq.c Log Message: fix build error in sys/module/if_aq/ avoid error of "comparison of integer expressions of different signedness" and -Werror=sign-compare To

CVS commit: src/sys/arch/aarch64/aarch64

2023-01-12 Thread Ryo Shimizu
: bus_space_asm_generic.S,v 1.5 2020/11/12 11:28:39 jmcneill Exp $ */ +/* $NetBSD: bus_space_asm_generic.S,v 1.6 2023/01/12 10:46:48 ryo Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -29,7 +29,7 @@ #include #include "assym.h" -RCSID("$NetBSD: bus_space_asm_generic.S,v 1.5 2020/11/12 11:28:

CVS commit: src/sys/arch/aarch64/aarch64

2023-01-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Jan 12 10:46:48 UTC 2023 Modified Files: src/sys/arch/aarch64/aarch64: bus_space_asm_generic.S Log Message: fixed a bug that bus_space_read_region_{2,4,8}_swap() accesses wrong address. To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/tprof

2022-12-26 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Dec 26 08:00:13 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.c Log Message: fixed parsing of event options. if event option was specivied, it was stuck in a busy loop. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.sbin/tprof

2022-12-26 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Dec 26 08:00:13 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.c Log Message: fixed parsing of event options. if event option was specivied, it was stuck in a busy loop. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/tprof

2022-12-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 22 06:59:33 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv7.c tprof_armv8.c Log Message: Even if an overflow interrupt is occured for a counter outside tprof management, the bit of onverflow status register must be

CVS commit: src/sys/dev/tprof

2022-12-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 22 06:59:33 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv7.c tprof_armv8.c Log Message: Even if an overflow interrupt is occured for a counter outside tprof management, the bit of onverflow status register must be

CVS commit: src/sys/arch/aarch64/aarch64

2022-12-21 Thread Ryo Shimizu
/aarch64/aarch64/cpu.c:1.71 Thu Dec 22 06:58:07 2022 +++ src/sys/arch/aarch64/aarch64/cpu.c Thu Dec 22 06:58:47 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.71 2022/12/22 06:58:07 ryo Exp $ */ +/* $NetBSD: cpu.c,v 1.72 2022/12/22 06:58:47 ryo Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu

CVS commit: src/sys/arch/aarch64/aarch64

2022-12-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 22 06:58:47 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: PMCR_EL0.LC should be set. ARM deprecates use of PMCR_EL0.LC=0 To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

CVS commit: src/sys/arch

2022-12-21 Thread Ryo Shimizu
/aarch64/cpu.c Thu Dec 22 06:58:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.70 2022/05/29 16:14:41 ryo Exp $ */ +/* $NetBSD: cpu.c,v 1.71 2022/12/22 06:58:07 ryo Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.70 2022/

CVS commit: src/sys/arch

2022-12-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 22 06:58:08 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/arm/arm: cpufunc.c src/sys/arch/arm/arm32: arm32_boot.c Log Message: Explicitly disable overflow interrupts before

CVS commit: src/sys/dev/tprof

2022-12-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 17:38:56 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/sys/dev/tprof

2022-12-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 17:38:56 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.sbin/tprof

2022-12-16 Thread Ryo Shimizu
rof/tprof_top.c:1.7 --- src/usr.sbin/tprof/tprof_top.c:1.6 Fri Dec 16 08:00:47 2022 +++ src/usr.sbin/tprof/tprof_top.c Fri Dec 16 08:02:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: tprof_top.c,v 1.6 2022/12/16 08:00:47 ryo Exp $ */ +/* $NetBSD: tprof_top.c,v 1.7 2022/12/16 08:02:04 ryo Exp $ */ /*- * Copyrigh

CVS commit: src/usr.sbin/tprof

2022-12-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 08:02:04 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 tprof.c tprof.h tprof_top.c Log Message: the "scale" option can be specified in the event name even in "tprof monitor" To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/tprof

2022-12-16 Thread Ryo Shimizu
_top.c,v 1.5 2022/12/09 02:19:07 ryo Exp $ */ +/* $NetBSD: tprof_top.c,v 1.6 2022/12/16 08:00:47 ryo Exp $ */ /*- * Copyright (c) 2022 Ryo Shimizu @@ -28,7 +28,7 @@ #include #ifndef lint -__RCSID("$NetBSD: tprof_top.c,v 1.5 2022/12/09 02:19:07 ryo Exp $"); +__RCSID("$NetBSD: tpr

CVS commit: src/usr.sbin/tprof

2022-12-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 08:00:48 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 tprof_top.c Log Message: - added 'c' command to tprof-top to show/hide event counter. - column widths were not calculated correctly and sometimes displayed

CVS commit: src/sys/dev/tprof

2022-12-15 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 07:59:42 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: - Add support select(2)/poll(2) on /dev/tprof. - Changed sampling buffer switching frequency (which is the frequency of tprof_worker() calls and

CVS commit: src/sys/dev/tprof

2022-12-15 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 16 07:59:42 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: - Add support select(2)/poll(2) on /dev/tprof. - Changed sampling buffer switching frequency (which is the frequency of tprof_worker() calls and

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
01:56:40 2022 +++ src/usr.sbin/tprof/tprof_top.c Fri Dec 9 02:19:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: tprof_top.c,v 1.4 2022/12/09 01:56:40 ryo Exp $ */ +/* $NetBSD: tprof_top.c,v 1.5 2022/12/09 02:19:07 ryo Exp $ */ /*- * Copyright (c) 2022 Ryo Shimizu @@ -28,7 +28,7 @@ #include #ifndef

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 02:19:07 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof_top.c Log Message: if column width changes, the screen must be updated. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/doc

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 02:01:09 UTC 2022 Modified Files: src/doc: CHANGES Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.2935 -r1.2936 src/doc/CHANGES Please note that diffs are not public domain; they are subject

CVS commit: src/doc

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 02:01:09 UTC 2022 Modified Files: src/doc: CHANGES Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.2935 -r1.2936 src/doc/CHANGES Please note that diffs are not public domain; they are subject

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 01:59:51 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 Log Message: supported AMD family added To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/tprof/tprof.8 Please note that diffs are

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 01:59:51 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 Log Message: supported AMD family added To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/tprof/tprof.8 Please note that diffs are

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 01:56:40 UTC 2022 Modified Files: src/usr.sbin/tprof: Makefile tprof.8 tprof_top.c Log Message: mainly fixes around display. - use terminfo - dynamically adjust column widths - mode can be changed while running To

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
tprof/tprof_top.c:1.3 Fri Dec 9 01:55:46 2022 +++ src/usr.sbin/tprof/tprof_top.c Fri Dec 9 01:56:40 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: tprof_top.c,v 1.3 2022/12/09 01:55:46 ryo Exp $ */ +/* $NetBSD: tprof_top.c,v 1.4 2022/12/09 01:56:40 ryo Exp $ */ /*- * Copyright (c) 2022 Ryo Shimizu @@ -28

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Dec 9 01:55:46 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 tprof_top.c Log Message: add accumulative mode. "tprof top -a" To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/tprof/tprof.8 cvs

CVS commit: src/usr.sbin/tprof

2022-12-08 Thread Ryo Shimizu
value is 1. +.It Fl a +Starts in accumulation mode. The display is updated every +.Ar interval +second, but the values are accumulative. .It Fl c show the delta of the event counters. .It Fl u @@ -226,7 +229,9 @@ utility was written by .An YAMAMOTO Takashi . It was revamped by .An Maxime Villard -i

CVS commit: src/usr.sbin/tprof

2022-12-04 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Dec 5 05:02:45 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.c Log Message: fix build error with llvm To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/tprof/tprof.c Please note that diffs are

CVS commit: src/usr.sbin/tprof

2022-12-04 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Dec 5 05:02:45 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.c Log Message: fix build error with llvm To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/tprof/tprof.c Please note that diffs are

CVS commit: src/sys

2022-12-03 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Dec 3 20:24:21 UTC 2022 Modified Files: src/sys/arch/arm/include: armreg.h src/sys/dev/tprof: tprof_armv7.c Log Message: move ARMv7 PMC register definitions to armreg.h from tprof_armv7.c To generate a diff of this

CVS commit: src/sys

2022-12-03 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Dec 3 20:24:21 UTC 2022 Modified Files: src/sys/arch/arm/include: armreg.h src/sys/dev/tprof: tprof_armv7.c Log Message: move ARMv7 PMC register definitions to armreg.h from tprof_armv7.c To generate a diff of this

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
+++ src/usr.sbin/tprof/tprof_top.c Thu Dec 1 03:32:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: tprof_top.c,v 1.1 2022/12/01 00:43:27 ryo Exp $ */ +/* $NetBSD: tprof_top.c,v 1.2 2022/12/01 03:32:24 ryo Exp $ */ /*- * Copyright (c) 2022 Ryo Shimizu @@ -28,7 +28,7 @@ #include #ifndef lint -__RCSID

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 03:32:24 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof_top.c Log Message: fix build error of printf format To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/tprof/tprof_top.c Please note

CVS commit: src/sys/sys

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:48:05 UTC 2022 Modified Files: src/sys/sys: param.h Log Message: tprof module revamped. Welcome to 9.99.108 To generate a diff of this commit: cvs rdiff -u -r1.720 -r1.721 src/sys/sys/param.h Please note that diffs

CVS commit: src/sys/sys

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:48:05 UTC 2022 Modified Files: src/sys/sys: param.h Log Message: tprof module revamped. Welcome to 9.99.108 To generate a diff of this commit: cvs rdiff -u -r1.720 -r1.721 src/sys/sys/param.h Please note that diffs

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
oad(NULL); rb_tree_init(, _ops); /* @@ -245,7 +245,7 @@ tprof_analyze(int argc, char **argv) const char *name; uint64_t offset; - name = ksymlookup(a->addr, ); + name = ksymlookup(a->addr, , NULL); if (name != NULL) { a->addr -= offset; } @@ -310,7 +310,7 @@ tprof

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:43:27 UTC 2022 Modified Files: src/usr.sbin/tprof: Makefile ksyms.c ksyms.h tprof.8 tprof.c tprof.h tprof_analyze.c Added Files: src/usr.sbin/tprof: tprof_top.c Log Message: add "top" subcommand to

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:41:10 UTC 2022 Modified Files: src/usr.sbin/tprof: Makefile tprof_analyze.c Added Files: src/usr.sbin/tprof: ksyms.c ksyms.h Log Message: split ksyms stuff into ksyms.[ch] To generate a diff of this commit:

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:41:10 UTC 2022 Modified Files: src/usr.sbin/tprof: Makefile tprof_analyze.c Added Files: src/usr.sbin/tprof: ksyms.c ksyms.h Log Message: split ksyms stuff into ksyms.[ch] To generate a diff of this commit:

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:40:05 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 tprof.c Log Message: Improve tprof(8) - Added "tprof count" subcommand to perform counts only. - Event options (u,k) are now optional. The default value is

CVS commit: src/usr.sbin/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:40:05 UTC 2022 Modified Files: src/usr.sbin/tprof: tprof.8 tprof.c Log Message: Improve tprof(8) - Added "tprof count" subcommand to perform counts only. - Event options (u,k) are now optional. The default value is

CVS commit: src

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:32:52 UTC 2022 Modified Files: src/sys/arch/aarch64/include: armreg.h src/sys/dev/tprof: tprof.c tprof.h tprof_armv7.c tprof_armv8.c tprof_ioctl.h tprof_types.h tprof_x86.c tprof_x86_amd.c

CVS commit: src

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:32:52 UTC 2022 Modified Files: src/sys/arch/aarch64/include: armreg.h src/sys/dev/tprof: tprof.c tprof.h tprof_armv7.c tprof_armv8.c tprof_ioctl.h tprof_types.h tprof_x86.c tprof_x86_amd.c

CVS commit: src/sys/dev/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:29:51 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv7.c Log Message: tprof_armv7 initializes on each CPUs, like tprof_armv8. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:29:51 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv7.c Log Message: tprof_armv7 initializes on each CPUs, like tprof_armv8. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:29:10 UTC 2022 Modified Files: src/sys/arch/aarch64/include: armreg.h src/sys/dev/tprof: tprof_armv7.c tprof_armv8.c Log Message: PMCR.E should not be disabled from tprof. PMCR.E controls not only performance

CVS commit: src/sys

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:29:10 UTC 2022 Modified Files: src/sys/arch/aarch64/include: armreg.h src/sys/dev/tprof: tprof_armv7.c tprof_armv8.c Log Message: PMCR.E should not be disabled from tprof. PMCR.E controls not only performance

CVS commit: src/sys/dev/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:27:59 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: don't call kpreempt_{disable,enable}() from an interrupt handler. Fixed a problem in which the system would freeze if a high load (e.g., build.sh

CVS commit: src/sys/dev/tprof

2022-11-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Dec 1 00:27:59 UTC 2022 Modified Files: src/sys/dev/tprof: tprof.c Log Message: don't call kpreempt_{disable,enable}() from an interrupt handler. Fixed a problem in which the system would freeze if a high load (e.g., build.sh

Re: CVS commit: src/sys

2022-11-14 Thread Ryo Shimizu
*/ #define PACKET_TAG_MPLS29 /* Indicate it's for MPLS */ #define PACKET_TAG_SRCROUTE30 /* IPv4 source routing */ +#define PACKET_TAG_ETHERNET_SRC31 /* * Return the number of bytes in the mbuf chain, m. Since l2_shalen is fixed to ETHER_ADDR_LEN for now, the tag name should be PACKET_TAG_ETHERNET_SRC instead of PACKET_TAG_L2SHA for now. If all L2 addresses are to be treated extensively, the structure of mtag should include the size, but that will not be necessary just yet. -- ryo shimizu

Re: CVS commit: src/sys/dev/tprof

2022-11-10 Thread Ryo Shimizu
pt and tprof, so I gave up :-P I'll revert it. thanks! -- ryo shimizu

CVS commit: src/sys/dev/tprof

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 10 07:54:20 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv8.c Log Message: revert my previous commit. since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt, there is no need for dynamic

CVS commit: src/sys/dev/tprof

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Nov 10 07:54:20 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv8.c Log Message: revert my previous commit. since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt, there is no need for dynamic

CVS commit: src/sys/dev/tprof

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Nov 9 19:06:46 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv8.c Log Message: If the hardware does not support PMU, return an error instead of KASSERT. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/dev/tprof

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Nov 9 19:06:46 UTC 2022 Modified Files: src/sys/dev/tprof: tprof_armv8.c Log Message: If the hardware does not support PMU, return an error instead of KASSERT. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/arch/arm/fdt

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Nov 9 19:03:38 UTC 2022 Modified Files: src/sys/arch/arm/fdt: pmu_fdt.c Log Message: fdt/pmu was not working. do return only if there is an error. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/arm/fdt

2022-11-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Nov 9 19:03:38 UTC 2022 Modified Files: src/sys/arch/arm/fdt: pmu_fdt.c Log Message: fdt/pmu was not working. do return only if there is an error. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/distrib/sets/lists/misc

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:43:36 UTC 2022 Modified Files: src/distrib/sets/lists/misc: mi Log Message: add new files To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/distrib/sets/lists/misc/mi Please note that diffs are not

CVS commit: src/distrib/sets/lists/misc

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:43:36 UTC 2022 Modified Files: src/distrib/sets/lists/misc: mi Log Message: add new files To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/distrib/sets/lists/misc/mi Please note that diffs are not

CVS commit: src/share/examples/asm/hello

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:42:14 UTC 2022 Modified Files: src/share/examples/asm/hello: Makefile.inst Log Message: - Since the example is for a cpu, use MACHINE_CPU instead of MACHINE_ARCH. - In some cpu, it is necessary to use GOT to make it a

CVS commit: src/share/examples/asm/hello

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:42:14 UTC 2022 Modified Files: src/share/examples/asm/hello: Makefile.inst Log Message: - Since the example is for a cpu, use MACHINE_CPU instead of MACHINE_ARCH. - In some cpu, it is necessary to use GOT to make it a

CVS commit: src/share/examples/asm/hello

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:41:18 UTC 2022 Modified Files: src/share/examples/asm/hello: Makefile Added Files: src/share/examples/asm/hello: aarch64.s arm.s i386.s sh3.s x86_64.s Log Message: add more examples To generate a diff of this

CVS commit: src/share/examples/asm/hello

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:41:18 UTC 2022 Modified Files: src/share/examples/asm/hello: Makefile Added Files: src/share/examples/asm/hello: aarch64.s arm.s i386.s sh3.s x86_64.s Log Message: add more examples To generate a diff of this

CVS commit: src/sys

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:39:32 UTC 2022 Modified Files: src/sys/netinet: in_pcb.c src/sys/netinet6: in6_pcb.c Log Message: Avoid error of "-Wreturn-local-addr", and simplify the logic. However, -Wreturn-local-addr is still disabled by

CVS commit: src/sys

2022-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 14 19:39:32 UTC 2022 Modified Files: src/sys/netinet: in_pcb.c src/sys/netinet6: in6_pcb.c Log Message: Avoid error of "-Wreturn-local-addr", and simplify the logic. However, -Wreturn-local-addr is still disabled by

CVS commit: src/tests/lib/libc/inet

2022-10-06 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Oct 6 06:05:31 UTC 2022 Modified Files: src/tests/lib/libc/inet: t_inet_network.c Log Message: add tests for PR/57046. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/inet/t_inet_network.c

CVS commit: src/tests/lib/libc/inet

2022-10-06 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Oct 6 06:05:31 UTC 2022 Modified Files: src/tests/lib/libc/inet: t_inet_network.c Log Message: add tests for PR/57046. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/inet/t_inet_network.c

CVS commit: src/lib/libc/inet

2022-10-06 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Oct 6 06:03:06 UTC 2022 Modified Files: src/lib/libc/inet: inet_network.c Log Message: fix fixPR/57046. inet_network(3) returns INADDR_NONE when network names such as /x[0-9a-f][0-9a-f]/. To generate a diff of this commit:

CVS commit: src/lib/libc/inet

2022-10-06 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Oct 6 06:03:06 UTC 2022 Modified Files: src/lib/libc/inet: inet_network.c Log Message: fix fixPR/57046. inet_network(3) returns INADDR_NONE when network names such as /x[0-9a-f][0-9a-f]/. To generate a diff of this commit:

CVS commit: src/sys/arch/dreamcast/dev/microcode

2022-09-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Sep 25 21:26:22 UTC 2022 Modified Files: src/sys/arch/dreamcast/dev/microcode: aica_arm.c aica_arm_locore.S Log Message: improve comment, update mailaddr, and remove clause 3 from my licenses. To generate a diff of this

CVS commit: src/sys/arch/dreamcast/dev/microcode

2022-09-25 Thread Ryo Shimizu
25 21:26:22 2022 @@ -1,7 +1,7 @@ -/* $NetBSD: aica_arm.c,v 1.7 2022/09/25 21:19:20 ryo Exp $ */ +/* $NetBSD: aica_arm.c,v 1.8 2022/09/25 21:26:22 ryo Exp $ */ /* - * Copyright (c) 2003 SHIMIZU Ryo + * Copyright (c) 2003 Ryo Shimizu * All rights reserved. * * Redistribution and use

CVS commit: src/sys/arch/dreamcast/dev/microcode

2022-09-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Sep 25 21:19:20 UTC 2022 Modified Files: src/sys/arch/dreamcast/dev/microcode: Makefile aica_arm.c aica_arm_locore.S aica_armcode.h Log Message: arm side of aica(4) sometimes became unresponsive when audioplay was

CVS commit: src/sys/arch/dreamcast/dev/microcode

2022-09-25 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Sep 25 21:19:20 UTC 2022 Modified Files: src/sys/arch/dreamcast/dev/microcode: Makefile aica_arm.c aica_arm_locore.S aica_armcode.h Log Message: arm side of aica(4) sometimes became unresponsive when audioplay was

CVS commit: src/sys/arch/aarch64/aarch64

2022-09-22 Thread Ryo Shimizu
$ */ +/* $NetBSD: db_trace.c,v 1.23 2022/09/22 21:48:18 ryo Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -28,7 +28,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.22 2022/09/22 21:00:46 ryo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.23 2022/09/22 2

CVS commit: src/sys/arch/aarch64/aarch64

2022-09-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 22 21:48:19 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: db_trace.c Log Message: oops, my previous commit is bad. revert previous. is a frame pointer, not a trapframe, and it worked correctly. (e.g., trace $x29)

  1   2   3   4   >