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

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

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:

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

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

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:

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:

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:

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: 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: 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

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

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

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

2018-01-28 Thread Poul-Henning Kamp
In message

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

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:

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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.

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

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

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