Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (4h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 07:41:16 UTC Now

2017-10-03 07:32:53 UTC MAIN commitmail json YAML

Pull out ipsec_fill_saidx_bymbuf (NFC)

(ozaki-r)

2017-10-03 06:55:04 UTC MAIN commitmail json YAML

clarify that alignment is the number of bytes to align to.

(mlelstv)

2017-10-03 03:12:29 UTC MAIN commitmail json YAML

Fix a problem that mailbox interrupt never occured. Bit definitions of PF's
interrupt related registers and VF's interrupt registers a completely
different. VF's registers (VF{EICR, EICS, EIMS, EIMC, EIAC, EIAM})'s bits are
just MSI-X vector bitmask, so read/write correctly. Read VTEICR instead of
VTEICS in ixv_msix_mbx (note that "PF" has a errata that EICS is required to
read the cause). Don't write IXGBE_VTEICR in ixv_msix_mbx() because we use
auto-clear for mailbox interrupt.

We have gotten link status change by timer instead of interrupt before
this fix...

(msaitoh)

2017-10-03 02:55:37 UTC MAIN commitmail json YAML

Make mailbox statistic counters evcnt(9).
Example:
> ixv0 message TXs                                            23    0 misc
> ixv0 message RXs                                          2911    0 misc
> ixv0 ACKs                                                  23    0 misc
> ixv0 REQs                                                  22    0 misc
> ixv0 RSTs                                                    0    0 misc

(msaitoh)

2017-10-03 01:43:03 UTC MAIN commitmail json YAML

2017-10-02 22:51:15 UTC MAIN commitmail json YAML

Add operating points for OrangePi Plus2E and enable cpufreq scaling.

(jmcneill)

2017-10-02 22:50:29 UTC MAIN commitmail json YAML

add cpufreqdt and sy8106a

(jmcneill)

2017-10-02 22:49:38 UTC MAIN commitmail json YAML

Add generic DT cpu frequency and voltage scaling driver.

(jmcneill)

2017-10-02 22:48:02 UTC MAIN commitmail json YAML

Add driver for Silergy SY8106A regulator

(jmcneill)

2017-10-02 22:41:25 UTC MAIN commitmail json YAML

Set iflg-rwc for sun6i-a31 compatible devices.

(jmcneill)

2017-10-02 22:32:04 UTC MAIN commitmail json YAML

2017-10-02 22:21:31 UTC MAIN commitmail json YAML

2017-10-02 22:19:45 UTC MAIN commitmail json YAML

2017-10-02 22:14:33 UTC MAIN commitmail json YAML

2017-10-02 22:04:51 UTC MAIN commitmail json YAML

Include time.h for time.

XXX Doesn't build with newer zlib, remove?

(joerg)

2017-10-02 22:03:11 UTC MAIN commitmail json YAML

Include time.h for time. Drop sys/types.h and expect basic working
system headers.

(joerg)

2017-10-02 22:02:05 UTC MAIN commitmail json YAML

Really don't include ioctl code for tools build.

(joerg)

2017-10-02 21:57:59 UTC MAIN commitmail json YAML

Include time.h for time(2). Sort.

(joerg)

2017-10-02 21:55:35 UTC MAIN commitmail json YAML

Include time.h for time(2). Sort.

(joerg)

2017-10-02 21:53:55 UTC MAIN commitmail json YAML

unistd.h for close.

(joerg)

2017-10-02 19:23:16 UTC MAIN commitmail json YAML

Add a machdep.tsc_user_enable sysctl, to enable/disable the rdtsc
instruction in usermode. It defaults to enabled.

(maxv)

2017-10-02 17:48:01 UTC MAIN commitmail json YAML

Fix (once again) Xen boot

(bouyer)

2017-10-02 15:40:00 UTC MAIN commitmail json YAML

Add sanity check: passed -x but no xsrc directory

(maya)

2017-10-02 13:47:58 UTC MAIN commitmail json YAML

Add definitions required for VIDIOC_ENUM_FRAMESIZES and
VIDIOC_ENUM_FRAMEINTERVALS ioctl commands, required to build Firefox's
webrtc support.

From Robert Swindells in PR# kern/52588

(jmcneill)

2017-10-02 13:37:05 UTC netbsd-8 commitmail json YAML

2017-10-02 13:33:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #297):
sys/net/if_bridge.c: revision 1.135
Add curlwp_bind to bridge_input for psref
It can be called in a thread context via tap (tap_dev_write).
Fix PR kern/52587

(martin)

2017-10-02 13:21:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #296):
tests/include/sys/t_list.c: revision 1.1
tests/include/sys/t_list.c: revision 1.2
tests/include/sys/Makefile: revision 1.13
share/man/man3/queue.3: revision 1.59
distrib/sets/lists/debug/mi: revision 1.226
sys/sys/queue.h: revision 1.71
distrib/sets/lists/tests/mi: revision 1.764
Fix the LIST_MOVE macro to properly update the back-pointer of the
first entry in the list.

Note that the signature of LIST_MOVE() macro also changes (it grew an
additional argument).  This should not require a kernel version bump
since nothing appears to use LIST_MOVE() other than the recently added
atf test.

Update for new signature for LIST_MOVE()

Add a new minimalistic test for LIST_MOVE to verify that the list's
first entry's prev pointer correctly points to the listhead.
This test will fail until a fix for LIST_MOVE is checked in (soon).

Add new LIST_MOVE test to sets list.

Update recently-added test to adapt to new signature of LIST_MOVE()

add t_list test.

(martin)

2017-10-02 13:01:11 UTC MAIN commitmail json YAML

2017-10-02 12:55:10 UTC MAIN commitmail json YAML

Wording improvements for previous from maxv.

(wiz)

2017-10-02 11:02:19 UTC MAIN commitmail json YAML

2017-10-02 10:08:11 UTC MAIN commitmail json YAML

un-ifdef sgi. NFC

(maya)

2017-10-02 08:24:17 UTC MAIN commitmail json YAML

Add cross reference to tac(1).

(wiz)

2017-10-02 08:23:23 UTC MAIN commitmail json YAML

Sort options.

-qv are not specific to -r, so separate them.
Add -q and -v descriptions to the general option table.

(wiz)

2017-10-02 07:40:25 UTC MAIN commitmail json YAML

Add curlwp_bind to bridge_input for psref

It can be called in a thread context via tap (tap_dev_write).

Fix PR kern/52587

(ozaki-r)

2017-10-02 07:06:15 UTC MAIN commitmail json YAML

Allow maxused to be an odd number of bytes.  This makes single byte
conversions work for the test described in the PR.

Addresses another part of PR kern/52586.

(nat)

2017-10-02 06:37:04 UTC MAIN commitmail json YAML

White-space - NFCI

(pgoyette)

2017-10-02 06:06:43 UTC MAIN commitmail json YAML

Improve LINEAR_LINEARN macro - inparticular BE/LE conversions.

Addresses part of PR kern/52586 analyzed and reported by isaki@.

(nat)

2017-10-02 05:16:41 UTC MAIN commitmail json YAML

Update for new signature for LIST_MOVE()

(pgoyette)

2017-10-02 05:14:29 UTC MAIN commitmail json YAML

Update recently-added test to adapt to new signature of LIST_MOVE()

(pgoyette)

2017-10-02 05:13:44 UTC MAIN commitmail json YAML

Fix the LIST_MOVE macro to properly update the back-pointer of the
first entry in the list.

Note that the signature of LIST_MOVE() macro also changes (it grew an
additional argument).  This should not require a kernel version bump
since nothing appears to use LIST_MOVE() other than the recently added
atf test.

(pgoyette)

2017-10-02 04:16:32 UTC MAIN commitmail json YAML

Add new LIST_MOVE test to sets list.

(pgoyette)

2017-10-02 04:15:56 UTC MAIN commitmail json YAML

Add a new minimalistic test for LIST_MOVE to verify that the list's
first entry's prev pointer correctly points to the listhead.

This test will fail until a fix for LIST_MOVE is checked in (soon).

(pgoyette)

2017-10-02 01:55:40 UTC MAIN commitmail json YAML

only get vtag when we have vtag like the other drivers.

like if_bge.c:1.312 and if_stge.c:1.64.
fixed by s-yamaguchi@IIJ, thanks.

(knakahara)

2017-10-02 01:03:31 UTC MAIN commitmail json YAML

2017-10-02 00:55:55 UTC MAIN commitmail json YAML

PR port-macppc/52564: revert previous and use a different workaround.

The .eh_frame has nothing to do with it, especially since it's not
generated now anyway.  The problem is that

  . = (. + 0x0FFF) & 0xFFFFF000;

now seems to cause binutils to pad the preceding section, and when
that happens to be .text the powermac ofw is unhappy for whatever
reason.

For now provide .pad section that absorbs the padding as a workaround.
The binutils problem still needs to be looked into.

(uwe)

2017-10-01 22:59:19 UTC MAIN commitmail json YAML

PR/52590: David H. Gutteridge: Minor documentation improvements

(christos)

2017-10-01 22:35:23 UTC MAIN commitmail json YAML

Remove some unnecessary words.

(kre)

2017-10-01 21:49:20 UTC MAIN commitmail json YAML

Ensure proper use of sc_opens (play back) and sc_recopens (recording).
Fix logic for /dev/sound so audiosetinfo is only called once.

These changes are to ensure that init_output/input is only called once for
the respective function play back or recording.  For multiple recording or
plack back streams init_input/output is only called once fot the first
play/rec stream.

This addresses PR kern/52580, PR kern/52581 and PR kern/52582 analyzed and
reported by isaki@.

(nat)

2017-10-01 20:49:25 UTC MAIN commitmail json YAML

Add arguments to tail:
  -q: suppress filename headers when multiple files are used
  -v: print filename headers even when only one file is used

head already supports the same arguments, which originated in GNU head.
GNU tail also has the same flags.

Add tac, a hard link to 'tail -rq'.
Prints a file in reverse line order.

Similar to GNU tac, but lacking any options.

Add accompanying documentation.

(maya)

2017-10-01 17:14:40 UTC netbsd-7 commitmail json YAML

1501, 1502, 1512

(snj)

2017-10-01 17:14:24 UTC netbsd-7-1 commitmail json YAML

2017-10-01 17:14:14 UTC netbsd-7-0 commitmail json YAML

2017-10-01 17:12:41 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1502):
sys/dev/usb/usb.c: revision 1.166
Add a missing break that should have been included in revision 1.163.
Spotted by "sc dying" and reported on current-users

(snj)

2017-10-01 17:07:04 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1501):
etc/MAKEDEV.tmpl: revision 1.186 via patch
veriexec is enabled by default in most kernel configs but the lack of device
node results in a non working config, despite following manual to get setup.
Remove a step for the user by creating a device node for veriexec by
default.
ok mrg jakllsch

(snj)

2017-10-01 17:01:47 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1512):
sys/arch/i386/i386/i386_trap.S: revision 1.12
Pfff, use %ss and not %ds. The latter is controlled by userland, the former
contains the kernel value (flat); FreeBSD fixed this too a few weeks ago.

(snj)

2017-10-01 17:01:46 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1512):
sys/arch/i386/i386/i386_trap.S: revision 1.12
Pfff, use %ss and not %ds. The latter is controlled by userland, the former
contains the kernel value (flat); FreeBSD fixed this too a few weeks ago.

(snj)

2017-10-01 17:01:44 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1512):
sys/arch/i386/i386/i386_trap.S: revision 1.12
Pfff, use %ss and not %ds. The latter is controlled by userland, the former
contains the kernel value (flat); FreeBSD fixed this too a few weeks ago.

(snj)

2017-10-01 16:45:00 UTC netbsd-8 commitmail json YAML

2017-10-01 16:37:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #295):
lib/libpthread/pthread_attr.c: revision 1.18
pthread__attr_init_private:
malloc+memset -> calloc. Also initialize all values to the proper
defaults.
This fixes the "rustc panic" discussed on pkgsrc-users.
OK: joerg

(snj)

2017-10-01 15:05:10 UTC MAIN commitmail json YAML

Disable poorly implemented tx interrupt mitigation code, fix checksum
offload support.

(jmcneill)

2017-10-01 10:45:49 UTC MAIN commitmail json YAML

Shuffle attach order so CCUs attach before GPIO controllers

(jmcneill)

2017-10-01 10:20:40 UTC netbsd-8 commitmail json YAML

2017-10-01 10:20:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #294):
sys/uvm/uvm_map.c: revision 1.352
Fix user-triggerable kernel crash as reported in PR kern/52573 (from
Bruno Haible).

(martin)

2017-10-01 09:45:16 UTC MAIN commitmail json YAML

Fix typo in comment

(ryoon)

2017-10-01 07:18:39 UTC MAIN commitmail json YAML

- More fixes to use 64bit offsets.
- Compute left-over fragments also for FFS2.

(mlelstv)

2017-10-01 05:15:52 UTC MAIN commitmail json YAML

we support the drive bay sensor now

(macallan)

2017-10-01 05:13:53 UTC MAIN commitmail json YAML

2017-10-01 05:12:18 UTC MAIN commitmail json YAML

attach to ds1775 which was already more or less supported as DS75
also, get sensor name/location from OpenFirmware if we know how

(macallan)

2017-10-01 01:45:02 UTC MAIN commitmail json YAML

Fix user-triggerable kernel crash as reported in PR kern/52573 (from
Bruno Haible).

XXX Pull-up to netbsd-8

(pgoyette)

2017-09-30 21:47:12 UTC MAIN commitmail json YAML

cast reduction, NFC.

(christos)

2017-09-30 21:32:32 UTC jdolecek-ncq commitmail json YAML

must drop channel lock before calling ata_dmaerr() to avoid 'locking against
myself' in case of consecutive errors from ata_reset_channel() called via
ata_downgrade_mode()

(jdolecek)

2017-09-30 18:32:52 UTC MAIN commitmail json YAML

Fix the syntax (pointed out by David H. Gutteridge on source-changes-d).
Fix the build...

(kre)

2017-09-30 15:25:16 UTC MAIN commitmail json YAML

Use int64_t for loop index so we don't iterate forever/until trap.

(riastradh)

2017-09-30 13:39:41 UTC MAIN commitmail json YAML

Remove Tn. Comment out xref to non-existent udsir(4).

(wiz)

2017-09-30 13:39:00 UTC MAIN commitmail json YAML

End sentence with a dot.

(wiz)

2017-09-30 13:14:06 UTC MAIN commitmail json YAML

Correct document date.
Add uberry(4) to miscellaneous section.

(sevan)

2017-09-30 13:01:50 UTC MAIN commitmail json YAML

Remove comment about BlackBerry devices which are not relevant here.

(sevan)

2017-09-30 12:59:37 UTC MAIN commitmail json YAML

Include port in the kernel configuration declaration.

(sevan)

2017-09-30 12:49:21 UTC MAIN commitmail json YAML

2017-09-30 12:48:58 UTC MAIN commitmail json YAML

2017-09-30 12:35:48 UTC MAIN commitmail json YAML

use bootspace (this branch is never taken)

(maxv)

2017-09-30 12:29:58 UTC MAIN commitmail json YAML

Declare pmap_remap_global, and map the four regions independently with
bootspace.

(maxv)

2017-09-30 12:29:05 UTC MAIN commitmail json YAML

Include uipad(4) in miscellaneous section.

(sevan)

2017-09-30 12:27:26 UTC MAIN commitmail json YAML

2017-09-30 12:12:29 UTC MAIN commitmail json YAML

2017-09-30 12:01:56 UTC MAIN commitmail json YAML

2017-09-30 11:43:57 UTC MAIN commitmail json YAML

Add a bootspace structure. It describes the physical and virtual space
layout created by the early kernel bootstrap code. Start using it, and
eliminate several references to KERNBASE and other global symbols. While
here clean up xen-i386, it's really tiring.

(maxv)

2017-09-30 10:29:10 UTC MAIN commitmail json YAML

2017-09-30 10:28:09 UTC MAIN commitmail json YAML

TX DMA status registers start at 0xB0 not 0x80. NFC since these are unused.

(jmcneill)

2017-09-30 09:03:38 UTC MAIN commitmail json YAML

Add commented-out ident lines to the XEN3_DOM{0,U} kernel config files
for consistency with other config files.

OK bouyer@

(pgoyette)

2017-09-30 05:37:55 UTC MAIN commitmail json YAML

Improve logic in audio_initbufs().  No functional changes intended.

(isaki)

2017-09-30 04:07:04 UTC MAIN commitmail json YAML

Avoid magic numbers and give appropriate names.

(isaki)

2017-09-30 03:34:04 UTC MAIN commitmail json YAML

use 7450 HID0 bitmask on 7447A and 7448 as well

(macallan)

2017-09-29 22:38:18 UTC MAIN commitmail json YAML

provide crude but working fan control based on sensor readings

(macallan)

2017-09-29 22:05:54 UTC MAIN commitmail json YAML

2017-09-29 21:48:17 UTC MAIN commitmail json YAML

Mention that linux and linux32 emulations are not loaded automatically
for modular kernels, and mention how to enable that. Bump date.

(wiz)

2017-09-29 21:18:28 UTC MAIN commitmail json YAML

2017-09-29 20:07:40 UTC jdolecek-ncq commitmail json YAML

remove <sys/param.h> include again, atavar.h no longer needs it

(jdolecek)

2017-09-29 20:05:07 UTC jdolecek-ncq commitmail json YAML

introduce ATA_BSIZE and use it instead of DEV_BSIZE for get params and
recovery, where they are by spec 512 bytes and not negotiable

(jdolecek)

2017-09-29 17:53:57 UTC MAIN commitmail json YAML

DEBUG only changes (non-debug, ie: normal, shell unaffected)
Add a little extra info in a few of the trace messages.

(kre)

2017-09-29 17:47:29 UTC MAIN commitmail json YAML

2017-09-29 17:27:26 UTC MAIN commitmail json YAML

Use %ju and (intmax_t) to unbreak i386 build.

(kre)

2017-09-29 17:08:00 UTC MAIN commitmail json YAML

Remove compat_linux from the autoload list, and add a sysctl to enable or
disable it - which defaults to disabled. The following command is now
required to use linux binaries:

sysctl -w emul.linux.enabled=1

After a discussion on tech-kern@. All the other ideas to reduce the attack
surface have drawbacks, and this sysctl seems to be the best option.

(maxv)

2017-09-29 14:59:43 UTC MAIN commitmail json YAML

humanize printing of ip addresses

(christos)

2017-09-29 14:17:47 UTC MAIN commitmail json YAML

get sensor descriptions from OpenFirmware if we know how
this needs to be generalized

(macallan)

2017-09-29 14:15:42 UTC MAIN commitmail json YAML

pass the right device node to i2c devices

(macallan)

2017-09-29 13:19:57 UTC MAIN commitmail json YAML

Add declaration. build fix

sorry, I forgot to commit this file.

(maya)

2017-09-29 12:57:05 UTC MAIN commitmail json YAML

Split the status printing routines (one for NetBSD and one for Linux) for
simplicity (Robert Swindelis)

(christos)

2017-09-29 12:42:37 UTC MAIN commitmail json YAML

2017-09-29 10:22:36 UTC MAIN commitmail json YAML

Run both tests (rather than rumptest_threadjoin twice)

(maya)

2017-09-29 08:46:47 UTC MAIN commitmail json YAML

Remove outdated BUGS entry - vnd does work on sparse files.

(thanks hannken in 2011-06-29)

(maya)

2017-09-29 03:17:18 UTC MAIN commitmail json YAML

Fix build

sys/arch/x86/x86/cpu.c:920:20: error: 'pmap_largepages' undeclared (first use in this function)
  smp_data.large = (pmap_largepages != 0);
                    ^

(ozaki-r)

2017-09-29 00:04:33 UTC MAIN commitmail json YAML

PR/52578: Benjamin M. Schwartz: sync the internal copy of res_nquery for
getaddrinfo, with the real version so that we handle EDNS fallback.

(christos)

2017-09-28 23:32:01 UTC MAIN commitmail json YAML

PR/52578: Benjamin M. Schwartz Set the AD bit when DNSSEC is enabled
(RFC 6840 Section 5.7).

(christos)

2017-09-28 20:34:23 UTC jdolecek-ncq commitmail json YAML

add sysctls to control if NCQ is being used, and how many max tags;
I have a drive which is significantly slower with NCQ than non-NCQ,
and it's generally useful to have this easily overridable

while here, also move the frequency settings for WD_CHAOS_MONKEY
to a sysctl and make it per-drive

(jdolecek)

2017-09-28 20:25:45 UTC jdolecek-ncq commitmail json YAML

add note about DEV_BSIZE use

(jdolecek)

2017-09-28 18:08:04 UTC MAIN commitmail json YAML

Also report versions of tcpdump, libpcap, and wpa_supplicant

Bump sys_info version to 20170928

(agc)

2017-09-28 17:48:20 UTC MAIN commitmail json YAML

Pack the useful variables at the end of the trampoline page; eliminates
a hard-coded dependency on KERNBASE. Note that I cannot test this change
on i386 right now, but it seems fine enough.

(maxv)

2017-09-28 17:35:08 UTC MAIN commitmail json YAML

Clean up, and initialize the lwp0 fields in init_x86_64.

(maxv)

2017-09-28 17:21:42 UTC MAIN commitmail json YAML

- sanitize key debugging so that we don't print extra newlines or unassociated
  debugging messages.
- remove unused functions and make internal ones static
- print information in one line per message

(christos)

2017-09-28 17:07:20 UTC MAIN commitmail json YAML

Fix the most obvious integer overflow errors which can lead to superblock
corruption. Thanks to riastradh@

For example:

# df /data
Filesystem    1K-blocks      Used      Avail %Cap Mounted on
/dev/ccd0d  -19974939099004 -19982708701532 -737868756431824584  0% /data

# dumpfs -s /dev/rccd0d
file system: /dev/rccd0d
format  FFSv2
endian  little-endian
location 65536  (-b 128)
magic  19540119        time    Thu Sep 28 13:18:10 2017
superblock location    65536  id      [ 595fa4a5 3363fe37 ]
cylgrp  dynamic inodes  FFSv2  sblock  FFSv2  fslevel 5
nbfree  242773148      ndir    211185  nifree  650798800      nffree
215448
ncg    13933  size    2647654400      blocks  -4993734774751
bsize  32768  shift  15      mask    0xffff8000
fsize  4096    shift  12      mask    0xfffff000
frag    8      shift  3      fsbtodb 3
bpg    23754  fpg    190032  ipg    46848
minfree 5%      optim  time    maxcontig 2    maxbpg  4096
symlinklen 120  contigsumsize 2
maxfilesize 0x000800800805ffff
nindir  4096    inopb  128
avgfilesize 16384      avgfpdir 64
sblkno  24      cblkno  32      iblkno  40      dblkno  2968
sbsize  4096    cgsize  32768
csaddr  35792  cssize  225280
cgrotor 0      fmod    0      ronly  0      clean  0x01
wapbl version 0x1      location 2      flags 0x0
wapbl loc0 6354693888  loc1 131072    loc2 512        loc3 3
flags  none
fsmnt  /data
volname        swuid  0

(sborrill)

2017-09-28 16:26:14 UTC MAIN commitmail json YAML

- add a constant for the vlan mask.
- enforce that we have a tag before we get it.

(christos)

2017-09-28 16:24:39 UTC MAIN commitmail json YAML

- only get the vtag if we have it like the other drivers
- mask the hardware vlan tag

(christos)

2017-09-28 16:23:57 UTC MAIN commitmail json YAML

only get vtag when we have vtag like the other drivers.

(christos)

2017-09-28 15:03:18 UTC MAIN commitmail json YAML

Restore CAVEATS section unmodified.

It apparently refers to VAX and its lack of a negative zero.

(maya)

2017-09-28 13:08:00 UTC MAIN commitmail json YAML

Fix register write location

(jmcneill)

2017-09-28 11:18:41 UTC MAIN commitmail json YAML

List a few more functions

(maya)

2017-09-28 11:09:05 UTC MAIN commitmail json YAML

Remove CAVEATS section

The man page for an individual function is not the right place to discuss
the issues with negative zero

(maya)

2017-09-28 10:59:38 UTC MAIN commitmail json YAML

Print the following cpuid bits:

  0x0000000d:1 eax (xsaveopt, xsavec, xgetbv1, xsaves)
  0x0000000f:0 edx (cqm_llc)
  0x0000000f:1 edx (cqm_occup_llc)
  0x00000006  eax (dtherm, ida, arat, pln, pts, hwp, hwp_notify,
hwp_act_window, hwp_epp, hwp_pkg_req)

(msaitoh)

2017-09-28 09:44:29 UTC MAIN commitmail json YAML

2017-09-28 06:55:08 UTC MAIN commitmail json YAML

Print ACPI_HEST_GHES_ASSIST flag (ACPI 6.2).

(msaitoh)

2017-09-28 05:51:26 UTC MAIN commitmail json YAML

2017-09-28 02:32:51 UTC MAIN commitmail json YAML

Remove debugging log statement

(christos)

2017-09-28 01:19:22 UTC netbsd-8 commitmail json YAML

2017-09-28 01:18:55 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #293):
sys/dev/usb/if_athn_usb.c: revision 1.23
PR/52553 Panic on "ifconfig athn0 up"
Don't race for a transfer in athn_usb_init on the free list for beacons.
Instead pre-assign a transfer to beacons in athn_usb_alloc_tx_list

(snj)

2017-09-27 22:31:54 UTC MAIN commitmail json YAML

if there is no 'compatible' property try to guess the codec from the i2c
address

(macallan)

2017-09-27 22:18:15 UTC MAIN commitmail json YAML

add obio and some child devices

(macallan)

2017-09-27 22:11:31 UTC MAIN commitmail json YAML

identify as 'Audio Codec' and print out which codec we found

(macallan)

2017-09-27 22:10:19 UTC MAIN commitmail json YAML

pass the right OF node to i2c devices

(macallan)

2017-09-27 21:04:05 UTC MAIN commitmail json YAML

fix offset of segment count in NetBSD crashdump header.

(mlelstv)

2017-09-27 19:11:35 UTC jdolecek-ncq commitmail json YAML

2017-09-27 19:05:57 UTC jdolecek-ncq commitmail json YAML

restore the atac_claim_hw and atac_free_hw hooks, they are used on atari

(jdolecek)

2017-09-27 19:04:05 UTC jdolecek-ncq commitmail json YAML

2017-09-27 18:55:50 UTC MAIN commitmail json YAML

move VAX notes to CAVEATS, clarify.

(maya)

2017-09-27 10:50:06 UTC MAIN commitmail json YAML

2017-09-27 10:31:29 UTC MAIN commitmail json YAML

2017-09-27 10:19:48 UTC MAIN commitmail json YAML

add SOC_THERM and TSENSOR clocks

(jmcneill)

2017-09-27 10:19:14 UTC MAIN commitmail json YAML

2017-09-27 10:12:47 UTC MAIN commitmail json YAML

2017-09-27 10:05:05 UTC MAIN commitmail json YAML

Take softnet_lock on pr_input properly if NET_MPSAFE

Currently softnet_lock is taken unnecessarily in some cases, e.g.,
icmp_input and encap4_input from ip_input, or not taken even if needed,
e.g., udp_input and tcp_input from ipsec4_common_input_cb. Fix them.

NFC if NET_MPSAFE is disabled (default).

(ozaki-r)

2017-09-27 09:55:53 UTC MAIN commitmail json YAML

Add missing ifdef NET_MPSAFE

(ozaki-r)

2017-09-27 09:20:27 UTC MAIN commitmail json YAML

Mention tgmath cproj, creal, cabs

following copysign example use of "real-floating" with "complex-floating"

(maya)

2017-09-27 09:04:30 UTC MAIN commitmail json YAML

Move VAX notes to CAVEATS, clarify that it just returns zero

The VAX isinf implementation is in sys/arch/vax/include/math.h.

(maya)

2017-09-27 08:43:19 UTC MAIN commitmail json YAML

Add an offensive acronym, 'ayfkm'

(maya)

2017-09-27 08:14:18 UTC MAIN commitmail json YAML

Cosmetic change (tab and newline).

(msaitoh)

2017-09-27 07:27:29 UTC MAIN commitmail json YAML

Fix deadlock between pserialize_perform and localcount_drain

A typical ussage of localcount_drain looks like this:

  mutex_enter(&mtx);
  item = remove_from_list();
  pserialize_perform(psz);
  localcount_drain(&item->localcount, &cv, &mtx);
  mutex_exit(&mtx);

This sequence can cause a deadlock which happens for example on the following
situation:

- Thread A calls localcount_drain which calls xc_broadcast after releasing
  a specified mutex
- Thread B enters the sequence and calls pserialize_perform with holding
  the mutex while pserialize_perform also calls xc_broadcast
- Thread C (xc_thread) that calls an xcall callback of localcount_drain tries
  to hold the mutex

xc_broadcast of thread B doesn't start until xc_broadcast of thread A
finishes, which is a feature of xcall(9). This means that pserialize_perform
never complete until xc_broadcast of thread A finishes. On the other hand,
thread C that is a callee of xc_broadcast of thread A sticks on the mutex.
Finally the threads block each other (A blocks B, B blocks C and C blocks A).

A possible fix is to serialize executions of the above sequence by another
mutex, but adding another mutex makes the code complex, so fix the deadlock
by another way; the fix is to release the mutex before pserialize_perform
and instead use a condvar to prevent pserialize_perform from being called
simultaneously.

Note that the deadlock has happened only if NET_MPSAFE is enabled.

(ozaki-r)

2017-09-27 07:19:34 UTC jdolecek-ncq commitmail json YAML

change wdc_init_shadow_regs() to accept only struct wdc_regs, it doesn't
touch anything else

factor out the probe-only struct ata_channel initialization to wdcprobe(), to
reduce duplication of logic in individual drivers, and to actually work now
that more init is needed beyond the memset()

(jdolecek)

2017-09-27 05:43:55 UTC MAIN commitmail json YAML

- Print SAPIC EID of Processor Local APIC/SAPIC Affinity.
- Print GIC Interrupt Translation Service(ITS) Affinity (ACPI 6.2)
- KNF
- Whilte space cleanup.

(msaitoh)

2017-09-26 22:13:08 UTC jdolecek-ncq commitmail json YAML

2017-09-26 21:06:24 UTC jdolecek-ncq commitmail json YAML

need <sys/param.h> for DEV_BSIZE needed by atavar.h

(jdolecek)

2017-09-26 20:15:36 UTC jdolecek-ncq commitmail json YAML

2017-09-26 18:03:30 UTC MAIN commitmail json YAML

Mention wanting to remove isnanf too, reword

(maya)

2017-09-26 17:05:37 UTC jdolecek-ncq commitmail json YAML

make compile without MVSATA_DEBUG

(jdolecek)

2017-09-26 16:12:45 UTC MAIN commitmail json YAML

2017-09-26 16:01:59 UTC MAIN commitmail json YAML

2017-09-26 15:42:54 UTC MAIN commitmail json YAML

omit mention of cabs (not relevant to this man page)
mention type-generic hypot
mention hypotl

(maya)

2017-09-26 15:12:57 UTC MAIN commitmail json YAML

Mention there's a type generic variant in tgmath.h

(XXX and in math.h, if you're netbsd)

(maya)

2017-09-26 09:24:22 UTC MAIN commitmail json YAML

In rev 1.0a of the Intel High Definition Audio Spec:

https://www.intel.com/content/www/us/en/standards/
high-definition-audio-specification.html

page 186 shows the layout of the baseline block of the ELD (EDID Like Data)
struct - and allows a reserved (effectively padding) area at the end of the
struct.  This is required to keep the struct an even number of words long
(size measured in units of 32 bits) while allowing for a variable length
monitor name, followed by a variable number of 3 byte structs - the
combination of which is not likely to be a multiple of 4.

Code here assumed that there was no padding, and objected to the ELD
format if any padding bytes existed (hdafg_dd_parse_info() would return
EINVAL) causing a "failed to parse ELD data" message (if HDAFG_HDMI_DEBUG
is defined) from hdafg_assoc_dump_dd() making it difficult (or at least
confusing) to debug HDMI related audio issues (hdafg_assoc_dump_dd would
not print most of the data it is expected to print) although this would
most likely have no effect on actual operations.

Change a test from a != to < (there must be enough data, not exactly the
amount needed) for the EINVAL.  As a consequence, the length after the
SAD data is parsed (the 3 byte structs) is no longer required to be 0,
so remove the KASSERT() (previously it was just useless, the code guaranteed
a 0 value, now it is incorrect.)  While here also change a related
diagnostic message to be slightly more informative as to what is being shown.

OK jmcneill@

(kre)

2017-09-26 08:25:56 UTC MAIN commitmail json YAML

- Correct NVM word size check in wm_nvm_version() to prevent
  "EERD polling failed" error on attach. if_wm.c rev. 1.534 was not perfect.
  Reported by ozaki-r@.
- Print NVM offset and word count when EERD polling failed.

XXX pullup-8.

(msaitoh)

2017-09-26 07:42:06 UTC MAIN commitmail json YAML

2017-09-26 04:34:59 UTC MAIN commitmail json YAML

Call audio_mix for a third time - thus ensuring there is a block of data
in the mix ring before the audio interrupt occurs.

This addresses the instability seen in the audio atf tests.

(nat)

2017-09-25 23:19:31 UTC MAIN commitmail json YAML

belatedly update ACPICA

(christos)

2017-09-25 22:50:20 UTC jdolecek-ncq commitmail json YAML

move mvsata_quetag_get() to the start routines, so that it always matches
the active list of ata queue; important during error recovery, fixes
panics when calling

in mvsata_edma_handle() ignore events for non-active xfers

fix some missing ata_channel_unlock() on error path in mvsata_bio_intr()
and mvsata_atapi_intr(), fixes 'locking against myself' with LOCKDEBUG

with this, mvsata(4) finally survives full fio run with wdcdebug_wd_cnt == 200

(jdolecek)

2017-09-25 22:43:46 UTC jdolecek-ncq commitmail json YAML

put recovery command on head of active xfers queue, so that drivers using
ata_queue_get_active_xfer() like mvsata(4) will find it and not random other
NCQ xfer

never return NCQ xfer from ata_queue_get_active_xfer(), if the first xfer
is NCQ simply return NULL

adjust ata_timo_xfer_check() to not check the expiring flag in C_WAITTIMO
branch, if we get there we ought to get the timeout handler aborted

(jdolecek)

2017-09-25 20:39:21 UTC MAIN commitmail json YAML

Clean up and split loadfile, reduces a patch I have.

(maxv)

2017-09-25 08:55:27 UTC MAIN commitmail json YAML

2017-09-25 08:55:07 UTC MAIN commitmail json YAML

2017-09-25 08:30:46 UTC MAIN commitmail json YAML

Factor out the read and write data code from the huge child_process function.
When we create a pipe to read data, restore the sigchld signal handler since
pclose expects to wait for the child (to avoid spurious error reporting later).

(christos)

2017-09-25 04:15:33 UTC MAIN commitmail json YAML

Synchronize on rtcache_generation with rtlock

It's racy if NET_MPSAFE is enabled.

Pointed out by joerg@

(ozaki-r)

2017-09-25 01:57:54 UTC MAIN commitmail json YAML

Use a dedicated mutex for rt_rawcb instead of softnet_lock if NET_MPSAFE

(ozaki-r)

2017-09-25 01:56:22 UTC MAIN commitmail json YAML

Fix race condition on the rawcb list shared by rtsock and keysock

keysock now protects itself by its own mutex, which means that
the rawcb list is protected by two different mutexes (keysock's one
and softnet_lock for rtsock), of course it's useless.

Fix the situation by having a discrete rawcb list for each.

(ozaki-r)

2017-09-25 00:12:21 UTC MAIN commitmail json YAML

2017-09-25 00:03:34 UTC MAIN commitmail json YAML

2017-09-25 00:03:11 UTC MAIN commitmail json YAML

If the bus glue calls xhci_init with interrupts enabled, there is a window
between when xhci interrupts are enabled and the usb bus driver is
attached. If an irq occurs in this window, xhci will attempt to schedule
a softint with an invalid softint handle.

Add a quirk flag, XHCI_DEFERRED_START, that when set skips starting the
controller at the end of xhci_init. Bus glue that sets this is responsible
to call xhci_start after attaching the child usb devices.

(jmcneill)

2017-09-24 23:40:41 UTC MAIN commitmail json YAML

Move play/rec mix ring buffers into a virtual channel sc_mixring.  NFCI.

(nat)

2017-09-24 20:14:07 UTC netbsd-7-1 commitmail json YAML

2017-09-24 20:13:59 UTC netbsd-7-0 commitmail json YAML

2017-09-24 20:13:48 UTC netbsd-7 commitmail json YAML

2017-09-24 20:12:57 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

(snj)

2017-09-24 20:12:55 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

(snj)

2017-09-24 20:12:53 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

(snj)

2017-09-24 20:09:53 UTC MAIN commitmail json YAML

2017-09-24 20:09:22 UTC MAIN commitmail json YAML

Enable XUSB power rails at attach

(jmcneill)

2017-09-24 20:05:03 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1409):
sys/arch/xen/xen/if_xennet_xenbus.c: 1.65
sys/arch/xen/xen/xennetback_xenbus.c: 1.53, 1.56 via patch
sys/net/if_bridge.c: 1.105
sys/net/if_ether.h: 1.65
sys/net/if_ethersubr.c: 1.215, 1.235
sys/net/if_vlan.c: 1.76, 1.77, 1.83, 1.88, 1.94
Protect vlan_unconfig with a mutex
It is not thread-safe but is likely to be executed in concurrent.
See PR 49264 for more detail.
--
Tweak vlan_unconfig
No functional change.
--
Add handling of VLAN packets in if_bridge where the parent interface supports
them (Jean-Jacques.Puig%espci.fr@localhost). Factor out the vlan_mtu enabling and
disabling code.
--
Enable the VLAN mtu capability and check for the adjusted packet size
(Jean-Jacques.Puig at espci.fr).
Factor out the packet-size checking function for clarity.
--
Don't increment the reference count only when it was 0...
From Jean-Jacques.Puig
--
Account for the CRC len (Jean-Jacques.Puig)
--
Fix a bug that the parent interface's callback wasn't called when the vlan
interface is configured. A callback function uses VLAN_ATTACHED() function
which check ec->ec_nvlans, the value should be incremented before calling the
callback. This bug was added in if_vlan.c rev. 1.83 (2015/11/19).

(snj)

2017-09-24 09:43:27 UTC MAIN commitmail json YAML

Force _GNU_SOURCE on Linux, otherwise strptime is not defined and more
restrictive macros result in even nastier fallout.

(joerg)

2017-09-24 07:39:28 UTC MAIN commitmail json YAML

2017-09-23 23:58:32 UTC MAIN commitmail json YAML

2017-09-23 23:58:18 UTC MAIN commitmail json YAML

Match nvidia,tegra210-apbdma

(jmcneill)

2017-09-23 23:58:04 UTC MAIN commitmail json YAML

2017-09-23 23:54:55 UTC MAIN commitmail json YAML