Displaying 1 50 of 638,621 commits (0.095s)

NetBSD — share/man/man4 gpiopps.4

End sentence with a dot.
Delta File
+2 -2 share/man/man4/gpiopps.4
+2 -2 1 file

NetBSD — share/man/man4 gpiopps.4, sys/modules/gpiopps Makefile gpiopps.ioconf

Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.

PR kern/51676

(Oops, forgot to "cvs add" these items previously.)

NetBSD — share/mk sys.mk

Also substitute ${X11SRCDIR} for the random seed for reproducible builds so
that the random seed is consistent.
XXX: pullup-8
Delta File
+3 -2 share/mk/sys.mk
+3 -2 1 file

NetBSD — distrib/sets/lists/man mi, distrib/sets/lists/modules mi

Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.

PR kern/51676

NetBSD — share/man/man4 gpioirq.4

End sentence with a dot.
Delta File
+2 -2 share/man/man4/gpioirq.4
+2 -2 1 file

NetBSD — crypto/dist/ipsec-tools README

Add a note about FreeBSD.
Delta File
+5 -0 crypto/dist/ipsec-tools/README
+5 -0 1 file

NetBSD — crypto/dist/ipsec-tools README

Update, after ten years. Importantly, add a "History" section, to explain
what's going on.

We have now become "upstream", and most of the ipsec-tools development is
done in NetBSD's CVS. However, many distributions still take their
tarballs from SourceForge (which is defunct, and not maintained).
Delta File
+29 -12 crypto/dist/ipsec-tools/README
+29 -12 1 file

NetBSD — sys/arch/aarch64/aarch64 pmap.c

pmap_enter() must update modified/referenced flags by 'flags' not 'prot'.
Delta File
+6 -13 sys/arch/aarch64/aarch64/pmap.c
+6 -13 1 file

NetBSD — sys/netinet6 ip6_mroute.c ip6_mroute.h

Remove notyet, we've never had this.

NetBSD — crypto/dist/ipsec-tools/src/racoon vmbuf.c vmbuf.h

Style.

NetBSD — sys/kern kern_sig.c sys_ptrace_common.c, sys/sys signalvar.h

Make stopsigmask a non-static symbol now as it's used in ptrace(2) code

This is a missing part of the previous commit.

While there fix a typo in a newly added comment in the ptrace(2) code.

Sponsored by <The NetBSD Foundation>

NetBSD — sys/kern sys_ptrace_common.c, tests/lib/libc/sys t_ptrace_wait.c

Fix and enable traceme_signal_nohandler2 in ATF ptrace(2) tests

traceme_signal_nohandler2 checks emitting SIGSTOP to a traced process
with the PT_CONTINUE operation.

The expected behavior is to simulate a behavior of receiving SIGSTOP,
generating SIGCHLD to its parent (in this case the debugger) and ability
to call wait(2)-like function receiving the stopped child event.

The previous behavior was unstopping the process and it has been adjusted
in the kernel code.

FreeBSD keeps unstopping a process for emitting SIGSTOP.
Linux handles this scenario in the same way as NetBSD now.

While there, implement the missing bits in the userland ATF test for
traceme_signal_nohandler2: receiving and validating 2nd SIGSTOP event and
continuing the process, followed by its normal termination.

Sponsored by <The NetBSD Foundation>

NetBSD — usr.sbin/crash Makefile

Fix reproducible builds
XXX: pullup-8
Delta File
+10 -2 usr.sbin/crash/Makefile
+10 -2 1 file

NetBSD — doc CHANGES

Note GPIO interrupt support overhaul.
Delta File
+4 -1 doc/CHANGES
+4 -1 1 file

NetBSD — external/gpl3/binutils/dist/ld/emultempl elf32.em

don't prepend sysroots when we already have prepended it (breaks X11 binaries)

NetBSD — crypto/dist/ipsec-tools/src/racoon misc.c

Remove dead code, and style.

NetBSD — crypto/dist/ipsec-tools/src/racoon oakley.c

Remove unused 'error' variables, it's obvious they should have no use.

NetBSD — crypto/dist/ipsec-tools/src/racoon grabmyaddr.c remoteconf.c

Use strict prototypes, when they don't introduce more warnings than they fix.
Also localify a few functions.

NetBSD — sys/arch/alpha/include pmap.h

Implement PMAP_DIRECT / pmap_direct_process() in support of experimental
UBC optimizations.
Delta File
+16 -3 sys/arch/alpha/include/pmap.h
+16 -3 1 file

NetBSD — crypto/dist/ipsec-tools/src/racoon isakmp_inf.c isakmp_cfg.c

Remove unused labels, functions, and function prototypes.

NetBSD — crypto/dist/ipsec-tools/src/racoon nattraversal.c nattraversal.h

Style, a little...

NetBSD — sys/arch/i386/stand/mbr gpt.S

Fix some whitespace style issues.
Delta File
+3 -3 sys/arch/i386/stand/mbr/gpt.S
+3 -3 1 file

NetBSD — sys/arch/i386/stand/mbr gpt.S

Compact crc32 code by 12 bytes of text.

From dave0 in #NetBSD on Freenode circa December 2017.

Tested in a 32-bit userland harness to produce identical results as old
code for one set of inputs.
Delta File
+5 -14 sys/arch/i386/stand/mbr/gpt.S
+5 -14 1 file

NetBSD — external/bsd/byacc/dist btyaccpar.c

regen
Delta File
+11 -11 external/bsd/byacc/dist/btyaccpar.c
+11 -11 1 file

NetBSD — external/bsd/byacc/dist btyaccpar.skel

add more casts (needed for c++)
XXX: A better solution would be to use C++ casts.
Delta File
+11 -11 external/bsd/byacc/dist/btyaccpar.skel
+11 -11 1 file

NetBSD — tools/elftosb Makefile

remove trailing newline
Delta File
+1 -2 tools/elftosb/Makefile
+1 -2 1 file

NetBSD — share/mk bsd.sys.mk

Need to delete ${DESTDIR} for lint
XXX: pullup-8
Delta File
+2 -1 share/mk/bsd.sys.mk
+2 -1 1 file

NetBSD — sys/dev/pci pci_map.c

Re-enable PCI window decode enable in PCI Command Register upon
successful pci_mapreg_map().

Loosely related to PR #53286.
Delta File
+3 -3 sys/dev/pci/pci_map.c
+3 -3 1 file

NetBSD — sys/arch/x86/x86 efi.c, sys/dev/pci pci_map.c pcivar.h

Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.

For now, initialize the global variable at compile time to false.  This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.

Related to PR #53286.

NetBSD — sys/arch/x86/include pmap.h

remove some remaining uvm_emap(9)-related function prototypes
Delta File
+1 -5 sys/arch/x86/include/pmap.h
+1 -5 1 file

NetBSD — sys/arch/x86/x86 x86_tlb.c

remove more vestiges of uvm_emap_*(), to fix x86 kernel linking
Delta File
+2 -4 sys/arch/x86/x86/x86_tlb.c
+2 -4 1 file

NetBSD — sys/uvm uvm_readahead.c

adjust heuristics for read-ahead to skip the full read-ahead when last page of
the range is already cached; this speeds up I/O from cache, since it avoids
the lookup and allocation overhead

on my system I observed 4.5% - 15% improvement for cached I/O - from 2.2 GB/s to
2.3 GB/s for cached reads using non-direct UBC, and from 5.6 GB/s to 6.5 GB/s
for UBC using direct map

part of PR kern/53124
Delta File
+20 -3 sys/uvm/uvm_readahead.c
+20 -3 1 file

NetBSD — sys/uvm uvm_bio.c

change code to take advantage of direct map when available, avoiding the need
to map pages into kernel

this improves performance of UBC-based (read(2)/write(2)) I/O especially
for cached block I/O - sequential read on my NVMe goes from 1.7 GB/s to 1.9 GB/s
for non-cached, and from 2.2 GB/s to 5.6 GB/s for cached read

the new code is conditional now and off for now, so that it can be tested further;
can be turned on by adjusting ubc_direct variable to true

part of fix for PR kern/53124
Delta File
+223 -18 sys/uvm/uvm_bio.c
+223 -18 1 file

NetBSD — sys/arch/amd64/include pmap.h, sys/uvm uvm_page.c uvm_pmap.h

add experimental new function uvm_direct_process(), to allow of read/writes
of contents of uvm pages without mapping them into kernel, using
direct map or moral equivalent; pmaps supporting the interface need
to provide pmap_direct_process() and define PMAP_DIRECT

implement the new interface for amd64; I hear alpha and mips might be relatively
easy to add too, but I lack the knowledge

part of resolution for PR kern/53124

NetBSD — distrib/sets/lists/man mi, distrib/sets/lists/modules mi

Add an example "gpioirq" driver that demonstrates interrupts on GPIO
pins.  Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.

Based on initial work by Brad Spencer.
PR kern/51676

NetBSD — share/mk bsd.obj.mk

Prevent 'make obj' creating an objdir inside an objdir. This happens the
second time we call 'make obj' in /usr/src/rescue with MAKEOBJDIR set.
XXX: pullup-8
Delta File
+3 -1 share/mk/bsd.obj.mk
+3 -1 1 file

NetBSD — sys/arch/arm/broadcom bcm2835_gpio.c

Add support for interrupts on GPIO pins.  We support both FDT-driven
interrupt registration as well as the new GPIO interrupt interface.

Based on initial work by Brad Spencer.
PR kern/51676
Delta File
+420 -14 sys/arch/arm/broadcom/bcm2835_gpio.c
+420 -14 1 file

NetBSD — share/man/man4 gpio.4, sys/dev/gpio gpio.c gpiovar.h

Overhaul of GPIO interrupt support (that wasn't even used by anything).
- Remove the old, not-expressive-enough interrupt flags, and replace them
  with a new set of interrupt-specific flags that can express a wide
  variety of interrupt configurations (pos, neg, and double-edge, high
  and low level).
- Remove old, unused gpio_pin_ctl_intr() and gpio_pin_irqen(), and
  replace them with gpio_intr_establish(), gpio_intr_disestablish(),
  and gpio_intr_str().  Corresponding fields in the gpio_chipset_tag
  are also added for back-end controllers, which now handle the actual
  dispatch of GPIO interrupts in order to properly support level-triggered
  interrupts as well as interoperate properly with FDT-registered
  interrupts.

Piggy-back on the 8.99.18 version bump.

Inspired by initial work from Brad Spencer.
PR kern/51676

NetBSD — sys/sys param.h

bump version to 8.99.18 - emap removal
Delta File
+2 -2 sys/sys/param.h
+2 -2 1 file

NetBSD — sys/arch/x86/include pmap.h, sys/arch/x86/x86 pmap.c

Remove emap support. Unfortunately it never got to state where it would be
used and usable, due to reliability and limited & complicated MD support.

Going forward, we need to concentrate on interface which do not map anything
into kernel in first place (such as direct map or KVA-less I/O), rather
than making those mappings cheaper to do.
Delta File
+0 -410 sys/uvm/uvm_emap.c
+2 -67 sys/arch/x86/x86/pmap.c
+16 -20 sys/kern/sys_pipe.c
+1 -27 sys/uvm/uvm_extern.h
+2 -8 sys/uvm/uvm_init.c
+2 -3 sys/kern/kern_synch.c
+3 -7 3 files not shown
+26 -542 9 files

NetBSD — sys/uvm uvm_loan.c uvm_page.c

detect wraparound when bumping page wire_count and loan_count
Delta File
+3 -2 sys/uvm/uvm_loan.c
+3 -2 sys/uvm/uvm_page.c
+6 -4 2 files

NetBSD — sys/dev/pci if_ena.c if_enavar.h

Intermediate changes to make it further into actually at least compile, not nearly yet
complete. Committed so that others can possibly pick it off, as discussed
on tech-userlevel@ with Martin
Delta File
+219 -244 sys/dev/pci/if_ena.c
+57 -53 sys/dev/pci/if_enavar.h
+276 -297 2 files

NetBSD — sys/arch/amd64/conf ALL, sys/dev/pci files.pci

add config glue for ena(4)
Delta File
+8 -1 sys/dev/pci/files.pci
+3 -2 sys/arch/amd64/conf/ALL
+11 -3 2 files

NetBSD — sys/dev/pci if_ena.c if_enavar.h

Import source for FreeBSD Amazon Elastic Network Adapter (ENA) NIC driver
for reference. Needs a lot of work to port over.

Remapped filenames from FreeBSD to NetBSD structure:
sys/dev/ena/ena.c -> sys/dev/pci/if_ena.c
sys/dev/ena/ena.h -> sys/dev/pci/if_enavar.h

ena_sysctl.* not imported, if needed later will be merged into if_ena.c
Delta File
+3,953 -0 sys/dev/pci/if_ena.c
+404 -0 sys/dev/pci/if_enavar.h
+4,357 -0 2 files

NetBSD — sys/dev/pci if_ena.c if_enavar.h

Import source for FreeBSD Amazon Elastic Network Adapter (ENA) NIC driver
for reference. Needs a lot of work to port over.

Remapped filenames from FreeBSD to NetBSD structure:
sys/dev/ena/ena.c -> sys/dev/pci/if_ena.c
sys/dev/ena/ena.h -> sys/dev/pci/if_enavar.h

ena_sysctl.* not imported, if needed later will be merged into if_ena.c
Delta File
+3,953 -0 sys/dev/pci/if_ena.c
+404 -0 sys/dev/pci/if_enavar.h
+4,357 -0 2 files

NetBSD — sys/external/bsd/ena-com ena_plat.h

adapt for NetBSD
Delta File
+47 -56 sys/external/bsd/ena-com/ena_plat.h
+47 -56 1 file

NetBSD — sys/external/bsd/ena-com ena_com.c ena_admin_defs.h, sys/external/bsd/ena-com/ena_defs ena_admin_defs.h ena_eth_io_defs.h

Introduce HAL for Amazon Elastic Network Adapter (ENA)

This commit adds HAL (Hardware Abstraction Layer) code
for Amazon Elastic Network Adapter (ENA).

Version: 1.1.4.3

Obtained from: Amazon.com, Inc. via FreeBSD

NetBSD — sys/external/bsd/ena-com ena_com.c ena_admin_defs.h, sys/external/bsd/ena-com/ena_defs ena_admin_defs.h ena_eth_io_defs.h

Introduce HAL for Amazon Elastic Network Adapter (ENA)

This commit adds HAL (Hardware Abstraction Layer) code
for Amazon Elastic Network Adapter (ENA).

Version: 1.1.4.3

Obtained from: Amazon.com, Inc. via FreeBSD