Author: hselasky
Date: Sat Feb 17 08:12:35 2018
New Revision: 329447
URL: https://svnweb.freebsd.org/changeset/base/329447
Log:
Compile fix for GCC in the LinuxKPI.
Older versions of GCC don't allow flexible array members in a union.
Use a zero length array instead.
MFC after:1 w
On 02/17/18 08:32, Hans Petter Selasky wrote:
On 02/17/18 01:42, Jan Beich wrote:
Hans Petter Selasky writes:
Author: hselasky
Date: Fri Feb 16 15:20:21 2018
New Revision: 329371
URL: https://svnweb.freebsd.org/changeset/base/329371
Log:
Allow the cmpxchg() macro in the LinuxKPI to work o
Author: mjg
Date: Sat Feb 17 08:48:45 2018
New Revision: 329448
URL: https://svnweb.freebsd.org/changeset/base/329448
Log:
exit: get rid of PROC_SLOCK when checking a process to report
All accessed fields are protected with already held process lock.
Modified:
head/sys/kern/kern_exit.c
Author: mjg
Date: Sat Feb 17 09:03:11 2018
New Revision: 329449
URL: https://svnweb.freebsd.org/changeset/base/329449
Log:
exit: stop doing PROC_SLOCK just to call proc_reap
It immediately does PROC_SUNLOCK anyway and the lock plays no role.
Modified:
head/sys/kern/kern_exit.c
Modified:
Hans Petter Selasky writes:
> On 02/17/18 01:42, Jan Beich wrote:
>
>> To generate errors instead ?
>
> Which compiler are you using?
>
> This was tested with clang over here.
$ cc -v
FreeBSD clang version 6.0.0 (branches/release_60 324090) (based on LLVM 6.0.0)
Target: x86_64-unknown-freebsd12.
Hans Petter Selasky writes:
> On 02/17/18 01:42, Jan Beich wrote:
>
>> Hans Petter Selasky writes:
>>
>>> Author: hselasky
>>> Date: Fri Feb 16 15:20:21 2018
>>> New Revision: 329371
>>> URL: https://svnweb.freebsd.org/changeset/base/329371
>>>
>>> Log:
>>>Allow the cmpxchg() macro in the Li
On 02/17/18 10:33, Jan Beich wrote:
Hans Petter Selasky writes:
On 02/17/18 01:42, Jan Beich wrote:
Hans Petter Selasky writes:
Author: hselasky
Date: Fri Feb 16 15:20:21 2018
New Revision: 329371
URL: https://svnweb.freebsd.org/changeset/base/329371
Log:
Allow the cmpxchg() macro in
BTW: drm-next-kmod now also builds on FreeBSD-11-stable (latest)
--HPS
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
On Sat, Feb 17, 2018 at 08:48:46AM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Sat Feb 17 08:48:45 2018
> New Revision: 329448
> URL: https://svnweb.freebsd.org/changeset/base/329448
>
> Log:
> exit: get rid of PROC_SLOCK when checking a process to report
Was this tested ?
In particular,
Author: mjg
Date: Sat Feb 17 12:07:09 2018
New Revision: 329451
URL: https://svnweb.freebsd.org/changeset/base/329451
Log:
Undo LOCK_PROFILING pessimisation after r313454 and r313455
With the option used to compile the kernel both sx and rw shared ops would
always go to the slow path whic
Author: oshogbo
Date: Sat Feb 17 12:22:29 2018
New Revision: 329452
URL: https://svnweb.freebsd.org/changeset/base/329452
Log:
Introduce channel flags in libcasper.
Instead of passing flags (which describe a type of nvlist)
every send/recv we remember them in channel.
It's enough for us
Author: oshogbo
Date: Sat Feb 17 12:32:53 2018
New Revision: 329453
URL: https://svnweb.freebsd.org/changeset/base/329453
Log:
Capsicumize uuidgen.
Modified:
head/bin/uuidgen/uuidgen.c
Modified: head/bin/uuidgen/uuidgen.c
==
Author: hselasky
Date: Sat Feb 17 12:38:46 2018
New Revision: 329454
URL: https://svnweb.freebsd.org/changeset/base/329454
Log:
Revert redundant parts of r329440 after recent devmatch(8) changes.
Sponsored by: Mellanox Technologies
Modified:
head/sys/dev/usb/usb_hub.c
Modified: head/sys
Author: hselasky
Date: Sat Feb 17 13:13:55 2018
New Revision: 329455
URL: https://svnweb.freebsd.org/changeset/base/329455
Log:
Invoke devmatch rc.d script directly instead of depending on "service"
which is installed in usr/sbin and might not be available at the time
devd is started.
S
Author: hselasky
Date: Sat Feb 17 13:32:29 2018
New Revision: 329456
URL: https://svnweb.freebsd.org/changeset/base/329456
Log:
Fix handling of "one_nomatch" shell variable to preserve its contents
appearing as a single argument passed to devmatch(8).
Don't depend on "sort" utility from u
Author: kevans
Date: Sat Feb 17 14:30:39 2018
New Revision: 329457
URL: https://svnweb.freebsd.org/changeset/base/329457
Log:
stand/lua: dumpModules => lsModules
rgrimes@ notes that this behavior is more befitting of the latter name than
the former, and I'm inclined to agree.
Reporte
Author: hselasky
Date: Sat Feb 17 14:34:47 2018
New Revision: 329458
URL: https://svnweb.freebsd.org/changeset/base/329458
Log:
Fix USB driver matching in devmatch(8).
Multiple drivers can match on the same USB device and the order of loading
decides which driver gets the device. Use the
[ Charset UTF-8 unsupported, converting... ]
> Author: kevans
> Date: Sat Feb 17 14:30:39 2018
> New Revision: 329457
> URL: https://svnweb.freebsd.org/changeset/base/329457
>
> Log:
> stand/lua: dumpModules => lsModules
>
> rgrimes@ notes that this behavior is more befitting of the latter
Author: hselasky
Date: Sat Feb 17 14:40:28 2018
New Revision: 329459
URL: https://svnweb.freebsd.org/changeset/base/329459
Log:
Remove obsolete tool, bus_autoconf, which is replaced by devmatch(8).
Deleted:
head/tools/tools/bus_autoconf/
___
svn-src
Author: hselasky
Date: Sat Feb 17 14:44:03 2018
New Revision: 329460
URL: https://svnweb.freebsd.org/changeset/base/329460
Log:
Remove unused bus_autoconf section from usb.ko.
Sponsored by: Mellanox Technologies
Modified:
head/sys/dev/usb/usb_lookup.c
Modified: head/sys/dev/usb/usb_look
On Sat, Feb 17, 2018 at 6:32 AM, Hans Petter Selasky
wrote:
> Author: hselasky
> Date: Sat Feb 17 13:32:29 2018
> New Revision: 329456
> URL: https://svnweb.freebsd.org/changeset/base/329456
>
> Log:
> Fix handling of "one_nomatch" shell variable to preserve its contents
> appearing as a sing
On Sat, Feb 17, 2018 at 7:34 AM, Hans Petter Selasky
wrote:
> Author: hselasky
> Date: Sat Feb 17 14:34:47 2018
> New Revision: 329458
> URL: https://svnweb.freebsd.org/changeset/base/329458
>
> Log:
> Fix USB driver matching in devmatch(8).
>
> Multiple drivers can match on the same USB devi
On 02/17/18 15:51, Warner Losh wrote:
It's more the unique part than the sort part since otherwise we try to load
things a large number of times.
I'd preferred if you'd talked to me about a non-urgent change like this
(split / and /usr is broken already and there's a few other places that are
als
On 02/17/18 15:56, Warner Losh wrote:
I'd request you make no further changes to devmatch without a review.
I don't have a problem with that.
You can see now what changes are needed. Please make sure you test with
real USB devices! Some people are using FreeBSD-current on desktops, and
the U
On Feb 17, 2018 8:39 AM, "Rodney W. Grimes"
wrote:
[ Charset UTF-8 unsupported, converting... ]
> Author: kevans
> Date: Sat Feb 17 14:30:39 2018
> New Revision: 329457
> URL: https://svnweb.freebsd.org/changeset/base/329457
>
> Log:
> stand/lua: dumpModules => lsModules
>
> rgrimes@ notes th
On Sat, Feb 17, 2018 at 7:56 AM, Hans Petter Selasky
wrote:
> On 02/17/18 15:51, Warner Losh wrote:
>
>> It's more the unique part than the sort part since otherwise we try to
>> load
>> things a large number of times.
>> I'd preferred if you'd talked to me about a non-urgent change like this
>>
On 02/17/18 15:56, Warner Losh wrote:
The right fix there, I think, is to load them all at once, in one kldload
operation and not loop in /etc/rc.d/devmatch.
Each driver will invoke the driver loaded device method, so this will
race aswell!
You have a point. But, that means devmatch should r
On Sat, Feb 17, 2018 at 7:58 AM, Hans Petter Selasky
wrote:
> On 02/17/18 15:56, Warner Losh wrote:
>
>> I'd request you make no further changes to devmatch without a review.
>>
>
> I don't have a problem with that.
>
> You can see now what changes are needed. Please make sure you test with
> rea
On Sat, Feb 17, 2018 at 8:04 AM, Hans Petter Selasky
wrote:
> On 02/17/18 15:56, Warner Losh wrote:
>
>> The right fix there, I think, is to load them all at once, in one kldload
>> operation and not loop in /etc/rc.d/devmatch.
>>
>
> Each driver will invoke the driver loaded device method, so th
On 02/17/18 16:07, Warner Losh wrote:
It would be more helpful if you could turn on devd's logging (by adding
!devd
*.>=info /var/log/devd.log
to /etc/syslog.conf, restarting syslog and then giving me the exact
scenario that's failing so I can add it to a tes
On 02/17/18 16:12, Warner Losh wrote:
Yes. I know that. Continuing to belabor the obvious won't help make me less
grumpy.
I'm sorry about that.
Implementing a generic solution to match drivers and devices seems more
complicated than at first thought :-)
OK, I will say away from *devmatch* a
On Sat, Feb 17, 2018 at 01:27:38PM +0200, Konstantin Belousov wrote:
> On Sat, Feb 17, 2018 at 08:48:46AM +, Mateusz Guzik wrote:
> > Author: mjg
> > Date: Sat Feb 17 08:48:45 2018
> > New Revision: 329448
> > URL: https://svnweb.freebsd.org/changeset/base/329448
> >
> > Log:
> > exit: get ri
On Sat, Feb 17, 2018 at 05:07:07PM +0100, Mateusz Guzik wrote:
> On Sat, Feb 17, 2018 at 01:27:38PM +0200, Konstantin Belousov wrote:
> > On Sat, Feb 17, 2018 at 08:48:46AM +, Mateusz Guzik wrote:
> > > Author: mjg
> > > Date: Sat Feb 17 08:48:45 2018
> > > New Revision: 329448
> > > URL: https
On Sat, Feb 17, 2018 at 06:26:32PM +0200, Konstantin Belousov wrote:
> On Sat, Feb 17, 2018 at 05:07:07PM +0100, Mateusz Guzik wrote:
> > On Sat, Feb 17, 2018 at 01:27:38PM +0200, Konstantin Belousov wrote:
> > > On Sat, Feb 17, 2018 at 08:48:46AM +, Mateusz Guzik wrote:
> > > > Author: mjg
> >
Author: mjg
Date: Sat Feb 17 17:23:43 2018
New Revision: 329461
URL: https://svnweb.freebsd.org/changeset/base/329461
Log:
Revert r329448.
Turns out is is actually racy, reproducible with stress2/misc/truss.sh
Requested by: kib
Modified:
head/sys/kern/kern_exit.c
Modified: head/sys
On Sat, Feb 17, 2018 at 5:38 PM, Peter Holm wrote:
> On Sat, Feb 17, 2018 at 06:26:32PM +0200, Konstantin Belousov wrote:
> > On Sat, Feb 17, 2018 at 05:07:07PM +0100, Mateusz Guzik wrote:
> > > On Sat, Feb 17, 2018 at 01:27:38PM +0200, Konstantin Belousov wrote:
> > > > On Sat, Feb 17, 2018 at 0
Author: manu
Date: Sat Feb 17 18:30:25 2018
New Revision: 329463
URL: https://svnweb.freebsd.org/changeset/base/329463
Log:
aw_mmc: Only change the clock if it has really changed
This also seems to fix problem when booting Pine64 from the mmc.
Tested On:Pine64
Tested On:Pine6
On Sat, Feb 17, 2018 at 06:34:34PM +0100, Mateusz Guzik wrote:
> On Sat, Feb 17, 2018 at 5:38 PM, Peter Holm wrote:
>
> > On Sat, Feb 17, 2018 at 06:26:32PM +0200, Konstantin Belousov wrote:
> > > On Sat, Feb 17, 2018 at 05:07:07PM +0100, Mateusz Guzik wrote:
> > > > On Sat, Feb 17, 2018 at 01:27
On Sat, Feb 17, 2018 at 7:42 PM, Peter Holm wrote:
> On Sat, Feb 17, 2018 at 06:34:34PM +0100, Mateusz Guzik wrote:
> > On Sat, Feb 17, 2018 at 5:38 PM, Peter Holm wrote:
> >
> > > On Sat, Feb 17, 2018 at 06:26:32PM +0200, Konstantin Belousov wrote:
> > > > On Sat, Feb 17, 2018 at 05:07:07PM +01
Author: hselasky
Date: Sat Feb 17 20:09:43 2018
New Revision: 329464
URL: https://svnweb.freebsd.org/changeset/base/329464
Log:
Add checks for valid IRQ tag before setting up or tearing down an interrupt
handler in the LinuxKPI. This is needed when the interrupt handler is disabled
before fr
Author: hselasky
Date: Sat Feb 17 20:37:21 2018
New Revision: 329465
URL: https://svnweb.freebsd.org/changeset/base/329465
Log:
Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the
LinuxKPI to be compatible with Linux. No functional change.
MFC after:1 week
Submitte
Author: hselasky
Date: Sat Feb 17 20:50:18 2018
New Revision: 329466
URL: https://svnweb.freebsd.org/changeset/base/329466
Log:
Add support for __percpu and __weak macros in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modified
Author: hselasky
Date: Sat Feb 17 20:52:54 2018
New Revision: 329467
URL: https://svnweb.freebsd.org/changeset/base/329467
Log:
Add support for mmgrab() function in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modified:
head/
Author: hselasky
Date: Sat Feb 17 20:56:35 2018
New Revision: 329468
URL: https://svnweb.freebsd.org/changeset/base/329468
Log:
Add support for kref_read() function in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modified:
he
Author: jhibbits
Date: Sat Feb 17 20:59:12 2018
New Revision: 329469
URL: https://svnweb.freebsd.org/changeset/base/329469
Log:
Merge AIM and Book-E PCPU fields
This is part of a long-term goal of merging Book-E and AIM into a single
GENERIC
kernel. As more work is done, the struct may
Author: hselasky
Date: Sat Feb 17 21:25:19 2018
New Revision: 329470
URL: https://svnweb.freebsd.org/changeset/base/329470
Log:
Add support for printk_ratelimit() function macro and improve the existing
printk_ratelimited() function macro to return a boolean stating if there
was a printout,
Author: hselasky
Date: Sat Feb 17 21:40:19 2018
New Revision: 329471
URL: https://svnweb.freebsd.org/changeset/base/329471
Log:
Implement BUILD_BUG_ON_INVALID() function macro in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Mod
Author: hselasky
Date: Sat Feb 17 21:47:15 2018
New Revision: 329472
URL: https://svnweb.freebsd.org/changeset/base/329472
Log:
Allow the put_user() function macro to put constant values by using the
existing __put_user() macro.
MFC after:1 week
Submitted by: Johannes Lundberg
Sp
Author: cem
Date: Sat Feb 17 22:17:21 2018
New Revision: 329473
URL: https://svnweb.freebsd.org/changeset/base/329473
Log:
liblua: Clean up io/loader C module registration
Utilize registration APIs Lua provides to make module definition a little
cleaner.
Discussed with: imp
S
Author: cem
Date: Sat Feb 17 22:18:39 2018
New Revision: 329474
URL: https://svnweb.freebsd.org/changeset/base/329474
Log:
liblua: Emulate DIR, opendir, fdopendir, closedir
In a similar fashion to FILE, provide thin shims for the standard directory
manipulation functions.
Reviewed by
Author: hselasky
Date: Sat Feb 17 22:33:26 2018
New Revision: 329475
URL: https://svnweb.freebsd.org/changeset/base/329475
Log:
Implement get_task_pid() function macro in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modified:
Author: hselasky
Date: Sat Feb 17 22:41:20 2018
New Revision: 329476
URL: https://svnweb.freebsd.org/changeset/base/329476
Log:
Stub more lockdep function macros in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modified:
head/
Author: hselasky
Date: Sat Feb 17 22:45:15 2018
New Revision: 329477
URL: https://svnweb.freebsd.org/changeset/base/329477
Log:
Implement spin_trylock_irq() function macro in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Modifie
Author: ian
Date: Sat Feb 17 23:23:27 2018
New Revision: 329479
URL: https://svnweb.freebsd.org/changeset/base/329479
Log:
Do not try to deallocate memory that wasn't allocated (you'd think that
would be safe, but the function also tries to destroy mutexes that never
got created).
I gue
Author: ian
Date: Sat Feb 17 23:39:10 2018
New Revision: 329480
URL: https://svnweb.freebsd.org/changeset/base/329480
Log:
Don't call sdhci_cleanup_slot() if sdhci_init_slot() never got called.
Also, do callout_init() very early in attach, so that callout_drain()
can be called in detach with
Author: ian
Date: Sun Feb 18 00:02:09 2018
New Revision: 329483
URL: https://svnweb.freebsd.org/changeset/base/329483
Log:
Fix fallout from the import of fresh dts source files from linux 4.15. It
appears that node names no longer include leading zeroes in the @address
qualifiers, so we hav
Author: kevans
Date: Sun Feb 18 00:44:09 2018
New Revision: 329496
URL: https://svnweb.freebsd.org/changeset/base/329496
Log:
stand/lua: Fix verbiage and some typos
"other_kernel" is decidedly not spelled "other_kern"
Modified:
head/stand/lua/config.lua
Modified: head/stand/lua/config.l
Author: kevans
Date: Sun Feb 18 00:56:12 2018
New Revision: 329497
URL: https://svnweb.freebsd.org/changeset/base/329497
Log:
stand/lua: Fix module_path handling with multiple kernels
Once we've successfully loaded a kernel, we add its directory to
module_path. If we switch kernels with t
Author: kevans
Date: Sun Feb 18 01:01:15 2018
New Revision: 329498
URL: https://svnweb.freebsd.org/changeset/base/329498
Log:
stand/lua: Remove some debugging bits that snuck in... gr...
Modified:
head/stand/lua/config.lua
Modified: head/stand/lua/config.lua
=
Author: cem
Date: Sun Feb 18 01:13:58 2018
New Revision: 329499
URL: https://svnweb.freebsd.org/changeset/base/329499
Log:
interp_lua: Register io/loader with regular Lua module system
Reviewed by: kevans
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freeb
Author: cem
Date: Sun Feb 18 01:15:25 2018
New Revision: 329500
URL: https://svnweb.freebsd.org/changeset/base/329500
Log:
Lua loader: Add barebones "lfs" module
Add a Lua FileSystem module, an emulation of a subset of the permissively
licensed (MIT) Lua library of the same name[0], to ou
Author: cem
Date: Sun Feb 18 01:16:37 2018
New Revision: 329501
URL: https://svnweb.freebsd.org/changeset/base/329501
Log:
lua loader: Auto detect eligible list of kernels to boot
Reviewed by: imp, kevans
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freeb
Author: kevans
Date: Sun Feb 18 01:31:18 2018
New Revision: 329503
URL: https://svnweb.freebsd.org/changeset/base/329503
Log:
liblua: Fix missing '}' in lutil.c after r329499
Modified:
head/stand/liblua/lutils.c
Modified: head/stand/liblua/lutils.c
===
Author: kevans
Date: Sun Feb 18 01:35:46 2018
New Revision: 329504
URL: https://svnweb.freebsd.org/changeset/base/329504
Log:
stand/lua: More style nits, config.lua
Some other points I think we need to be consistent on:
- Spacing around string concatenation (always)
- Test against 'nil'
Author: mav
Date: Sun Feb 18 01:42:17 2018
New Revision: 329505
URL: https://svnweb.freebsd.org/changeset/base/329505
Log:
MFV r323911:
8502 illumos#7955 broke delegated datasets when libshare is not present
illumos/illumos-gate@1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da
https://github.c
Author: ian
Date: Sun Feb 18 02:01:41 2018
New Revision: 329506
URL: https://svnweb.freebsd.org/changeset/base/329506
Log:
Add a detach method so that this can be a kldunload-friendly module.
Modified:
head/sys/arm/freescale/imx/imx_i2c.c
Modified: head/sys/arm/freescale/imx/imx_i2c.c
==
Thanks! I must have mismerged a rebase conflict.
On Sat, Feb 17, 2018 at 5:31 PM, Kyle Evans wrote:
> Author: kevans
> Date: Sun Feb 18 01:31:18 2018
> New Revision: 329503
> URL: https://svnweb.freebsd.org/changeset/base/329503
>
> Log:
> liblua: Fix missing '}' in lutil.c after r329499
>
> M
Author: ian
Date: Sun Feb 18 02:48:54 2018
New Revision: 329507
URL: https://svnweb.freebsd.org/changeset/base/329507
Log:
Build modules specific to imx5/imx6 only when building those kernels.
This adds sys/modules/imx with a SUBDIR makefile to make the whole
collection of modules that ar
On Sat, Feb 17, 2018 at 5:35 PM, Kyle Evans wrote:
> Author: kevans
> Date: Sun Feb 18 01:35:46 2018
> New Revision: 329504
> URL: https://svnweb.freebsd.org/changeset/base/329504
>
> Log:
> stand/lua: More style nits, config.lua
>
> Some other points I think we need to be consistent on:
> -
On Sat, Feb 17, 2018 at 8:53 PM, Conrad Meyer wrote:
> On Sat, Feb 17, 2018 at 5:35 PM, Kyle Evans wrote:
>> Author: kevans
>> Date: Sun Feb 18 01:35:46 2018
>> New Revision: 329504
>> URL: https://svnweb.freebsd.org/changeset/base/329504
>>
>> Log:
>> stand/lua: More style nits, config.lua
>>
Author: mav
Date: Sun Feb 18 04:00:29 2018
New Revision: 329508
URL: https://svnweb.freebsd.org/changeset/base/329508
Log:
MFV r324198: 8081 Compiler warnings in zdb
illumos/illumos-gate@3f7978d02b206a6ebc5652c91aa9f42da6fbe00c
https://github.com/illumos/illumos-gate/commit/3f7978d02b206
71 matches
Mail list logo