svn commit: r328507 - head/sys/tools

2018-01-28 Thread Warner Losh
Author: imp Date: Sun Jan 28 05:13:08 2018 New Revision: 328507 URL: https://svnweb.freebsd.org/changeset/base/328507 Log: Avoid using \$. It's an unknown escape sequence. Some awks warn about that. Instead, simply remove the sequence entirely because we never commit the generated files. Mo

svn commit: r328508 - head/sys/kern

2018-01-28 Thread Warner Losh
Author: imp Date: Sun Jan 28 05:13:17 2018 New Revision: 328508 URL: https://svnweb.freebsd.org/changeset/base/328508 Log: Add the DF_SUSPENDED flag to flags that are printed. Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ==

svn commit: r328505 - head/stand/fdt

2018-01-28 Thread Kyle Evans
Author: kevans Date: Sun Jan 28 03:07:22 2018 New Revision: 328505 URL: https://svnweb.freebsd.org/changeset/base/328505 Log: stand/fdt: Check /compatible property on overlay if it exists Example overlays seen in other places use a compatible property on root node of an overlay to specify

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Ian Lepore
On Sat, 2018-01-27 at 13:32 -0800, Rodney W. Grimes wrote: > > > > On Sat, 27 Jan 2018 12:13:57 -0800 > > Adrian Chadd wrote: > > > > > > > > Hi, > > > > > > Find the middle ground. Don't dissuade the developer too much. > >  This is what happened two years ago when I started hacking on the >

svn commit: r328506 - head/contrib/opie/libopie

2018-01-28 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 28 03:16:54 2018 New Revision: 328506 URL: https://svnweb.freebsd.org/changeset/base/328506 Log: Revert r328492: "Fix gcc80 -Wsizeof-pointer-memaccess warning." The warning is bogus: GCC8 only looks at the size of the destination. We shouldn't be fixing imagina

svn commit: r328509 - head/tools/tools

2018-01-28 Thread Eitan Adler
Author: eadler Date: Sun Jan 28 05:45:20 2018 New Revision: 328509 URL: https://svnweb.freebsd.org/changeset/base/328509 Log: tools: remove note about diffburst. Said tool was removed in 1999 in r51579 Modified: head/tools/tools/README Modified: head/tools/tools/README =

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Emmanuel Vadot
On Sat, 27 Jan 2018 13:32:22 -0800 (PST) "Rodney W. Grimes" wrote: > > On Sat, 27 Jan 2018 12:13:57 -0800 > > Adrian Chadd wrote: > > > > > Hi, > > > > > > Find the middle ground. Don't dissuade the developer too much. > > > > This is what happened two years ago when I started hacking on the

Re: svn commit: r328166 - in head/sys: amd64/amd64 x86/include x86/x86

2018-01-28 Thread Dexuan-BSD Cui
On Sat, Jan 27, 2018 at 3:33 AM, Konstantin Belousov wrote: > > On Sat, Jan 27, 2018 at 12:56:47AM -0800, Dexuan-BSD Cui wrote: > > Hi, > > Today I found the KPTI patch broke FreeBSD VM running on Hyper-V: the VM > > can't boot due to: > > > > vmbus0: cannot find free IDT vector > > > > Try r32846

svn commit: r328512 - head/sys/arm64/arm64

2018-01-28 Thread Michal Meloun
Author: mmel Date: Sun Jan 28 15:33:32 2018 New Revision: 328512 URL: https://svnweb.freebsd.org/changeset/base/328512 Log: Remove #endif forgotten in r328510. Pointy hat: mmel Modified: head/sys/arm64/arm64/pmap.c Modified: head/sys/arm64/arm64/pmap.c ==

svn commit: r328511 - head/sys/dev/extres/clk

2018-01-28 Thread Michal Meloun
Author: mmel Date: Sun Jan 28 15:20:45 2018 New Revision: 328511 URL: https://svnweb.freebsd.org/changeset/base/328511 Log: diff --git a/sys/dev/extres/clk/clk.c b/sys/dev/extres/clk/clk.c index c6a1f466ceb..c3708a0ce27 100644 --- a/sys/dev/extres/clk/clk.c +++ b/sys/dev/extres/clk/clk.c

svn commit: r328510 - head/sys/arm64/arm64

2018-01-28 Thread Michal Meloun
Author: mmel Date: Sun Jan 28 15:02:49 2018 New Revision: 328510 URL: https://svnweb.freebsd.org/changeset/base/328510 Log: Fix handling of I-cache sync operations - pmap_enter_object() can be used for mapping of executable pages, so it's necessary to handle I-cache synchronization with

svn commit: r328513 - head/contrib/llvm/tools/clang/lib/Basic/Targets

2018-01-28 Thread Dimitry Andric
Author: dim Date: Sun Jan 28 16:10:40 2018 New Revision: 328513 URL: https://svnweb.freebsd.org/changeset/base/328513 Log: Pull in r322245 from upstream clang trunk (by Craig Topper): [X86] Make -mavx512f imply -mfma and -mf16c in the frontend like it does in the backend. Simil

ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-28 Thread Mike Karels
Recently, I was investigating an issue with top on -current while doing a "make buildworld", and ran "ps axu|more" for comparison. To my surprise, I got only a few very long lines of output, containing full command lines for compiler runs. This quickly led me to the following commit, which I unfo

Re: ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-28 Thread Warner Losh
On Jan 28, 2018 9:51 AM, "Mike Karels" wrote: Recently, I was investigating an issue with top on -current while doing a "make buildworld", and ran "ps axu|more" for comparison. To my surprise, I got only a few very long lines of output, containing full command lines for compiler runs. This quic

svn commit: r328514 - head/sys/x86/x86

2018-01-28 Thread Alexander Motin
Author: mav Date: Sun Jan 28 18:18:03 2018 New Revision: 328514 URL: https://svnweb.freebsd.org/changeset/base/328514 Log: Assume Always Running APIC Timer for AMD CPU families >= 0x12. Fallback to HPET may cause locks congestions on many-core systems. This change replicates Linux behavio

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Emmanuel Vadot
On 2018-01-28 00:14, Poul-Henning Kamp wrote: In message <20180127210801.37b8001125dd0a2c92372...@bidouilliste.com>, Emmanuel Vadot writes: - We have a commiter that commited something for his own need: he wanted to use the pwm on his rpi, coded a driver (this part is good) but feel th

svn commit: r328515 - in stable/11/sys: conf contrib/ck contrib/ck/include contrib/ck/include/gcc contrib/ck/include/gcc/aarch64 contrib/ck/include/gcc/arm contrib/ck/include/gcc/ppc64 contrib/ck/i...

2018-01-28 Thread Olivier Houchard
Author: cognet Date: Sun Jan 28 18:38:17 2018 New Revision: 328515 URL: https://svnweb.freebsd.org/changeset/base/328515 Log: MFC revisions r309268, r309260, r309264, r309266, r309267, r309270, r310846, r314435, r314564, r316665, r316691, r316702. Those import ConcurrencyKit in the FreeBSD k

svn commit: r328516 - head/sys/powerpc/powerpc

2018-01-28 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 28 19:18:40 2018 New Revision: 328516 URL: https://svnweb.freebsd.org/changeset/base/328516 Log: Consolidate trap instruction checks to a single function Summary: Rather than duplicating the checks for programmatic traps all over the code, put it all in o

svn commit: r328517 - head/include

2018-01-28 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 28 19:37:30 2018 New Revision: 328517 URL: https://svnweb.freebsd.org/changeset/base/328517 Log: Avoid implicit gcc nonnull attribute in vwarnx(). We removed the nonnull attributes from our headers long ago, but still __printflike() includes it implicitly. This w

Re: svn commit: r328426 - in head: lib/libufs sbin/clri sbin/dump sbin/fsck_ffs sbin/fsirand sbin/growfs sbin/newfs sbin/quotacheck stand/libsa sys/geom sys/geom/journal sys/geom/label sys/ufs/ffs usr

2018-01-28 Thread Xin Li
Hi, Kirk, On 1/25/18 16:58, Kirk McKusick wrote: > Author: mckusick > Date: Fri Jan 26 00:58:32 2018 > New Revision: 328426 > URL: https://svnweb.freebsd.org/changeset/base/328426 > > Log: > Refactoring of reading and writing of the UFS/FFS superblock. > Specifically reading is done if ffs_sb

svn commit: r328518 - head/sys/powerpc/conf

2018-01-28 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 28 20:35:48 2018 New Revision: 328518 URL: https://svnweb.freebsd.org/changeset/base/328518 Log: Start building modules for QORIQ64 There's no reason not to build modules for 64-bit QorIQ devices. This config has evolved to be analogous to the AIM GENERIC64

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Adrian Chadd
[snip] And this is the root bit that's missing - dynamic pinmux/pinctrl stuff at runtime. Warner's already said he's WIP'ing it and phk seems like a good test case for kicking those tyres, so it sounds like those tyres are about to be kicked. In the meantime, hacks allow people to make some prog

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Warner Losh
On Sun, Jan 28, 2018 at 2:01 PM, Adrian Chadd wrote: > [snip] > > And this is the root bit that's missing - dynamic pinmux/pinctrl stuff > at runtime. > Well, you gotta walk before you can run. We don't even have static pinmx on rpi. Though someone else is working on that. > Warner's already s

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Warner Losh
On Sun, Jan 28, 2018 at 10:34 AM, Emmanuel Vadot wrote: > On 2018-01-28 00:14, Poul-Henning Kamp wrote: > >> >> In message <20180127210801.37b8001125dd0a2c92372...@bidouilliste.com>, >> Emmanuel Vadot writes: >> >> - We have a commiter that commited something for his own need: he >>> wan

svn commit: r328519 - head/sys/powerpc/include

2018-01-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 28 21:30:57 2018 New Revision: 328519 URL: https://svnweb.freebsd.org/changeset/base/328519 Log: Remove some unused AIM register declarations that existed to support some CPUs we have never run on. As a side-effect, removes some #ifdef AIM/#else. Modified: h

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Poul-Henning Kamp
In message <8d8ae9d10058fd72ce3ec467181c9...@megadrive.org>, Emmanuel Vadot writes: > Sometimes it makes sense to reboot. Yes, *sometimes* it does. But *always* demanding reboot makes no sense ever. > Reference platform doesn't make much sense in the embedded world. A reference pla

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Poul-Henning Kamp
In message , Warner Losh writes: >--001a1144c1d25e374c0563dc9147 >No. Such hacks are actively getting in the way. My WIP already breaks PHK's >hacks (unintentionally, but discovered in hindsight) because they are >outside the mainstream. I have 0 interest in preserving short-term hacks

svn commit: r328520 - head/sys/dev/ofw

2018-01-28 Thread Warner Losh
Author: imp Date: Sun Jan 28 23:58:22 2018 New Revision: 328520 URL: https://svnweb.freebsd.org/changeset/base/328520 Log: Out of an abundance of caution, NUL out the first byte in the PNP info. Modified: head/sys/dev/ofw/ofw_bus_subr.c Modified: head/sys/dev/ofw/ofw_bus_subr.c ===

svn commit: r328521 - head/sys/dev/nvme

2018-01-28 Thread Warner Losh
Author: imp Date: Mon Jan 29 00:00:52 2018 New Revision: 328521 URL: https://svnweb.freebsd.org/changeset/base/328521 Log: Use atomic load and stores to ensure that the compiler doesn't optimize away these loops. Change boolean to int to match what atomic API supplies. Remove wmb() since the

svn commit: r328522 - in head/sys: conf kern sys

2018-01-28 Thread Warner Losh
Author: imp Date: Mon Jan 29 00:14:39 2018 New Revision: 328522 URL: https://svnweb.freebsd.org/changeset/base/328522 Log: Create deprecation management functions. gone_in(majar, msg); If we're running in FreeBSD major, tell the user this code may be deleted soon.

svn commit: r328523 - in head/sys/dev: advansys aha aic buslogic dpt joy mse ncv nsp stg

2018-01-28 Thread Warner Losh
Author: imp Date: Mon Jan 29 00:14:46 2018 New Revision: 328523 URL: https://svnweb.freebsd.org/changeset/base/328523 Log: Tag the current round of deprecated drivers. Differential Revision: https://reviews.freebsd.org/D13818 Modified: head/sys/dev/advansys/advansys.c head/sys/dev/adva

svn commit: r328524 - in head/sys: amd64/amd64 dev/ata dev/atkbdc dev/sbni dev/sound/isa i386/i386 isa powerpc/mpc85xx sparc64/sparc64 x86/isa x86/pci x86/x86

2018-01-28 Thread Warner Losh
Author: imp Date: Mon Jan 29 00:22:30 2018 New Revision: 328524 URL: https://svnweb.freebsd.org/changeset/base/328524 Log: Add ISA PNP tables to ISA drivers. Fix a few incidental comments. ACPI ISA PBP tables not tagged, there's bigger issues with them. Modified: head/sys/amd64/amd64/fpu.c

svn commit: r328525 - head/contrib/tnftp/src

2018-01-28 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 29 01:05:57 2018 New Revision: 328525 URL: https://svnweb.freebsd.org/changeset/base/328525 Log: ftp(1): Use closefrom() instead of individual close()s. Use closefrom(3) instead of manually closing all file descriptors between 3 and 19. Obtained from:

svn commit: r328526 - head/sys/modules/linux64

2018-01-28 Thread Ed Maste
Author: emaste Date: Mon Jan 29 01:59:04 2018 New Revision: 328526 URL: https://svnweb.freebsd.org/changeset/base/328526 Log: Correct MD patch in linux64 module Makefile Reviewed by: imp Sponsored by: Turing Robotic Industries Inc. Differential Revision:https://reviews.freebsd.

svn commit: r328527 - head/sys/kern

2018-01-28 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Mon Jan 29 02:29:08 2018 New Revision: 328527 URL: https://svnweb.freebsd.org/changeset/base/328527 Log: Fix LINT build after r328508, add forgotten part in format string Reviewed by: delphij Differential Revision:https://reviews.freebsd.org/

svn commit: r328528 - in head/sys/dev/usb: . quirk

2018-01-28 Thread Ian Lepore
Author: ian Date: Mon Jan 29 03:24:02 2018 New Revision: 328528 URL: https://svnweb.freebsd.org/changeset/base/328528 Log: Add a NO_GETMAXLUN quirk for the JMicron JMS567 USB to SATA bridge, to prevent lengthy timeout pauses while probing/attaching drives. Modified: head/sys/dev/usb/quirk/u

svn commit: r328529 - head/sys/dev/advansys

2018-01-28 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Mon Jan 29 04:04:52 2018 New Revision: 328529 URL: https://svnweb.freebsd.org/changeset/base/328529 Log: Fix kernel build after r328523, correct variable names Reviewed by: delphij Differential Revision:https://reviews.freebsd.org/D14105 Mod

svn commit: r328530 - in head/sys/powerpc: aim booke include powerpc

2018-01-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 29 04:33:41 2018 New Revision: 328530 URL: https://svnweb.freebsd.org/changeset/base/328530 Log: Remove hard-coded trap-handling logic involving the segmented memory model used with hashed page tables on AIM and place it into a new, modular pmap function call

svn commit: r328531 - head/lib/libcasper/services/cap_syslog

2018-01-28 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 29 04:38:11 2018 New Revision: 328531 URL: https://svnweb.freebsd.org/changeset/base/328531 Log: Document the syslog Casper service. Reviewed by: bcr@ Differential Revision:https://reviews.freebsd.org/D14084 Added: head/lib/libcasper/services/cap_

svn commit: r328532 - head/lib/libcasper/services/cap_syslog

2018-01-28 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 29 05:29:28 2018 New Revision: 328532 URL: https://svnweb.freebsd.org/changeset/base/328532 Log: The name of the library is exactly the same like one of name the name of the functions. We should not create MLINKS for that one, because it's break a build.

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Oleksandr Tymoshenko
Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: > > In message <8d8ae9d10058fd72ce3ec467181c9...@megadrive.org>, Emmanuel Vadot > writes: > > > Sometimes it makes sense to reboot. > > Yes, *sometimes* it does. > > But *always* demanding reboot makes no sense ever. > > > Reference pla

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Warner Losh
On Sun, Jan 28, 2018 at 11:39 PM, Oleksandr Tymoshenko wrote: > > Ignoring value of ofw_bus_status_okay(dev) in probe method is > wrong for number of reasons and pinctl and clocks were brought up > as an example why "status" property is more than just > attach/dont-attach flag. So there is strictl