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 (0m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 20:22:36 UTC Now

2019-03-29 21:06:51 UTC MAIN commitmail json YAML

bye ddb and we fit again.

(christos)

2019-03-29 20:27:45 UTC MAIN commitmail json YAML

Yes, we need to load symbols, but we don't need the whole DDB infrastructure
for that.

(christos)

2019-03-29 20:18:09 UTC MAIN commitmail json YAML

2019-03-29 19:59:40 UTC netbsd-8 commitmail json YAML

2019-03-29 19:48:36 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/tlphy.c: revision 1.65
sys/dev/usb/if_url.c: revision 1.62
sys/dev/usb/if_aue.c: revision 1.148

  mii_phy_add_media() automatically install power handler, but if_media_add()
doesn't. When mii_phy_add_media() isn't used, call pmf_device_register().

-

  Use pmf(9).

-

  Use pmf(9).

(martin)

2019-03-29 19:43:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1221):

sbin/dump/tape.c: revision 1.55
sbin/dump_lfs/dump_lfs.8: revision 1.18
sbin/dump/dump.h: revision 1.56
sbin/dump/dump.8: revision 1.69
sbin/dump/dump.h: revision 1.57
sbin/dump/ffs_inode.c: revision 1.23
sbin/dump/optr.c: revision 1.43
sbin/dump/itime.c: revision 1.21
sbin/dump/main.c: revision 1.74
sbin/dump/itime.c: revision 1.22
sbin/dump/main.c: revision 1.75
sbin/dump/dump.8: revision 1.70
sbin/dump/traverse.c: revision 1.52
sbin/dump/dump.8: revision 1.71

Document what rdump is (was once) for. PR 53442.

Use getfsspecname() to fill the filesystem argument in dumpdates.
While here, make sure that the error strings terminate with newline
consistently, and add a function that adds the system error string.

Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry
This address situations where dump(8) cannot figure out the device being
dumped. It also allows tracking of subvolume dumps by using virtual
device as dumpdates entry.

Bump date for previous.

(martin)

2019-03-29 19:39:06 UTC netbsd-8 commitmail json YAML

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

sys/arch/amd64/include/param.h: revision 1.30

Bump STACK_ALIGNBYTES to (16 - 1) to satisfy requirement by AMD64
System V ABI in kernel level. This is because

(1) for LLDB, we want to bypass libc/csu (and therefore manual stack
    alignment in _start), and
(2) rtld in glibc >= 2.23 for Linux/x86_64 requires it.

Fix SEGV for Linux/x86_64 binaries with glibc >= 2.23, reported as

PR port-amd64/54052.

(martin)

2019-03-29 18:32:45 UTC MAIN commitmail json YAML

Minor adjustment to prior to match putch

(roy)

2019-03-29 16:56:58 UTC MAIN commitmail json YAML

Use WCOL rather than wcwidth(3) as we should already know the width
during refresh.
Ensure the character width is not negative when advancing during refresh
(unlikely) and we actually have something to insert in the lower right
corner depending on terminal caps.

Fixes PR lib/54085

(roy)

2019-03-29 16:08:06 UTC MAIN commitmail json YAML

2019-03-29 16:07:01 UTC MAIN commitmail json YAML

2019-03-29 16:06:28 UTC MAIN commitmail json YAML

2019-03-29 16:04:54 UTC MAIN commitmail json YAML

Remove SGROWSIZ parameter which looks like it was imported from FreeBSD and not use with NetBSD

(scole)

2019-03-29 16:03:20 UTC MAIN commitmail json YAML

2019-03-29 15:56:43 UTC MAIN commitmail json YAML

Minor adjustment to the input background color (to better match the flag
logo)

(martin)

2019-03-29 15:13:44 UTC MAIN commitmail json YAML

Move all jemalloc symbols to the private namespace. We can't use visibility
because sun2 links statically.

(christos)

2019-03-29 14:46:44 UTC MAIN commitmail json YAML

Account for cgihandler being set when counting the number of CGI environment
headers we are about to set. Avoids an assertion failure (and overruninng
the array) later.

(martin)

2019-03-29 14:38:31 UTC MAIN commitmail json YAML

Append DPLIBS to PROGDPLIBS so that we can resolve dependencies for static
linking where order is important.

(christos)

2019-03-29 13:04:01 UTC MAIN commitmail json YAML

2019-03-29 12:51:15 UTC MAIN commitmail json YAML

Go back to not always defining PAGE_{SIZE,SHIFT,MASK}

(christos)

2019-03-29 12:50:30 UTC MAIN commitmail json YAML

Change strategy: instead of always defining PAGE_SHIFT in vmparam.h, fail
back to using MAX_PAGE_SHIFT.

(christos)

2019-03-29 08:54:35 UTC MAIN commitmail json YAML

- Use m_defrag() when bus_dmamap_load_mbuf() returned with EFBIG.
- Style change to reduce diff against {Free,Open}BSD.
- Make it compilable with BNX_DEBUG.
- Use __nothing for null macro.

(msaitoh)

2019-03-29 07:49:38 UTC MAIN commitmail json YAML

expand error message to also list wsbell as valid name.

(mlelstv)

2019-03-29 07:47:33 UTC MAIN commitmail json YAML

Add support for WSMUX_BELL, also avoid crashes when the kernel returns
unknown device types.

(mlelstv)

2019-03-29 06:31:54 UTC MAIN commitmail json YAML

Sync with OpenBSD:
- Don't need to clear if_timer during attach. (OpenBSD rev. 1.23)
- Do the minimal initialization of the firmware so that ASF always works.
  From ambrisko@FreeBSD (OpenBSD rev. 1.32)
- Move the interrupt establishment till after everything in the softc is set up
  (OpenBSD rev. 1.40)
- Let mii_attach() know where the PHY is located instead of scanning for it
  since we know where it will be anyway and remove the code from the MII bus
  read/write functions to force reading/writing from the predetermined
  location. Copied from bge(4) and this is what the upstream FreeBSD bce(4)
  driver has done once FreBSD gained a mii_attach().

(msaitoh)

2019-03-29 05:23:12 UTC MAIN commitmail json YAML

2019-03-29 03:11:32 UTC MAIN commitmail json YAML

Fix a couple of latent MP issues in the Alpha pmap:
- In pmap_activate(), even though we manipulate the active mask
  with atomic ops, the lev1map pointer needs to stay consistent,
  so we do, in fact, have to take the pmap lock there.
- In pmap_emulate_reference(), some of the DEBUG checks done here
  are race-prone, so don't do them.  (Leave them #if 0'd out for
  documentary purposes.)

(thorpej)

2019-03-29 02:09:14 UTC MAIN commitmail json YAML

fix the build (pnbuf_cache move to vfs_init.c)

(christos)

2019-03-29 00:24:56 UTC MAIN commitmail json YAML

Don't need an 'X' printf specifier if using PRIx64.

(simonb)

2019-03-29 00:13:26 UTC MAIN commitmail json YAML

2019-03-29 00:08:14 UTC MAIN commitmail json YAML

add more exceptions for standalone and modules

(christos)

2019-03-29 00:07:39 UTC MAIN commitmail json YAML

2019-03-28 23:24:22 UTC MAIN commitmail json YAML

winwrite - using addch() on individual bytes of e.g. UTF-8 encoding
doesn't work that well.  addstr() the whole buffer instead.  This is
still not enirely correct b/c printf can run out of stdio buffer
mid-character for very long output, but deal with it later.

(uwe)

2019-03-28 20:26:49 UTC MAIN commitmail json YAML

PR/54069: Jason Thorpe: Prevent memory overrun. Can be easily reproduced
with groff_ms.7 and -fsanitize=address.

(christos)

2019-03-28 19:00:41 UTC MAIN commitmail json YAML

Move NVMM in the "any" class, so that it can be enabled in GENERIC. Add
missing files in files.nvmm, and add NVMM (commented out) in the amd64
GENERIC. Remove the "caveats" section in the man page.

(maxv)

2019-03-28 18:12:24 UTC MAIN commitmail json YAML

Move pnbuf_cache into vfs_init.c, where it belongs.

(maxv)

2019-03-28 15:45:24 UTC MAIN commitmail json YAML

2019-03-28 15:44:51 UTC MAIN commitmail json YAML

2019-03-28 15:05:03 UTC MAIN commitmail json YAML

fix compilation for non _REENTRANT

(christos)

2019-03-28 15:04:42 UTC MAIN commitmail json YAML

Dedup and add the small jemalloc implementation so our install media has
a chance to fit again.

(christos)

2019-03-28 12:34:36 UTC MAIN commitmail json YAML

llvm-8.0.0 out.

(wiz)

2019-03-28 12:07:30 UTC MAIN commitmail json YAML

2019-03-28 11:56:56 UTC MAIN commitmail json YAML

2019-03-28 10:44:29 UTC MAIN commitmail json YAML

Add reading of supported opcodes and their timeouts
at attachment time. Though this information is optional,
it allows to override our fixed timeouts with device
provided timeouts. These timeouts will override the
hardcoded values if the device provided timeouts
exceed the hardcoded values and are less than a day.

Using the device provided timeouts avoids premature
device resets and unreliable operation due to
inadequate timeouts.

Due to the limited implementations of USB
umass devices this feature is disabled for all
umass attached devices.

(kardel)

2019-03-28 08:56:56 UTC MAIN commitmail json YAML

No functional change:
- Fix DB_AND_RANDOMFALSE(). It has no real bug because the macro is not used
  from anywhere.
- Wse const.
- Whitespace change.

(msaitoh)

2019-03-28 08:41:50 UTC MAIN commitmail json YAML

disable jemalloc again until we can figure out what to do with the bloat
for installer media.

(christos)

2019-03-28 08:33:07 UTC MAIN commitmail json YAML

2019-03-28 08:31:40 UTC MAIN commitmail json YAML

protect kernel variable from userland exposure
XXX: if there a better place for this?

(christos)

2019-03-28 08:28:16 UTC MAIN commitmail json YAML

Expose kernel variables only to kernel.
XXX: move this variable somewhere better?

(christos)

2019-03-28 08:13:40 UTC MAIN commitmail json YAML

Add new ATF ptrace(2) tests bytes_transfer_alignment*

Verify bytes transfer for potentially misaligned operation.

New tests:

- bytes_transfer_alignment_pt_read_i
- bytes_transfer_alignment_pt_read_d
- bytes_transfer_alignment_pt_write_i
- bytes_transfer_alignment_pt_write_d
- bytes_transfer_alignment_piod_read_i
- bytes_transfer_alignment_piod_read_d
- bytes_transfer_alignment_piod_write_i
- bytes_transfer_alignment_piod_write_d
- bytes_transfer_alignment_piod_read_auxv

All tests pass (at least on x86_64).

(kamil)

2019-03-28 02:50:27 UTC MAIN commitmail json YAML

- Remove extra cast (from OpenBSD rev. 1.95)
- Add support flow control (from OpenBSD rev. 1.97 and 1.100).
  The main difference between NetBSD and other *BSDs is that the flow control
  does really works. The lower 8bit of BNX_L2CTX_CTX_TYPE should be 0xff
  (from Linux). Note that I have NetXtremeII-PG203-R.pdf and it says the field
  is reserved and should be 0.

(msaitoh)

2019-03-27 22:00:33 UTC MAIN commitmail json YAML

fix the fix(es) - don't try to access a BIOS we didn't find.
Now this works on sparc64 again.

(macallan)

2019-03-27 21:14:54 UTC MAIN commitmail json YAML

Timeout for evp test case is still not enough for qemu/sparc

(gson)

2019-03-27 19:30:31 UTC MAIN commitmail json YAML

2019-03-27 19:13:34 UTC MAIN commitmail json YAML

Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

(martin)

2019-03-27 19:01:44 UTC MAIN commitmail json YAML

provide the max page size for userland

(christos)

2019-03-27 18:41:18 UTC MAIN commitmail json YAML

back to jemalloc for the masses

(christos)

2019-03-27 18:27:47 UTC MAIN commitmail json YAML

Kernel Heap Hardening: detect frees-in-wrong-pool on on-page pools. The
detection is already implicitly done for off-page pools.

We recycle pr_slack (unused) in struct pool, and make ph_node a union in
order to recycle an unsigned int in struct pool_item_header. Each time a
pool is created we atomically increase a global counter, and register the
current value in pp. We then propagate this value in each ph, and ensure
they match in pool_put.

This can catch several classes of kernel bugs and basically makes them
unexploitable. It comes with no increase in memory usage and no measurable
increase in CPU cost (inexistent cost actually, just one check predicted
false).

(maxv)

2019-03-27 17:15:30 UTC MAIN commitmail json YAML

2019-03-27 17:02:20 UTC MAIN commitmail json YAML

2019-03-27 16:38:50 UTC MAIN commitmail json YAML

ensure LOSC is configured for external clock

(tnn)

2019-03-27 16:16:43 UTC MAIN commitmail json YAML

Provide the (max) defaults for page size for userland.

(christos)

2019-03-27 16:16:14 UTC MAIN commitmail json YAML

2019-03-27 15:33:52 UTC MAIN commitmail json YAML

2019-03-27 15:30:19 UTC MAIN commitmail json YAML

2019-03-27 12:38:31 UTC MAIN commitmail json YAML

2019-03-27 11:15:55 UTC MAIN commitmail json YAML

undo previous, too much breaks.

(christos)

2019-03-27 09:52:16 UTC MAIN commitmail json YAML

Don't create the driver's workqueue twice!

The driver is modular, so its modcmd(MOULE_CMD_INIT) always gets called
whether or not the driver is built-in to the kernel.  The modcmd init
code always calls swwdogattach() which creates the workqueue.  Therefore
there's no need to also create it in swwdog_attach() (used to attach a
device instance).

(pgoyette)

2019-03-27 07:29:29 UTC MAIN commitmail json YAML

enlarge pic_name[] from 14 to 16. bcm2835_intr.c@1.20 used to the limit.
(sizeof struct pic_softc was not changed. it's just same as padding)

(ryo)

2019-03-27 06:56:38 UTC MAIN commitmail json YAML

Add another known issue (if_flags)

(ozaki-r)

2019-03-27 06:56:19 UTC MAIN commitmail json YAML

fix wrong counter_mask assignment due to typo in previous

(tnn)

2019-03-27 06:55:09 UTC MAIN commitmail json YAML

Actually use unit number for iscsi device.

(mlelstv)

2019-03-27 05:47:50 UTC MAIN commitmail json YAML

Fix to show counters of "bcm2836 pic" by "intrctl list" correctly.

(ryo)

2019-03-27 04:50:30 UTC MAIN commitmail json YAML

2019-03-27 04:40:02 UTC MAIN commitmail json YAML

- Add missing BCM5716.
- Add some supported machines from {Free,Open}BSD's manual.
- Add note about FreeBSD and OpenBSD into HISTORY.

(msaitoh)

2019-03-27 03:39:48 UTC MAIN commitmail json YAML

Update firmware to 6.0.{15,17} by synching with OpenBSD bnxfw rev. 1.6.

(msaitoh)

2019-03-27 03:37:32 UTC MAIN commitmail json YAML

- Remove extra check (because the same check is done in
  if_schedule_deferred_start().
- Remove extra space.

(msaitoh)

2019-03-27 03:29:50 UTC MAIN commitmail json YAML

Apply OpenBSD rev. 1.94:

> ido not disable interrupts in the isr and then enable them again
> when leaving. when you're handling an interrupt it is masked.
> whacking the chip is work for no gain.
>
> modify the interrupt handler so it only processes the rings once
> rather than looping over them until it runs out of work to do
>
> looping in the isr is bad for several reasons:
>
> firstly, the chip does interrupt mitigation so you have a
> decent/predictable amount of work to do in the isr. your first loop
> will do that chunk of work (ie, it pulls off 50ish packets), and
> then the successive looping aggressively pull one or two packets
> off the rx ring. these extra loops work against the benefit that
> interrupt mitigation provides.
>
> bus space reads are slow. we should avoid doing them where possible
> (but we should always do them when necessary).
>
> doing the loop 5 times per isr works against the mclgeti semantics.
> it knows a nic is busy and therefore needs more rx descriptors by
> watching to see when the nic uses all of its descriptors between
> interrupts. if we're aggressively pulling packets off by looping
> in the isr then we're skewing this check.
>
> ok deraadt@

(msaitoh)

2019-03-27 03:10:39 UTC MAIN commitmail json YAML

Sync with other *BSDs:

From OpenBSD's rev. 1.93:
> to quote from the gospel of bus_dma.9:
>
>    Synchronization operations are expressed from the perspective of the host
>    RAM, e.g., a device -> memory operation is a READ and a memory -> device
>    operation is a WRITE.
>
> the status block that the isr reads is written to by the device.
> the chip writes to memory, it is therefore a READ.
>
> this also adds the preread sync when the map is set up and the postread
> sync when the map is torn down for better symmetry. there are probably
> more issues like this in the code, but this is a start.
>
> discovered while discussing another diff with claudio@

(msaitoh)

2019-03-27 02:51:41 UTC MAIN commitmail json YAML

jemalloc for everyone!

(christos)

2019-03-26 23:31:45 UTC MAIN commitmail json YAML

Use correct printf format for (struct input_file *)->lineno
SHould unbreak 32 bit host builds.

(kre)

2019-03-26 23:26:03 UTC MAIN commitmail json YAML

Register a timecounter source for the 32.768kHz low-power oscillator,
if it is physically present. It is preferable for timekeeping in
offline scenarios because it generally has much better long-term
frequency stability than the platform XO.

XXX: should it have higher quality rating than the 24MOSC?
I made it lower quality for now to avoid surprises for users.

(tnn)

2019-03-26 22:03:34 UTC MAIN commitmail json YAML

Use .An -nosplit in the name/email entries in the HISTORY section

(pgoyette)

2019-03-26 21:47:20 UTC MAIN commitmail json YAML

Some minor tweaks from kre@ and some updates to some of the ioctl
operations (after having actually read the code).

(pgoyette)

2019-03-26 20:05:18 UTC MAIN commitmail json YAML

Remove unneeded PR_NOALIGN, pool_allocator_kmem is already page-aligned.

(maxv)

2019-03-26 18:31:30 UTC MAIN commitmail json YAML

Remove POOL_SUBPAGE, it is unused, undocumented, and adds confusion.

(maxv)

2019-03-26 16:41:06 UTC MAIN commitmail json YAML

fix use-after-free issue.

(christos)

2019-03-26 16:39:50 UTC MAIN commitmail json YAML

print the source line and file where the error happened.

(christos)

2019-03-26 15:50:23 UTC MAIN commitmail json YAML

in sysmon_envsys_unregister(): loop over sme_sensors_list with TAILQ_FIRST
instead of TAILQ_FOREACH.

sysmon_envsys_sensor_detach() removes the sensor from sme_sensors_list.
Hence using TAILQ_FOREACH is not safe.

Suggested by thorpej and jmcneill.  Thanks!

(bad)

2019-03-26 15:00:34 UTC MAIN commitmail json YAML

Behave like gnu m4; when the error output file cannot be opened, just warn
and keep going.

(christos)

2019-03-26 14:55:02 UTC MAIN commitmail json YAML

Allow -b to specify a partition for "gpt unset" as well.

(martin)

2019-03-26 13:32:26 UTC MAIN commitmail json YAML

Fix a logic botch that prevented "wait -n" (with no pid args) from
finding a job that had previously terminated.

Now in that case JOBWANTED is set on all jobs (since any will do)
which then simplifies a later test which no longer needs to special
case "wait -n".  Further, we always look to see if any wanted
job has already terminated, even if there are still running jobs
we can wait upon - if anything is already ready, that's where we start
harvesting (and finish, if -n is specified).

(kre)

2019-03-26 12:22:07 UTC MAIN commitmail json YAML

Update sets lists for new srt(4) man page.

(pgoyette)

2019-03-26 12:21:28 UTC MAIN commitmail json YAML

Add a man page for srt(4).  Thanks to wiz@ for reviewing.

This man page is just a simple beginning.  It can definitely use some
more flesh on its bones.

(pgoyette)

2019-03-26 11:23:55 UTC MAIN commitmail json YAML

When displaying a single partition (gpt show -i ...) display offset
and size in sectors (instead of the totally confusing bytes),
followed by the humanized byte offset/size.

This makes the numbers match the "gpt show" or "gpt show -a"
output.

(martin)

2019-03-26 10:10:22 UTC MAIN commitmail json YAML

2019-03-26 10:06:49 UTC MAIN commitmail json YAML

2019-03-26 09:58:20 UTC MAIN commitmail json YAML

Remove extraneous comma

(pgoyette)

2019-03-26 09:33:58 UTC MAIN commitmail json YAML

physio can issue multiple concurrent I/O requests for scatter/gather and
split requests, concurrent requests are limited to use multiple-of-DEV_BSIZE
offsets.

Restrict this to D_DISK devices.

For other devices fix uio accounting to allow arbitrary offsets again.

(mlelstv)

2019-03-26 09:22:17 UTC MAIN commitmail json YAML

provide compatible names for all sizes.

(mlelstv)

2019-03-26 09:20:38 UTC MAIN commitmail json YAML

touch match_result only on success.

(mlelstv)

2019-03-26 09:13:55 UTC MAIN commitmail json YAML

Add srt(4) to /etc/MAKEDEV and corresponding update to MAKEDEV.8 man page.

(pgoyette)

2019-03-26 08:56:17 UTC MAIN commitmail json YAML

2019-03-26 08:01:21 UTC MAIN commitmail json YAML

Switch discriminates between fsc values and should check the masked fsc value,
not the whole register.

(mlelstv)

2019-03-26 06:59:11 UTC MAIN commitmail json YAML

Add cloned-interface-create code to srt open() routine so behavior
matches that which is documented in srtconfig(1) man page.  Without
this, srt only works if you first create the srtN interface with
ifconfig(8).

(pgoyette)

2019-03-26 05:17:17 UTC MAIN commitmail json YAML

Add another known issue

(ozaki-r)

2019-03-26 02:05:28 UTC MAIN commitmail json YAML

2019-03-26 00:36:14 UTC MAIN commitmail json YAML

Now that the if_srt module has a chance of working (ie, it now
actually attaches/detaches the cdevsw!), add the required srt
module to allow module autoload triggered by opening /dev/srtN

XXX As noted in the recent commit to if_srt.c, someone(tm) needs
XXX to create the /dev/srt* device nodes with major 179. :)

(pgoyette)

2019-03-26 00:23:32 UTC MAIN commitmail json YAML

Add devsw_{attach,detach} stuff for _MODULE variant.  (Not needed for
built-in variant since the devsw is also built-in.)  This will allow
the modular srt devices to be accessed via open(2) and ioctl(2).

XXX Someone(tm) needs to update MAKEDEV to create the /dev/srtN device
nodes (with device-major 179)!

(pgoyette)

2019-03-25 23:43:57 UTC MAIN commitmail json YAML

Fix open() error message - use a colon rather than a semicolon to match
the other error messages

(pgoyette)

2019-03-25 22:24:54 UTC MAIN commitmail json YAML

descend into jemalloc too.

(christos)

2019-03-25 20:15:49 UTC MAIN commitmail json YAML

Allow -b startsec to specify the partition to change for the set subcommand
as well.
Add another option, -N, as a quick way to remove all attributes.

(martin)

2019-03-25 19:24:31 UTC MAIN commitmail json YAML

2019-03-25 11:44:10 UTC MAIN commitmail json YAML

2019-03-25 11:43:50 UTC MAIN commitmail json YAML

Add Bankspeed Pty and NetExcell.

(msaitoh)

2019-03-25 10:04:48 UTC MAIN commitmail json YAML

in tundetach(), error is only used #ifdef _MODULE so wrap its declaration.

(pgoyette)

2019-03-25 09:59:59 UTC MAIN commitmail json YAML

Put the #ifdef where it belongs (after defining the out2 label which is
referenced only inside #ifdef block)

(pgoyette)

2019-03-25 09:47:18 UTC MAIN commitmail json YAML

2019-03-25 09:46:50 UTC MAIN commitmail json YAML

Remove extra space.

(msaitoh)

2019-03-25 09:46:24 UTC MAIN commitmail json YAML

Fix compile error when MIIVERBOSE is set. Reported by Kurt Schreiner.

(msaitoh)

2019-03-25 09:32:25 UTC MAIN commitmail json YAML

Resequence the activities in tapdetach() so that no new units can be
created, either by opening /dev/tap or ifconfig tapx create, before
checking to see if we have any active units.

(pgoyette)

2019-03-25 09:29:09 UTC MAIN commitmail json YAML

2019-03-25 09:20:46 UTC MAIN commitmail json YAML

2019-03-25 09:07:24 UTC MAIN commitmail json YAML

Resequence the stuff in tundetach() to ensure that no new device units
can be created by either 'ifconfig create' or 'open("/dev/tun0")' paths.

Note: previous efforts at fixing 'modunload if_tun' are abandoned, since
there is no bug.  Just need to ensure that the cloned interface is both
close(1)d _and_ 'ifconfig tunx destroy' before trying to unload.

(pgoyette)

2019-03-25 07:34:13 UTC MAIN commitmail json YAML

2019-03-25 07:09:54 UTC MAIN commitmail json YAML

- Copy copyright messages from if_ethersubr.c rev. 1.157.
- Add missing RCS ID.

(msaitoh)

2019-03-25 07:03:58 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2019-03-25 07:03:17 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2019-03-25 06:17:56 UTC MAIN commitmail json YAML

2019-03-25 05:39:51 UTC MAIN commitmail json YAML

- 88E1000(S) has no page select register, so don't access it.
  Note that qemu doesn't implement the register and the access fails.
  For I210, we can use the register.
- Don't set PSCR_CRS_ON_TX bit on I210.

(msaitoh)

2019-03-25 05:32:01 UTC MAIN commitmail json YAML

Pass error status to the upper layer in wm_gmii_{i82544,i80003}*().

(msaitoh)

2019-03-25 04:06:36 UTC MAIN commitmail json YAML

Revert rev. 1.151 and 1.152 to avoid compile error. Requested by pgoyette.

(msaitoh)

2019-03-25 02:58:28 UTC MAIN commitmail json YAML

Use correct list name

(pgoyette)

2019-03-25 02:13:01 UTC MAIN commitmail json YAML

Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry

This address situations where dump(8) cannot figure out the device being
dumped. It also allows tracking of subvolume dumps by using virtual
device as dumpdates entry.

(manu)

2019-03-25 01:06:35 UTC MAIN commitmail json YAML

This should do it!

Remove the zombie unit from the zombie list, not the regular list!

(pgoyette)

2019-03-25 01:01:29 UTC MAIN commitmail json YAML

And revert both of the previous.  It seems that the structure has
already been removed from the list in the find_zunit() code.

So now, off to really find out why the module won't unload.

(pgoyette)

2019-03-25 00:59:04 UTC MAIN commitmail json YAML

Fix previous - remove it from the list before freeing the memory.

(pgoyette)

2019-03-25 00:55:28 UTC MAIN commitmail json YAML

If the unit being closed was a "zombie" (ie, the interface was destroyed
previously), remove it from the zombie list after freeing all of its
resources.

This should allow the module to be unloaded even if there was a zombie
at some point.  Without this change, the zombie list never gets emptied.

(pgoyette)

2019-03-24 16:42:49 UTC MAIN commitmail json YAML

Only quote the completion matches if we are doing filename completion

If the user supplies a value for the attempted_completion_function parameter
then we cannot be sure if the completion is for filename or something else, in such
a case don't attempt to quote the completion matches.

Reviewed by christos

This should address PR lib/54067

(abhinav)

2019-03-24 16:39:47 UTC MAIN commitmail json YAML

2019-03-24 16:24:20 UTC MAIN commitmail json YAML

Remove Alpha's compat_linux dependency on compat_osf1. Each function is
copied as-is from compat_osf1 with no functional change. Discussed on
tech-kern@, ok @thorpej.

(maxv)

2019-03-24 15:58:32 UTC MAIN commitmail json YAML

Disable preemption when setting PCB_COMPAT32, to prevent a context switch
before cpu_fsgs_reload() finishes, otherwise we write garbage in the GDT.
On NetBSD-current it is harmless, however in NetBSD-8 it might cause
panics, because NetBSD-8 uses the old SegRegs model and under this model
we reload %fs and %gs during switches.

(maxv)

2019-03-24 13:45:35 UTC MAIN commitmail json YAML

Make the "show" subcommand accept -b startsec to identify a partition
(very usefull for scripts and other robotic callers).

(martin)

2019-03-24 13:31:31 UTC MAIN commitmail json YAML

Bump date for previous.

(gson)

2019-03-24 13:31:00 UTC MAIN commitmail json YAML

Add support for specifying the partition to resize via -b startsec
(similar to label and other subcommands). Do not fully add gpt_find
functionality here, as resizing multiple partitions in one go does not
make sense.

(martin)

2019-03-24 13:15:43 UTC MAIN commitmail json YAML

Fix a tiny race in setregs and linux_setregs. Between the moment we set
pcb_flags to zero, and the moment cpu_segregs64_zero resets pcb_gs, we may
be preempted.

If this happens, and if the calling LWP was a 32bit thread, when switching
back to that LWP, the context switcher sees that PCB_COMPAT32 is not set in
pcb_flags and tries to perform a 64bit context switch; but pcb_gs contains
a 32bit GDT descriptor, and not a 64bit GS.base value. The wrmsr therefore
faults because the value is non-canonical, and this fault is fatal.

Rearrange the code so that the update of pcb_flags and pcb_gs/pcb_fs is non
interruptible. This fixes the problem, tested with a reproducer (which
therefore doesn't work anymore).

Likely fixes PR/53993.

(maxv)

2019-03-24 11:22:06 UTC MAIN commitmail json YAML

Delete the sentence "Wired Equivalent Privacy (WEP) is the de facto
encryption standard for wireless networks", because it no longer is.

(gson)

2019-03-24 11:20:26 UTC MAIN commitmail json YAML

Add a loadable module for tap(4).

The code was already modularized, we simply didn't build the loadable
module.

Note also that since the tap(4) device can be reasonably accessed by
either creating a  device instance (using ifconfig(8)) or by opening
/dev/tap, we need to create both if_tap.kmod and tap.kmod (similar to
what is done with tun(4)).

(pgoyette)

2019-03-24 10:39:45 UTC MAIN commitmail json YAML

Make "includes" depend upon uuid/uuid.h (as already did
depends, dependall, and all) rather than unconditionally
"building" it.

This avoids a "file exists" error from an update build
(where the objdir already contained the link to the file.)

ok mrg@ :
"if it works from a clean objdir, please commit it.  we can fix more later.."

(kre)

2019-03-24 04:43:54 UTC MAIN commitmail json YAML

2019-03-24 01:16:43 UTC MAIN commitmail json YAML

Fix MKCOMPAT=no build for sparc64;
Remove duplicate entry for ./usr/include/g++/bits/sparc.

Reported by K. Schreiner.

(rin)

2019-03-24 00:47:16 UTC MAIN commitmail json YAML

Remove workaround for internal compiler error.

GCC 7 and 6 work fine without this for both m68k and m68010.

(rin)

2019-03-24 00:23:59 UTC MAIN commitmail json YAML

Fix usage of STACK_ALIGNBYTES in our local change.

Tested on amd64 and i386:
- binaries generated by "gcc -fsanitize=address" work fine
- /usr/tests/usr.bin/{cc,c++}/t_asan_* do not fail

(rin)

2019-03-23 23:15:11 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2019-03-23 18:56:50 UTC MAIN commitmail json YAML

The USB port of the Huawei E5573s-320s portable 4G router successfully
attaches as cdce(4) and works.

(gson)

2019-03-23 17:56:23 UTC MAIN commitmail json YAML

SOM & COM from the world of ARM

(sevan)

2019-03-23 17:44:49 UTC MAIN commitmail json YAML

Enable Bluetooth support.
usbdevices.config includes support for USB Bluetooth.
Tested on an o2 with a PCI USB adapter and Broadcom BCM20702A0 dongle.

(sevan)

2019-03-23 17:38:29 UTC MAIN commitmail json YAML

Reduce duplication by switching to using dev/usb/usbdevices.config

(sevan)

2019-03-23 13:05:24 UTC MAIN commitmail json YAML

Remove references to COMPAT_OSF1 in HPPA, it has never been supported on
this architecture.

(maxv)

2019-03-23 12:01:18 UTC MAIN commitmail json YAML

Enable QUEUEDEBUG under DIAGNOSTIC. It has never been documented and used,
but it's very useful and costs basically nothing. I even think we could
enable it by default in the kernel (if we added __predict_false's and
removed some crap).

(maxv)

2019-03-23 10:02:05 UTC MAIN commitmail json YAML

In fact, xc_broadcast also applies to offline CPUs, so we don't need to
make sure each CPU is online. Remove the checks, I suspect they weren't
totally correct by the way.

(maxv)

2019-03-23 09:48:05 UTC MAIN commitmail json YAML

Replace compile-time checking for vlan code with a module hook.

Should resolve the errors reported on irc when booting a kernel which
has agr without vlan:

[  1.0000000] WARNING: module error: built-in module if_agr can't find builtin dependency `if_vlan'
[  1.0000000] WARNING: module error: built-in module if_agr prerequisite if_vlan failed, error 2

(pgoyette)

2019-03-23 09:33:16 UTC MAIN commitmail json YAML

When buffers are at least page sized, explicitely request page alignment.

(mlelstv)

2019-03-23 03:04:58 UTC MAIN commitmail json YAML

The main compat_netbsd32 module doesn't contain any prior-version-compat
code, so we don't need these CPP_FLAGS.  The appropriate CPP_FLAGS are
included in the Makefiles for the various compat_netbsd32_xx modules.

(pgoyette)

2019-03-23 02:19:31 UTC MAIN commitmail json YAML

use sc_lock not sc_access_lock to check UHIDEV_OPEN.

fixes a soft hang when usbhidaction has a uhid open and bzflag
tries to open it as well.

XXX: pullup-7, pullup-8 (where i saw this originally.)

(mrg)

2019-03-23 02:07:32 UTC MAIN commitmail json YAML

add an example shell pipeline that will print *all* kernel stack traces.
bump date.

(mrg)

2019-03-22 11:09:43 UTC MAIN commitmail json YAML

2019-03-22 07:41:41 UTC MAIN commitmail json YAML

Even if you try very hard, some cards just do not have a BIOS.

(martin)

2019-03-22 07:25:15 UTC MAIN commitmail json YAML

adjust KASSERT() for sc_lock to handle polling case.
should fix usb kdb in ddb.  reported by martin.

(mrg)

2019-03-22 04:39:03 UTC MAIN commitmail json YAML

s/TGC/TCG/. Not Tokyo Game Show but Tiny Code Generator.

(msaitoh)

2019-03-22 02:33:08 UTC MAIN commitmail json YAML

- Dump CPUID leaf 0x40000000 if available (for -v option).
- Regard "TCGTCGTCGTCG" as QEMU(TGC).

(msaitoh)

2019-03-22 01:50:14 UTC MAIN commitmail json YAML

2019-03-21 21:28:55 UTC MAIN commitmail json YAML

winwrite - deobfuscate a bit.

(uwe)

2019-03-21 21:13:45 UTC MAIN commitmail json YAML

Minor markup and wording fixes.

(uwe)

2019-03-21 20:21:41 UTC MAIN commitmail json YAML

Make it possible for an emulator to set the protection of the guest pages.
For some reason I had initially concluded that it wasn't doable; verily it
is, so let's do it.

The reserved 'flags' argument of nvmm_gpa_map() becomes 'prot' and takes
mmap-like protection codes.

(maxv)

2019-03-21 17:40:37 UTC MAIN commitmail json YAML

don't malloc(0)
spotted by mrg@

(macallan)

2019-03-21 14:27:47 UTC netbsd-8 commitmail json YAML

2019-03-21 14:27:02 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1219):

sys/arch/x86/pci/if_vmx.c: revision 1.27
PR/54058: vmx(4): Fix device enable command failure when the number of vCPUs
is not a power of two.

Make the size of the vmx(4) TX/RX queue a power of two not exceeding
the number of vCPUs.

(martin)

2019-03-21 11:14:16 UTC MAIN commitmail json YAML

Switch sparc64 over to newer jemalloc.

(martin)

2019-03-21 09:42:44 UTC MAIN commitmail json YAML

Add size variants for architectures with PGSHIFT = 13

(martin)

2019-03-21 07:44:05 UTC MAIN commitmail json YAML

2019-03-20 23:05:19 UTC MAIN commitmail json YAML

add code to read disabled ROMs, adapted from xf86-video-radeon
With this radeonfb does The Right Thing(tm) on my 2xDVI mac radeon with
decidedly non-standard output wiring.
( apparently at least *some* mac radeons have a hidden x86 BIOS with valid
  connector tables )

(macallan)

2019-03-20 22:51:38 UTC MAIN commitmail json YAML

split MKLLVM into MKLLVM and MKLLVMCMDS, like MKGCC and MKGCCCMDS:

- only build clang or clang-tblgen if MKLLVMCMDS != "no"
- move HAVE_MESA_VER earlier so we can detect mesa 18 and enable
  MKLLVM on platforms that need it
- move the clang commands and headers into llvmcmds group
- only build the clang specific LLVM libraries if MKLLVMCMDS != "no"

much of this work came from maya@'s github commit
f90685c11d4460d3098fa35f48b58d1893e974e0, reworked for HAVE_MESA_VER
and llvmcmds vs MKCLANG.

build tested on several platforms and on amd64 and i386 with several
different build options (clang build, gcc build, gcc build with llvm
libs).

(mrg)

2019-03-20 13:34:51 UTC MAIN commitmail json YAML

PR/54058: vmx(4): Fix device enable command failure when the number of vCPUs
is not a power of two.

Make the size of the vmx(4) TX/RX queue a power of two not exceeding
the number of vCPUs.

(nonaka)

2019-03-20 07:18:07 UTC MAIN commitmail json YAML

updates for xf86-video-intel 6afed33b2d673d88674f0c76efe500ae414e8e1b.

(mrg)

2019-03-20 07:17:36 UTC MAIN commitmail json YAML

xsrc/external/mit/xf86-video-intel/dist/Makefile.in@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/aclocal.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/benchmarks/Makefile.in@1.1 / diff / nxr@1.1
xsrc/external/mit/xf86-video-intel/dist/compile@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/config.guess@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/config.h.in@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/config.sub@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/configure@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/depcomp@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/install-sh@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/libobj/Makefile.in@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/ltmain.sh@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/m4/libtool.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/m4/ltoptions.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/m4/ltsugar.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/m4/ltversion.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/m4/lt~obsolete.m4@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/man/Makefile.in@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/missing@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/src/Makefile.in@1.3 / diff / nxr@1.3
      :
(more 18 files)
fix merge botches.

re-add files autoconf files that the build sort of needs at
least configure for.  command used:

  % cd /usr/xsrc/external/mit/xf86-video-intel/dist
  % autoreconf -I m4 -I /usr/xsrc/external/mit/xorg-server/dist -i

tested on sandy bridge and kaby lake.

(mrg)

2019-03-20 07:16:07 UTC MAIN commitmail json YAML

- add reg_{s1e0r,s1e0w,s1e1r,s1e1w}_write() macro.
- show the result of AT insn at ddb "machine pte" command.

(ryo)

2019-03-20 07:05:06 UTC MAIN commitmail json YAML

spinkle __printflike(), and use PRIxxx

(ryo)

2019-03-20 06:49:39 UTC MAIN commitmail json YAML

2019-03-20 05:09:34 UTC MAIN commitmail json YAML

src/distrib/sets/lists/base/shl.mi@1.861 / diff / nxr@1.861
src/distrib/sets/lists/debug/shl.mi@1.220 / diff / nxr@1.220
src/external/gpl3/gcc/lib/libgomp/arch/ia64/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libstdc++-v3/Makefile@1.46 / diff / nxr@1.46
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/gstdint.h@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gstdint.h@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/gstdint.h@1.21 / diff / nxr@1.21
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/gstdint.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/gstdint.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf/gstdint.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/gstdint.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7/gstdint.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7eb/gstdint.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hf/gstdint.h@1.18 / diff / nxr@1.18
      :
(more 63 files)
bump libstdc++.so.

unfortunately, we attempted to do this for netbsd-8 but we did
not actually end up having any ABI incompatibility with that,
as turning off dual ABI in libstdc++ means *only* enabling the
old ABI.  however, enabling dual ABI with C11 defaults (ie,
a forward looking ABI) *is* an ABI-change for some special
cases and thus we should have bumped this a couple of weeks
ago when we re-enabled dual ABI.

call this "nb3 20190319".

mknative-gcc regen all switched ports and almost all of the
unswitched ports.

(mrg)

2019-03-20 03:13:39 UTC MAIN commitmail json YAML

pax: fix typos in comments in file_subs.c & tar.c

Stamp out "greengrocers' apostrophes" in various places (arguably there
are still more present, but style guides vary on that, and my energies
spent corralling wayward punctuation marks could be spent elsewhere).

(gutteridge)

2019-03-20 02:50:50 UTC MAIN commitmail json YAML

pax: minor adjustments to comments in pat_rep.c

Amend several comments to match present reality (the functionality was
added back in 2007).

(gutteridge)

2019-03-19 23:55:28 UTC MAIN commitmail json YAML

default oabi to strongarm.  fixes build.sh -a arm builds.

(mrg)

2019-03-19 20:30:05 UTC MAIN commitmail json YAML

G/C a couple of lingering instances of addupc().  There is still some bit-
rotten profiling code that references it, but that code is already almost
certainly broken for other reasons.

(thorpej)

2019-03-19 19:23:39 UTC MAIN commitmail json YAML

2019-03-19 19:15:57 UTC MAIN commitmail json YAML

Fix/remove some half-baked stuff I left in the prekern:

- Page-align the idt store, to be extra sure.
- Remove unneeded prototypes.
- Drop the TSS, we don't care and aren't even using it.
- Initialize %ss with a default value.
- Fix three exception handlers, no need to push an error code.

No actual impact, because these things are used only when returning from
exceptions received in the prekern; these exceptions are not supposed to
be ever received, never are, and if they were we wouldn't return anyway.

(maxv)

2019-03-19 16:56:29 UTC MAIN commitmail json YAML

The NCQ support added a private request queue to the wd driver. This
makes the regular buffer queue ineffective, it also allowed to queue
an unlimited number of requests.

Fix this by limiting the number of requests queued to the driver to
the possible number of concurrent NCQ transactions.

(mlelstv)

2019-03-19 16:45:28 UTC MAIN commitmail json YAML

- add ddb command "machine ttbr" to dump MMU tables.
- tidy up descriptions, usages and messages.

(ryo)

2019-03-19 16:05:49 UTC MAIN commitmail json YAML

- free L1-L3 pages that has been emptied by pmap_remove().
- if no memories, pmap_enter will return correctly ENOMEM if PMAP_CANFAIL, or wait until available any memories if !PMAP_CANFAIL.

These changes improves the stability when we use a huge virtual memory spaces with mmap.

(ryo)

2019-03-19 13:43:42 UTC netbsd-8 commitmail json YAML