Author: wma
Date: Fri Jan 12 07:55:49 2018
New Revision: 327867
URL: https://svnweb.freebsd.org/changeset/base/327867
Log:
PowerNV: initial support for PCIe host controller
Provide initial support for PCIe host controller as
well as for IOMMU mapping. This commit allows proper
bus enume
Author: cem
Date: Fri Jan 12 06:40:58 2018
New Revision: 327866
URL: https://svnweb.freebsd.org/changeset/base/327866
Log:
aesni(4): Quiesce spurious GCC 6.3.0 -Wmaybe-uninitialized warnings
Always initialize some variables GCC warns about. They are initialized in
every path where they a
Author: eadler
Date: Fri Jan 12 06:37:53 2018
New Revision: 327865
URL: https://svnweb.freebsd.org/changeset/base/327865
Log:
sys/dev/e1000: fix uses of 1 << 31
Reviewed by: erj (D13858)
Modified:
head/sys/dev/e1000/e1000_82575.h
head/sys/dev/e1000/e1000_ich8lan.c
head/sys/d
Author: eadler
Date: Fri Jan 12 06:36:44 2018
New Revision: 327864
URL: https://svnweb.freebsd.org/changeset/base/327864
Log:
sys/dev/mlx[45]: fix uses of 1 << 31
Reviewed by: kib (D13858)
Modified:
head/sys/dev/mlx4/cq.h
head/sys/dev/mlx4/mlx4_core/mlx4_fw.c
head/sys/dev/ml
Author: asomers
Date: Fri Jan 12 04:31:52 2018
New Revision: 327863
URL: https://svnweb.freebsd.org/changeset/base/327863
Log:
MFC r327862
dhclient(8): add missing include
stdbool is technically needed, though we can get away without it due to
header pollution.
Pointy-hat-to:
Author: asomers
Date: Fri Jan 12 04:26:40 2018
New Revision: 327862
URL: https://svnweb.freebsd.org/changeset/base/327862
Log:
dhclient(8): add missing include
stdbool is technically needed, though we can get away without it due to
header pollution.
MFC after:3 days
Modified:
Author: asomers
Date: Fri Jan 12 04:25:16 2018
New Revision: 327861
URL: https://svnweb.freebsd.org/changeset/base/327861
Log:
MFC r315292
r315292 (by glebius)
Fix buildworld broken in r315230 when /sys doesn't point into a right
source tree. Usage of SYSDIR is apparently wrong here
Author: emaste
Date: Fri Jan 12 03:50:44 2018
New Revision: 327860
URL: https://svnweb.freebsd.org/changeset/base/327860
Log:
ANSIfy function definitions in sys/vm/
Modified:
head/sys/vm/vm_glue.c
head/sys/vm/vm_unix.c
Modified: head/sys/vm/vm_glue.c
===
Author: cy
Date: Fri Jan 12 02:49:18 2018
New Revision: 327859
URL: https://svnweb.freebsd.org/changeset/base/327859
Log:
MFC 327737:
USNO and possibly others have misinterpreted the maining of the
leapseconds last-update field and incorrectly increment it when changing
the file even th
Author: cy
Date: Fri Jan 12 02:49:18 2018
New Revision: 327859
URL: https://svnweb.freebsd.org/changeset/base/327859
Log:
MFC 327737:
USNO and possibly others have misinterpreted the maining of the
leapseconds last-update field and incorrectly increment it when changing
the file even th
Author: bdrewery
Date: Fri Jan 12 01:09:41 2018
New Revision: 327858
URL: https://svnweb.freebsd.org/changeset/base/327858
Log:
Add a hack to disable AUTO_OBJ for 'old style' kernel builds.
Another solution would be to extend the Makefile.sys.inc idea, or a .no_obj
file, to more places bu
Author: bdrewery
Date: Fri Jan 12 01:09:30 2018
New Revision: 327857
URL: https://svnweb.freebsd.org/changeset/base/327857
Log:
Cache LINKER_FEATURES to fix the wrong ones being used.
Submitted by: Dan McGregor
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
=
Author: asomers
Date: Fri Jan 12 00:25:56 2018
New Revision: 327855
URL: https://svnweb.freebsd.org/changeset/base/327855
Log:
MFC r309373 (by bdrewery)
Fix setrlimit_test:setrlimit_memlock when the system has exceeded
vm.max_wired.
This uses the same fix as r294894 did for the mlock
Author: asomers
Date: Fri Jan 12 00:01:08 2018
New Revision: 327854
URL: https://svnweb.freebsd.org/changeset/base/327854
Log:
MFC r326834, r326853
r326834:
dhclient(8): Don't shift through the sign bit of a signed int
PR: 208007
Submitted by: Michael McConville
r32
Author: asomers
Date: Fri Jan 12 00:00:01 2018
New Revision: 327853
URL: https://svnweb.freebsd.org/changeset/base/327853
Log:
MFC r326799:
less(1): diff reduction vs upstream
No functional change.
Sponsored by: Spectra Logic Corp
Modified:
stable/11/contrib/less/main.c
Directo
Author: asomers
Date: Thu Jan 11 23:59:27 2018
New Revision: 327852
URL: https://svnweb.freebsd.org/changeset/base/327852
Log:
MFC r326698:
at(1): annotate some intended switch-case fallthroughs
Reported by: Coverity
CID: 1008191
Sponsored by: Spectra Logic Corp
Modified
Author: asomers
Date: Thu Jan 11 23:58:41 2018
New Revision: 327851
URL: https://svnweb.freebsd.org/changeset/base/327851
Log:
MFC r326646:
Fix a null-pointer dereference and a tautological check in cam_get_device
Reported by: Coverity
CID: 1017964
Sponsored by: Spectra L
Author: asomers
Date: Thu Jan 11 23:57:55 2018
New Revision: 327850
URL: https://svnweb.freebsd.org/changeset/base/327850
Log:
MFC r326640:
Optimize telldir(3)
Currently each call to telldir() requires a malloc and adds an entry to a
linked list which must be traversed on future tell
Author: asomers
Date: Thu Jan 11 23:56:55 2018
New Revision: 327849
URL: https://svnweb.freebsd.org/changeset/base/327849
Log:
MFC r326624:
cam: fix sign-extension error in adagetparams
adagetparams contains a sign-extension error that will cause the sector
count to be incorrectly ca
Author: asomers
Date: Thu Jan 11 23:56:01 2018
New Revision: 327848
URL: https://svnweb.freebsd.org/changeset/base/327848
Log:
MFC r326455:
Reap dead code
usr.bin/dc/inout.c
Reap some dead code that was killed back in 2003 in OpenBSD, in
version 1.8 of this file.
Modif
Author: bdrewery
Date: Thu Jan 11 21:31:10 2018
New Revision: 327847
URL: https://svnweb.freebsd.org/changeset/base/327847
Log:
MFC r284406:
Use cpp -I$includedir
Modified:
stable/10/usr.bin/kdump/mkioctls
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.bi
Author: tuexen
Date: Thu Jan 11 21:17:05 2018
New Revision: 327846
URL: https://svnweb.freebsd.org/changeset/base/327846
Log:
Build systrace_freebsd32 on arm64.
Since r326501 which added COMPAT_FREEBSD32 to the GENERIC config for arm64,
we need to build systrace_freebsd32, since dtraceall
Author: dim
Date: Thu Jan 11 21:12:23 2018
New Revision: 327845
URL: https://svnweb.freebsd.org/changeset/base/327845
Log:
Pull in r316581 from upstream llvm trunk (by John Baldwin):
Don't try to use a non-existent header on FreeBSD/mips.
Reviewers: dim
Differential Revision
Author: tuexen
Date: Thu Jan 11 20:26:17 2018
New Revision: 327844
URL: https://svnweb.freebsd.org/changeset/base/327844
Log:
Ensure that the vnet is set when calling pru_sockaddr() and
pru_peeraddr().
This is already true when called via kern_getsockname() and
kern_getpeername(). This
On Thu, Jan 11, 2018 at 01:18:28PM -0700, Ian Lepore wrote:
> On Thu, 2018-01-11 at 15:05 -0500, Shawn Webb wrote:
> > On Thu, Jan 11, 2018 at 07:41:00PM +, Ian Lepore wrote:
> > >
> > > Author: ian
> > > Date: Thu Jan 11 19:41:00 2018
> > > New Revision: 327843
> > > URL: https://svnweb.freeb
On Thu, 2018-01-11 at 15:05 -0500, Shawn Webb wrote:
> On Thu, Jan 11, 2018 at 07:41:00PM +, Ian Lepore wrote:
> >
> > Author: ian
> > Date: Thu Jan 11 19:41:00 2018
> > New Revision: 327843
> > URL: https://svnweb.freebsd.org/changeset/base/327843
> >
> > Log:
> > Add description files for
On Thu, Jan 11, 2018 at 07:41:00PM +, Ian Lepore wrote:
> Author: ian
> Date: Thu Jan 11 19:41:00 2018
> New Revision: 327843
> URL: https://svnweb.freebsd.org/changeset/base/327843
>
> Log:
> Add description files for WITH/WITHOUT_LINT. These should have been part
> of r327837.
>
>
Author: ian
Date: Thu Jan 11 19:41:00 2018
New Revision: 327843
URL: https://svnweb.freebsd.org/changeset/base/327843
Log:
Add description files for WITH/WITHOUT_LINT. These should have been part
of r327837.
PR: 223892
Differential Revision: https://reviews.freebsd.or
Author: erj
Date: Thu Jan 11 19:24:51 2018
New Revision: 327842
URL: https://svnweb.freebsd.org/changeset/base/327842
Log:
e1000: Fix typos in value written to register and a comment
The value written to E1000_TARC(0) wasn't intended to have every bit but
E1000_TARC0_CB_MULTIQ_3_REQ clear
Author: jhb
Date: Thu Jan 11 19:24:44 2018
New Revision: 327841
URL: https://svnweb.freebsd.org/changeset/base/327841
Log:
Allow MIPS lib32 to build with clang.
Don't try to set -march as clang doesn't permit use of the O32 ABI
with newer CPU microarchitectures like 'mips3'. In addition,
Author: emaste
Date: Thu Jan 11 19:08:43 2018
New Revision: 327840
URL: https://svnweb.freebsd.org/changeset/base/327840
Log:
Temporarily disable VIMAGE on i386
An lld-linked i386 kernel hangs on boot, after em(4) starts. This seems
similar to the issue that prompted us to disable VIMAGE
Author: jhb
Date: Thu Jan 11 18:09:24 2018
New Revision: 327839
URL: https://svnweb.freebsd.org/changeset/base/327839
Log:
Change the type of 'crp_opaque' from caddr_t to void *.
Opaque pointers should be void *. Note that this does not go through
the tree removing all of the now-unneces
Author: jhb
Date: Thu Jan 11 18:07:21 2018
New Revision: 327838
URL: https://svnweb.freebsd.org/changeset/base/327838
Log:
Axe tmp_iv from the cryptodev session structure.
Just copyin the IV into the crypto descriptor directly. This avoids
copying the IV twice for each operation.
Re
Author: ian
Date: Thu Jan 11 17:51:22 2018
New Revision: 327837
URL: https://svnweb.freebsd.org/changeset/base/327837
Log:
Do not build lint(1) by default on stable-11, add WITH_LINT to enable
building it.
lint(1) is required on the host build system to build lint(1) libraries, and
it i
Author: andrew
Date: Thu Jan 11 17:23:24 2018
New Revision: 327836
URL: https://svnweb.freebsd.org/changeset/base/327836
Log:
iAdd ACPI attachments the the GIC and GICv3 interrupt controller drivers.
For each we need to walk the MADT to find which we have, then add the
driver as needed. As e
Author: andrew
Date: Thu Jan 11 17:09:12 2018
New Revision: 327835
URL: https://svnweb.freebsd.org/changeset/base/327835
Log:
Add the start of INTRNG support for ACPI.
This adds a new acpi_bus interface with a map_intr method. This is similar
to the Open Firmware map_intr method and allow
Author: kib
Date: Thu Jan 11 16:50:03 2018
New Revision: 327834
URL: https://svnweb.freebsd.org/changeset/base/327834
Log:
Fix grammar.
Submitted by: alc
MFC after:3 days
Modified:
head/sys/amd64/amd64/support.S
head/sys/i386/i386/support.s
Modified: head/sys/amd64/amd64/support
Author: markj
Date: Thu Jan 11 16:41:03 2018
New Revision: 327833
URL: https://svnweb.freebsd.org/changeset/base/327833
Log:
Add mallocarray.9 to malloc.9's MLINKS.
X-MFC with: r327674
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
==
Author: kevans
Date: Thu Jan 11 16:04:04 2018
New Revision: 327832
URL: https://svnweb.freebsd.org/changeset/base/327832
Log:
vmstat(8): Hook up NetBSD tests
The NetBSD tests for vmstat are basically just a smoke test, ensuring that
executing `vmstat` and `vmstat -s` exit successfully. Th
Author: pfg
Date: Thu Jan 11 15:44:03 2018
New Revision: 327831
URL: https://svnweb.freebsd.org/changeset/base/327831
Log:
dev/bhnd: Make use of mallocarray(9).
This makes a calloc-like definition check for overflows as is common
practice.
Modified:
head/sys/dev/bhnd/bcma/bcma_erom.c
Author: markj
Date: Thu Jan 11 15:32:12 2018
New Revision: 327830
URL: https://svnweb.freebsd.org/changeset/base/327830
Log:
MFC r324125 (andreast):
Initialize mdsize to make gcc happy again.
Modified:
stable/11/sbin/mdmfs/mdmfs.c
Directory Properties:
stable/11/ (props changed)
Modifi
Author: pfg
Date: Thu Jan 11 15:29:29 2018
New Revision: 327829
URL: https://svnweb.freebsd.org/changeset/base/327829
Log:
netpfil/ipfw: Make some use of mallocarray(9).
Reviewed by: kp, ae
Differential Revision: https://reviews.freebsd.org/D13834
Modified:
head/sys/netpfil/ipfw/dn_he
Author: pfg
Date: Thu Jan 11 15:25:26 2018
New Revision: 327828
URL: https://svnweb.freebsd.org/changeset/base/327828
Log:
dev/(e1000,ixl): Make some use of mallocarray(9).
Reviewed by: erj
Differential Revision: https://reviews.freebsd.org/D13833
Modified:
head/sys/dev/e1000/if_em.c
Author: mmel
Date: Thu Jan 11 15:03:01 2018
New Revision: 327827
URL: https://svnweb.freebsd.org/changeset/base/327827
Log:
Initialize CONTEXTIDR register on secondary cores by zero,
not with undefined value from X1 register.
MFC after:1 month
Modified:
head/sys/arm64/arm64/locore.
Author: kevans
Date: Thu Jan 11 15:01:48 2018
New Revision: 327826
URL: https://svnweb.freebsd.org/changeset/base/327826
Log:
patch(1): Don't check for NUL bytes in Plan A
Plan A mmap()'s the entire input file and operates on it in memory. The
map(2) call succeeded, so we shouldn't need t
Author: kevans
Date: Thu Jan 11 14:29:29 2018
New Revision: 327825
URL: https://svnweb.freebsd.org/changeset/base/327825
Log:
if_awg: Support new emac bindings
Highlights of the new bindings:
- ahb clock is specified as 'stmmaceth'
- The PHY to be used is now specified as phy-handle
-
On Wed, Jan 10, 2018 at 11:53 PM, Warner Losh wrote:
> On Wed, Jan 10, 2018 at 10:36 PM, Kyle Evans wrote:
>
>> Author: kevans
>> Date: Thu Jan 11 05:36:13 2018
>> New Revision: 327806
>> URL: https://svnweb.freebsd.org/changeset/base/327806
>>
>> Log:
>> awk(1): Add necessary bits for connecti
Author: emaste
Date: Thu Jan 11 14:21:07 2018
New Revision: 327824
URL: https://svnweb.freebsd.org/changeset/base/327824
Log:
regen src.conf.5 after r327823, WITH_LLD_BOOTSTRAP for i386
Sponsored by: The FreeBSD Foundation
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/ma
Author: emaste
Date: Thu Jan 11 14:03:05 2018
New Revision: 327823
URL: https://svnweb.freebsd.org/changeset/base/327823
Log:
Enable ld.lld as bootstrap linker by default on i386
Akin to r327783 for amd64. lld has been usable for amd64 for quite some
time, but a couple of issues remained
Author: kib
Date: Thu Jan 11 13:57:30 2018
New Revision: 327822
URL: https://svnweb.freebsd.org/changeset/base/327822
Log:
Skip IRELATIVE relocations when loader processes ELF files.
ifuncs can be only called in the (early boot) kernel environment, so
postpone resolving until early stage
Author: kib
Date: Thu Jan 11 13:37:45 2018
New Revision: 327821
URL: https://svnweb.freebsd.org/changeset/base/327821
Log:
Softlink inodes can own buffers with dependencies.
At least, softlinks longer than 120 bytes have data fragments.
Submitted by: mckusick
MFC after:5 days
Mo
Author: kib
Date: Thu Jan 11 13:22:13 2018
New Revision: 327820
URL: https://svnweb.freebsd.org/changeset/base/327820
Log:
Remove redundand CLD instructions.
We already clear %RFLAGS.DF on the kernel entry due to the compiler's
ABI requirements.
Suggested by: jhb
Sponsored by: The
Author: kib
Date: Thu Jan 11 12:54:33 2018
New Revision: 327819
URL: https://svnweb.freebsd.org/changeset/base/327819
Log:
Do not clear %RFLAGS.DF on fast syscall entry.
Hardware already did it for us due to the mask loaded into the
MSR_SF_MASK msr register.
Reviewed by: jhb
Spons
Author: kib
Date: Thu Jan 11 12:40:43 2018
New Revision: 327818
URL: https://svnweb.freebsd.org/changeset/base/327818
Log:
Move the hardware setup for fast syscalls into a common function.
Discussed with: jhb
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
h
Author: kib
Date: Thu Jan 11 12:28:08 2018
New Revision: 327817
URL: https://svnweb.freebsd.org/changeset/base/327817
Log:
Rename COMMON_TSS_RSP0 to TSS_RSP0.
The symbol is just an offset in the hardware TSS structure, it is not
limited to the common_tss instance.
Sponsored by: The F
Author: kib
Date: Thu Jan 11 12:07:24 2018
New Revision: 327816
URL: https://svnweb.freebsd.org/changeset/base/327816
Log:
Update comment explaining the check, to reality.
Discussed with: jhb
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/amd64/amd
Author: wma
Date: Thu Jan 11 09:42:24 2018
New Revision: 327815
URL: https://svnweb.freebsd.org/changeset/base/327815
Log:
PowerNV: add buffer for OPAL console
Avoid the lock in vtophys() by providing a static direct-mapped
spinlock- protected output buffer to use when the console driver
Author: wma
Date: Thu Jan 11 09:39:38 2018
New Revision: 327814
URL: https://svnweb.freebsd.org/changeset/base/327814
Log:
PowerNV: set LPCR[LPES] correctly
Make sure to set LPCR[LPES] so that external interrupts set SRR0 and SRR1
instead of HSRR0 and HSRR1. Without this, external interru
Author: wma
Date: Thu Jan 11 09:34:33 2018
New Revision: 327813
URL: https://svnweb.freebsd.org/changeset/base/327813
Log:
PowerNV: correctly start secondary CPUs
Fix AP startup, which was broken.
Created by:Nathan Whitehorn
Submitted by: Wojciech Macek
Spons
Author: wma
Date: Thu Jan 11 09:26:28 2018
New Revision: 327812
URL: https://svnweb.freebsd.org/changeset/base/327812
Log:
PowerNV: add reset, poweroff, OPAL console
Add basic power control (reset, power off) and bind
ttyuX to opal console so that init will start login there.
Created
Author: wma
Date: Thu Jan 11 09:17:02 2018
New Revision: 327811
URL: https://svnweb.freebsd.org/changeset/base/327811
Log:
CXGBE: fix get_filt to be endianness-aware
Unconditional 32-bit shift is not endianness-safe.
Modify the logic to work both on LE and BE.
Submitted by:
61 matches
Mail list logo