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 (35m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 20:04:58 UTC Now

2021-07-25 06:00:32 UTC MAIN commitmail json YAML

Add accessor functions to get the number of gets and puts on pools and
pool caches.

(simonb)

2021-07-25 02:00:42 UTC MAIN commitmail json YAML

Flush input to EOL correctly in games/fish.

PR 54885 from Mouse, with a somewhat different patch.

(dholland)

2021-07-25 01:43:08 UTC MAIN commitmail json YAML

acpi_timer: use ACPI-Fast if WAET timer one read flag is set

The Windows ACPI Emulated Devices Table (WAET) has a hint to inform the OS
that a single read of the PM timer is reliable. Honour this flag.

(jmcneill)

2021-07-25 00:11:43 UTC MAIN commitmail json YAML

don't put CPUs in separate zones, turns out there really isn't much that
keeps the airflow apart around them

(macallan)

2021-07-24 23:38:41 UTC MAIN commitmail json YAML

aarch64: Remove empty source file and references to it.

(jmcneill)

2021-07-24 22:37:56 UTC MAIN commitmail json YAML

Regen: Add some Compaq display controllers.

(thorpej)

2021-07-24 22:36:31 UTC MAIN commitmail json YAML

Add some Compaq display controllers.

(thorpej)

2021-07-24 22:33:23 UTC MAIN commitmail json YAML

2021-07-24 22:30:59 UTC MAIN commitmail json YAML

2021-07-24 21:31:39 UTC MAIN commitmail json YAML

2021-07-24 20:45:45 UTC MAIN commitmail json YAML

Build fix: vtophys takes vaddr_t, not a ptr

(jmcneill)

2021-07-24 19:14:35 UTC MAIN commitmail json YAML

Report our interrupt trigger type.

(thorpej)

2021-07-24 19:06:25 UTC MAIN commitmail json YAML

Noralize autoconfiguration messages, and report interrupt trigger type.

(thorpej)

2021-07-24 18:50:07 UTC MAIN commitmail json YAML

Report which trigger type we're using for our interrupt.

(thorpej)

2021-07-24 17:07:59 UTC MAIN commitmail json YAML

aarch64: Restrict KERNEL_SUFFIXES to img only

(jmcneill)

2021-07-24 16:13:45 UTC MAIN commitmail json YAML

2021-07-24 15:56:06 UTC MAIN commitmail json YAML

Create temporary files in . rather than /tmp so that they get cleaned up
automatically by atf.

(gson)

2021-07-24 15:52:16 UTC MAIN commitmail json YAML

Don't blindly establish our interrupt handler as IST_LEVEL.  If the INTDEF
register has the INTHIGH bit set, the controller is going to keep the
line low when *not* asserting an interrupt, and since EISA level-tiggered
interrupts are active-low, this would result in a forever-interrupt-storm.

So, if INTHIGH is set in INTDEF, establish our interrupt handler as
IST_EDGE, which will program the EISA PIC to detect the interrupt on
the rising edge of the IRQ line.

(thorpej)

2021-07-24 15:44:16 UTC MAIN commitmail json YAML

Correct the comment about the INTHIGH bit in the INTDEF register.  It
does indeed mean "IRQ signal is active-high", but "else edge" is not
correct; level-triggered EISA interrupt are active-low, and edge-triggered
EISA interrupts are rising-edge, so INTHIGH would in fact mean "edge".

(thorpej)

2021-07-24 14:00:08 UTC MAIN commitmail json YAML

2021-07-24 13:59:29 UTC MAIN commitmail json YAML

bootimage: allow appending additional rc.conf options

If RC_CONF_EXTRA is defined, append the contents of this file to the
target file-system's rc.conf

(jmcneill)

2021-07-24 13:42:05 UTC MAIN commitmail json YAML

Instead of getting an estimate of the number of kernel buffers,
allocating memory for them, requesting all the metadata contents of
these buffers (and repeating in the unlikely case of the number of
buffers increasing too much since the estimate) and then straight away
throwing all the contents out just to count how many buffers there were,
just get the initial estimate from the kernel and subtract the slop.

Reduces system CPU usage of "systat vm" by approx 80% for any system
with a reasonable number of buffers.

(simonb)

2021-07-24 13:28:14 UTC MAIN commitmail json YAML

Expose KERN_BUFSLOP in <sys/sysctl.h>.

(simonb)

2021-07-24 13:27:39 UTC MAIN commitmail json YAML

Pad out the slop for kern.buf based on the passed in element size,
rather than a size of an unrelated struct.

(simonb)

2021-07-24 11:39:19 UTC MAIN commitmail json YAML

smbios: Add character device for accessing SMBIOS tables

The /dev/smbios character device gives an aperture into physical memory
that allows read-only access to the SMBIOS header and tables.

(jmcneill)

2021-07-24 11:36:41 UTC MAIN commitmail json YAML

acpi: /dev/acpi: fix bounds check when reading tables

(jmcneill)

2021-07-24 10:22:28 UTC MAIN commitmail json YAML

efiboot: Allow "fs" as alias for "initrd", for compat with x86

(jmcneill)

2021-07-24 08:39:54 UTC MAIN commitmail json YAML

For sh3, increment PC when PT_CONTINUE from trigger_trap(), as already
done for aarch64, arm, and powerpc. Otherwise, child is trapped to the
PTRACE_BREAKPOINT_ASM (== trapa) instruction indefinitely.

Fix tests/lib/libc/sys/t_ptrace_wait*:core_dump_procinfo.

(rin)

2021-07-24 07:59:10 UTC MAIN commitmail json YAML

#include <sys/param.h> for COHERENCY_UNIT

(skrll)

2021-07-24 07:48:38 UTC MAIN commitmail json YAML

#include <sys/param.h> for COHERENCY_UNIT and some KNF while I'm here.

(skrll)

2021-07-24 05:29:26 UTC MAIN commitmail json YAML

For evbppc, use C version of memcpy(3), memcmp(3), and memmove(3)
consistently for *.{po,pico,go} (for RUMP), in order to avoid
alignment faults for 403.

(rin)

2021-07-24 05:27:26 UTC MAIN commitmail json YAML

For evbppc, use C version of bcopy(3), memcpy(3), memcmp(3), and
memmove(3) consistently for debug library (*.go) in order to avoid
alignment faults for 403.

(rin)

2021-07-23 22:34:12 UTC MAIN commitmail json YAML

The number of components used must be at least 2.  An odd number of components
is not allowed.

PR bin/45162

(oster)

2021-07-23 21:53:34 UTC MAIN commitmail json YAML

2021-07-23 21:33:35 UTC MAIN commitmail json YAML

smbios: Support SMBIOS 2.x tables.

(jmcneill)

2021-07-23 21:33:00 UTC MAIN commitmail json YAML

efiboot: Add support for SMBIOS 2.x tables.

(jmcneill)

2021-07-23 20:18:24 UTC MAIN commitmail json YAML

2021-07-23 17:06:37 UTC MAIN commitmail json YAML

lint: rename cstk_t to control_statement

Rename the variables as well.  Their previous name 'ci' was not easy to
understand, the 'i' may have meant 'stack item'.  The new name 'cs'
simply means 'control statement'.

No functional change.

(rillig)

2021-07-23 16:48:48 UTC MAIN commitmail json YAML

lint: remove a few unnecessary abbreviations

No functional change.

(rillig)

2021-07-23 16:43:11 UTC MAIN commitmail json YAML

lint: make offset and alignment positive numbers

There's no use case for negative alignment or offsets in structures.

No functional change.

(rillig)

2021-07-23 15:36:57 UTC MAIN commitmail json YAML

lint: write canonical form of keywords

For keywords that have a single spelling variant (such as __packed),
write this form in the source, to make it searchable.  This also avoids
a few calls to malloc.

Previously, some keywords had leading underscores and some hadn't, this
was inconsistent.

No functional change.

(rillig)

2021-07-23 15:21:47 UTC MAIN commitmail json YAML

tests/lint: test lexer for the GCC extension __thread

(rillig)

2021-07-23 15:14:49 UTC MAIN commitmail json YAML

lint: move single semicolon to external_declaration

This aligns more closely with the grammar from GCC's parser.  The global
cleanup from the grammar rule 'external_declaration:
top_level_declaration' is not performed anymore, which doesn't matter
since there is nothing to clean up after a single semicolon.

No functional change.

(rillig)

2021-07-23 14:38:58 UTC MAIN commitmail json YAML

Use wildcard matches more consistently, and attach pci, eisa, isa, and
usb to their interface attributes, which makes for easier trimming-down
with "no" directives.

(thorpej)

2021-07-23 04:20:05 UTC MAIN commitmail json YAML

gcc hates strncpy()

(martin)

2021-07-23 04:19:50 UTC MAIN commitmail json YAML

Emulate the IEEE flavors of the FIX extension instructions:
- FTOIS, FTOIT
- ITOFS, ITOFT
- SRQTS, SQRTT

Left out for now are the VAX FP flavors:
- ITOFF
- SQRTF, SQRTG

(thorpej)

2021-07-23 03:57:06 UTC MAIN commitmail json YAML

IEEE SQRTS / SQRTT is fix_float opclass 11, not fix_float opclass 10
(which is VAX SQRTF / SQRTG).

(thorpej)

2021-07-23 03:50:32 UTC MAIN commitmail json YAML

- Expose alpha_fp_complete_at() to callers outside fp_complete.c.
- Use ufetch_32() instead of copyin() to fetch the instruction.

(thorpej)

2021-07-23 02:35:14 UTC MAIN commitmail json YAML

All IO is async in the RAIDframe kernel driver, so desc->async_flag
isn't needed.  Cleanup the flag from rf_DoAccess() and its caller as
well.

(oster)

2021-07-23 02:18:26 UTC MAIN commitmail json YAML

The 'pss_issued' pool is unused, so remove it.

(oster)

2021-07-23 00:54:45 UTC MAIN commitmail json YAML

Extensive mechanical changes to the pools used in RAIDframe.

Alloclist remains not per-RAID, so initialize that pool
separately/differently than the rest.

The remainder of pools in RF_Pools_s are now per-RAID pools.  Mostly
mechanical changes to functions to allocate/destroy per-RAID pools.
Needed to make raidPtr available in certain cases to be able to find
the per-RAID pools.

Extend rf_pool_init() to now populate a per-RAID wchan value that is
unique to each pool for a given RAID device.

TODO: Complete the analysis of the minimum number of items that are
required for each pool to allow IO to progress (i.e. so that a request
for pool resources can always be satisfied), and dynamically scale
minimum pool sizes based on RAID configuration.

(oster)

2021-07-23 00:26:20 UTC MAIN commitmail json YAML

getiobuf() can return NULL if there are no IO buffers available.
RAIDframe can't deal with that, so create a dedicated pool of buffers
to use for IO.  PR_WAITOK is fine here, as we pre-allocate more than
we need to guarantee IO can make progress.  Tuning of pool still to
come.

(oster)

2021-07-22 21:49:44 UTC MAIN commitmail json YAML

fix typo in unused obsolete set name.  noted by tnn.

(mrg)

2021-07-22 17:39:53 UTC MAIN commitmail json YAML

rtld expects an absolute path in execname provided via AUXV in order to
handle $ORIGIN properly and checks for that. Since we are calling its guts
directly, provide one.

(christos)

2021-07-22 17:09:01 UTC MAIN commitmail json YAML

revert changes to fflush.c (1.18) and fvwrite.c (1.25) until we investigate
collateral damage. Breaks h_intr.c test. Requested by RVP.

(christos)

2021-07-22 17:08:15 UTC MAIN commitmail json YAML

revert changes to fflush.c (1.18) and fvwrite.c (1.25) until we investigate
collateral damage. Breaks h_intr.c test. Requested by RVP.

(christos)

2021-07-22 15:48:40 UTC MAIN commitmail json YAML

It's unlikely that a process will be using restartable atomic sequences
on Alpha, and furthermore it's unlikely that any given context switch
will be returning to one even if the process has them.  So, re-arrange
the RAS processing in cpu_switchto() so that the most likely code paths
are predicted by the branch predictor.  On an EV4-class processor, this
will save ~4-6 cycles on just about every context switch.

(thorpej)

2021-07-22 13:54:38 UTC MAIN commitmail json YAML

2021-07-22 04:46:29 UTC MAIN commitmail json YAML

Minor shuffle to bring <machine/param.h> and <machine/limits.h> in before
any <sys/*.h> headers and for the COHERENCY_UNIT and CACHE_LINE_SIZE
defaults to be provided after the <machine/*.h> includes, but before the
<sys/*.h> includes.

COHERENCY_UNIT and CACHE_LINE_SIZE are used by a few <sys/*.h> filss.

I checked a handful of kernel builds produce the same binary before and
after this change.  I'll check more.

(skrll)

2021-07-22 01:39:18 UTC MAIN commitmail json YAML

Various minor cleanups and bug fixes to the FP software completion code:
- Use __CTASSERT() instead of rolling our own compile-time assertion
  using cpp.
- Use __BIT() &c instead of rolling our own.
- Improve some comments.
- Define a default FP_C and FPCR value that is self-consistent, and
  initialize it properly at process creation time.
- Fix signal information when the trap shadow cannot be resolved.
- Use defined constants rather than magic numbers for the exception
  summary bits.
- Add a machdep sysctl to enable FP software-completion debugging.

(thorpej)

2021-07-22 01:38:45 UTC MAIN commitmail json YAML

module_hold() returns void, not int

XXX module_hold() and module_rele() should probably not be exposed, since
XXX they really aren't MP-safe.

(pgoyette)

2021-07-22 01:31:55 UTC MAIN commitmail json YAML

Use __BITS() to define MDLWP_FP_C.

(thorpej)

2021-07-22 00:47:56 UTC MAIN commitmail json YAML

Expose SMBIOS tables using sysctl machdep.dmi.*, same as x86.

(jmcneill)

2021-07-21 23:26:15 UTC MAIN commitmail json YAML

x86's platform.c no longer has any x86 specific code in it, so move it to
dev/smbios_platform.c to let other ports use it

(jmcneill)

2021-07-21 23:16:09 UTC MAIN commitmail json YAML

2021-07-21 23:10:12 UTC MAIN commitmail json YAML

Remove commented line that is a duplicate of a real line.

(oster)

2021-07-21 21:24:45 UTC MAIN commitmail json YAML

lint: move assignments to $$ at the end of the action

They are closely related to return statements.

While here, add some more remarks from reviewing the grammar.

No functional change.

(rillig)

2021-07-21 21:17:57 UTC MAIN commitmail json YAML

lint: rename grammar rules for specifier-qualifier-list

No functional change.

(rillig)

2021-07-21 21:11:19 UTC MAIN commitmail json YAML

lint: remove unnecessary assertion for type qualifier

If there is any new type qualifier that lint should support (such as
_Atomic from C11), the obvious place is to look in the grammar rule
type_qualifier, so there is no need to have an assertion.

No functional change.

(rillig)

2021-07-21 21:04:00 UTC MAIN commitmail json YAML

lint: rename ignore_up_to_rparen to match the grammar rule

No functional change.

(rillig)

2021-07-21 12:05:02 UTC MAIN commitmail json YAML

libm: build fma(3), fmaf(3), fmal(3) on alpha

Alpha has no hardware-assisted fused multiply-add, so the fallback
C implementation must be used. A basic smoke test shows the
implementation works for
"x * x - 1.0f" vs "fmaf(x, x, -1.0f)" with "volatile float x = 1.0008f;"

(tnn)

2021-07-21 07:39:58 UTC MAIN commitmail json YAML

Bump the version for ALTQ/CBQ changes

Welcome to 9.99.87

(ozaki-r)

2021-07-21 07:34:44 UTC MAIN commitmail json YAML

2021-07-21 06:49:26 UTC MAIN commitmail json YAML

altq, cbq: apply tweaks for PPP to only PPP interfaces

(ozaki-r)

2021-07-21 06:48:28 UTC MAIN commitmail json YAML

altqstat, cbq: follow uint64_t changes

PR kern/56319

(ozaki-r)

2021-07-21 06:47:33 UTC MAIN commitmail json YAML

2021-07-21 06:45:10 UTC MAIN commitmail json YAML

altqstat: follow changes of types of variables

PR kern/56319

(ozaki-r)

2021-07-21 06:42:07 UTC MAIN commitmail json YAML

altqstat: show raw values of avgidle, maxidle and minidle

The values are sometimes small and cooked values of them can be less
informative such as 0 or -1.

(ozaki-r)

2021-07-21 06:41:22 UTC MAIN commitmail json YAML

altq, cbq: treat time in nanoseconds

Time granularity in microseconds is sometimes not enough to provide
accurate bandwidth control; actual bandwidth on a capped class
can exceed its limit considerably in some cases.

Treating time in nanoseconds requires the following changes:
- Use timespec instead of timeval
- Use nanotime(9) instead of microtime(9)
- Change the type of some variables, especially *idle, to long

(ozaki-r)

2021-07-21 06:38:57 UTC MAIN commitmail json YAML

2021-07-21 06:36:33 UTC MAIN commitmail json YAML

2021-07-21 06:35:46 UTC MAIN commitmail json YAML

2021-07-21 06:34:52 UTC MAIN commitmail json YAML

need <sys/param.h> for COHERENCY_UNIT

(skrll)

2021-07-21 06:33:30 UTC MAIN commitmail json YAML

altq, cbq: convert ns_per_byte to ps_per_byte

Also the type of variables of it is changed to u_long from int.

This change provides fine-grain resolution of bandwidth.  For example
750 Mbps was treated as 800 Mbps internally because bandwidth was
represented as nanoseconds per byte.  Converting the representation
to picoseconds per byte enables to treat 750 Mbps as-is.

PR kern/56319

(ozaki-r)

2021-07-21 06:18:32 UTC MAIN commitmail json YAML

Add AUDIO_SETINFO_gain_balance test.
The test checks whether AUDIO_SETINFO can change the gain and the balance
at the same time (if MD driver has the capability).  See PR kern/56308.

(isaki)

2021-07-21 06:14:58 UTC MAIN commitmail json YAML

AUDIO_SETINFO: fix a bug that the gain and the balance could not be set
at the same time.  Fix PR kern/56308.

(isaki)

2021-07-20 19:44:36 UTC MAIN commitmail json YAML

2021-07-20 19:35:53 UTC MAIN commitmail json YAML

2021-07-20 19:31:23 UTC MAIN commitmail json YAML

Extract just the random bits to feed to /dev/urandom.

This makes no difference in the randomness of the pool, but it improves
on the estimation (if any) of how many random bits were obtained.
Also make the ftp -q time out a bit longer since I got some time outs.

(rhialto)

2021-07-20 19:27:51 UTC MAIN commitmail json YAML

Don't override /etc/rc.conf if it sets ec2_init.

(rhialto)

2021-07-20 18:43:06 UTC MAIN commitmail json YAML

lint: make char unsigned on aarch64

This fixes tests msg_074 and msg_076, which previously warned for
'\xff': conversion of 'int' to 'char' is out of range [119]

The commit from 2014-08-10 that first defined char as signed had the
remark "Enough for a distribution build".  At that time, there was no
unit test for lint1 that would have detected the signedness of char.

(rillig)

2021-07-20 16:41:27 UTC MAIN commitmail json YAML

PR 56303: do not borrow from the default swap allocation if we are in
tiny ram conditions and will need to enable swap early.

(martin)

2021-07-20 16:40:12 UTC MAIN commitmail json YAML

RAM size will not change during installation, do the sysctl() dance
only once.

(martin)

2021-07-20 11:39:16 UTC MAIN commitmail json YAML

need <sys/param.h> for COHERENCY_UNIT

(christos)

2021-07-20 08:37:20 UTC MAIN commitmail json YAML

no need for extern kmutex_t itimer_mutex or #include <sys/mutex.h> here.

(skrll)

2021-07-20 08:36:11 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2021-07-20 05:43:10 UTC MAIN commitmail json YAML

Define the f_float in-memory format.  Line of the fields in s_float and
t_float.

(thorpej)

2021-07-20 02:42:10 UTC MAIN commitmail json YAML

Define the FIX float function codes (ITOFF, ITOFS, ITOFT).

(thorpej)

2021-07-20 01:56:06 UTC MAIN commitmail json YAML

Emulate the CIX extension instructions (CTPOP, CTTZ, CTLZ).

(thorpej)

2021-07-19 22:24:55 UTC MAIN commitmail json YAML

NFC - if/else blocks start with the same mutex_exit, just move it up.

(andvar)

2021-07-19 22:21:36 UTC MAIN commitmail json YAML

- In unaligned_fixup(), use defined constants for opcodes, not magic numbers.

- In handle_opdec(), use ufetch_int() to fetch the instruction and
  _u{fetch,store}_{8,16}() when emulating BWX instructions rather
  than copyin() / copyout() (they're faster).

- Add event counters for BWX instruction emulation.

(thorpej)

2021-07-19 21:16:33 UTC MAIN commitmail json YAML

Various ena(4) bug fixes, from KUSABA Takeshi <t-kusaba@iij.ad.jp>:

[PATCH 01/32] include device_xname for evcnt group.
[PATCH 02/32] fix improper NULL check.
[PATCH 03/32] add tx drop counter
[PATCH 04/32] remove unimplemented m_getjcl
[PATCH 05/32] make ENA_MEM_{ALLOC,FREE}_COHERENT symmetric.
[PATCH 06/32] disestablish the correct interrupt.
[PATCH 07/32] fix null check target.
[PATCH 08/32] use if_initialize() and if_register() instead of
[PATCH 09/32] free all pci-related resource.
[PATCH 10/32] no need to call if_free(), but to call if_detach
[PATCH 11/32] add some locking assertions.
[PATCH 12/32] use bus_size_t for bus_dma instead of uint32_t.
[PATCH 13/32] no need to pass interlock, ena_timer_service does not
[PATCH 14/32] enable ena(4) to down I/F
[PATCH 15/32] destroy I/O queues before disestablishing msix
[PATCH 16/32] count input/output packet stats.
[PATCH 17/32] fix missing #ifdef LRO, NetBSD does not support LRO
[PATCH 18/32] MP-ify TX, allocate mbuf queue to each TX ring.
[PATCH 19/32] down the interface first when to detach, to prevent
[PATCH 20/32] default link speed should be unknown.
[PATCH 21/32] protect ena_adapter members only by "global_mtx".
[PATCH 22/32] lower global_mtx interrupt level
[PATCH 23/32] reorder function declaration
[PATCH 24/32] add locking notes and some marking.
[PATCH 25/32] process RX in workqueue context, as same as FreeBSD
[PATCH 26/32] count rx_drops correctly.
[PATCH 27/32] no need to lock when attach/detach, down/up
[PATCH 28/32] fix memory leak.
[PATCH 29/32] add "stopping" flag to ena_ring.
[PATCH 30/32] make the flags atomic.
[PATCH 31/32] do not schedule timer when device is down.
[PATCH 32/32] no need to start timer if I/F is down.

(jmcneill)

2021-07-19 21:04:39 UTC MAIN commitmail json YAML

Release mutexes in few more places on failure path. Reviewed them in chfs code after fixing PR kern/56242.
ok riastradh

(andvar)

2021-07-19 19:13:33 UTC MAIN commitmail json YAML

Mention caution changing the defaults.

(christos)

2021-07-19 16:31:19 UTC MAIN commitmail json YAML

Re-arrange the kernel pmap fast-path in pmap_extract() so that
when DEBUG is not enabled, the compiler can emit a tail-call to
vtophys_internal().

(thorpej)

2021-07-19 16:25:54 UTC MAIN commitmail json YAML

There is already a fast-path in pmap_extract() for the kernel pmap, so
don't bother doing a conditional for kernel vs. user-space here.

KASSERT() that pmap_extract() succeeds; it is a programming error if
it does not, and it's not a great idea to insert a garbage address
into the SGMAP page table.

(thorpej)

2021-07-19 14:49:45 UTC MAIN commitmail json YAML

there is no need to keep pvos for unmanaged mappings on a hidden p/v list,
since "unmanaged" means that we don't want to find such pvos on any p/v list.
instead, just don't put such pvos on any p/v list at all and remove
the two hidden p/v lists for unmanaged mappings.  code mostly from martin,
to implement rin's suggestion of unifying the two hidden lists.

(chs)

2021-07-19 10:30:36 UTC MAIN commitmail json YAML

Match the declaration in <sys/kauth.h>

(christos)

2021-07-19 10:28:58 UTC MAIN commitmail json YAML

Remove definitions for CACHE_LINE_SIZE and COHERENCY_UNIT which are the same
as the default.

(christos)

2021-07-19 10:00:33 UTC MAIN commitmail json YAML

There's no need to adjust `iov' in the error path.
Returning the amount written is all that's needed.
from RVP

(christos)

2021-07-19 01:34:03 UTC MAIN commitmail json YAML

binutils 2.37 has been released.

(rin)

2021-07-19 01:33:53 UTC MAIN commitmail json YAML

Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Part 3; cvs randomly didn't commit all the files the first time, still
hunting down the files it skipped.

(dholland)

2021-07-19 01:30:25 UTC MAIN commitmail json YAML

Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Part 2; cvs randomly didn't commit these changes before, and then hid
them from me until I touched the files to force it to rethink. Dunno
what happened.

There's probably more of these, going to have to scan the tree the
hard way.

(dholland)

2021-07-19 01:06:14 UTC MAIN commitmail json YAML

For CIA/Pyxis and Tsunami/Typhoon/Titan, save the firmware's idea of
the DMA window configuration, and restore it at shutdown time.  Make
sure that all assumptions we've made on the firmware's configuration
of DMA windows is correct.

(thorpej)

2021-07-18 23:57:34 UTC MAIN commitmail json YAML

Fix ptyfs link and symlink ops.

They were set (via macro obfuscation just eliminated) to
genfs_abortop, which is the wrong thing. These code paths are
currently inaccessible because of EROFS enforcement in namei, but if
either were reached odd behavior would likely ensue. Use
genfs_eopnotsupp like the rest of the ops that don't make sense here.

(dholland)

2021-07-18 23:57:16 UTC MAIN commitmail json YAML

2021-07-18 23:56:14 UTC MAIN commitmail json YAML

Use macros for the canned parts of device and fifo vnode op tables.

Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain
the portion of the vnode ops table declaration that is
(conservatively) the same in every fs. Use these in every fs that
supports devices and/or fifos with separate ops tables.

Note that ptyfs works differently (it has one type of vnode with
open-coded dispatch to the specfs code, which I haven't changed in
this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic
dispatch that already does more or less the same thing, which I also
haven't changed.

Also note that this anticipates a few bits in the next changeset here
and there, and adds missing but unreachable calls in some cases (e.g.
most fses weren't defining whiteout on devices and fifos, but it isn't
reachable there), and it changes parsepath on devices and fifos to
genfs_badop from genfs_parsepath (but it's not reachable there
either).

It appears that devices in kernfs were missing kqfilter, so it's
possible that if you try to use kqueue on /kern/rootdev that it'll
explode.

And finally note that the ops declaration tables aren't
order-dependent. (Other than vop_default_desc has to come first.)
Otherwise this wouldn't work.

(dholland)

2021-07-18 19:58:34 UTC MAIN commitmail json YAML

According to section 8.1.2.2 of the Tsunami/Typhoon hardware reference
manual (DS-0025A-TE), the SGMAP TLB is arranged as 168 locations of 4
consecutive quadwords.  It seems that on some revisions of the Pchip,
SGMAP translation is not perfectly reliable unless we align the DMA
segments to the TLBs natural boundaries (observed on the API CS20).

N.B. the Titan (as observed on a Compaq DS25) does not seem to have this
problem, but we'll play it safe and run this way on both variants.

PR port-alpha/40604.

(thorpej)

2021-07-18 11:45:31 UTC MAIN commitmail json YAML

aiomixer: Honor terminal colors. Looks better in cool-retro-term.

(nia)

2021-07-18 09:30:36 UTC MAIN commitmail json YAML

Fix confusion arising from whether FOLLOW or NOFOLLOW is 0.

In vn_open, don't set and then throw away FOLLOW, and clarify the
comment about requesting FOLLOW/NOFOLLOW behavior.

Related to PR 56316.

(dholland)

2021-07-18 07:22:22 UTC MAIN commitmail json YAML

PR kern/56316: vn_open doesn't follow symlinks

remove setting of O_NOFOLLOW. restores ZFS being able
to open devices via symlinks again.

(kardel)

2021-07-18 06:57:28 UTC MAIN commitmail json YAML

skip symbol tables that were unloaded again to avoid EFAULT when reading
ksyms.

also restore TAILQ_FOREACH idiom.

(mlelstv)

2021-07-18 06:24:58 UTC MAIN commitmail json YAML

2021-07-18 05:12:27 UTC MAIN commitmail json YAML

Allow for the SGMAP implementation to specify a minimum alignment for
SGMAP DMA segments.  If not specified, PAGE_SIZE will be used, as before.

(thorpej)

2021-07-18 05:09:47 UTC MAIN commitmail json YAML

Oops, pass the correct bus_dma_tag_t to the "hi" sgmap init function.

(thorpej)

2021-07-18 00:01:21 UTC MAIN commitmail json YAML

- Don't bother issuing a warning if we program the WBASE / WSM register
  to different values than the firmware.
- Reduce the differences in how we initialize the DMA tags vis a vis the
  other Alpha implementations.
- Use Window 2 to provide a 1G @ 3G PCI SGMAP window on systems with more
  than 1G of RAM, rather than falling back on the ISA DMA window which is
  small and could get starved by PCI devices.
- Make sure we set TBASE to 0 for direct-mapped windows.

(thorpej)

2021-07-17 23:53:02 UTC MAIN commitmail json YAML

- Define the DAC enable bit that's present in WSBA3.
- Define symbolic constants for the valid WSM values.

(thorpej)

2021-07-17 19:27:23 UTC MAIN commitmail json YAML

Use strlcpy() to copy the wedge device name (the code still assumes
the string is short enough and 0 terminated, but now gcc is happy).

(martin)

2021-07-17 18:07:23 UTC MAIN commitmail json YAML

PR 56310: if we fail to create a wedge this either means there is
a bug here (and we requested something nonsensial), or there are pre-
existing "foreign" wedges which disturb our work.
So remove all wedges on this disk that we do not know about and retry
to add our new wedge.

(martin)

2021-07-17 16:31:51 UTC MAIN commitmail json YAML

provide an equivalent alignment for __float128 for clang and i386 that
does not have it. Idea from mrg@

(christos)

2021-07-17 15:37:04 UTC MAIN commitmail json YAML

Mark vlan_safe_ifpromisc_locked() as "__unused" to appease LLVM.

Maybe completely remove this short helper?

(hannken)

2021-07-17 14:03:36 UTC MAIN commitmail json YAML

PR 56313: fix eroneous = that was meant to be ==

(martin)

2021-07-17 11:32:50 UTC MAIN commitmail json YAML

PR 56310: avoid assert() failures (or crashes) when the runtime addition
of a wedge fails (for whatever reasons).

(martin)

2021-07-17 10:45:58 UTC MAIN commitmail json YAML

puc(4): Add Intel Core 5G (mobile) KT.

(riastradh)

2021-07-17 07:13:20 UTC MAIN commitmail json YAML

2021-07-17 07:11:36 UTC MAIN commitmail json YAML

add current generation NVIDIA graphics cards (3050-3090 etc.)

(mrg)

2021-07-17 00:30:39 UTC MAIN commitmail json YAML

Back in rev 1.21, mhitch@ fixed an issue with his 1.5GB RAM PWS 500au
by using a fall-back to the ISA DMA window if DMA was out of range for
the 1G @ 1G PCI DMA window.  Alas, the ISA DMA window is pretty small
(8M @ 8M), and it's possible to starve it with PCI devices that might
have, for example, large control data structures there.

So, instead, if the system has more than 1G of RAM, use Window 3
(previously unused) as a SGMAP window 1G @ 3G, and set that as the
fall-back if the direct-mapped window fails.

(thorpej)

2021-07-16 21:18:41 UTC MAIN commitmail json YAML

Fix incorrect function name, some grammar and typos in comments. Remove trailing tab symbol.
No functional change intended.

(andvar)

2021-07-16 19:13:21 UTC MAIN commitmail json YAML

Instrument success/faulure of phyisically contiguous uarea allocation.

(thorpej)

2021-07-16 19:02:22 UTC MAIN commitmail json YAML

The Alpha AXP Architecture Reference Manual is explcit that the only
valid bits in the PSL are the IPL and USER bits, the latter of which
will always be clear when in the kernel, and that all other bits MBZ.
So, when reading the PSL to get the current IPL, don't bother masking
with ALPHA_PSL_IPL_MASK.

(thorpej)

2021-07-16 18:50:19 UTC MAIN commitmail json YAML

On LCA45 systems, look at the memory controller's Bcache configuration
to initialize uvmexp.ncolors rather than hard-coding a value per model
(some models can have more than one configuration).

(thorpej)

2021-07-16 17:09:33 UTC MAIN commitmail json YAML

Define the memory controller registers, and contents for the Cache
register.

(thorpej)

2021-07-16 12:34:10 UTC MAIN commitmail json YAML

When fflush fails, adjust pointers and the io vectors. From RVP. Fixes
core-dump at cvs(1) exit(3).

(christos)

2021-07-16 12:20:01 UTC MAIN commitmail json YAML

Add missing RCSID, remove non-breaking space characters in copyright, remove vim modeline (from yambo in IRC).
ok riastradh

(andvar)

2021-07-16 12:09:36 UTC MAIN commitmail json YAML

Remove commented code, including empty if block. Replace tab with whitespace in usage declaration.

(andvar)

2021-07-16 10:02:50 UTC MAIN commitmail json YAML

PR port-sh3/56311

Correct misinterpretation for the cause of the problem, and link to
the bug report for upstream.

(rin)

2021-07-16 02:33:32 UTC MAIN commitmail json YAML

tests, altq: fix checks of altqd startup

Hopefully the fix stabilizes test results on qemu/anita.

(ozaki-r)

2021-07-15 23:54:22 UTC MAIN commitmail json YAML

lint: reduce verboseness of merge_signedness

No functional change.

(rillig)

2021-07-15 23:47:00 UTC MAIN commitmail json YAML

lint: rename merge_type_specifiers to merge_signedness

No functional change.

(rillig)

2021-07-15 23:42:50 UTC MAIN commitmail json YAML

lint: replace switch statement in dcs_merge_declaration_specifiers

Grouping the rules by their abstract type took a lot of visual space.
Instead, move each of the rules from C11 6.7.2 into its own if
statement, so that the rules almost read like in the standard.

No functional change.

(rillig)

2021-07-15 23:07:05 UTC MAIN commitmail json YAML

lint: extract dcs_merge_declaration_specifiers from end_type

No functional change.

(rillig)

2021-07-15 22:47:17 UTC MAIN commitmail json YAML

lint: clean up mix of 'case' and 'if'

No functional change.

(rillig)

2021-07-15 22:42:46 UTC MAIN commitmail json YAML

lint: remove warning about _Complex long double in traditional C

Complex types have been introduced in C99, so there is no danger of
anyone trying to use them in traditional C.

(rillig)

2021-07-15 22:39:06 UTC MAIN commitmail json YAML

Make sure that mutex is released before conditional return statements. Fixes PR kern/56242
ok riastradh

(andvar)

2021-07-15 21:56:51 UTC MAIN commitmail json YAML

2021-07-15 21:34:11 UTC MAIN commitmail json YAML

tests/lint: cover abstract_declaration, discover internal error

(rillig)

2021-07-15 21:22:19 UTC MAIN commitmail json YAML

lint: allow pointer casts from 'char *' and 'unsigned char *'

For the sake of traditional code that did not yet migrate to using 'void
*' for arbitrary pointers.

In the standard NetBSD build, this reduces the number of lint warnings
by around 7000, of 57000 total.

(rillig)

2021-07-15 21:12:46 UTC MAIN commitmail json YAML

2021-07-15 21:00:05 UTC MAIN commitmail json YAML

2021-07-15 20:05:49 UTC MAIN commitmail json YAML

2021-07-15 19:51:29 UTC MAIN commitmail json YAML

2021-07-15 19:03:17 UTC MAIN commitmail json YAML

Add some OpenStack support.

I found that in the cloud I tried, by the time this script runs, there
is no default route in effect yet. That takes some 5 to 10 seconds
longer. So I added a retry loop, and to make that easier, changed the
order of queries.  To make sure it doesn't wait ~forever for a
non-existent service I added the -q 1 option to ftp invocations.

I also added OpenStack-specific metadata which contains a different
random_seed of 512 bytes every time it is requested.  See
https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L355
It may not be trusted data but only in the strictest sense of the word.
The data can only be observed by people with access to the cloud's
overlay network for the particular VM.

(rhialto)

2021-07-15 18:18:15 UTC MAIN commitmail json YAML

lint: merge duplicate code in declarations

No functional change, code coverage outside cgram.y stays the same.

(rillig)

2021-07-15 18:13:25 UTC MAIN commitmail json YAML

lint: rename grammar rule 'declaration' to 'declaration_or_error'

This prepares for merging the duplicate code from top_level_declaration.
The code coverage outside cgram.y is exactly the same as before.

No functional change.

(rillig)

2021-07-15 17:48:10 UTC MAIN commitmail json YAML

2021-07-15 17:20:58 UTC MAIN commitmail json YAML

lint: in the grammar, replace %prec with explicit rules

This way, in the arguments of __attribute__, where only constant
expressions are expected, a '=' leads to a syntax error.  Previously,
this was not detected.

No noticeable change in practice since these cases are already handled
by the compilers.

(rillig)

2021-07-15 17:20:25 UTC MAIN commitmail json YAML

Recognize OpenStack too (it also has a metadata service).

Typical values for machdep.dmi are:

machdep.dmi.system-vendor = OpenStack Foundation
machdep.dmi.system-product = OpenStack Nova
machdep.dmi.system-version = 17.0.12
machdep.dmi.system-serial = c46130fb-a56e-43f2-9d98-492d24656b9c
machdep.dmi.system-uuid = 680b8119-0d74-4f78-a6fd-e79dfede905c
machdep.dmi.bios-vendor = SeaBIOS
machdep.dmi.bios-version = 1.10.2-1ubuntu1
machdep.dmi.bios-date = 20140401
machdep.dmi.chassis-vendor = QEMU
machdep.dmi.chassis-type = QEMU
machdep.dmi.chassis-version = pc-i440fx-2.8
machdep.dmi.processor-vendor = QEMU
machdep.dmi.processor-version = pc-i440fx-2.8
machdep.dmi.processor-frequency = 2000 MHz

(rhialto)

2021-07-15 17:09:08 UTC MAIN commitmail json YAML

2021-07-15 17:03:50 UTC MAIN commitmail json YAML

lint: replace call to ttos with type_name

Since tyname.c 1.20 from 2021-01-02, type_name is as simple to use as
ttos and more expressive.  It can also be called multiple times without
invalidating the returned strings.

Used only in debug mode.

(rillig)

2021-07-15 15:23:46 UTC MAIN commitmail json YAML

back out the previous accidental commit

(nisimura)

2021-07-15 08:09:31 UTC MAIN commitmail json YAML

Add a new sysctl to read rxr->next_to_refresh.

(msaitoh)

2021-07-15 08:02:47 UTC MAIN commitmail json YAML

PR port-sh3/56311

Document -O0 workaround for initdecl() in doc/HACKS.

(rin)

2021-07-15 07:58:05 UTC MAIN commitmail json YAML

PR port-sh3/56311

As a workaround for GCC bug, compile initdecl() with -O0 for sh3.

(rin)

2021-07-15 07:03:14 UTC MAIN commitmail json YAML

aiomixer: avoid wasting space

(nia)

2021-07-15 06:59:55 UTC MAIN commitmail json YAML

aiomixer: fix calculation of maximum screen width

(nia)

2021-07-15 06:57:11 UTC MAIN commitmail json YAML

aiomixer: Clear screen after device selection

(nia)

2021-07-15 05:07:50 UTC MAIN commitmail json YAML

Migrate btn_init() from btnopen() (with RUN_ONCE) to btn_obio_attach().

Fix uninitialized use of btn_event_list_lock in btn_event_register().

Found by LOCKDEBUG.

(rin)

2021-07-15 04:58:33 UTC MAIN commitmail json YAML

For cpu_switchto(), inherit PSL_IMASK field of SR between lwp's.

Otherwise, IPL is lost during context switch, which allows improper
interrupts when, e.g., spin mutexes are hold.

With this fix, full ATF is successfully completed on DIAGNOSTIC
kernel (with one KASSERT in uvm_map.c, which triggers kern/51254,
converted to printf).

Thanks uwe@ for review and suggesting optimization.

Also thanks ad@ for useful comment, and ryo@ for giving me reference
manuals of SH-4!

(rin)

2021-07-15 04:05:47 UTC MAIN commitmail json YAML

vlan: drop tagged outgoing packets

vlan(4) doesn't support Q-in-Q yet.

(yamaguchi)

2021-07-15 03:25:50 UTC MAIN commitmail json YAML

2021-07-15 01:43:54 UTC MAIN commitmail json YAML

- Use defined constants for PIC registers, not magic numbers (XXX except
  for the ELCR register; need a new header file).
- In jensenio_specific_eoi(), actually issue a specific EOI (the code
  was erroneously issuing a non-specific EOI).
- In jensenio_pic_init(), ensure all IRQs are initialized to EDGE trigger.

(thorpej)

2021-07-15 01:29:23 UTC MAIN commitmail json YAML

- Use defined constants for PIC registers, not magic numbers.
- Inline specific_eoi().

NFC.

(thorpej)

2021-07-14 20:39:13 UTC MAIN commitmail json YAML

2021-07-14 18:56:05 UTC MAIN commitmail json YAML

When converting partitions from one scheme to another, never fail
without providing (if requested) a proper error message.

(martin)

2021-07-14 18:05:25 UTC netbsd-9 commitmail json YAML

2021-07-14 18:04:05 UTC netbsd-9 commitmail json YAML

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

sys/arch/hp300/dev/rd.c: revision 1.109
sys/arch/hp300/stand/Makefile.buildboot: revision 1.37
sys/arch/hp300/stand/common/ct.c: revision 1.8
sys/arch/hp300/dev/hpibvar.h: revision 1.22
sys/arch/hp300/dev/ct.c: revision 1.62
sys/arch/hp300/dev/hpibvar.h: revision 1.23
sys/arch/hp300/dev/ct.c: revision 1.63
sys/arch/hp300/dev/hpibvar.h: revision 1.24
sys/arch/hp300/dev/mt.c: revision 1.55
sys/arch/hp300/dev/rdreg.h: revision 1.14
sys/arch/hp300/dev/hpib.c: revision 1.43 (via patch)
sys/arch/hp300/dev/rdreg.h: revision 1.15
sys/arch/hp300/dev/rdreg.h: revision 1.16
sys/arch/hp300/dev/rdreg.h: revision 1.17
etc/etc.hp300/MAKEDEV.conf: revision 1.15
sys/arch/hp300/stand/common/hpibvar.h: revision 1.6
sys/arch/hp300/stand/common/rd.c: revision 1.11
sys/arch/hp300/dev/ctreg.h: revision 1.11
sys/arch/hp300/dev/rdvar.h: revision 1.24
sys/arch/hp300/dev/rdvar.h: revision 1.25
sys/arch/hp300/dev/rdvar.h: revision 1.26
sys/arch/hp300/dev/rd.c: revision 1.103
sys/arch/hp300/dev/rd.c: revision 1.104
sys/arch/hp300/dev/rd.c: revision 1.105
sys/arch/hp300/dev/rd.c: revision 1.106
sys/arch/hp300/dev/rd.c: revision 1.107
sys/arch/hp300/dev/rd.c: revision 1.108

Consistently use #define<tab> here.

Consistently use #define<tab> as rdreg.h.

No need to bother to use aprint_debug(9) inside #ifdef DEBUG block.

Pull HP-IB probe fixes from OpenBSD/hp300.
https://marc.info/?l=openbsd-cvs&m=113217630426615&w=2

Overhaul the way HP-IB devices are probed. We will now do an exhaustive
probe of the (slave, punit) tuple space, since this is the only way we
can get a dual disk or dual tape enclosure to attach two devices of the
same kind.

This allows using multiple rd(4) disk images on the same slave emulated
by HPDisk (and probably the real 9122D with dual floppy disk drives).

Thanks to Miod Vallat for suggesting this fix.

Move attach messages from common rdident() to explicit rdattach().

Cleanup duplicated CS/80 indentify structures.  From OpenBSD.
https://marc.info/?l=openbsd-cvs&m=113227249626888&w=2

Define the CS/80 identify structure only once and correctly, instead of
duplicating it in every CS/80 driver and using an hardcoded number for
its size.
No functional change.
https://marc.info/?l=openbsd-cvs&m=113273001020159&w=2

Pick HP-IB describe structures changes from main kernel code here as well.

Add support of multiple rd(4) disks on all punits for HPDisk.

Special thanks to Anders Gustafsson, the author of "HPDisk"
(GPIB disk emulator) http://www.dalton.ax/hpdisk/
for providing bare boards and improving firmwares for NetBSD/hp300.

Specify -fno-unwind-tables to shrink binaries.

Before:
  text    data    bss    dec    hex filename
  77902    4328  137120  219350  358d6 uboot

After:
  text    data    bss    dec    hex filename
  64186    4328  137120  205634  32342 uboot

Create rd3 device nodes, for HPDisk.

Add Device and drive info of 2202A, 7908A, 7911A, and 7941A.

Geometries and description info are taken from hpdrive.ini.sample
in HPDrive.  Briefly tested on HPDisk.

Print rd(4) capacity and geometry info as sd(4) and wd(4) do.

Before:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block

After:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 544 MB, 698 cyl, 13 head, 123 sec, 512 bytes/block x 1116102 blocks

(martin)

2021-07-14 17:55:18 UTC netbsd-8 commitmail json YAML

2021-07-14 17:53:50 UTC netbsd-8 commitmail json YAML

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

sys/arch/hppa/dev/sti_sgc.c: revision 1.3

Fix silent freeze on probing sti(4) framebuffer on 712/60.  PR/52162

Ok'ed by skrll@.
Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-07-14 17:52:32 UTC netbsd-9 commitmail json YAML

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

sys/arch/hppa/dev/sti_sgc.c: revision 1.3

Fix silent freeze on probing sti(4) framebuffer on 712/60.  PR/52162

Ok'ed by skrll@.
Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-07-14 17:19:37 UTC MAIN commitmail json YAML

lint: in the grammar, rename 'decl' to 'declarator'

For a casual reader, the abbreviation 'decl' was ambiguous since C has
both declarations and declarators.

No functional change.

(rillig)

2021-07-14 17:07:24 UTC MAIN commitmail json YAML

lint: extract build_member_access from the grammar

No functional change.

(rillig)

2021-07-14 16:59:39 UTC MAIN commitmail json YAML

lint: rename grammar rule 'expr' to 'expression'

No functional change.

(rillig)

2021-07-14 16:51:57 UTC MAIN commitmail json YAML

lint: remove references to C18

The standard is called C17, not C18, and furthermore the section
numbering didn't change between C11 and C17.

No functional change.

(rillig)

2021-07-14 13:32:37 UTC MAIN commitmail json YAML

2021-07-14 13:28:40 UTC MAIN commitmail json YAML

2021-07-14 13:24:59 UTC MAIN commitmail json YAML

clang does not support __float128 in our configuration and i386

(christos)

2021-07-14 09:15:01 UTC MAIN commitmail json YAML

PR/56307: Konrad Schroder: npfctl's error messages don't report the failing
filename.
Add the filename (but in quotes for consistency with other places in the file).
Also fix an err -> errx

(christos)

2021-07-14 08:51:51 UTC MAIN commitmail json YAML

vlan: Added missing $HIJACKING before brconfig

(yamaguchi)

2021-07-14 08:50:24 UTC MAIN commitmail json YAML

Added tests for adding vlan(4) to a bridge and deleting from it

- add vlan(4) that has no parent interface to a bridge member
  - the vlan(4) cannot be added to a bridge member
- detach the parent interface of vlan(4) that is in a bridge member
  - vlan(4) is deleted from a bridge member at the detaching

(yamaguchi)

2021-07-14 08:33:47 UTC MAIN commitmail json YAML

tests, altq: test new options

(ozaki-r)