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

2024-05-10 04:03:50 UTC Now

2019-02-09 02:43:11 UTC MAIN commitmail json YAML

fix the previous - it's __NetBSD__, not __NetBSD.

(mrg)

2019-02-09 02:36:57 UTC MAIN commitmail json YAML

2019-02-09 02:36:28 UTC MAIN commitmail json YAML

fix hello_profile's hello_profile_head function name.

(mrg)

2019-02-09 02:22:45 UTC MAIN commitmail json YAML

Fix directory filehandle usage with libufse. Fix lookup count

libfuse does not use filehandle the same way for directories and other
objects. As a result, filehandles obtained by OPENDIR should not be
sent on non-directory related operations like READ/WRITE/GETATTR...

While there, fix the lookup count sent to the FORGET operation, which
led to leaked nodes.

(manu)

2019-02-09 02:15:05 UTC MAIN commitmail json YAML

mark ./usr/include/g++/bits/aarch64/c++config.h and
./usr/include/g++/bits/arm/c++config.h as "libstdcxx" not "gcc=6".

(mrg)

2019-02-09 02:04:19 UTC MAIN commitmail json YAML

move ./usr/include/dev/iscsi into NetBSD.dist.iscsi that is only
included if MKISCSI != no.

(mrg)

2019-02-09 01:29:38 UTC MAIN commitmail json YAML

update switched lists.

(mrg)

2019-02-09 01:27:43 UTC MAIN commitmail json YAML

Follow suit with FreeBSD and solaris for the __gthread_active_p()
implementation. Fixes the atf call_once unit tests.

(christos)

2019-02-09 00:59:30 UTC MAIN commitmail json YAML

switch ppc64 back to gcc7, it was an accident.

(mrg)

2019-02-09 00:49:00 UTC MAIN commitmail json YAML

put config/posix first in the path so that the right lock.c is used.

(mrg)

2019-02-09 00:15:28 UTC MAIN commitmail json YAML

create i386 specific include directories.

(mrg)

2019-02-09 00:14:43 UTC MAIN commitmail json YAML

add new t_libgomp test.

(mrg)

2019-02-09 00:13:19 UTC MAIN commitmail json YAML

2019-02-09 00:12:14 UTC MAIN commitmail json YAML

add very simple test that you can link -fopenmp.

currently fails, but should work soon...

(mrg)

2019-02-08 23:27:14 UTC MAIN commitmail json YAML

add missing ./usr/include/xen

(mrg)

2019-02-08 22:06:12 UTC MAIN commitmail json YAML

define CAN_SANITIZE_UB properly:  libasan and libtsan need to not
have it set, libubsan needs to have it set.

fixes almost all the new atf failures from GCC 7 switch.

(mrg)

2019-02-08 20:34:23 UTC MAIN commitmail json YAML

sun4v: Improve comment for next_stick_init() - no functional changes

(palle)

2019-02-08 20:29:06 UTC MAIN commitmail json YAML

2019-02-08 20:14:51 UTC MAIN commitmail json YAML

sun4v: initialize %stickcmpr properly when establishing interrupt - fixes issue seen on newer sun4v/SPARC-T5 system where the interrupt never fires.

(palle)

2019-02-08 20:09:24 UTC MAIN commitmail json YAML

Introduce getstickcmpr() function

(palle)

2019-02-08 19:55:40 UTC MAIN commitmail json YAML

sun4v: update the TODO file noting (at least) some progess with sun4v

(palle)

2019-02-08 19:45:24 UTC MAIN commitmail json YAML

sun4v: introduce macros for handling spill traps from userlevevel @ traplevel 1 (from OpenBSD) - spill traps at level 1 from userspace now works better

(palle)

2019-02-08 19:26:25 UTC MAIN commitmail json YAML

sun4v: add comment documenting the contents of the %g2 register - no functional changes

(palle)

2019-02-08 16:05:46 UTC netbsd-8 commitmail json YAML

2019-02-08 16:03:04 UTC netbsd-8 commitmail json YAML

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

sys/dev/raidframe/rf_disks.c: revision 1.90

PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.

(martin)

2019-02-08 13:37:46 UTC MAIN commitmail json YAML

PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.

(christos)

2019-02-08 09:57:01 UTC MAIN commitmail json YAML

add a quick note about gcc 7 likely causing update build failures.

(mrg)

2019-02-08 09:42:13 UTC MAIN commitmail json YAML

IA64_NO_LIBGCC_TFMODE is no more.

(mrg)

2019-02-08 09:39:14 UTC MAIN commitmail json YAML

note GCC 6.5 and 7.4 imports.

(mrg)

2019-02-08 09:35:00 UTC MAIN commitmail json YAML

switch aarch64, alpha, i386, mips, powerpc, sparc, sparc64,
and x86_64 to GCC 7.

(mrg)

2019-02-08 09:17:13 UTC MAIN commitmail json YAML

- Add 88E1240.
- Rename E1116R_29 to E1318S

(msaitoh)

2019-02-08 09:16:28 UTC MAIN commitmail json YAML

2019-02-08 09:16:11 UTC MAIN commitmail json YAML

- Add Marvell 88E1240.
- Marvell model 0x0029 is not 88E1116R but E1318S.

(msaitoh)

2019-02-08 08:55:35 UTC MAIN commitmail json YAML

Rewrite modify_single() to make compilable on gcc7.

(isaki)

2019-02-08 08:51:42 UTC MAIN commitmail json YAML

add final missing directory from /usr/include:
  ./usr/include/netmpls

(mrg)

2019-02-08 08:47:35 UTC MAIN commitmail json YAML

make *fd*.c's fd_dev_to_type() always a static inline.  some
have it as a const, and have code to copy the defaults to
modify them before using them, but that probably requires a
real test to feel confident in changing.

(mrg)

2019-02-08 08:41:11 UTC MAIN commitmail json YAML

Make compilable even SRAMDEBUG.

(isaki)

2019-02-08 08:22:09 UTC MAIN commitmail json YAML

add two more missing subdirs:
  ./usr/include/dev/pud
  ./usr/include/dev/putter

(mrg)

2019-02-08 06:56:56 UTC MAIN commitmail json YAML

- atomic_*_{8,16}_nv() must return a new value, not an old value.
- use "dmb sy" for atomic_*{8,16}_nv() in the same way as atomic_*{32,64}_nv().

(ryo)

2019-02-08 06:33:04 UTC MAIN commitmail json YAML

- Add support for I210 SGMII Flash-less device.
- Add KASSERT.
- Update TODO list.

(msaitoh)

2019-02-08 06:30:00 UTC MAIN commitmail json YAML

2019-02-08 06:29:08 UTC MAIN commitmail json YAML

- Add Some Freescale MPC834x devices from OpenBSD.
- Add Intel I210 SGMII Flash-less device from the spec update document.

(msaitoh)

2019-02-08 06:08:20 UTC MAIN commitmail json YAML

add missing ./usr/include/dev/iscsi.

(mrg)

2019-02-08 04:11:53 UTC MAIN commitmail json YAML

2019-02-08 04:06:00 UTC MAIN commitmail json YAML

Fix bitstring format of Intel CPUID Architectural Performance Monitoring
Fn0000000a %ebx.

(msaitoh)

2019-02-08 03:59:34 UTC MAIN commitmail json YAML

2019-02-08 03:08:00 UTC MAIN commitmail json YAML

Refactor kill* test in t_ptrace_wait*

Drop original scenario of kill1 (PT_CONTINUE(SIGKILL)) as it duplicates
traceme_sendsignal_simple1.

New kill tests:
- kill1: ptrace(PT_KILL) (previously kill2)
- kill2: kill(SIGKILL)
- kill3: killpg(SIGKILL)

All kill* tests share the same function body.

All tests pass.

(kamil)

2019-02-08 02:05:32 UTC MAIN commitmail json YAML

add aliases for evbarm without saying 'earm':
- copy all the 'evbearm' alias as 'evbarm'.

(mrg)

2019-02-08 02:04:29 UTC MAIN commitmail json YAML

- earm* seems to work now
- sun2 an vax build now
- mips*, powerpc, and sparc64 are ready to switch
- mac68k has an untested and an uncommited change to build
- everything else except ia64 and powerpc64 builds

(mrg)

2019-02-08 01:29:45 UTC MAIN commitmail json YAML

2019-02-08 01:29:11 UTC MAIN commitmail json YAML

give netbsd/arm a v5 default again.

(mrg)

2019-02-08 00:50:45 UTC MAIN commitmail json YAML

- correct cpu voltage
- add cpu speed table
- include sun50i-h5.dtsi
Now thermal sensors and cpu speed control work

(macallan)

2019-02-08 00:31:47 UTC MAIN commitmail json YAML

Correct a style in description of PT_STEP tests in t_ptrace_wait*

(kamil)

2019-02-08 00:29:41 UTC MAIN commitmail json YAML

Refactor definition of PT_STEP tests into single macro

No functional change intended.

(kamil)

2019-02-08 00:19:57 UTC MAIN commitmail json YAML

move sunxide2ccu to pass 3, now it works on my H5
from jmcneill@

(macallan)

2019-02-07 23:53:20 UTC MAIN commitmail json YAML

include bsd.own.mk incase it hasn't already been included.

(mrg)

2019-02-07 23:11:10 UTC MAIN commitmail json YAML

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

Refactor GPR and FPR tests in t_ptrace_wait* tests

This change deduplicates the code and puts all the test into shared
function body.

No functional change except ranaming tests regs* to access_regs* and
fpregs* to access_fpregs*.

(kamil)

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

Add some better error handling from FreeBSD, although we don't
suffer from the same issue, since we don't decrement p->next, like
FreeBSD does because we don't have multibyte support (yet). We
choose to do this so we can fail faster and more predictably.

Here's the original FreeBSD message:

When passed the invalid regular expression "a**", the error is
eventually detected and seterr() is called. It sets p->error
appropriatly and p->next and p->end to nuls which is a never used char
nuls[10] which is zeros due to .bss initialization. Unfortunatly,
p_ere_exp() and p_simp_re() both have fall through cases where they set
the error, decrement p->next and access it which means a read from what
ever .bss variable comes before nuls.

Found with regex_test:repet_multi and CHERI bounds checking.

Reviewed by: ngie, pfg, emaste
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D10541

(christos)

2019-02-07 22:13:52 UTC MAIN commitmail json YAML

Fix OOB read from FreeBSD:

The bug is an out-of-bounds read detected with address sanitizer that
happens when 'sp' in p_b_coll_elems() includes NUL byte[s], e.g. if it's
equal to "GS\x00". In that case len will be equal to 4, and the
strncmp(cp->name, sp, len) call will succeed when cp->name is "GS" but the
cp->name[len] == '\0' comparison will cause the read to go out-of-bounds.

Checking the length using strlen() instead eliminates the issue.

The bug was found in LLVM with oss-fuzz:
https://reviews.llvm.org/D39380

(christos)

2019-02-07 21:53:50 UTC MAIN commitmail json YAML

Add commented-out modern USB NICs for users easily finding them out.

(rin)

2019-02-07 21:51:59 UTC MAIN commitmail json YAML

Comment out ure(4) and its PHY drivers for now to unbreak build.

(rin)

2019-02-07 21:40:41 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.1.1

(roy)

2019-02-07 21:38:53 UTC MAIN commitmail json YAML

dhcpcd now builds without these warnings disabled.

(roy)

2019-02-07 21:37:36 UTC MAIN commitmail json YAML

2019-02-07 21:16:35 UTC MAIN commitmail json YAML

Support configuration of alternate functions.

(mlelstv)

2019-02-07 20:56:27 UTC MAIN commitmail json YAML

Oops, revert previous.
Combinations between NICs and PHYs are unpredictable...

(rin)

2019-02-07 20:33:44 UTC MAIN commitmail json YAML

Fix kernel size overflow caused by addition of ure(4) and PHY drivers.

Modern USB NICs are useful due to availability in the market, although
they cannot exhibit full performance with ohci(4). Also, some of them
support RX/TX offloading, which can be useful even with ohci(4).

Therefore, rather add modern NICs in usbdevices.config.

Instead, remove PHY drivers that cannot be used with zaurus.

Now, all kernels fits within 5 MiB = 5120 KiB:
- GENERIC 5105K ( 15K free)
- C700 5098K ( 22K free)
- INSTALL 4991K (129K free)
- INSTALL_C700 4681K (439K free)

(rin)

2019-02-07 13:48:27 UTC MAIN commitmail json YAML

2019-02-07 13:43:44 UTC MAIN commitmail json YAML

more KNF (remove names from prototypes)

(skrll)

2019-02-07 13:37:44 UTC MAIN commitmail json YAML

2019-02-07 13:35:17 UTC MAIN commitmail json YAML

2019-02-07 13:20:41 UTC MAIN commitmail json YAML

2019-02-07 12:41:21 UTC MAIN commitmail json YAML

tsleep -> kpause

(skrll)

2019-02-07 12:41:04 UTC MAIN commitmail json YAML

tsleep -> kpause

(skrll)

2019-02-07 12:39:31 UTC MAIN commitmail json YAML

tsleep -> kpause

(skrll)

2019-02-07 12:37:41 UTC MAIN commitmail json YAML

tsleep -> kpause

(skrll)

2019-02-07 12:35:43 UTC MAIN commitmail json YAML

join lines. NFC.

(skrll)

2019-02-07 10:58:45 UTC MAIN commitmail json YAML

Improvements:

- Emulate the instructions by executing them directly on the host CPU.
  This is easier and probably faster than doing it in software
  manually.

- Decode SUB from Primary, CMP from Group1, TEST from Group3, and add
  associated tests.

- Handle correctly the cases where an instruction that always implicitly
  reads the register operand is executed with the mem operand as source
  (eg: "orq (%rbx),%rax").

- Fix the MMU handling of 32bit-PAE. Under PAE CR3 is not page-aligned,
  so there are extra bits that are valid.

With these changes in place I can boot Windows XP on Qemu+NVMM.

(maxv)

2019-02-07 10:46:34 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libgcc/arch/earm/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgcc/arch/earm/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmhf/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmhf/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv4/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgcc/arch/earmv4/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv4eb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmv4eb/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv6/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmv6/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv6eb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmv6eb/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hf/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hf/gthr-defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hfeb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hfeb/gthr-defs.mk@1.2 / diff / nxr@1.2
      :
(more 22 files)
regen mknative-gcc and GCC 7 for earm targets: use generic unwind

(mrg)

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

2019-02-07 10:45:18 UTC MAIN commitmail json YAML

- don't just undefine INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP,
  define them to "" so that libgcc doesn't define __CTOR_LIST__.

(mrg)

2019-02-07 10:44:54 UTC MAIN commitmail json YAML

don't use -fnon-call-exceptions on arm.  not needed and triggers eh_frame generation.

(mrg)

2019-02-07 10:36:20 UTC MAIN commitmail json YAML

Use unsigned variables for buffer length to avoid compiler warnings.

(mlelstv)

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

Swap enumeration of 82578 and 82577. Same as FreeBSD. Chip Model number of
82578 is +1 from 82577 but 82577 is functionally newer than 82578 (and 82577's
MII_MODEL(0x05) is greater than 82578's (0x04)). This change doesn't affect any
behavior to if_wm.c (NFCI).

Add comment.

(msaitoh)

2019-02-07 06:15:54 UTC netbsd-8 commitmail json YAML

2019-02-07 06:14:34 UTC netbsd-8 commitmail json YAML

Pullup the following revisions (requested by martin in ticket #1182):
sys/dev/usb/if_axen.c 1.14
share/man/man4/axen.4 1.7

Andrius V in Pr kern/53461: add D-Link DUB-1312

(msaitoh)

2019-02-07 06:13:51 UTC netbsd-8 commitmail json YAML

2019-02-07 06:13:26 UTC netbsd-8 commitmail json YAML

Pullup the following revision (requested by martin in ticket #1182):
sys/dev/usb/usbdevs 1.753

Andrius V in Pr kern/53461: add D-Link DUB-1312

(msaitoh)

2019-02-07 06:10:29 UTC MAIN commitmail json YAML

be consistent in checking cn_getc return value.

(mlelstv)

2019-02-07 06:01:04 UTC MAIN commitmail json YAML

disable stringop-overflow warning for GCC 7.  triggers here and seems
impossible on current netbsd given it's takling about argv > 2GB, and
this is only for x68k anyway.

(mrg)

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

apply -O0 to a few more files for vax.

(mrg)

2019-02-07 05:28:12 UTC MAIN commitmail json YAML

2019-02-07 05:22:09 UTC MAIN commitmail json YAML

apply the previous to all GCC-7 platforms.  it affects vax as well.

(mrg)

2019-02-07 04:33:58 UTC MAIN commitmail json YAML

2019-02-07 04:33:24 UTC MAIN commitmail json YAML

for sh3 and GCC 7 pass -fnon-call-exceptions for udivmoddi4.c.
avoids it emitting a call to abort() for an explicit divide by zero.

(mrg)

2019-02-07 04:32:54 UTC MAIN commitmail json YAML

add missing BUS_DMA_PREFETCHABLE

(mrg)

2019-02-07 04:32:38 UTC MAIN commitmail json YAML

#if 0 the same code as already done

(mrg)

2019-02-07 04:32:12 UTC MAIN commitmail json YAML

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

remove stuff provided by generic mips headers

(mrg)

2019-02-07 04:25:48 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/m68000/auto-target.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libgcc/arch/m68000/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libgomp/arch/m68000/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgomp/arch/m68000/libgomp_f.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgomp/arch/m68000/omp.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libobjc/arch/m68000/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/cxxabi_tweaks.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/gstdint.h@1.13 / diff / nxr@1.13
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/gthr-posix.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/gthr-single.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/gthr.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/usr.bin/common-target/arch/m68000.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000/auto-host.h@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000/bversion.h@1.11 / diff / nxr@1.11
      :
(more 6 files)
mknative-gcc and GCC 7 and sun2.

(mrg)

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

don't lose the netbsd general tmake_file values for m68010.

(mrg)

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

Fix a bug that WOL didn't work on some chips since if_wm.c rev. 1.60.
Set WUC_APME bit older than PCH. Will fixes PR kern/53945 reported by kardel@.
Tested with my own 82574 card.

(msaitoh)

2019-02-07 03:03:00 UTC MAIN commitmail json YAML

2019-02-07 00:24:59 UTC MAIN commitmail json YAML

Enable 3 new ptrace(2) tests for SIGILL

Add missing code for SIGILL verification and enable new SIGILL tests:
- traceme_crash_ill
- traceme_vfork_crash_ill
- unrelated_tracer_sees_crash_ill

SIGILL is caused by a crash signal and needs special treatement that has
to be asserted to behave correctly.

In the unrelated_tracer_sees_crash* tests add additional check to catch
scenarios when a test dies due to abnormal condition and it's not caught
as the tracer is collected by initproc.

All tests pass on NetBSD/amd64, other ports have temporarily unimplemented
PTRACE_ILLEGAL_ASM.

(kamil)

2019-02-07 00:19:54 UTC MAIN commitmail json YAML

Define PTRACE_ILLEGAL_ASM for NetBSD/amd64 in ptrace.h

Use ud2 instruction that is guaranteed to raise an invalid instruction
exception (through SIGILL).

On NetBSD and FreeBSD this instruction raises ILL_PRVOPC, on Linux
ILL_ILLOPN. It's not clear which opion is better "Privileged opcode" vs
"Illegal operand", because ud2 doesn't seem to be a privileged operation
and it doesn't take any operand.

Assume in future changes that this opcode will raise ILL_PRVOPC and keep
it purely for testing purposes of the SIGILL crash type.

(kamil)

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

fix mips64 GCC 7 builds.

(mrg)

2019-02-06 23:00:56 UTC MAIN commitmail json YAML

kill compat code dependencies.

(christos)

2019-02-06 23:00:16 UTC MAIN commitmail json YAML

- Restore indirecting through the data pointer
- Don't try to load compat code if the ioctl is not for us.

(christos)

2019-02-06 22:54:41 UTC MAIN commitmail json YAML

Fix sign compare differently; instead of casting from int to unsigned,
casting from sizeof (and friends) to int.

Suggested by joerg@.

(rin)

2019-02-06 22:50:36 UTC MAIN commitmail json YAML

Match new sun4i-a10 compat string (allwinner,sun4i-a10-system-control)

(jmcneill)

2019-02-06 22:42:11 UTC MAIN commitmail json YAML

We cannot use DPRINTF(sc, ...) when sc is not initialized.

(rin)

2019-02-06 22:38:10 UTC MAIN commitmail json YAML

Correct printed IOCTL name that was incorrect since rev 1.5.

(oster)

2019-02-06 21:42:46 UTC MAIN commitmail json YAML

compare pointers with NULL not nul.

(mrg)

2019-02-06 20:08:15 UTC MAIN commitmail json YAML

Provide an accessor for the menu description structure by manu identifier.
Usefull for dynamic menus where you want to change details on the
fly "from the outside" (i.e. while not in one of the callback functions).

(martin)

2019-02-06 17:56:57 UTC MAIN commitmail json YAML

use sizeof() properly (gcc-7)

(christos)

2019-02-06 17:21:51 UTC MAIN commitmail json YAML

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

2019-02-06 16:38:23 UTC MAIN commitmail json YAML

modStr needs to be 6 characters to avoid overflow.

(roy)

2019-02-06 15:43:13 UTC MAIN commitmail json YAML

done returns if !dontjump

(christos)

2019-02-06 15:42:31 UTC MAIN commitmail json YAML

movzx is not AT&T syntax, but some bastard version of Intel syntax.
Switch to the equivalent mnenomic.

(joerg)

2019-02-06 15:39:41 UTC MAIN commitmail json YAML

2019-02-06 14:12:25 UTC MAIN commitmail json YAML

Don't VPRINTF until we have stack for our CPU setup properly

(skrll)

2019-02-06 14:08:50 UTC MAIN commitmail json YAML

Make cu(1) and tip(1) recognize newline (^J) as end-of-line.
Now, tilde (~) after newline works as escape character as in ssh(1).
No objections when proposed on tech-userland.

(rin)

2019-02-06 13:28:08 UTC MAIN commitmail json YAML

Make sure the start stacks are covered by the new translation tables.
They *might* get placed after ARM_BOOTSTRAP_LxPT by the linker.

AP startup uses VA sp in cpu_init_secondary_processor

(skrll)

2019-02-06 13:22:54 UTC MAIN commitmail json YAML

2019-02-06 13:20:29 UTC MAIN commitmail json YAML

Slight update to comment and KNF it while I'm here

(skrll)

2019-02-06 13:15:59 UTC MAIN commitmail json YAML

2019-02-06 12:24:46 UTC MAIN commitmail json YAML

Add the codepath for grant table updates for VMs with an auto
translated physmap.

(cherry)

2019-02-06 12:10:00 UTC MAIN commitmail json YAML

Add StarTech USB21000S2 to list of supported adapters.

(rin)

2019-02-06 11:58:32 UTC MAIN commitmail json YAML

2019-02-06 11:57:17 UTC MAIN commitmail json YAML

Fix date. Break line after Ox/Nx.

(wiz)

2019-02-06 11:55:06 UTC MAIN commitmail json YAML

2019-02-06 11:54:02 UTC MAIN commitmail json YAML

- sanitizers are updated
- add 'switched' column to port list
- update many working ports
- add a second list of cpus vs. ports that have been tested to build

remaining issues:

- eabi arm vs libgcc
- vax-gcc ICE
- ppc64-gcc ICE
- sun2 build
- ia64 libgcc
- sh3 vs. compiler_rt: udivmoddi4.c:190: undefined reference to `abort'
- x68k memswitch triggers new warnings
- sun3 bloated
- mips64* has ./usr/lib/64/libgomp.so.2 as a missing file in sets

(mrg)

2019-02-06 11:05:30 UTC MAIN commitmail json YAML

move OBJECT_FMTS setting after MKCOMPAT default, so it works.

should fix mips64 builds.

(mrg)

2019-02-06 09:17:18 UTC MAIN commitmail json YAML

pply zlib hack for gcc 7 here too (4th occurance!)

(mrg)

2019-02-06 09:16:49 UTC MAIN commitmail json YAML

use strncpy() into a buffer that may not be nul terminated.

(mrg)

2019-02-06 09:15:01 UTC MAIN commitmail json YAML

Fix sign compare.

(rin)

2019-02-06 08:38:41 UTC MAIN commitmail json YAML

2019-02-06 08:37:12 UTC MAIN commitmail json YAML

Change a aprint_verbose into aprint_debug - the message does not add
real value to the dmesg(8) output.

(martin)

2019-02-06 08:31:38 UTC MAIN commitmail json YAML

Fix TSO support:
- Rename mue_tx_offload() to mue_tso_prepare().
- Take care of short mbuf's (paranoia).

(rin)

2019-02-06 08:28:11 UTC MAIN commitmail json YAML

2019-02-06 08:26:31 UTC MAIN commitmail json YAML

SIOC[GS]IFMEDIA are processed in ether_ioctl().

(rin)

2019-02-06 08:23:08 UTC MAIN commitmail json YAML

Fix NULL checks after dereference.

(rin)

2019-02-06 08:20:23 UTC MAIN commitmail json YAML

Cosmetic changes; no functional changes.

(rin)

2019-02-06 08:16:49 UTC MAIN commitmail json YAML

Fix panic when detach or "ifconfig down" for axen(4) and mue(4).
- Mitigate race conditions, that become critical when multiple outstanding
  transfers are enabled.
- Drop link flags earlier in foo_stop() to make sure (paranoia).

(rin)

2019-02-06 08:06:59 UTC MAIN commitmail json YAML

Enable multiple outstanding transfers.
XXX Linux driver uses much larger numbers of transfers.

(rin)

2019-02-06 08:04:08 UTC MAIN commitmail json YAML

Add couple of error printf.

XXX We should not to use aprint_xxx() for non-autoconf staffs.

(rin)

2019-02-06 08:01:24 UTC MAIN commitmail json YAML

Oops, fix previous again. Really support TSOv4.

(rin)

2019-02-06 07:59:24 UTC MAIN commitmail json YAML

2019-02-06 07:56:42 UTC MAIN commitmail json YAML

Try to avoid a (bogus) fatal warning from clang.

(martin)

2019-02-06 07:56:14 UTC MAIN commitmail json YAML

Support TSOv4 (They call it LSOv1).
The adapter does not support TSOv6 (aka LSOv2).

(rin)

2019-02-06 07:51:20 UTC MAIN commitmail json YAML

2019-02-06 07:48:33 UTC MAIN commitmail json YAML

Fix padding for a full length USB packet in TX:
- Update boundary length for SS mode, taken from OpenBSD.
- Make sure everything passed to the adapter is little endian.
- Specify padding bits in a similar manner to Linux.

XXX I wonder whether this is really necessary...

(rin)

2019-02-06 07:35:47 UTC MAIN commitmail json YAML

Cosmetic changes; no functional changes.

(rin)

2019-02-06 07:33:09 UTC MAIN commitmail json YAML

- clean the .tmp kernel targets as well

(mrg)

2019-02-06 07:32:50 UTC MAIN commitmail json YAML

2019-02-06 07:31:39 UTC MAIN commitmail json YAML

Drop AXEN_MEDIUM_ALWAYS_ONE (from Linux), which reduces drop erros in RX.

(rin)

2019-02-06 07:28:34 UTC MAIN commitmail json YAML

Remove unused variable in axen_softc.

(rin)

2019-02-06 07:28:01 UTC MAIN commitmail json YAML

Remove useless memset.

(rin)

2019-02-06 07:20:13 UTC MAIN commitmail json YAML

I21[01]'s RAL size is not 15 but 16(== 82575's value). Same as other OSes.

(msaitoh)

2019-02-06 05:33:41 UTC MAIN commitmail json YAML

improve pmap_remove
- don't lock/unlock per page in pmap_remove()
- speedup pte lookup for continuous addresses
- bring out pool_cache_put(&_pmap_pv_pool, pv) from lock/unlock section

(ryo)

2019-02-06 05:33:14 UTC MAIN commitmail json YAML

fix atomic_sub_*(). it was (delta - *ptr), should be (*ptr - delta).
changing shared macro doesn't effect other atomic_ops because
(*ptr [+|^] delta) and (delta [+|^] *ptr) have same result.

atomic_sub_*() haven't used because non standard API?

(ryo)

2019-02-06 05:04:41 UTC MAIN commitmail json YAML

- convert shift results into logical expressions

(mrg)

2019-02-06 04:23:16 UTC MAIN commitmail json YAML

uses the idiom len = snprintf(&tmp, 1, ...) to compute length.
needs -Wno-format-truncation

(christos)

2019-02-06 04:20:40 UTC MAIN commitmail json YAML

memset(0) the structure, not the pointer itself, and what ever
data happens to be after the pointer's stack location.

(mrg)

2019-02-06 04:14:03 UTC MAIN commitmail json YAML

Fix a bug that all ports' MAC address become the last port's address on
Non-OF environment.

The Saturn multi port card has only one VPD ROM and all ports share it.
If the card has four port, it has four "local-mac-address" entries.
Before this commit, the code keep the last one and use it for all ports.
The Saturn four port card has three bridge.

e.g.
----------------
003:02:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
004:00:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
004:04:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
005:00:0: National Semiconductor Saturn (ethernet network, revision 0x30)
005:01:0: National Semiconductor Saturn (ethernet network, revision 0x30)
006:02:0: National Semiconductor Saturn (ethernet network, revision 0x30)
006:03:0: National Semiconductor Saturn (ethernet network, revision 0x30)
----------------

The card assign each port's PCI device number to match the port number.
Use it as the offset of "local-mac-address". Almost the same as FreeBSD.

OK'd by mrg and martin.

(msaitoh)

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

properly check SCI_CSR_DREQ in one place.

(mrg)

2019-02-06 04:00:43 UTC MAIN commitmail json YAML

2019-02-06 03:59:09 UTC MAIN commitmail json YAML

2019-02-06 03:37:13 UTC MAIN commitmail json YAML

Fix GET_INFO.  Yes, can probably be simplified.

(oster)

2019-02-06 03:16:36 UTC MAIN commitmail json YAML

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

From OpenBSD:
- Add NetXen's vendor ID and devices.
- Add Sun Neptune.

(msaitoh)

2019-02-06 03:07:08 UTC MAIN commitmail json YAML

Add support for hardware cursors where we can.

As far as I can tell, alpha blending only works between overlay channels,
and not between layers on a channel. Unfortunately, RT-Mixer1 only has
a single UI channel, so this feature is limited to RT-Mixer0.

(jmcneill)

2019-02-06 03:01:49 UTC MAIN commitmail json YAML

2019-02-06 02:57:39 UTC MAIN commitmail json YAML

revert, somehow I got the generated file in the wrong directory.

(christos)

2019-02-06 02:55:54 UTC MAIN commitmail json YAML

2019-02-06 02:49:51 UTC MAIN commitmail json YAML

Fix logic inversion.  Progress, but still broken.

(oster)

2019-02-06 02:49:09 UTC MAIN commitmail json YAML

Shuffle softc declarations to a different .h file.  Create missing
rf_get_raid().  Things compile, but don't work correctly.

(oster)

2019-02-05 23:28:02 UTC MAIN commitmail json YAML

2019-02-05 21:50:21 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/earm/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hfeb/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/earm/auto-target.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/earm/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/earm/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/auto-target.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/earmhf/auto-target.h@1.5 / diff / nxr@1.5
      :
(more 340 files)
mknative-gcc for GCC 7 and earm targets.

(mrg)

2019-02-05 21:01:38 UTC MAIN commitmail json YAML

2019-02-05 19:53:14 UTC MAIN commitmail json YAML

comment out the IFF_TRAILERS stuff that is no longer relevant and add
the missing flags.

(christos)

2019-02-05 19:42:31 UTC MAIN commitmail json YAML

2019-02-05 17:30:19 UTC MAIN commitmail json YAML

Add 2 new tests in t_fopen

Added:
- fopen_nullptr (without COMPAT_10)
- fopen_nullptr_compat10 (with COMPAT_10)

PR kern/53948

Reviewed by <mgorny>

(kamil)

2019-02-05 17:13:37 UTC MAIN commitmail json YAML

- Fix the FAIL_DISK handling (it would prolly trash the wrong disk before
  since the request structs are different and the row in the old struct is
  the col in the new one).
- Restructure the way compat modules are loaded so that we only load them
  for the ioctls that need them. Put a comment explaining why...
- Set retcode after loading compat (now that the fail disk passthrough
  hack is gone), so that various ioctls don't always fail.

(christos)

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

Ah, I had warnings disabled, fix the build.

(maxv)

2019-02-05 15:03:35 UTC MAIN commitmail json YAML

Mark up NULL with Dv. Remove empty line.

(wiz)

2019-02-05 14:07:24 UTC MAIN commitmail json YAML

- arm64 works
- alpha seems to work in simple testing
- armeb builds
- powerpc64 has ICE building libgcc2.

(mrg)

2019-02-05 14:01:46 UTC MAIN commitmail json YAML

re-port host_detect_local_cpu() to netbsd.

(mrg)

2019-02-05 13:57:25 UTC MAIN commitmail json YAML

add gcc-7 specific header.

(mrg)

2019-02-05 13:56:32 UTC MAIN commitmail json YAML

Sync with reality, and improve.

(maxv)

2019-02-05 13:50:10 UTC MAIN commitmail json YAML

The panic for fopen(NULL, ... is back, fix it

Restore the original behavior before merging the compat refactoring branch.

Now:
- no compat_10 -> perform pathbuf_copyin() and report EFAULT
- compat_10 and error -> report error
- compat_10 and success -> return file descriptor for "."

PR kern/53948

(kamil)

2019-02-05 13:02:36 UTC MAIN commitmail json YAML

use adrp not adr, since the data is not pc-rel.  fixes brk(2).

(mrg)

2019-02-05 13:00:03 UTC MAIN commitmail json YAML

2019-02-05 12:56:43 UTC MAIN commitmail json YAML

provide empty version of Aarch64GetESR() for non-linux arm64.

(mrg)

2019-02-05 12:42:09 UTC MAIN commitmail json YAML

2019-02-05 12:08:12 UTC MAIN commitmail json YAML

update ppc64 status: mknativeg-gcc worked.

(mrg)

2019-02-05 12:01:44 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc64/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/omp.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libiberty/defs.mk@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libobjc/arch/powerpc64/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++config.h@1.15 / diff / nxr@1.15
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/cxxabi_tweaks.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gstdint.h@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-posix.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-single.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/usr.bin/common-target/arch/powerpc64.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h@1.11 / diff / nxr@1.11
      :
(more 7 files)
mknative-gcc for GCC 7 and ppc64.

(mrg)

2019-02-05 12:01:11 UTC MAIN commitmail json YAML

update for GCC 7 - mirror changes in freebsd64.h in recent times.

(mrg)