Displaying 1 50 of 763,993 commits (0.092s)

NetBSD — crypto/external/bsd/openssl/lib/libcrypto/arch/sparc crypto.inc, crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64 crypto.inc

sparc has memcmp and cpuid

NetBSD — sys/external/bsd/drm2/dist/drm/i915 intel_display.c

Add more casts to make clang happy.

NetBSD — doc TODO.compat-module

Make a note about clockctl vs NTP
Delta File
+3 -1 doc/TODO.compat-module
+3 -1 1 file

NetBSD — sys/modules/clockctl Makefile

For clockctl module purposes, assume that NTP is available.

XXX Will revisit this later
Delta File
+3 -1 sys/modules/clockctl/Makefile
+3 -1 1 file

NetBSD — sys/dev clockctl.c

Don't compile NTP-related case if NTP is not available.

No HOOK required here since NTP is not modularized.
Delta File
+4 -2 sys/dev/clockctl.c
+4 -2 1 file

NetBSD — etc security

Convert uses of test (aka '[') to use only posix specified forms,
mostly just on general principle...   this resulted in one or two minor
code reformattings to keep 80 char limits - a few needless uses of
quotes ("no" ??) were also removed (sh is not C. strings are strings
without quotes around them...)
Delta File
+16 -13 etc/security
+16 -13 1 file

NetBSD — sys/dev/pad pad.c

Since we need an int paramater, and uio_resid is size_t cast it to int
to avoid warnings from the ever friendly compiler... (check that size if
in range was already made).
Delta File
+4 -4 sys/dev/pad/pad.c
+4 -4 1 file

NetBSD — sys/dev/pad pad.c

Open code min() so we don't need to find its prototype ...
Delta File
+4 -3 sys/dev/pad/pad.c
+4 -3 1 file

NetBSD — etc daily

Convert uses of test (ie: '[') to use only POSIX specified forms,
just on general principle (all but 3 of the changes are in code that
is commented out...)
Delta File
+8 -8 etc/daily
+8 -8 1 file

NetBSD — etc weekly

Convert to POSIX specified usage of test (even though it would probably
have never been an issue here, it is trivial..., and one of the two
uses that needed changing was (and still is) commented out anyway).
Delta File
+4 -4 etc/weekly
+4 -4 1 file

NetBSD — etc rc.subr

rc.subr can be used in install images (from sysinst) so must use only
POSIX specified test uses (no -a or -o).   Also, use printf always,
rather than echo (replace echo as a function using echo with one which
uses printf).
Delta File
+25 -10 etc/rc.subr
+25 -10 1 file

NetBSD — sys/kern compat_stub.c

Actually allocate/define the kern_proc_32 hook
Delta File
+6 -1 sys/kern/compat_stub.c
+6 -1 1 file

NetBSD — sys/modules Makefile

Restore compat_netbsd32 for amd64, too.
Delta File
+2 -1 sys/modules/Makefile
+2 -1 1 file

NetBSD — crypto/external/bsd/openssl/lib/libcrypto/arch/arm crypto.inc

we provide memcmp and rdtsc

NetBSD — sys/compat/netbsd32 netbsd32_kern_proc.c netbsd32_mod.c

Use a .h file to define the xxx_{init,fini} routines, and include
the compat_stub.h header to get the definition of the kern_proc_32
hook.

NetBSD — crypto/external/bsd/openssl/lib/libcrypto curve448.inc

Kill stack protector warnings.
XXX: need to understand why gcc complains; it is not obvious to me.

NetBSD — distrib/sets/lists/modules ad.arm ad.mips, sys/modules Makefile

Reenable the compat_netbsd32 module.  It is _NOT_ an all-version monolithic
module (as was compat_netbsd).

NetBSD — sys/external/bsd/libnv/dist nv_kern_netbsd.c

nvlist_copyin: fix the flag handling.

NetBSD — sys/dev/pad pad.c

pad(4) mixer has only 1 channel, so return EINVAL in the case other than 1.

This fixes the following strange output of mixerctl(1):

        outputs.master=255,0
        inputs.dac=255,0
Delta File
+141 -317 sys/dev/pad/pad.c
+141 -317 1 file

NetBSD — sys/dev/fdt fdtbus.c

Support rescan and child detachment
Delta File
+30 -5 sys/dev/fdt/fdtbus.c
+30 -5 1 file

NetBSD — sys/external/bsd/libnv/dist nv_kern_netbsd.c nv_impl.h

libnv: add a wrapper around free(9) since in FreeBSD it can take NULL.

NetBSD — doc CHANGES-8.1

Tickets #1020 - #1029, #1031 - #1035
Delta File
+95 -1 doc/CHANGES-8.1
+95 -1 1 file

NetBSD — sys/dev/pci files.pci

Pull up following revision(s) (requested by nakayama in ticket #1035):

        sys/dev/pci/files.pci: revision 1.403

ixg and ixv depend on mii and mii_phy.
Delta File
+3 -3 sys/dev/pci/files.pci
+3 -3 1 file

NetBSD — sys/arch/xen/xen xbdback_xenbus.c

Apply patch, requested by manu in ticket #1034:

Avoid sleeping with a spin lock held (solved differently on HEAD).
Delta File
+7 -6 sys/arch/xen/xen/xbdback_xenbus.c
+7 -6 1 file

NetBSD — sys/arch/pmax/pmax dec_3min.c

Pull up following revision(s) (requested by tsutsui in ticket #1033):

        sys/arch/pmax/pmax/dec_3min.c: revision 1.74

Fix hangup after framebuffers are attached on 3MIN.  PR port-pmax/53611

Ok'ed by mrg@.  Should be pulled up to netbsd-7 and netbsd-8.
Delta File
+3 -8 sys/arch/pmax/pmax/dec_3min.c
+3 -8 1 file

NetBSD — usr.sbin/sysinst/arch/sgimips md.c

Pull up following revision(s) (requested by tsutsui in ticket #1032):

        usr.sbin/sysinst/arch/sgimips/md.c: revision 1.5
        usr.sbin/sysinst/arch/sgimips/md.c: revision 1.6

PR port-sgimips/53583: fetch kernel name always before using it.

Make the struct utsname local to avoid future similar issues.
Make sure to install a bootloader even on upgrade installation.

 -

Fixes another part of port-sgimips/53583.
Should be pulled up (with rev 1.5) to netbsd-7 and netbsd-8.
Delta File
+12 -5 usr.sbin/sysinst/arch/sgimips/md.c
+12 -5 1 file

NetBSD — sys/kern kern_synch.c

Pull up following revision(s) (requested by bouyer in ticket #1031):

        sys/kern/kern_synch.c: revision 1.317

In mi_switch(), also call pserialize_switchpoint() if we're not switching
to another lwp, as proposed on
http://mail-index.netbsd.org/tech-kern/2018/07/20/msg023709.html

Without it, on a SMP machine with few processes running (e.g while
running sysinst), pserialize could hang for a long time until all
CPUs got a LWP to run (or, eventually, forever).

Tested on Xen domUs with 4 CPUs, and on a 64-threads AMD machine.
Delta File
+3 -2 sys/kern/kern_synch.c
+3 -2 1 file

NetBSD — sys/dev/pci/ixgbe ixgbe.c

Pull up following revision(s) (requested by msaitoh in ticket #1029):

        sys/dev/pci/ixgbe/ixgbe.c: revision 1.166

- Fix a bug that Denverton accessed wrong register in
   ixgbe_setup_low_power_mode(). The location of some registers in Denverton
   were changed. The GRC register is one of them, so use IXGBE_GRC_BY_MAC(hw)
   instead of IXGBE_GRC.

- ixgbe_check_wol_support() tests the capability of WOL, but the sysctl
   knobs for WOL were added only for IXGBE_DEV_ID_X550EM_X_10G_T. Add the
   knobs when adapter->wol_support is not 0.

XXX pullup-8
Delta File
+4 -4 sys/dev/pci/ixgbe/ixgbe.c
+4 -4 1 file

NetBSD — sys/dev/pci pci_subr.c pcireg.h

Pull up following revision(s) (requested by msaitoh in ticket #1028):

        sys/dev/pci/pci_subr.c: revision 1.203
        sys/dev/pci/pcireg.h: revision 1.140

  Add ATS Relaxed Ordering supported bit described in Address Translation
Relaxed Ordering ECN.
Delta File
+3 -2 sys/dev/pci/pci_subr.c
+2 -1 sys/dev/pci/pcireg.h
+5 -3 2 files

NetBSD — sys/dev/pci if_wm.c

Pull up following revision(s) (requested by msaitoh in ticket #1027):
        sys/dev/pci/if_wm.c: revision 1.586
        sys/dev/pci/if_wm.c: revision 1.587
        sys/dev/pci/if_wm.c: revision 1.588

- Split txdrop evcnt into pcqdrop and descdrop.
- Simplify evcnt name by removing duplicated "tx" or "rx".
- s/tu/underrun/

- Try m_defrag() to reduce the number of DMA segment if bus_dmamap_load_mbuf()
   returned EFBIG. When m_defrag() is called, txqNNdefrag event counter is
   incremented. If the 2nd try of bus_dmamap_load_mbuf() failed, txqNNtoomanyseg
   event counter is incremented.

- Reduce the max number of DMA segments from 256 to 64 (it's the same value
   as other BSD's (EM_MAX_SCATTER) and more than before if_wm.c rev. 1.75's
   value (40)) because we do m_defrag() now.

  Fix comment.
Delta File
+116 -80 sys/dev/pci/if_wm.c
+116 -80 1 file

NetBSD — sys/arch/x86/include specialreg.h, sys/arch/x86/x86 procfs_machdep.c

Pull up following revision(s) (requested by msaitoh in ticket #1026):

        sys/arch/x86/x86/procfs_machdep.c: revision 1.24
        sys/arch/x86/include/specialreg.h: revision 1.130

OK'd by maxv:
- Add cpuid 7 edx L1D_FLUSH bit.
- Add IA32_ARCH_SKIP_L1DFL_VMENTRY bit.
- Add IA32_FLUSH_CMD MSR.

NetBSD — sys/kern subr_autoconf.c kern_drvctl.c, sys/sys systm.h device.h

Pull up following revision(s) (requested by mrg in ticket #1025):

        sys/kern/subr_autoconf.c: revision 1.263
        sys/kern/kern_drvctl.c: revision 1.44
        sys/sys/device.h: revision 1.156
        sys/sys/systm.h: revision 1.278

- move export for devmon_insert_vec into sys/device.h.
- export root_is_mounted for future USB RB_ASKNAME hack.
- make some things in subr_autoconf.c static
- move device_printf() prototype out from the middle of two sets of
  aprint_*() prototypes.

NetBSD — sys/ddb db_command.c, sys/kern subr_lockdebug.c

Pull up following revision(s) (requested by mrg in ticket #1024):

        sys/ddb/db_command.c: revision 1.157
        sys/ddb/db_command.c: revision 1.158
        sys/kern/subr_lockdebug.c: revision 1.67

always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.

adjust lockdebug_abort() to ignore problems after ld_panic is set

so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.

call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.

this mimics how reboot(2) ends up calling cpu_reboot().
Delta File
+16 -15 sys/kern/subr_lockdebug.c
+4 -4 sys/ddb/db_command.c
+20 -19 2 files

NetBSD — sys/dev/scsipi scsipi_verbose.c

Pull up following revision(s) (requested by mrg in ticket #1023):

        sys/dev/scsipi/scsipi_verbose.c: revision 1.34

don't print a blank line that ends up in logs and console output.
Delta File
+3 -5 sys/dev/scsipi/scsipi_verbose.c
+3 -5 1 file

NetBSD — sys/dev/pci hdaudio_pci.c

Pull up following revision(s) (requested by mrg in ticket #1022):

        sys/dev/pci/hdaudio_pci.c: revision 1.9
        sys/dev/pci/hdaudio_pci.c: revision 1.10

use pci_mapreg_type() instead of assuming PCI_MAPREG_TYPE_MEM.
suggested by riastradh@.

fixes hdaudio on thinkpad P51 where the registers are mapped
over 4GB range.  probably fixes intel X10-based systems that
map hdaudio high as well, but i was able to work around that
in the BIOS.  not so for the P51.

XXX: pullup-7, pullup-8.

use pa_dmat64 if pci_dma64_available().
Delta File
+11 -6 sys/dev/pci/hdaudio_pci.c
+11 -6 1 file

NetBSD — sys/dev/hpc hpckbd.c

Pull up following revision(s) (requested by rin in ticket #1021):

        sys/dev/hpc/hpckbd.c: revision 1.33
        sys/dev/hpc/hpckbd.c: revision 1.34
        sys/dev/hpc/hpckbd.c: revision 1.35

Apply workaround introduced in r1.31 to hpcmips.

Fix kernel crash when console is attached. Now, my MC/R550 boots multiuser.
Thanks Masahiko Ito for encouraging me to do bisection to find this out.
XXX pullup-8, pullup-7

Fix comment formatting in previous.

Clarify the comment in the "unconst" version of hpckbd_keymap_setup.
Both sh3 (P1) and mips (kseg0) have the kernel directly mapped.
Delta File
+9 -7 sys/dev/hpc/hpckbd.c
+9 -7 1 file

NetBSD — usr.bin/printf printf.c

Pull up following revision(s) (requested by kre in ticket #1020):
        usr.bin/printf/printf.c: revision 1.46

A truly ancient bug found by Edgar Fuss

When printf is running builtin in a sh, global vars aren't reset to
0 between invocations.   This affects "rval" which remembers state
from a previous %b \c and thereafter always exits after the first
format conversion, until we get a conversion that generates an
error (which resets the flag almost by accident)

        printf %b abc\\c
        abc                                (no \n)
        printf %s%s hello world
        hello                                (no \n, of course, no world ...)
        printf %s%s hello world
        hello
        printf %s%s hello world
        hello
        printf %d hello
        printf: hello: expected numeric value
        0                                (no \n)
        printf %s%s hello world
        helloworld                        (no \n, and we are back!)


    [3 lines not shown]
Delta File
+4 -2 usr.bin/printf/printf.c
+4 -2 1 file

NetBSD — sys/arch/i386/i386 machdep.c cpufunc.S, sys/arch/i386/include segments.h

Fix for i386, functionality intended in:
http://mail-index.netbsd.org/source-changes/2018/09/23/msg099357.html

This should fix the build for both GENERIC and XEN3PAE_DOM0

This has not been boot tested on native or xen3pae

Notes: pmap_changeprot_local() seems to be x86_64 only.
I was a bit surprised by this initially, but I suspect that the table
protections are enforced via ring0/ring1 fencing rather than page protections

the gdt registration code in i386 is still messy. I will leave it as is
for now - to avoid a rabbit hole.

NetBSD — crypto/external/bsd/openssl/lib Makefile

oops forgot to commit (add libcryptotest)

NetBSD — doc TODO.smpnet

remove references to isdn
Delta File
+1 -3 doc/TODO.smpnet
+1 -3 1 file

NetBSD — doc CHANGES

note removal of isdn
Delta File
+4 -1 doc/CHANGES
+4 -1 1 file

NetBSD — distrib/sets/lists/base shl.mi, distrib/sets/lists/comp mi

merge openssl-1.1.1

NetBSD — tests/crypto/libcrypto t_ciphers.sh Makefile.inc, tests/crypto/libcrypto/evp Makefile

Merge openssl-1.1.1

NetBSD — crypto/external/bsd/openssl/bin Makefile, crypto/external/bsd/openssl/dist Configure CHANGES

merge conflicts

NetBSD — crypto/external/bsd/openssl/dist INSTALL .travis.yml, crypto/external/bsd/openssl/dist/.github PULL_REQUEST_TEMPLATE.md

 OpenSSL CHANGES
 _______________

 This is a high-level summary of the most important changes.
 For a full list of changes, see the git commit log; for example,
 https://github.com/openssl/openssl/commits/ and pick the appropriate
 release branch.

 Changes between 1.1.0i and 1.1.1 [11 Sep 2018]

  *) Add a new ClientHello callback. Provides a callback interface that gives
     the application the ability to adjust the nascent SSL object at the
     earliest stage of ClientHello processing, immediately after extensions have
     been collected but before they have been processed. In particular, this
     callback can adjust the supported TLS versions in response to the contents
     of the ClientHello
     [Benjamin Kaduk]

  *) Add SM2 base algorithm support.
     [Jack Lloyd]

  *) s390x assembly pack: add (improved) hardware-support for the following
     cryptographic primitives: sha3, shake, aes-gcm, aes-ccm, aes-ctr, aes-ofb,
     aes-cfb/cfb8, aes-ecb.
     [Patrick Steuer]

    [439 lines not shown]

NetBSD — crypto/external/bsd/openssl/dist Configure CHANGES, crypto/external/bsd/openssl/dist/.github PULL_REQUEST_TEMPLATE.md

 OpenSSL CHANGES
 _______________

 This is a high-level summary of the most important changes.
 For a full list of changes, see the git commit log; for example,
 https://github.com/openssl/openssl/commits/ and pick the appropriate
 release branch.

 Changes between 1.1.0i and 1.1.1 [11 Sep 2018]

  *) Add a new ClientHello callback. Provides a callback interface that gives
     the application the ability to adjust the nascent SSL object at the
     earliest stage of ClientHello processing, immediately after extensions have
     been collected but before they have been processed. In particular, this
     callback can adjust the supported TLS versions in response to the contents
     of the ClientHello
     [Benjamin Kaduk]

  *) Add SM2 base algorithm support.
     [Jack Lloyd]

  *) s390x assembly pack: add (improved) hardware-support for the following
     cryptographic primitives: sha3, shake, aes-gcm, aes-ccm, aes-ctr, aes-ofb,
     aes-cfb/cfb8, aes-ecb.
     [Patrick Steuer]

    [439 lines not shown]

NetBSD — sys/compat/netbsd32 netbsd32.h

The kern_proc_32 hook is defined in non-compat code.  Don't redefine.
Delta File
+1 -8 sys/compat/netbsd32/netbsd32.h
+1 -8 1 file

NetBSD — sys/compat/netbsd32 netbsd32_kern_proc.c, sys/kern kern_proc.c

Use the proper test: _RUMPKERNEL vs _RUMP_KERNEL

NetBSD — sys/compat/netbsd32 netbsd32_kern_proc.c, sys/kern kern_proc.c

This hook doesn't exist for _RUMPSERVER

NetBSD — sys/compat/netbsd32 netbsd32_mod.c

The kern_proc_32 hook is in the main kernel, so don't make another
one here.