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

2024-05-10 00:13:57 UTC Now

2019-07-31 02:21:31 UTC MAIN commitmail json YAML

Whitespace fixes. No functional change.

(msaitoh)

2019-07-31 02:09:02 UTC MAIN commitmail json YAML

G/C ri_delta.

XXX
Bump kernel version after other changes for struct rasops_info.

(rin)

2019-07-31 02:04:15 UTC MAIN commitmail json YAML

2019-07-31 00:14:26 UTC MAIN commitmail json YAML

2019-07-30 20:28:50 UTC MAIN commitmail json YAML

Add a forward declaration for the specialized __timepunct<wchar_t> destructor
that the dragonfly code needs to avoid "instantiation before specialization",
and an empty implementation for the generic code.

(christos)

2019-07-30 20:24:59 UTC MAIN commitmail json YAML

There is no specialized constructor for ctype<char> so the
destructor ends up trying to free uninitialized memory for
_M_c_locale_ctype.

(christos)

2019-07-30 20:19:18 UTC MAIN commitmail json YAML

Arrange so that the Makefile works for both the generic and the dragonfly
locale code.

(christos)

2019-07-30 20:18:11 UTC MAIN commitmail json YAML

Include pe_lwp member in 'struct ptrace_state'

Reviewed by kamil.

(mgorny)

2019-07-30 16:52:11 UTC netbsd-9 commitmail json YAML

2019-07-30 16:49:21 UTC MAIN commitmail json YAML

Avoid undefined behavior when setting multicast address. found by kUBSan.

(msaitoh)

2019-07-30 16:07:04 UTC MAIN commitmail json YAML

Avoid undefined behavior when reset the chip. found by kUBSan.

(msaitoh)

2019-07-30 15:56:53 UTC MAIN commitmail json YAML

2019-07-30 15:50:08 UTC MAIN commitmail json YAML

- Avoid undefined behavior in bge_setmulti(). found by kUBSan.
- Avoid undefined behavior when setting the MAC address in bge_init().
  found by kUBSan.

(msaitoh)

2019-07-30 15:29:40 UTC MAIN commitmail json YAML

Try to improve performance when shadow framebuffer is present;
Use block copy from shadow fb to real fb, instead of repeating
the same operations to two fb's.

(rin)

2019-07-30 15:23:23 UTC MAIN commitmail json YAML

Support shadow framebuffer for 24bpp screen.

(rin)

2019-07-30 14:57:06 UTC MAIN commitmail json YAML

Update libarchive entry for 3.4.0 import.

(joerg)

2019-07-30 14:41:10 UTC MAIN commitmail json YAML

In rasops_copy{rows,cols}(), if src == dst, we have nothing to do.
Otherwise, we can use memcpy safely instead of memmove.

(rin)

2019-07-30 14:33:05 UTC MAIN commitmail json YAML

Fix catastrophe when ri_emustride != ri_stride in rasops_copyrows().

(rin)

2019-07-30 12:20:24 UTC MAIN commitmail json YAML

Treat highlighted and reversed text in the same manner to xterm.

(rin)

2019-07-30 11:16:15 UTC MAIN commitmail json YAML

vmx(4) can select workqueue for packet processing like ixg(4).

(knakahara)

2019-07-30 11:11:15 UTC MAIN commitmail json YAML

Fix overflow to calculate frequencies.

(hkenken)

2019-07-30 10:28:29 UTC MAIN commitmail json YAML

Note import of dhcpcd-8.0.2

(roy)

2019-07-30 10:25:03 UTC MAIN commitmail json YAML

2019-07-30 08:44:28 UTC MAIN commitmail json YAML

ixgbe_setup_low_power_mode() calls ixgbe_stop() in it. ixgbe_detach() first
called ixgbe_stop() and then called ixgbe_setup_low_power_mode() which resulted
in calling ixgbe_stop() twice. Call only ixgbe_setup_low_power_mode() first to
remove extra ixgbe_stop() call.

(msaitoh)

2019-07-30 08:38:04 UTC MAIN commitmail json YAML

It's not required to call ixv_stop() twice in ixv_detach().

(msaitoh)

2019-07-30 08:05:22 UTC MAIN commitmail json YAML

Add libpthread to DPADD and LDADD, as libarchive now references it

(martin)

2019-07-30 06:57:02 UTC MAIN commitmail json YAML

Fix loop to calculate prescaler divisor.

(skrll)

2019-07-30 06:52:58 UTC MAIN commitmail json YAML

2019-07-30 06:35:03 UTC MAIN commitmail json YAML

2019-07-30 06:26:31 UTC MAIN commitmail json YAML

2019-07-30 04:42:29 UTC MAIN commitmail json YAML

- rnd_add_*() call must be serialized. Unserialized accesses broke the
  sc->rnd_source structure and caused off by one in kern_rndq.c's
  rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
  data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
  the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
  rnd(9) manual page says "To allow the system to gather the timing information
  accurately, this call should be placed within the actual hardware interrupt
  service routine."
- Pass a better value to rnd_add_uint32() in wm_intr_legacy().

XXX pullup-8.

(msaitoh)

2019-07-29 17:53:20 UTC MAIN commitmail json YAML

MAKEDEV.tmpl: Create nodes for 16 USB hubs

As proposed on current-users, but with better formatting.

(gdt)

2019-07-29 17:22:19 UTC MAIN commitmail json YAML

Try to fix problem reported by ryoon:
http://mail-index.netbsd.org/source-changes-d/2019/07/29/msg011516.html

There are apparent bugs for shadow framebuffer. Sorry for the breakage.

(rin)

2019-07-29 16:17:29 UTC MAIN commitmail json YAML

Hmmm, color was still strange for 24bpp on little endian machine,
only when font width is 12.

We need to use different devcmap for that case, if we wish to share
codes for other depths/font widths as possible as we can.

XXX
What should we do for big endian? I have no big endian machines with
24bpp framebuffer...

(rin)

2019-07-29 14:59:25 UTC MAIN commitmail json YAML

Simplify and tiny optimization.

(rin)

2019-07-29 14:43:14 UTC MAIN commitmail json YAML

Fix color on 24bpp screen for little endian.

(rin)

2019-07-29 14:07:37 UTC MAIN commitmail json YAML

Enable anti-aliasing for depth 24.
Style.

(rin)

2019-07-29 14:06:32 UTC MAIN commitmail json YAML

2019-07-29 12:37:26 UTC MAIN commitmail json YAML

Added missing efi_memory_probe() call.

(nonaka)

2019-07-29 12:07:57 UTC MAIN commitmail json YAML

sys/dev/ic/mfi.c: Add missing break in switch

(The entire switch is guarded by MFI_DEBUG and is known not to build.)
Reported by Oskar.

(gdt)

2019-07-29 11:33:07 UTC MAIN commitmail json YAML

Sync the output of memmap command to the output of stand/efiboot mem command.

(nonaka)

2019-07-29 11:28:51 UTC MAIN commitmail json YAML

2019-07-29 11:11:19 UTC MAIN commitmail json YAML

The CUBOX-I boards have Cortex-A9 cpus, so force -march=armv7-a
when compiling this kernel.

(martin)

2019-07-29 10:55:56 UTC MAIN commitmail json YAML

Factor out putchar_aa functions into rasops_putchar_aa.h, which includes
the following fixes:

- stop using memset to framebuffer for depth 8
- correctly support non-standard positions/lengths of RGB bits in pixel

(rin)

2019-07-29 10:28:58 UTC MAIN commitmail json YAML

make vmx(4)'s *_process_limit tunable.

(knakahara)

2019-07-29 10:25:30 UTC MAIN commitmail json YAML

Remove duplicate options TPIDRPRW_IS_CURCPU

(skrll)

2019-07-29 10:24:18 UTC MAIN commitmail json YAML

vmx(4) uses deferred interrupt handlering like ixg(4).

(knakahara)

2019-07-29 09:45:16 UTC MAIN commitmail json YAML

Fix missing NULL check after softint_establish().

(knakahara)

2019-07-29 09:42:17 UTC MAIN commitmail json YAML

Fix info leak: the padding after the header causes uninitialized heap
memory to be copied to userland in sys_recvmsg().

(maxv)

2019-07-29 09:33:21 UTC MAIN commitmail json YAML

Fix warning in userdel -r.

If the 'rm -rf' works, then the home directory does not exist any more,
and rmdir() on it will return an error (ENOENT). Catch and ignore it.

Avoids:

# useradd -m foo
# userdel -r foo
userdel: Unable to remove all files in `/home/foo': No such file or directory

(wiz)

2019-07-29 08:13:50 UTC MAIN commitmail json YAML

Avoid undefined behavior when converting unaligned be32 data to
host integer, found by kUBSan.

Pointed out by msaitoh.

(rin)

2019-07-29 08:03:48 UTC MAIN commitmail json YAML

2019-07-29 07:59:47 UTC MAIN commitmail json YAML

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

Convert rasops2.c and rasops4.c to use rasops_putchar_width.h.
Style.

(rin)

2019-07-29 02:57:41 UTC MAIN commitmail json YAML

Clean up for rasops1.c:
- dedup ugly copy-paste
- rewrite to factorize width-optimized putchar functions
- misc style

(rin)

2019-07-29 02:20:59 UTC MAIN commitmail json YAML

Join Tx interrupt handler and Rx interrupt handler of vmx(4).

That can reduce interrupt resources.

(knakahara)

2019-07-29 01:04:20 UTC MAIN commitmail json YAML

Fix missing underlines on mono screen.
Style.

(rin)

2019-07-28 21:43:39 UTC MAIN commitmail json YAML

SGIs from the MIPS & ARM world :)

(sevan)

2019-07-28 17:41:21 UTC MAIN commitmail json YAML

2019-07-28 16:30:36 UTC MAIN commitmail json YAML

If available, show additional names of foreign partitions in the
size menu. Makes installing on machines with other OSes installed
a lot less confusing.

(martin)

2019-07-28 16:03:00 UTC MAIN commitmail json YAML

When merging existing partitions into the planned installation partitions,
keep the separation between the original planned partitions and the
pre-exiting partitions.
Also do not call found partitions "outer" if they are not (but could be)

(martin)

2019-07-28 15:20:46 UTC MAIN commitmail json YAML

2019-07-28 15:20:22 UTC MAIN commitmail json YAML

Add BCM2711 PCIe Host bridge for RPI4

(mlelstv)

2019-07-28 14:28:50 UTC MAIN commitmail json YAML

2019-07-28 14:26:08 UTC MAIN commitmail json YAML

PR/54414: Valery Ushakov: c99 requires that wcsrtombs(3) updates the source
argument on conversion error

(christos)

2019-07-28 13:52:24 UTC MAIN commitmail json YAML

PR/54414: Valery Ushakov: c99 requires that wcsrtombs(3) updates the source
argument on conversion error

(christos)

2019-07-28 13:49:23 UTC MAIN commitmail json YAML

2019-07-28 13:46:45 UTC MAIN commitmail json YAML

PR/54414: Valery Ushakov: add a test for wcsrtombs(3) doesn't update the
source argument on conversion error

(christos)

2019-07-28 13:17:46 UTC MAIN commitmail json YAML

Deal with partition types we don't know anything about.

(martin)

2019-07-28 12:44:36 UTC MAIN commitmail json YAML

Explicitly link against libpthread and liblzma to make static linking
happy. Newer libarchive supports LZMA compression in zip files.

(joerg)

2019-07-28 12:10:52 UTC MAIN commitmail json YAML

Avoid memset to framebuffer.

XXX
There still remains memset in rasops8.c, which will be removed soon
when putchar_aa functions are factorized.

(rin)

2019-07-28 12:06:11 UTC MAIN commitmail json YAML

2019-07-28 10:30:44 UTC MAIN commitmail json YAML

Fix infinite loop in dwc_mmc_exec_command error path

(jmcneill)

2019-07-28 10:29:49 UTC MAIN commitmail json YAML

Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.

(martin)

2019-07-28 10:28:49 UTC MAIN commitmail json YAML

2019-07-28 10:27:58 UTC MAIN commitmail json YAML

Provide a way for crunched programs to use a non-WIDE_CHAR version of
libcurses by setting HACK_CURSES=yes before including this makefile.

(martin)

2019-07-28 10:24:08 UTC MAIN commitmail json YAML

Free kmem_alloc'd memory with kmem_free

(martin)

2019-07-28 10:21:18 UTC MAIN commitmail json YAML

We (especially libcurses and nvi) use more multibyte character locale
related symbols nowadays. Update libhack to avoid pulling in full grown
multibyte locale support on small install media.

(martin)

2019-07-28 10:07:43 UTC MAIN commitmail json YAML

Simplify and style. No functional changes intended.

(rin)

2019-07-28 10:03:56 UTC MAIN commitmail json YAML

Set max link speed, remove assigned clocks

(jmcneill)

2019-07-28 09:27:29 UTC MAIN commitmail json YAML

PR/54415: Ricky Zhou: libedit stats completions for non-file completions
Use the proper completion function and account for the character appended
by the function when computing the number of columns.

(christos)

2019-07-28 05:28:53 UTC MAIN commitmail json YAML

Avoid undefined behavior in uao_pagein_page(). Found by kUBSan. OK'd by
riastradh. I think this is a real bug on amd64 at least.

(msaitoh)

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

Redo fix in rev 1.2
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops_putchar_width.h#rev1.2
in a correct way.

For 24bpp framebuffer, we need to use ``stamp triplets'' even for fully
blank or filled rows.

Now, background-color for white space and underline are correctly drawn.

(rin)

2019-07-28 02:56:53 UTC MAIN commitmail json YAML

Fix factorization fallout; pointer for shadow framebuffer should be
rolled back before drawing underline.

(rin)

2019-07-28 02:51:38 UTC MAIN commitmail json YAML

Fix corruption of background-colored white space and underline when
font width is 8 or 16 on 2bpp screen.

(rin)

2019-07-28 02:45:52 UTC MAIN commitmail json YAML

Fix underline for anti-aliased fonts on 15/16 depth screen.

(rin)

2019-07-28 02:42:48 UTC MAIN commitmail json YAML

sys/dev/rasops routines support anti-aliasing for depths 15 and 16.

(rin)

2019-07-28 02:37:54 UTC MAIN commitmail json YAML

For wsvt25, stop disabling color attributes for underlined text.

With this change, underlined text is drawn in correct colors if
MD backend of wscons is underline-capable.

As the removed comment said, we render underlined text in red, if
MD backend of wscons does not support underline. However, this is
done regardless of original color attributes; foreground color is
forcibly changed to red. So, we don't need to disable original
colors for underlined.

(rin)

2019-07-28 00:52:00 UTC MAIN commitmail json YAML

__slk_set_finalise - fix length vs. width confusion

(uwe)

2019-07-28 00:15:38 UTC MAIN commitmail json YAML

__slk_set - fix calculating "len" for HAVE_WCHAR

(uwe)

2019-07-27 23:43:19 UTC MAIN commitmail json YAML

Ensure that percpu_arena_update is really dead if it shouldn't work and
really alive otherwise.

(joerg)

2019-07-27 23:33:09 UTC MAIN commitmail json YAML

2019-07-27 20:10:29 UTC MAIN commitmail json YAML

Add option -D to run in the background using daemon(3).
Also changed the message output to using syslog(3).

(nakayama)

2019-07-27 17:11:56 UTC netbsd-8 commitmail json YAML

2019-07-27 17:11:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1308):

sys/dev/pci/if_wpi.c: revision 1.86

Put back correct recieve ring allocation size which was lost just over
five years ago mae culpa.

Found by msaitoh@

Should fix PR kern/54320 once pulled up.

(martin)

2019-07-27 16:15:58 UTC MAIN commitmail json YAML

2019-07-27 16:02:27 UTC MAIN commitmail json YAML

2019-07-27 16:00:02 UTC MAIN commitmail json YAML

list the wide variant of functions.

(sevan)

2019-07-27 14:05:04 UTC MAIN commitmail json YAML

Remove unused needs-flag

(skrll)

2019-07-27 12:07:24 UTC MAIN commitmail json YAML

Fixed compile error.

(hkenken)

2019-07-27 08:02:04 UTC MAIN commitmail json YAML

2019-07-27 08:00:41 UTC MAIN commitmail json YAML

2019-07-27 07:55:18 UTC MAIN commitmail json YAML

Note update hickup build issue for uefi boot.

(martin)

2019-07-27 07:41:43 UTC MAIN commitmail json YAML

Need opt_console for CONSADDR, etc

(skrll)

2019-07-27 07:02:09 UTC MAIN commitmail json YAML

Rename a register define to make it more obvious it's watchdog only

(skrll)

2019-07-27 00:58:34 UTC MAIN commitmail json YAML

Put slk_color() undef #ifdef HAVE_WCHAR too.

(uwe)

2019-07-27 00:46:43 UTC MAIN commitmail json YAML

Put wide character functions under #ifdef HAVE_WCHAR

(uwe)

2019-07-26 23:59:42 UTC MAIN commitmail json YAML

Add missing ``.'' at the ends of sentences, split long lines,
and misc style unification.

(rin)

2019-07-26 21:41:59 UTC MAIN commitmail json YAML

doc/CHANGES.prev: s/mfi(8)/mfi(4)/g

(cnst)

2019-07-26 21:04:38 UTC MAIN commitmail json YAML

doc/CHANGES.prev: address 7 definite time-travelling entries (year-based)

(cnst)

2019-07-26 20:15:19 UTC MAIN commitmail json YAML

doc/CHANGES: fix OpenSSH 8.0 date; same for imcsmb(4) per consistency audit

(cnst)

2019-07-26 14:38:26 UTC MAIN commitmail json YAML

2019-07-26 13:29:36 UTC MAIN commitmail json YAML

leot wants the ability to start wpa_supplicant from dhcpcd
without having to start wpa_supplicant seperately, thus the example
hook is restored.

(roy)

2019-07-26 13:05:31 UTC MAIN commitmail json YAML

PR/54410: fmoon: typos in mail(1)

(christos)

2019-07-26 12:09:48 UTC MAIN commitmail json YAML

2019-07-26 11:38:21 UTC MAIN commitmail json YAML

Build and install WSFB and WSFBSBC.

(rin)

2019-07-26 11:30:31 UTC MAIN commitmail json YAML

2019-07-26 11:28:46 UTC netbsd-8 commitmail json YAML

2019-07-26 11:27:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1307):

sys/netinet6/nd6.c: revision 1.256

Decrease the reference count before freeing, so that the entries actually
get free'd. (Ryota Ozaki)

(martin)

2019-07-26 11:16:19 UTC MAIN commitmail json YAML

Put back byte-wise copy to stop using memcpy, which
does not work for device memory on some platforms.

Pointed out by Jared, many thanks!

(rin)

2019-07-26 11:13:46 UTC MAIN commitmail json YAML

Even though the spec says SRST should read back as 1 after being set, this
does not appear to be the case with QEMU when using single byte accesses.

Instead of printing an error and giving up, continue and try to leave
stream reset state even if setting SRST times out.

(jmcneill)

2019-07-26 10:53:45 UTC MAIN commitmail json YAML

As dhcpcd no longer supports IPv4 address advertisement for SMALL builds,
remove the equivalent IPv6 functionality.
This shouldn't be an issue as this is only used for IPv6 address sharing,
which only the NetBSD kernel currently supports.

(roy)

2019-07-26 10:53:29 UTC MAIN commitmail json YAML

Note genfb(4) for mac68k.

(rin)

2019-07-26 10:52:03 UTC MAIN commitmail json YAML

Sort SEE ALSO.

(wiz)

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

Build dhcpcd without ARP support for SMALL builds.
The only functionality lost on modern NetBSD is the ability to
announce the preferred address for address sharing.
This shouldn't be an issue for installations.

(roy)

2019-07-26 10:48:45 UTC MAIN commitmail json YAML

Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!

(rin)

2019-07-26 10:47:29 UTC MAIN commitmail json YAML

Allow dhcpcd to be built without ARP support for SMALL builds.
This is fine because the kernel supports RFC 5227 which dhcpcd uses
instead to detect and act on address duplication.

(roy)

2019-07-26 10:42:41 UTC MAIN commitmail json YAML

Fix set name in previous.

(wiz)

2019-07-26 10:39:29 UTC MAIN commitmail json YAML

Replace hook example 10-wpa_supplicant with 29-lookup-hostname.
Fixes PR install/54351.

(roy)

2019-07-26 10:34:26 UTC MAIN commitmail json YAML

Stop installing 10-wpa_supplicant.
Only install 50-ypbind when MKYP=yes.

Partially addresses PR install/54351.

(roy)

2019-07-26 10:18:42 UTC MAIN commitmail json YAML

Decrease the reference count before freeing, so that the entries actually
get free'd. (Ryota Ozaki)

(christos)

2019-07-26 10:03:40 UTC MAIN commitmail json YAML

- AMD CPUID Fn8000_0001d Cache Topology Information leaf is almost the same as
  Intel Deterministic Cache Parameter Leaf(0x04), so make new
  cpu_dcp_cacheinfo() and share it.
- AMD's L2 and L3's cache descriptor's definition is the same, so use one
  common definition.
- KNF.

XXX Split some common functions to new identcpu_subr.c or use #ifdef _KERNEK
... #endif in identcpu.c to share from both kernel and cpuctl?

(msaitoh)

2019-07-26 09:26:56 UTC MAIN commitmail json YAML

Use aprint_debug_dev() instead of printf() in wm_ulp_disable().

(msaitoh)

2019-07-26 08:18:47 UTC MAIN commitmail json YAML

Strip trailing / from last mounted strings.
No idea how they happen, but for cgd root (init.root = "/altroot")
they have been reported to exist.

(martin)

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

The mother of all demos

(sevan)

2019-07-26 07:22:05 UTC MAIN commitmail json YAML

Remove outdated note about sysinst restrictions

(martin)

2019-07-26 07:09:48 UTC MAIN commitmail json YAML

comment out WSDISPLAY_COMPAT_RAWKBD for now, it does not compile

(martin)

2019-07-26 06:59:48 UTC MAIN commitmail json YAML

2019-07-26 06:57:55 UTC MAIN commitmail json YAML

2019-07-26 06:37:15 UTC MAIN commitmail json YAML

Fix 4-bpp stamp for big endian.

(rin)

2019-07-26 05:53:30 UTC MAIN commitmail json YAML

Calculate the multicast hash table correctly to avoid undefined behavior.
Found by KUBSan.

(msaitoh)

2019-07-26 05:39:55 UTC MAIN commitmail json YAML

Set kcpuset's bit correctly to avoid undefined behavior. Found by KUBSan.

(msaitoh)

2019-07-26 05:37:59 UTC MAIN commitmail json YAML

Set sc_mask correctly in selsysinit() to avoid undefined behavior.
Found by KUBSan.

(msaitoh)

2019-07-26 05:24:04 UTC MAIN commitmail json YAML

Replace manually unrolled loops with memcpy/memmove or simple loops.
Modern compilers are smart enough; there's no measurable changes in
performance even on MC68040 with optimization level -Os.

Also, convert loop of byte-wise copy into memset.

(rin)

2019-07-26 05:15:47 UTC MAIN commitmail json YAML

Misc creen up for rasops.c:

- sort headers
- return error value instead of panic
- use uintptr_t for cast pointer to integer
- use macros appropriately
- use __func__
- some consistency check ifndef DEBUG
- try to avoid undefined behaviors related to shift
- convert malloc/free to kmem_alloc/kmem_free
- convert MIN to uimin
- style

(rin)

2019-07-26 04:08:39 UTC MAIN commitmail json YAML

Set IVAR (Interrupt Vector Allocation Register) correctly for 82598 in
ixgbe_set_ivar(). Found by KUBSan.

(msaitoh)

2019-07-26 03:28:13 UTC MAIN commitmail json YAML

Simplify code. No functional change intended.

(msaitoh)

2019-07-26 03:27:24 UTC MAIN commitmail json YAML

Simplify and avoid undefined behavior. This is not a real bug because
the max number of queue is 2.

(msaitoh)

2019-07-26 02:31:09 UTC MAIN commitmail json YAML

XXX
Add hack so that colorbars(6) works for 24-bpp.
The code before factorization did the same in a strange way.

(rin)

2019-07-25 20:27:45 UTC MAIN commitmail json YAML

2019-07-25 20:26:47 UTC MAIN commitmail json YAML

2019-07-25 20:26:39 UTC MAIN commitmail json YAML

Halt the old console on both cnattach and preattach

(jmcneill)

2019-07-25 20:18:51 UTC MAIN commitmail json YAML

#ifdef HAVE_WCHAR around enhanced curses stuff.

(uwe)

2019-07-25 20:04:41 UTC MAIN commitmail json YAML

Remove a duplicate psci* at fdt?

(skrll)

2019-07-25 19:01:08 UTC MAIN commitmail json YAML

Gracefully get out of extended partitioning if the user did not create
any partitions at all.

(martin)

2019-07-25 18:55:40 UTC MAIN commitmail json YAML

Do not free() an array embedded in another structure

(martin)

2019-07-25 16:28:10 UTC MAIN commitmail json YAML

Partially undo previous so NETWALKER_INSTALL compiles

(skrll)

2019-07-25 15:18:54 UTC MAIN commitmail json YAML

Factor out putchar and width-optimized putchar functions into
rasops_putchar.h and rasops_putchar_width.h, respectively.

XXX
Possibly, we can do the same for putchar_aa functions. But it is
currently missing for 24-bpp.

(rin)

2019-07-25 15:12:47 UTC MAIN commitmail json YAML

Add width-optimized putchar functions for 32-bpp, that work fine on
both little- and big-endian machines.

WIP genfb(4) driver for mac68k becomes 1.5 times faster!

(rin)

2019-07-25 15:06:07 UTC MAIN commitmail json YAML

Make register address unsigned to avoid undefined behavior. Found by KUBSan.

(msaitoh)

2019-07-25 14:31:35 UTC MAIN commitmail json YAML

Avoid undefined behavior. Found by KUBSan.

(msaitoh)

2019-07-25 13:16:35 UTC MAIN commitmail json YAML

Fix a few calloc() calls with wrong arg order (harmless, but for consistency)

(martin)

2019-07-25 13:11:15 UTC MAIN commitmail json YAML

When re-discovering a disk where we have free the partitions, read
the current partitions again (they might have changed).

(martin)

2019-07-25 11:56:09 UTC MAIN commitmail json YAML

Avoid undefined behavior. Found by KUBSan. Some of errors are still remaining.

(msaitoh)

2019-07-25 11:44:14 UTC MAIN commitmail json YAML

2019-07-25 11:10:38 UTC MAIN commitmail json YAML

Use unsigned (RAL_RF_BUSY). Found by KUBSan.

(msaitoh)

2019-07-25 09:28:08 UTC MAIN commitmail json YAML

Fix VLAN hardware filter initialization. Use unsigned. Found by KUBSan.

(msaitoh)

2019-07-25 09:01:56 UTC MAIN commitmail json YAML

2019-07-25 08:59:32 UTC MAIN commitmail json YAML

Note import of dhcpcd-8.0.1

(roy)

2019-07-25 08:59:17 UTC netbsd-8 commitmail json YAML

2019-07-25 08:58:33 UTC MAIN commitmail json YAML

Revert prior as dhcpcd-8.0.1 now builds small without IPv4LL again.

(roy)

2019-07-25 08:58:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1306):

crypto/dist/ipsec-tools/src/setkey/parse.y: revision 1.23
sys/netipsec/key.c: revision 1.265
crypto/dist/ipsec-tools/src/setkey/token.l: revision 1.23
tests/net/ipsec/t_ipsec_misc.sh: revision 1.23

ipsec: fix a regression of the update API

The update API updates an SA by creating a new SA and removing an existing SA.
The previous change removed a newly added SA wrongly if an existing SA had been
created by the getspi API.

setkey: enable to use the getspi API

If a specified SPI is not zero, tell the kernel to use the SPI by using
SADB_EXT_SPIRANGE.  Otherwise, the kernel picks a random SPI.

It enables to mimic racoon.

tests: add tests for getspi and udpate

(martin)

2019-07-25 08:55:18 UTC MAIN commitmail json YAML

2019-07-25 08:35:36 UTC MAIN commitmail json YAML

wm: change one bus_dmamap_load_mbuf() to bus_dmamap_load() equivalent

This makes wm work on aarch64, where the bus_dma implementation requires
the mbuf data pointer be immutable between bus_dmamap_load_mbuf and
bus_dmamap_sync. Fix suggested by thorpej@

(tnn)

2019-07-25 07:45:57 UTC MAIN commitmail json YAML

micro-optimization for if_snd_is_used()

(knakahara)

2019-07-25 07:05:44 UTC MAIN commitmail json YAML

Set FCTTV(Flow Control Transmit Timer Value) register correctly in
ixgbe_fc_enable_generic(). Found by KUBSan.

(msaitoh)

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

Set IVAR (Interrupt Vector Allocation Register) correctly in ixgbe_set_ivar().
Found by KUBSan.

(msaitoh)

2019-07-25 04:25:40 UTC MAIN commitmail json YAML

The i2c code handles the 'cold' dance with I2C_F_POLL now; no need to
do it here.

(thorpej)

2019-07-25 04:24:44 UTC MAIN commitmail json YAML

Do the iic_acquire_bus() / iic_release_bus() dance that I, um, forgot
to do.  (oops)  Also, no need to do the dance with 'cold' aymore; the i2c
code does it for us now.

(thorpej)

2019-07-25 04:20:13 UTC MAIN commitmail json YAML

If cold, automagically set I2C_F_POLL.

(thorpej)

2019-07-25 03:02:44 UTC MAIN commitmail json YAML

2019-07-25 02:26:32 UTC MAIN commitmail json YAML

Misc cleen up:
- Make 32bit mask unsigned
- DPRINTF --> __nothing ifndef DEBUG_RASOPS
- "#ifdef DIAGNOSTIC if (x) panic(); #endif" --> KASSERT(!x);
- KNF

No functional changes intended.

(rin)

2019-07-25 02:00:40 UTC MAIN commitmail json YAML

Only try to call EFI RT's reset once. If it faults for some reason, just
return an error so the kernel will try to PSCI reset instead. Otherwise
we get stuck in an endless loop..

(jmcneill)

2019-07-25 01:18:06 UTC MAIN commitmail json YAML

npftest: fix double-free in npf_nbuf_test().

(rmind)

2019-07-25 01:07:33 UTC MAIN commitmail json YAML

Cosmetic changes. No functional changes.

(rin)

2019-07-25 01:00:28 UTC MAIN commitmail json YAML

npf_portmap_flush: remove invalid assert (this routine can be callied via
the npf_destroy() path where the constraint is not applicable).

(rmind)

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

Fix screen corruption with 16-width font on 8-bpp display.

(rin)

2019-07-25 00:55:13 UTC MAIN commitmail json YAML

For kUBSan, avoid undefined behaviors even if harmless.
No functional changes intended.

Requested by uwe.

(rin)

2019-07-25 00:48:55 UTC MAIN commitmail json YAML

2019-07-25 00:42:43 UTC MAIN commitmail json YAML

Support pci_intr_release for INTx interrupts

(jmcneill)

2019-07-25 00:30:45 UTC MAIN commitmail json YAML

Replace the HDAUDIO_32BIT_ACCESS option with a runtime option. Set it for
tegra_hdaudio, but not for the pci attachment. Add hdaudio@pci to GENERIC64

(jmcneill)

2019-07-25 00:02:56 UTC MAIN commitmail json YAML

2019-07-24 23:49:08 UTC MAIN commitmail json YAML

Update the NPF kernel module Makefile.  Missed in the previous commit.

(rmind)

2019-07-24 23:13:46 UTC MAIN commitmail json YAML

2019-07-24 21:19:05 UTC MAIN commitmail json YAML

Temporarily turn on IPV4LL for SMALL builds to work around a compile issue.
This will be fixed in the next import.

(roy)

2019-07-24 19:40:56 UTC MAIN commitmail json YAML

Call cn_halt for old console in wsdisplay_preattach too

(jmcneill)

2019-07-24 19:37:52 UTC MAIN commitmail json YAML

Add early fb console support

(jmcneill)

2019-07-24 19:33:35 UTC MAIN commitmail json YAML

Oops, revert unintentional changes.

(rin)

2019-07-24 19:31:12 UTC MAIN commitmail json YAML

Well, masks do not have to be updated every time in loop.
Calculate them in advance even if it may be bogus.

(rin)

2019-07-24 18:49:37 UTC MAIN commitmail json YAML

Simplify logic and tiny clean-up.

(rin)