Re: CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2016-06-10 Thread Rin Okuyama
On 2016/06/09 23:37, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Thu Jun 9 14:37:06 UTC 2016 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc sanitizer_syscall_generic.inc Log Message: Fix

Re: CVS commit: src/external/bsd/nvi/dist/vi

2017-01-21 Thread Rin Okuyama
On 2017/01/22 13:54, matthew green wrote: "Rin Okuyama" writes: Module Name:src Committed By: rin Date: Sat Jan 21 22:06:46 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_paragraph.c Log Message: KNF; remove parentheses from return's please d

Re: CVS commit: xsrc/external/mit

2017-02-20 Thread Rin Okuyama
On 2017/02/21 5:19, co...@sdf.org wrote: On Mon, Feb 20, 2017 at 02:55:47PM +, Rin Okuyama wrote: Module Name:xsrc Committed By: rin Date: Mon Feb 20 14:55:47 UTC 2017 Modified Files: xsrc/external/mit/libXfont/dist/src/fc: fserve.c xsrc/external/mit/libXt

Re: CVS commit: src/sys/compat/netbsd32

2016-11-15 Thread Rin Okuyama
On 2016/11/15 8:16, matthew green wrote: "Rin Okuyama" writes: Module Name:src Committed By: rin Date: Sun Nov 13 13:59:45 UTC 2016 Modified Files: src/sys/compat/netbsd32: netbsd32_conv.h Log Message: correct wrong casting. some are considered harmless, bu

Re: CVS commit: src/sys/compat/netbsd32

2016-11-17 Thread Rin Okuyama
On 2016/11/16 18:33, Michael van Elst wrote: So I suggest to make the compat32 code handle CLOCK_NTP_ADJTIME even when compiled with !NTP but just return ENOTTY. N.B. clockctlioctl returns EINVAL for unrecognized ioctl commands, it should also return ENOTTY. I wrote a patch. Besides your

Re: CVS commit: src/sys/compat/netbsd32

2016-11-16 Thread Rin Okuyama
On 2016/11/16 18:33, Michael van Elst wrote: There is a slight twist. If NTP isn't defined, the code will call the standard (64bit) ioctl handler with the assumption that the arg uses the same layout in 64bit and 32bit mode. If the ioctl handler is builtin, it won't understand the ioctl either

Re: CVS commit: src/sys/compat/netbsd32

2016-11-15 Thread Rin Okuyama
On 2016/11/15 19:26, Martin Husemann wrote: On Tue, Nov 15, 2016 at 07:23:09PM +0900, Rin Okuyama wrote: This results in build failure for most ARM environments: http://releng.netbsd.org/builds/HEAD/201611140950Z/ I think that NTP stuff should be protected by "#ifdef NTP". Ca

Re: CVS commit: src/sys/compat/netbsd32

2016-11-15 Thread Rin Okuyama
Hi, On 2016/11/13 1:06, Michael van Elst wrote: Module Name:src Committed By: mlelstv Date: Sat Nov 12 16:06:04 UTC 2016 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Fix netbsd32 emulation for clockctl_ntp_adjtime. The ioctl

Re: CVS commit: src/sys/compat/netbsd32

2016-11-20 Thread Rin Okuyama
On 2016/11/20 21:18, Michael van Elst wrote: Looks fine to me. Committed. Thank you for your review! Rin

Unaligned access in kernel on ARMv6+ (Re: CVS commit: src/sys/dev/usb)

2019-01-06 Thread Rin Okuyama
for kernel on ARMv6+. On 2019/01/06 12:59, matthew green wrote: Christos Zoulas writes: In article <20190106003905.60969f...@cvs.netbsd.org>, Rin Okuyama wrote: -=-=-=-=-=- Module Name:src Committed By: rin Date: Sun Jan 6 00:39:05 UTC 2019 Modified Files: s

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

2018-12-11 Thread Rin Okuyama
Sorry, I didn't check whether the module gets compiled. Thanks, rin On 2018/12/12 1:45, Martin Husemann wrote: Module Name:src Committed By: martin Date: Tue Dec 11 16:45:49 UTC 2018 Modified Files: src/sys/dev/usb: if_mue.c Log Message: Avoid signed/unsigned

Re: CVS commit: src/sys/net

2018-12-14 Thread Rin Okuyama
Thank you for finding it out. I removed it in accident. rin On 2018/12/14 21:27, Martin Husemann wrote: Module Name:src Committed By: martin Date: Fri Dec 14 12:27:22 UTC 2018 Modified Files: src/sys/net: if_bridge.c Log Message: Need for ip6_statinc() prototype.

Re: CVS commit: src/sys/arch

2018-11-19 Thread Rin Okuyama
On 2018/11/19 19:05, Robert Elz wrote: Module Name:src Committed By: kre Date: Mon Nov 19 10:05:09 UTC 2018 Modified Files: src/sys/arch/amd64/include: frame.h src/sys/arch/i386/include: frame.h src/sys/arch/xen/x86: hypervisor_machdep.c Log Message:

Re: Unaligned access in kernel on ARMv6+ (Re: CVS commit: src/sys/dev/usb)

2019-01-07 Thread Rin Okuyama
On 2019/01/07 10:59, matthew green wrote: http://netbsd.org/~kamil/kubsan/0007-boot-real-hardware.txt i fixed the hdafg.c ones here. not sure about the hdaudio.c ones, since they are already 1u << 31. leaving: x86/pci/pci_machdep.c ahcisata_core.c amd64/kobj_machdep.c netinet/tcp_input.c

Re: CVS commit: src/libexec/ld.elf_so

2018-12-28 Thread Rin Okuyama
Hi, On 2018/12/28 3:58, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Thu Dec 27 18:58:14 UTC 2018 Modified Files: src/libexec/ld.elf_so: Makefile src/libexec/ld.elf_so/arch/aarch64: Makefile.inc src/libexec/ld.elf_so/arch/arm:

Re: CVS commit: src/lib/csu

2018-12-28 Thread Rin Okuyama
Thanks! GCC on m68k gets working again. rin On 2018/12/29 3:17, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Fri Dec 28 18:17:11 UTC 2018 Modified Files: src/lib/csu/arch/aarch64: Makefile.inc src/lib/csu/arch/arm: Makefile.inc

Re: Unaligned access in kernel on ARMv6+ (Re: CVS commit: src/sys/dev/usb)

2019-01-08 Thread Rin Okuyama
On 2019/01/08 17:33, Nick Hudson wrote: On 07/01/2019 10:22, Rin Okuyama wrote: [snip] This kind of problems cannot be handled in software unless we (1) use cached memory (for which unaligned access is allowed), or (2) forbid compiler to generate unaligned access. This patch

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

2018-09-18 Thread Rin Okuyama
On 2018/09/18 18:27, Valery Ushakov wrote: On Tue, Sep 18, 2018 at 18:16:05 +0900, Rin Okuyama wrote: Just curious; why comment lines within 80 char column are not allowed for this file? Just cosmetic reasons? 80 chars is "hard" limit, but it's convenient to use less than that if

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

2018-09-18 Thread Rin Okuyama
On 2018/09/18 18:21, Valery Ushakov wrote: On Tue, Sep 18, 2018 at 12:17:41 +0900, Rin Okuyama wrote: @@ -278,8 +279,10 @@ hpckbd_keymap_setup(struct hpckbd_core * * XXX The way this is done is really wrong. The __UNCONST() * is a hint as to what is wrong. This actually

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

2018-09-18 Thread Rin Okuyama
Hi, Just curious; why comment lines within 80 char column are not allowed for this file? Just cosmetic reasons? Thanks, rin On 2018/09/18 18:09, Valeriy E. Ushakov wrote: Module Name:src Committed By: uwe Date: Tue Sep 18 09:09:26 UTC 2018 Modified Files:

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

2018-09-17 Thread Rin Okuyama
Apply workaround introduced in r1.31 to hpcmips. Sorry, this is r1.32, not r1.31. How can I edit commit log of multiple lines? Thanks, rin On 2018/09/18 11:58, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Tue Sep 18 02:58:10 UTC 2018 Modified Files: src

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

2018-09-18 Thread Rin Okuyama
On 2018/09/18 15:29, matthew green wrote: Rin Okuyama writes: Apply workaround introduced in r1.31 to hpcmips. Sorry, this is r1.32, not r1.31. How can I edit commit log of multiple lines? we don't like to do this except when it's really important, and i think this is not quite so relevant

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

2018-09-18 Thread Rin Okuyama
On 2018/09/18 23:59, Valery Ushakov wrote: ... Nick confirmed to me on IRC that mips kernel is in directly-mapped kseg0 (like sh3's P1), so I've edited the comment. Thank you! I sent pullup requests for hpckbd.c r1.33 of mine. I'll add your commits r1.34 and 35 for the sake of consistency.

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

2019-02-26 Thread Rin Okuyama
USB hub when you have a time? Thanks, rin On 2019/02/06 21:08, Rin Okuyama wrote: Sorry for my long silence. On 2019/01/31 23:20, Robert Swindells wrote: ... The revision number of my device is "1". Robert Swindells Hmm, both of my adapters have same revision of "1": *

Re: CVS commit: src/sys/modules

2019-02-20 Thread Rin Okuyama
On 2019/02/20 21:45, Christos Zoulas wrote: In article <20190220051132.53c81f...@cvs.netbsd.org>, Rin Okuyama wrote: ... Log Message: WARNS=3 for compat_netbsd32_* in order to appease sign-compare warnings for mips64, where NETBSD32_POINTER_TYPE is signed. Let's limit it to

Re: CVS commit: src/sys/kern

2019-03-16 Thread Rin Okuyama
Hi, Running Linux binaries on amd64 hits this KASSERT: sys/kern/vfs_lookup.c https://nxr.netbsd.org/xref/src/sys/kern/vfs_lookup.c#592 585 /* 586 * Get a reference to the start dir so we can safely unlock cwdi. 587 * 588 * Must hold references

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

2019-02-06 Thread Rin Okuyama
Sorry for my long silence. On 2019/01/31 23:20, Robert Swindells wrote: ... The revision number of my device is "1". Robert Swindells Hmm, both of my adapters have same revision of "1": * StarTech USB21000S2 mue1 at uhub3 port 2 mue1: WS (0x424) USB Gigabit LAN (0x7500), rev 2.00/1.00,

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

2019-02-07 Thread Rin Okuyama
Hi, What compiler options (or version, architecture, etc.) do you use? I want to enable that warnings, but I cannot even with WARNS=5. Thanks, rin On 2019/02/07 19:36, Michael van Elst wrote: Module Name:src Committed By: mlelstv Date: Thu Feb 7 10:36:20 UTC 2019 Modified

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

2019-02-16 Thread Rin Okuyama
On 2019/02/17 13:17, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Sun Feb 17 04:17:31 UTC 2019 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Fix system freeze when USB NICs with multiple outstanding transfers are detached from xhci(4) or ehci(4

DIAGNOSTIC for modules (Re: CVS commit: src/sys/dev/usb)

2019-02-12 Thread Rin Okuyama
Hi, As Martin pointed out, it is useful for debugging to turn on DIAGNOSTIC for modules (for non-release branches). Now, all modules for amd64 are successfully built with DIAGNOSTIC. I'd like to commit the patch below, if there's no objection. Thanks, rin Index: sys/modules/Makefile.inc

Re: CVS commit: src/sys/netinet

2019-02-12 Thread Rin Okuyama
Hi, On 2019/02/12 23:40, Robert Swindells wrote: Module Name:src Committed By: rjs Date: Tue Feb 12 14:40:38 UTC 2019 Modified Files: src/sys/netinet: sctp_input.c sctp_usrreq.c Log Message: Add some fallthrough annotations. ... Index: src/sys/netinet/sctp_usrreq.c

Multiple outstanding transfer vs xhci / ehci (Re: CVS commit: src/sys/dev/usb)

2019-02-12 Thread Rin Okuyama
On 2019/02/09 22:28, sc dying wrote: On Sat, Feb 9, 2019 at 8:18 AM Rin Okuyama wrote: Hi, On 2019/02/08 23:16, sc dying wrote: On 2019/01/31 05:51, Rin Okuyama wrote: By the way, I find that the system hangs silently by "ifconfig mueN down" or detaching LAN7500 from USB port whe

Re: Multiple outstanding transfer vs xhci / ehci (Re: CVS commit: src/sys/dev/usb)

2019-02-13 Thread Rin Okuyama
Hi, On 2019/02/13 3:54, Nick Hudson wrote: On 12/02/2019 16:02, Rin Okuyama wrote: Hi, The system freezes indefinitely with xhci(4) or ehci(4), when NIC with multiple outstanding transfers [axen(4), mue(4), and ure(4)] is stopped by "ifconfig down" or detached. As discussed in th

Re: DIAGNOSTIC for modules (Re: CVS commit: src/sys/dev/usb)

2019-02-13 Thread Rin Okuyama
Hi, On 2019/02/13 6:07, Paul Goyette wrote: On Tue, 12 Feb 2019, Rin Okuyama wrote: Hi, As Martin pointed out, it is useful for debugging to turn on DIAGNOSTIC for modules (for non-release branches). Now, all modules for amd64 are successfully built with DIAGNOSTIC. I'd like to commit

Re: DIAGNOSTIC for modules (Re: CVS commit: src/sys/dev/usb)

2019-02-13 Thread Rin Okuyama
On 2019/02/13 19:06, Paul Goyette wrote: I would also wonder if we could increase the WARNS?= level from 3 to 5 (to match the current WARNS?= level used for kernel builds).  Has anyone tried to see how many modules would fail with WARNS?=5  ?? Thank you for your comment. Well, I examined

Re: DIAGNOSTIC for modules (Re: CVS commit: src/sys/dev/usb)

2019-02-13 Thread Rin Okuyama
On 2019/02/13 21:13, Christos Zoulas wrote: In article , Rin Okuyama wrote: Hi, On 2019/02/13 6:07, Paul Goyette wrote: On Tue, 12 Feb 2019, Rin Okuyama wrote: Hi, As Martin pointed out, it is useful for debugging to turn on DIAGNOSTIC for modules (for non-release branches). Now, all

Re: CVS commit: src/sys/netinet

2019-02-15 Thread Rin Okuyama
On 2019/02/15 23:04, Robert Swindells wrote: Rin Okuyama wrote: Ping? Can I insert "break" here? Sorry, yes you are correct that it should be a break. Will commit it now. Robert Swindells Thanks! rin

Re: Multiple outstanding transfer vs xhci / ehci (Re: CVS commit: src/sys/dev/usb)

2019-02-15 Thread Rin Okuyama
On 2019/02/15 23:37, Nick Hudson wrote: On 15/02/2019 13:44, Rin Okuyama wrote: On 2019/02/15 21:57, Jonathan A. Kollasch wrote: On Wed, Feb 13, 2019 at 06:35:14PM +0900, Rin Okuyama wrote: Hi, On 2019/02/13 3:54, Nick Hudson wrote: On 12/02/2019 16:02, Rin Okuyama wrote: Hi, The system

Re: CVS commit: src/sys/netinet

2019-02-15 Thread Rin Okuyama
Ping? Can I insert "break" here? Thanks, rin On 2019/02/12 23:59, Rin Okuyama wrote: Hi, On 2019/02/12 23:40, Robert Swindells wrote: Module Name:    src Committed By:    rjs Date:    Tue Feb 12 14:40:38 UTC 2019 Modified Files: src/sys/netinet: sctp_input.c sctp_usr

Re: Multiple outstanding transfer vs xhci / ehci (Re: CVS commit: src/sys/dev/usb)

2019-02-15 Thread Rin Okuyama
On 2019/02/15 21:57, Jonathan A. Kollasch wrote: On Wed, Feb 13, 2019 at 06:35:14PM +0900, Rin Okuyama wrote: Hi, On 2019/02/13 3:54, Nick Hudson wrote: On 12/02/2019 16:02, Rin Okuyama wrote: Hi, The system freezes indefinitely with xhci(4) or ehci(4), when NIC with multiple outstanding

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

2019-02-09 Thread Rin Okuyama
On 2019/02/09 16:48, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Sat Feb 9 07:48:39 UTC 2019 Modified Files: src/sys/dev/mii: rlphy.c Log Message: Support RTL8152. Tested on ure(4) (RTL8152). ---> Support RTL8201E. Tested on ure(4) (RTL8152). So

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

2019-02-09 Thread Rin Okuyama
Hi, On 2019/02/08 23:16, sc dying wrote: On 2019/01/31 05:51, Rin Okuyama wrote: By the way, I find that the system hangs silently by "ifconfig mueN down" or detaching LAN7500 from USB port when multiple outstanding requests are enabled. This does not occur when MUE_T

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

2019-02-09 Thread Rin Okuyama
On 2019/02/08 7:51, Michael van Elst wrote: On Fri, Feb 08, 2019 at 07:12:28AM +0900, Rin Okuyama wrote: Hi, What compiler options (or version, architecture, etc.) do you use? I want to enable that warnings, but I cannot even with WARNS=5. The warnings came for assertions, so you need

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

2019-01-28 Thread Rin Okuyama
On 2019/01/28 19:52, Michael van Elst wrote: On Mon, Jan 28, 2019 at 06:31:01PM +0900, Rin Okuyama wrote: Hi, On 2019/01/25 4:18, Michael van Elst wrote: On Thu, Jan 24, 2019 at 03:51:02PM +0100, Robert Swindells wrote: It doesn't work at all for me on a LAN7500. Tested on an RPI3b+ which

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

2019-01-30 Thread Rin Okuyama
On 2019/01/29 7:46, Rin Okuyama wrote: On 2019/01/28 19:52, Michael van Elst wrote: On Mon, Jan 28, 2019 at 06:31:01PM +0900, Rin Okuyama wrote: Hi, On 2019/01/25 4:18, Michael van Elst wrote: On Thu, Jan 24, 2019 at 03:51:02PM +0100, Robert Swindells wrote: It doesn't work at all for me

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

2019-01-30 Thread Rin Okuyama
On 2019/01/30 22:21, Robert Swindells wrote: On 2019-01-30 11:05, Rin Okuyama wrote: I tested a StarTech USB21000S2 adapter. It works both on RPI3B and amd64 box with ehci(4) (ThinkPad X60). Revision is same as Z-TEK ZE582; both have product ID of 0x7500 (LAN7500). We don't currently read

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

2019-01-30 Thread Rin Okuyama
On 2019/01/30 21:26, Michael van Elst wrote: On Wed, Jan 30, 2019 at 08:05:56PM +0900, Rin Okuyama wrote: I tested a StarTech USB21000S2 adapter. It works both on RPI3B and amd64 box with ehci(4) (ThinkPad X60). Revision is same as Z-TEK ZE582; both have product ID of 0x7500 (LAN7500

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

2019-01-28 Thread Rin Okuyama
Hi, On 2019/01/25 4:18, Michael van Elst wrote: On Thu, Jan 24, 2019 at 03:51:02PM +0100, Robert Swindells wrote: "Michael van Elst" wrote: Module Name:src Committed By: mlelstv Date: Sat Jan 5 07:56:07 UTC 2019 Modified Files: src/sys/dev/usb: if_mue.c if_muevar.h

CVS commit: src/doc

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 20:55:56 UTC 2019 Modified Files: src/doc: HACKS Log Message: Describe workaround for PR port-alpha/54307. To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195 src/doc/HACKS Please note that diffs are not

CVS commit: src/doc

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 20:55:56 UTC 2019 Modified Files: src/doc: HACKS Log Message: Describe workaround for PR port-alpha/54307. To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195 src/doc/HACKS Please note that diffs are not

CVS commit: src/external/bsd/jemalloc/lib

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 20:53:10 UTC 2019 Modified Files: src/external/bsd/jemalloc/lib: Makefile.inc Log Message: Workaround for random crash of userland binaries, as reported in PR port-alpha/54307. If rtree.c and tcache.c are compiled with

CVS commit: src/external/bsd/jemalloc/lib

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 20:53:10 UTC 2019 Modified Files: src/external/bsd/jemalloc/lib: Makefile.inc Log Message: Workaround for random crash of userland binaries, as reported in PR port-alpha/54307. If rtree.c and tcache.c are compiled with

CVS commit: src/doc

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 3 07:10:42 UTC 2019 Modified Files: src/doc: HACKS Log Message: Describe that both GCC 7.4 and 8.3 fail in the last entry. To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196 src/doc/HACKS Please note that

CVS commit: src/doc

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 3 07:10:42 UTC 2019 Modified Files: src/doc: HACKS Log Message: Describe that both GCC 7.4 and 8.3 fail in the last entry. To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196 src/doc/HACKS Please note that

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

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 4 00:51:33 UTC 2019 Modified Files: src/distrib/sets/lists/xdebug: md.evbarm md.evbarm.armeb md.ofppc md.shark md.sparc md.vax Log Message: Try to fix build failure due to missing obsolete qualifier. To

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

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 4 00:51:33 UTC 2019 Modified Files: src/distrib/sets/lists/xdebug: md.evbarm md.evbarm.armeb md.ofppc md.shark md.sparc md.vax Log Message: Try to fix build failure due to missing obsolete qualifier. To

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

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 4 00:33:29 UTC 2019 Modified Files: src/distrib/sets/lists/xdebug: md.amiga Log Message: Fix previous; restore accidentally removed newline. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2019-11-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 4 00:33:29 UTC 2019 Modified Files: src/distrib/sets/lists/xdebug: md.amiga Log Message: Fix previous; restore accidentally removed newline. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/compat/netbsd32

2019-11-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Nov 7 15:21:56 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h Log Message: For netbsd32_statvfs, f_spare should be netbsd32_uint64, not uint64_t. Fix syscalls using struct statvfs on COMPAT_NETBSD32 on amd64,

CVS commit: src/sys/compat/netbsd32

2019-11-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Nov 7 15:21:56 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h Log Message: For netbsd32_statvfs, f_spare should be netbsd32_uint64, not uint64_t. Fix syscalls using struct statvfs on COMPAT_NETBSD32 on amd64,

CVS commit: src/sys/uvm

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 08:26:18 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: PR kern/54395 - Align hint for virtual address at the beginning of uvm_map() if required. Otherwise, it will be rounded up/down in an unexpected

CVS commit: src/sys/uvm

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 08:26:18 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: PR kern/54395 - Align hint for virtual address at the beginning of uvm_map() if required. Otherwise, it will be rounded up/down in an unexpected

CVS commit: src/sys/kern

2019-11-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 17 02:22:14 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix pointer arithmetic for 32-bit process on LP64 kernel in process_auxv_offset(). Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.

CVS commit: src/sys/kern

2019-11-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 17 02:22:14 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix pointer arithmetic for 32-bit process on LP64 kernel in process_auxv_offset(). Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:17:08 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Sorry, revert unintentional parts of the previous commit:

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:58:42 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: Sort by signal numbers as far as possible, adjust locations of functions. No functional changes intended. XXX pullup to netbsd-9

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:58:42 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: Sort by signal numbers as far as possible, adjust locations of functions. No functional changes intended. XXX pullup to netbsd-9

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:17:08 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Sorry, revert unintentional parts of the previous commit:

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:09:53 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_ioctl.c netbsd32_ioctl.h netbsd32_signal.c Log Message: Belatedly catch up with kern_sig.c rev 1.358:

CVS commit: src/sys/compat/netbsd32

2019-11-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 04:09:53 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_ioctl.c netbsd32_ioctl.h netbsd32_signal.c Log Message: Belatedly catch up with kern_sig.c rev 1.358:

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 10:25:48 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: When converting siginfo, examine si_code at the beginning, as explained in siginfo(2). - If it is SI_NOINFO, there's no additional

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 10:25:48 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: When converting siginfo, examine si_code at the beginning, as explained in siginfo(2). - If it is SI_NOINFO, there's no additional

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 10:14:52 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP. Pointed out by kamil. Thanks! XXX pullup to netbsd-9

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 10:14:52 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP. Pointed out by kamil. Thanks! XXX pullup to netbsd-9

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 11:01:41 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: TRAP_EXEC does not have extra fields to be filled in at the moment. Explicitly ignore fields for now. Pointed out by kamil.

CVS commit: src/sys/compat/netbsd32

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 11:01:41 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_signal.c Log Message: TRAP_EXEC does not have extra fields to be filled in at the moment. Explicitly ignore fields for now. Pointed out by kamil.

CVS commit: src/sys/compat

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 12:06:26 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h src/sys/compat/sys: siginfo.h Log Message: 8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary. Therefore, we must use

CVS commit: src/sys/compat

2019-11-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 18 12:06:26 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32.h src/sys/compat/sys: siginfo.h Log Message: 8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary. Therefore, we must use

CVS commit: src/sys/arch/m68k/include

2019-10-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Oct 27 09:38:10 UTC 2019 Modified Files: src/sys/arch/m68k/include: reg.h Log Message: Expose register difinitions for _STANDALONE. Fix build failure in arch/luna68k/stand/boot. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/m68k/include

2019-10-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Oct 27 09:38:10 UTC 2019 Modified Files: src/sys/arch/m68k/include: reg.h Log Message: Expose register difinitions for _STANDALONE. Fix build failure in arch/luna68k/stand/boot. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/amd64

2019-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 20 10:57:08 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Fix netbsd32_process_write_dbregs() for amd64: - Zero-clear regs64 so that random values are not written into the preserved

CVS commit: src/sys/arch/amd64/include

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 08:56:00 UTC 2019 Modified Files: src/sys/arch/amd64/include: ptrace.h Log Message: Fix copy-paste in comment. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/amd64/include

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 08:56:00 UTC 2019 Modified Files: src/sys/arch/amd64/include: ptrace.h Log Message: Fix copy-paste in comment. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/amd64/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:02:00 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Use bool for "write" in ptrace_machdep_dorequest() for clarity. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:02:00 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Use bool for "write" in ptrace_machdep_dorequest() for clarity. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:08:14 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c src/sys/arch/amd64/include: ptrace.h Log Message: Rename process_machdep_validxstate() to process_machdep_validfpu(), as this function

CVS commit: src/sys/arch/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:08:14 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c src/sys/arch/amd64/include: ptrace.h Log Message: Rename process_machdep_validxstate() to process_machdep_validfpu(), as this function

CVS commit: src/sys/arch/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:16:59 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: netbsd32_machdep.h ptrace.h Log Message: Add support for PT_[GS]ETXMMREGS requests for

CVS commit: src/sys/arch/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:16:59 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: netbsd32_machdep.h ptrace.h Log Message: Add support for PT_[GS]ETXMMREGS requests for

CVS commit: src/external/gpl3/binutils/dist/bfd

2019-11-30 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Nov 30 22:50:11 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Fix 'nm /dev/ksyms' (noticed by ryo). Since binutils 2.15, nm(1) cannot be used for character devices. We worked around this by a

CVS commit: src/external/gpl3/binutils/dist/bfd

2019-11-30 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Nov 30 22:50:11 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Fix 'nm /dev/ksyms' (noticed by ryo). Since binutils 2.15, nm(1) cannot be used for character devices. We worked around this by a

Re: CVS commit: src/sys/kern

2019-11-29 Thread Rin Okuyama
On 2019/11/30 5:50, Andrew Doran wrote: Module Name:src Committed By: ad Date: Fri Nov 29 20:50:54 UTC 2019 Modified Files: src/sys/kern: kern_rwlock.c Log Message: A couple more tweaks to avoid reading the lock word. To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/sys/kern

2019-11-30 Thread Rin Okuyama
On 2019/11/30 23:35, Andrew Doran wrote: Hmm, it works fine on amd64 and looks OK but me, but I have backed it out for the time being. Thanks! Also thank you for working on this area! rin

CVS commit: src/sys/kern

2019-11-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 22 05:01:44 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix regression introduced to ptrace_regs() in rev 1.27: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27 Size

CVS commit: src/sys/kern

2019-11-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 22 05:01:44 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix regression introduced to ptrace_regs() in rev 1.27: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27 Size

CVS commit: src/sys/arch/aarch64

2019-11-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 04:08:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c netbsd32_machdep.c trap.c src/sys/arch/aarch64/include: netbsd32_machdep.h param.h proc.h Log Message: PR port-arm/54702 Add support

CVS commit: src/sys/arch/aarch64

2019-11-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 04:08:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c netbsd32_machdep.c trap.c src/sys/arch/aarch64/include: netbsd32_machdep.h param.h proc.h Log Message: PR port-arm/54702 Add support

CVS commit: src/sys/uvm

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 13:04:23 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: Fix previous; semantics of align argument of uvm_map() is different when UVM_FLAG_COLORMATCH is specified. Should fix PR kern/54669. To generate a

CVS commit: src/sys/uvm

2019-11-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 1 13:04:23 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: Fix previous; semantics of align argument of uvm_map() is different when UVM_FLAG_COLORMATCH is specified. Should fix PR kern/54669. To generate a

CVS commit: src/sys/compat/netbsd32

2019-11-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 4 11:20:22 UTC 2019 Modified Files: src/sys/compat/netbsd32: syscalls.master Log Message: For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t. Since bufsize is the last argument, this affects only LP64EB. XXX

  1   2   3   4   5   6   7   8   9   >