CVS commit: src/sys/dev/pci/ixgbe

2022-05-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 11 17:22:20 UTC 2022 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: bus_dmamem_unmap() before bus_dmamem_free(), otherwise we may give back meomry which is still (and will stay) mapped. Fixes one instance

CVS commit: src/sys/dev/pci/ixgbe

2022-05-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 11 17:22:20 UTC 2022 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: bus_dmamem_unmap() before bus_dmamem_free(), otherwise we may give back meomry which is still (and will stay) mapped. Fixes one instance

CVS commit: src/sys/arch/xen/x86

2022-05-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 11 16:22:46 UTC 2022 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: In bootstrap, after switching to a new page table make sure that now-unused memory is unmapped. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/x86

2022-05-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 11 16:22:46 UTC 2022 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: In bootstrap, after switching to a new page table make sure that now-unused memory is unmapped. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/x86/x86

2022-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat May 7 14:59:25 UTC 2022 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: return after calling xen_pagezero(), don't fall back to the legacy pmap_zero_page() method. This should only affect performances. To

CVS commit: src/sys/arch/x86/x86

2022-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat May 7 14:59:25 UTC 2022 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: return after calling xen_pagezero(), don't fall back to the legacy pmap_zero_page() method. This should only affect performances. To

CVS commit: src/sys/miscfs/procfs

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:20:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: If the calling process is running under linux emulation, make /proc/xxx/fd/ return only symlinks pointing to

CVS commit: src/sys/miscfs/procfs

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:20:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: If the calling process is running under linux emulation, make /proc/xxx/fd/ return only symlinks pointing to

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:12:28 UTC 2022 Modified Files: src/sys/dev/usb: usb_quirks.c Log Message: Add UQ_HID_IGNORE for the Microchip PICkit2 and 3 programmers. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:12:28 UTC 2022 Modified Files: src/sys/dev/usb: usb_quirks.c Log Message: Add UQ_HID_IGNORE for the Microchip PICkit2 and 3 programmers. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:11:42 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen: Add the Microchip PICkit3 programmer To generate a diff of this commit: cvs rdiff -u -r1.791 -r1.792

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:11:42 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen: Add the Microchip PICkit3 programmer To generate a diff of this commit: cvs rdiff -u -r1.791 -r1.792

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:09:57 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add the Microchip PICkit3 programmer To generate a diff of this commit: cvs rdiff -u -r1.800 -r1.801 src/sys/dev/usb/usbdevs Please note that

CVS commit: src/sys/dev/usb

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:09:57 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add the Microchip PICkit3 programmer To generate a diff of this commit: cvs rdiff -u -r1.800 -r1.801 src/sys/dev/usb/usbdevs Please note that

Re: CVS commit: src/sys/arch/xen

2020-05-16 Thread Manuel Bouyer
8 bits (it's not possible to go to 64 bits as suggested in the PR). Making the idtvect per-CPU is another topic. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/rump

2020-04-25 Thread Manuel Bouyer
nge. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys

2020-04-17 Thread Manuel Bouyer
On Fri, Apr 17, 2020 at 07:52:53AM -0700, Jason Thorpe wrote: > > > On Apr 17, 2020, at 7:46 AM, Robert Elz wrote: > > > >Date:Fri, 17 Apr 2020 15:37:33 +0200 > > From:Manuel Bouyer > >Message-ID: <20200417133733.ga5...@antioch

Re: CVS commit: src/sys

2020-04-17 Thread Manuel Bouyer
the > state of the entire collection of files, not individual ones. Thus, you only > need exactly one instance of the ID, not one ID per file. And that would be a problem for me. I regulary update a single file to a specific revision in a source tree. -- Manuel Bouyer Net

Re: CVS commit: src/sys/arch/xen/xen

2020-04-13 Thread Manuel Bouyer
I/O size is <= XBD_MAX_XFER - this can happen > e.g. with custom DomU kernel which doesn't have the value for MAXPHYS > reduced to 32k like the XEN3_DOMU config I though we were now splitting the requests ? -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/arch/xen/xen

2020-04-05 Thread Manuel Bouyer
supported any more by linux dom0. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

CVS commit: [netbsd-9] src/doc

2019-11-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Nov 22 15:30:39 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: tickets 462, 463 To generate a diff of this commit: cvs rdiff -u -r1.1.2.114 -r1.1.2.115 src/doc/CHANGES-9.0 Please note that diffs are

CVS commit: [netbsd-9] src/doc

2019-11-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Nov 22 15:30:39 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: tickets 462, 463 To generate a diff of this commit: cvs rdiff -u -r1.1.2.114 -r1.1.2.115 src/doc/CHANGES-9.0 Please note that diffs are

CVS commit: [netbsd-9] src/sys/arch

2019-11-22 Thread Manuel Bouyer
$NetBSD: xenevt.c,v 1.53 2018/12/25 06:50:12 cherry Exp $ */ +/* $NetBSD: xenevt.c,v 1.53.4.1 2019/11/22 15:28:17 bouyer Exp $ */ /* * Copyright (c) 2005 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.53 2018/12/25 06:50:12 ch

CVS commit: [netbsd-9] src/sys/arch

2019-11-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Nov 22 15:28:18 UTC 2019 Modified Files: src/sys/arch/arm/omap [netbsd-9]: obio_mputmr.c src/sys/arch/evbarm/beagle [netbsd-9]: beagle_machdep.c src/sys/arch/xen/xen [netbsd-9]: xenevt.c Log Message: Pull up

CVS commit: [netbsd-9] src

2019-11-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Nov 22 15:26:28 UTC 2019 Modified Files: src/etc [netbsd-9]: Makefile.params src/share/mk [netbsd-9]: bsd.README Log Message: Pull up following revision(s) (requested by martin in ticket #462):

CVS commit: [netbsd-9] src

2019-11-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Nov 22 15:26:28 UTC 2019 Modified Files: src/etc [netbsd-9]: Makefile.params src/share/mk [netbsd-9]: bsd.README Log Message: Pull up following revision(s) (requested by martin in ticket #462):

CVS commit: [netbsd-9] src/doc

2019-10-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Oct 12 15:12:09 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: ticket 303 To generate a diff of this commit: cvs rdiff -u -r1.1.2.75 -r1.1.2.76 src/doc/CHANGES-9.0 Please note that diffs are not

CVS commit: [netbsd-9] src/doc

2019-10-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Oct 12 15:12:09 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: ticket 303 To generate a diff of this commit: cvs rdiff -u -r1.1.2.75 -r1.1.2.76 src/doc/CHANGES-9.0 Please note that diffs are not

CVS commit: [netbsd-9] src/sbin/newfs_msdos

2019-10-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Oct 12 15:11:43 UTC 2019 Modified Files: src/sbin/newfs_msdos [netbsd-9]: mkfs_msdos.c Log Message: Pull up following revision(s) (requested by martin in ticket #303): sbin/newfs_msdos/mkfs_msdos.c: revision 1.15 When

CVS commit: [netbsd-9] src/sbin/newfs_msdos

2019-10-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Oct 12 15:11:43 UTC 2019 Modified Files: src/sbin/newfs_msdos [netbsd-9]: mkfs_msdos.c Log Message: Pull up following revision(s) (requested by martin in ticket #303): sbin/newfs_msdos/mkfs_msdos.c: revision 1.15 When

CVS commit: src/sys/external/bsd/ipf/netinet

2019-09-30 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Sep 30 16:59:09 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c Log Message: fix double space in comment To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/sys/external/bsd/ipf/netinet

2019-09-30 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Sep 30 16:59:09 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c Log Message: fix double space in comment To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/sys/external/bsd/ipf/netinet

2019-09-30 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Sep 30 16:58:07 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: fil.c ip_fil_netbsd.c Log Message: Fix 2 bugs, reported by Edgar Fu� on tech-net@ - pfil_run_hooks() can be called recursively, so we have to

CVS commit: src/sys/external/bsd/ipf/netinet

2019-09-30 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Sep 30 16:58:07 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: fil.c ip_fil_netbsd.c Log Message: Fix 2 bugs, reported by Edgar Fu� on tech-net@ - pfil_run_hooks() can be called recursively, so we have to

CVS commit: src/sys/dev/acpi

2019-09-28 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Sep 28 11:24:10 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_i2c.c Log Message: joshua stein, PR kern/54493: acpi_i2c uses incorrect arguments for _DSM call The last argument to the _DSM call has to be ACPI_TYPE_PACKAGE,

CVS commit: src/sys/dev/acpi

2019-09-28 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Sep 28 11:24:10 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_i2c.c Log Message: joshua stein, PR kern/54493: acpi_i2c uses incorrect arguments for _DSM call The last argument to the _DSM call has to be ACPI_TYPE_PACKAGE,

CVS commit: src/sys/dev/i2c

2019-09-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 26 08:16:26 UTC 2019 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Abort attach if acpi_intr_establish() fails. From K. Schreiner on current-users@. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/dev/i2c

2019-09-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 26 08:16:26 UTC 2019 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Abort attach if acpi_intr_establish() fails. From K. Schreiner on current-users@. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: [netbsd-9] src/doc

2019-09-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Sep 17 21:50:14 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Fix typo for 207 To generate a diff of this commit: cvs rdiff -u -r1.1.2.51 -r1.1.2.52 src/doc/CHANGES-9.0 Please note that diffs are

CVS commit: [netbsd-9] src/doc

2019-09-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Sep 17 21:50:14 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Fix typo for 207 To generate a diff of this commit: cvs rdiff -u -r1.1.2.51 -r1.1.2.52 src/doc/CHANGES-9.0 Please note that diffs are

CVS commit: src/sys/arch/evbarm/conf

2019-09-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 15 21:04:41 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: files.generic Log Message: Inlcude external/bsd/sljit/conf/files.sljit, so that it's possible to build a kernel with options SLJIT To generate a diff of

CVS commit: src/sys/arch/evbarm/conf

2019-09-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 15 21:04:41 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: files.generic Log Message: Inlcude external/bsd/sljit/conf/files.sljit, so that it's possible to build a kernel with options SLJIT To generate a diff of

CVS commit: src/sys

2019-09-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 15 21:00:16 UTC 2019 Modified Files: src/sys/netinet: ip_input.c src/sys/netinet6: ip6_input.c Log Message: Packet filters can return an mbuf chain with fragmented headers, so m_pullup() it if needed and remove

CVS commit: src/sys

2019-09-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 15 21:00:16 UTC 2019 Modified Files: src/sys/netinet: ip_input.c src/sys/netinet6: ip6_input.c Log Message: Packet filters can return an mbuf chain with fragmented headers, so m_pullup() it if needed and remove

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

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this

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

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this

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

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 17:25:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: The mmc module clock needs to be doubled only for 8bits DDR mode on old timing hardware. This makes the lime2-eemc works in 4bits DDR52

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

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 17:25:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: The mmc module clock needs to be doubled only for 8bits DDR mode on old timing hardware. This makes the lime2-eemc works in 4bits DDR52

CVS commit: src/sys/dev/spi

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 16:17:48 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: Add support for Winbond W25Q128.V (128mb) chips, as found on newer lime2-emmc boards. While there fix a missing \n in dmesg. To generate a diff

CVS commit: src/sys/dev/spi

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 16:17:48 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: Add support for Winbond W25Q128.V (128mb) chips, as found on newer lime2-emmc boards. While there fix a missing \n in dmesg. To generate a diff

CVS commit: src/sys/arch

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 16:15:57 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Added Files: src/sys/arch/arm/dts: sun7i-a20-olinuxino-lime2-emmc-spi.dts Log Message: Add spiflash support in GENERIC Add a dts enabling spi0

CVS commit: src/sys/arch

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 16:15:57 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Added Files: src/sys/arch/arm/dts: sun7i-a20-olinuxino-lime2-emmc-spi.dts Log Message: Add spiflash support in GENERIC Add a dts enabling spi0

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

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

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

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

CVS commit: src/distrib/amd64/ramdisks/ramdisk

2019-07-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jul 20 15:55:40 UTC 2019 Modified Files: src/distrib/amd64/ramdisks/ramdisk: list Log Message: Add newfs_msdos to amd64 install media, proposed on port-amd64@ back in december. newfs_msdos is needed to make a UEFI bootable

CVS commit: src/distrib/amd64/ramdisks/ramdisk

2019-07-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jul 20 15:55:40 UTC 2019 Modified Files: src/distrib/amd64/ramdisks/ramdisk: list Log Message: Add newfs_msdos to amd64 install media, proposed on port-amd64@ back in december. newfs_msdos is needed to make a UEFI bootable

CVS commit: src/sys/netcan

2019-07-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jul 20 15:34:41 UTC 2019 Modified Files: src/sys/netcan: can.c can_pcb.c Log Message: Don't kmem_alloc()/kmem_free() with spin lock held: call can_pcbsetfilter() without canp_mtx; take it here and check canp_state before

CVS commit: src/sys/netcan

2019-07-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jul 20 15:34:41 UTC 2019 Modified Files: src/sys/netcan: can.c can_pcb.c Log Message: Don't kmem_alloc()/kmem_free() with spin lock held: call can_pcbsetfilter() without canp_mtx; take it here and check canp_state before

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

2019-07-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 19 10:54:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hdmi.c Log Message: Don't allocate edid informations on stack, it's too large (struct edid_info is near 3KB), and causes a stack overflow, corrupting

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

2019-07-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 19 10:54:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hdmi.c Log Message: Don't allocate edid informations on stack, it's too large (struct edid_info is near 3KB), and causes a stack overflow, corrupting

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

2019-06-24 Thread Manuel Bouyer
s) from running. USB ethernet devices don't have these, however. > All handling of device to host communications is done via USB callbacks > which run at splsoftserial (aka splusb). Actually, I think splnet() ( + KERNEL_LOCK) is used to protect the network stack when NET_MPSAFE is not defined. For example pppoe(4) uses it when NET_MPSAFE is not defined. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

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

2019-06-24 Thread Manuel Bouyer
k to non-mpsafe stuff for > networking if !NET_MPSAFE? > > eg, look what wm(4) idoes with WM_MPSAFE usage. are we getting > ahead of ourselves in usb? :) I think so. It NET_MPSAFE is not defined, AFAIK the network layers still need to be called at splnet(). -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/arch/arm/sunxi

2019-05-13 Thread Manuel Bouyer
On Mon, May 13, 2019 at 04:55:17PM +, Manuel Bouyer wrote: > Module Name: src > Committed By: bouyer > Date: Mon May 13 16:55:17 UTC 2019 > > Modified Files: > src/sys/arch/arm/sunxi: sunxi_sata.c > > Log Message: > Use new magic values from linux

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

2019-05-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon May 13 16:55:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sata.c Log Message: Use new magic values from linux for DMACR. While I couldn't measure any significant difference with my old, slow laptop drive, linux

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

2019-05-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon May 13 16:55:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sata.c Log Message: Use new magic values from linux for DMACR. While I couldn't measure any significant difference with my old, slow laptop drive, linux

Re: CVS commit: src/sys/arch/evbarm/conf

2019-03-14 Thread Manuel Bouyer
pressed kernel_noload image, so stop emitting > them. Any idea why it doesn't work any more ? -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/kern

2019-01-08 Thread Manuel Bouyer
On Tue, Jan 08, 2019 at 03:40:23PM +0100, Christoph Badura wrote: > On Mon, Jan 07, 2019 at 03:08:38PM +0100, Manuel Bouyer wrote: > > it looks like this broke Xen domU: > > http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/ > > > > [ 1.0800662] boot device: xbd

Re: CVS commit: src/sys/kern

2019-01-07 Thread Manuel Bouyer
looks like this broke Xen domU: http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/ [ 1.0800662] boot device: xbd0 [ 1.0800662] xenbus: can't get state for device/suspend/event-channel (2) [ 1.0800662] unknown device major 0x [ 1.0800662] root device (default xbd0a):

Re: CVS commit: src/sys/kern

2018-12-07 Thread Manuel Bouyer
On Thu, Dec 06, 2018 at 06:43:52PM +0100, Maxime Villard wrote: > Le 06/12/2018 à 11:06, Manuel Bouyer a écrit : > > as I understand KASLR (but I didn't look at the code), addresses are choosen > > at random. So I guess there's a random number generator in the process. >

Re: CVS commit: src/sys/kern

2018-12-06 Thread Manuel Bouyer
On Wed, Dec 05, 2018 at 10:02:44AM +0100, Maxime Villard wrote: > Le 03/12/2018 à 19:35, Manuel Bouyer a écrit : > > On Mon, Dec 03, 2018 at 12:54:26PM +0100, Maxime Villard wrote: > > > In other words, 80% of KASLR is enabled by default, regardless of #ifdef > > > KA

Re: CVS commit: src/sys/kern

2018-12-03 Thread Manuel Bouyer
On Mon, Dec 03, 2018 at 07:27:11PM +, Christos Zoulas wrote: > In article <20181203183537.ga1...@antioche.eu.org>, > Manuel Bouyer wrote: > >On Mon, Dec 03, 2018 at 12:54:26PM +0100, Maxime Villard wrote: > >> In other words, 80% of KASLR is enabled by de

Re: CVS commit: src/sys/kern

2018-12-03 Thread Manuel Bouyer
sefull to have it on by default, there should be a way to turn it off for low-level debugging -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys

2018-11-29 Thread Manuel Bouyer
On Thu, Nov 29, 2018 at 03:28:33PM +1300, Mark Davies wrote: > > > On 25/11/18 07:23, Manuel Bouyer wrote: > > Log Message: > > Add mpii(4), a driver for LSI Megaraid Fusion controllers. > > Ported from OpenBSD. This driver is MP-safe. > > Yay. Any chance of

Re: CVS commit: src/sys/kern

2018-10-04 Thread Manuel Bouyer
On Thu, Oct 04, 2018 at 04:00:12AM +0200, Emmanuel Dreyfus wrote: > Manuel Bouyer wrote: > > > You're the only one seeing this problem AFAIK > > Indeed, but I reproduced it on multiple machines. It appears 100% of the > time on a busy server, and on a test ma

Re: CVS commit: src/sys/kern

2018-10-02 Thread Manuel Bouyer
On Tue, Oct 02, 2018 at 03:40:48AM +0200, Emmanuel Dreyfus wrote: > Manuel Bouyer wrote: > > > In any case, adding a workaround for a specific setup which can potentially > > cause spurious failures for everyone is not appropriate. > > I agree with that, but it is the

Re: CVS commit: src/sys/kern

2018-10-01 Thread Manuel Bouyer
On Mon, Oct 01, 2018 at 07:43:05AM +, Emmanuel Dreyfus wrote: > On Mon, Oct 01, 2018 at 09:34:47AM +0200, Manuel Bouyer wrote: > > Yes, it's a bug, probably related to vndconfig'ing a file on the > > same filesystem as /dev. I use vnconfig a lot myself and I've never seen >

Re: CVS commit: src/sys/kern

2018-10-01 Thread Manuel Bouyer
a bug, probably related to vndconfig'ing a file on the same filesystem as /dev. I use vnconfig a lot myself and I've never seen it. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/kern

2018-09-27 Thread Manuel Bouyer
do not, they just forward the failure. This means that things like e.g. umount or snapshots will randomly fail (whenever fstrans_setstate() can actually take a long time without deadlock has to be determined, but I suspect it can). I think fstrans_setstate() should pause and retry in this

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

2018-04-22 Thread Manuel Bouyer
On Sat, Apr 21, 2018 at 02:08:06PM -0400, Christos Zoulas wrote: > On Apr 21, 6:18pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: > -- Subject: Re: CVS commit: src/sys/dev/usb > > | unfortunably it doens't work for me (earmv7hf): > | axe0: failed to read ethernet address >

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

2018-04-21 Thread Manuel Bouyer
On Sat, Apr 21, 2018 at 11:57:07AM -0400, Christos Zoulas wrote: > On Apr 21, 9:30am, bou...@antioche.eu.org (Manuel Bouyer) wrote: > -- Subject: Re: CVS commit: src/sys/dev/usb > > | So I guess the code was wrong before; not sure how multicast could have > | worked. > | >

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

2018-04-21 Thread Manuel Bouyer
On Sat, Apr 21, 2018 at 05:09:27PM +0300, Valery Ushakov wrote: > On Sat, Apr 21, 2018 at 09:44:59 +0200, Manuel Bouyer wrote: > > Date: Sat, 21 Apr 2018 09:44:59 +0200 > > From: Manuel Bouyer <bou...@antioche.eu.org> > > Subject: Re: CVS commit: src/sys/dev/usb &

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

2018-04-21 Thread Manuel Bouyer
On Sat, Apr 21, 2018 at 09:37:46AM +0200, Martin Husemann wrote: > On Sat, Apr 21, 2018 at 09:30:20AM +0200, Manuel Bouyer wrote: > > > > > > > >- axe_cmd(sc, AXE_CMD_WRITE_MCAST, 0, 0, (void *)); > > > >+ axe_cmd(sc, AXE_CMD_WRITE_MCAST,

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

2018-04-21 Thread Manuel Bouyer
On Fri, Apr 20, 2018 at 11:12:41PM +, Christos Zoulas wrote: > In article <20180420213017.ga1...@antioche.eu.org>, > Manuel Bouyer <bou...@antioche.eu.org> wrote: > >On Fri, Apr 20, 2018 at 05:03:00PM -0400, Christos Zoulas wrote: > >> Module Name: src

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

2018-04-20 Thread Manuel Bouyer
WRITE_MCAST, 0, 0, hashtbl); missing & ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Manuel Bouyer
"irq". I'll change sunxi to use that too. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Manuel Bouyer
On Tue, Apr 03, 2018 at 09:55:40AM -0300, Jared McNeill wrote: > Hi Manuel -- > > On Tue, 3 Apr 2018, Manuel Bouyer wrote: > > > Log Message: > > external interrupt functions are named "eint" in the sunxi_gpio_pins[] > > arrays, while sunxi_gpio_estab

Re: CVS commit: src/sys/kern

2018-03-12 Thread Manuel Bouyer
tr=0 I don't understand this. Isn't 8797f0 a userland address ? If so why does it cause a panic ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/kern

2018-03-07 Thread Manuel Bouyer
thing else than FPU. What is happening exactly ? Is it a kernel panic ? do you have a stack trace ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys/kern

2018-03-03 Thread Manuel Bouyer
On Sat, Mar 03, 2018 at 07:29:23PM +0100, Joerg Sonnenberger wrote: > On Mon, Oct 16, 2017 at 03:03:57PM +0000, Manuel Bouyer wrote: > > Module Name:src > > Committed By: bouyer > > Date: Mon Oct 16 15:03:57 UTC 2017 > > > > Mod

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

2017-12-29 Thread Manuel Bouyer
0 0 nvme0 ioq2 msix2 vec 3 0 095*0 nvme0 ioq3 msix2 vec 4 0 0 0 407* nvme0 ioq4 msi3 vec 00*0 0 0 hdaudio0 ioapic0 pin 1 0*0 0 0 unknown ioapic0 pin 120*0 0 0 unknown any objection to this change ?

Re: CVS commit: src/sys

2017-12-04 Thread Manuel Bouyer
On Mon, Dec 04, 2017 at 09:48:32AM +0100, Joerg Sonnenberger wrote: > On Fri, May 27, 2016 at 08:01:49PM +0000, Manuel Bouyer wrote: > > Module Name:src > > Committed By: bouyer > > Date: Fri May 27 20:01:49 UTC 2016 > > > > Modifie

Re: CVS commit: src/sys/dev/acpi/wmi

2017-12-03 Thread Manuel Bouyer
for (i = 0; i < __arraycount(wmi_dell_actions); i++) { > ^ > cc1: all warnings being treated as errors that's strange, I don't get it on my sources tree. Would changing i to unsigned int fix the warning ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d

Re: CVS commit: src/tests/lib/libc/locale

2017-11-30 Thread Manuel Bouyer
, or i386 floating point issues. If we need a test for those, > please add one - elsewhere. Shouldn't it be made Xfail on i386 in this case ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

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

2017-10-20 Thread Manuel Bouyer
On Fri, Oct 20, 2017 at 07:06:18AM -0300, Jared McNeill wrote: > On Fri, 20 Oct 2017, Manuel Bouyer wrote: > > > Any reason to not add it to other arches (especially i386) too ? > > I wasn't sure it would work everywhere because there are structures used to >

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

2017-10-20 Thread Manuel Bouyer
not add it to other arches (especially i386) too ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys

2017-10-03 Thread Manuel Bouyer
rs too). And of course there's no MODULAR here. Much better than disabling random features which may, or may not, be the next security issue. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys

2017-10-02 Thread Manuel Bouyer
On Mon, Oct 02, 2017 at 07:05:20PM +0200, Maxime Villard wrote: > Le 02/10/2017 à 18:51, Manuel Bouyer a écrit : > > On Mon, Oct 02, 2017 at 06:11:57PM +0200, Maxime Villard wrote: > > > so we remove COMPAT_LINUX from all architectures that do not support > > > kernel

Re: CVS commit: src/sys

2017-10-02 Thread Manuel Bouyer
On Mon, Oct 02, 2017 at 06:11:57PM +0200, Maxime Villard wrote: > so we remove COMPAT_LINUX from all architectures that do not support kernel > modules? this doesn't make compat_linux "nearby" or "easy to use" anymore which architecture are theses ? -- Manuel Bouy

Re: CVS commit: src/sys

2017-10-02 Thread Manuel Bouyer
le-user mode. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --

Re: CVS commit: src/sys

2017-10-01 Thread Manuel Bouyer
sual installers would find that they couldn't > run e.g. Linux binaries on a NetBSD/amd64 installation without making > some extra incantations, ones that they naturally don't know about. no that's not the point (at last not my point). -- Manuel Bouyer <bou...@antioche.eu.org>

  1   2   3   4   >