On 02/19/18 00:16, Warner Losh wrote:
+ if (bus && strcmp(val1, bus) != 0) {
+ if (verbose_flag)
+ printf("Skipped because table for bus %s,
looking for %s\n",
+ va
Author: hselasky
Date: Mon Feb 19 06:11:58 2018
New Revision: 329555
URL: https://svnweb.freebsd.org/changeset/base/329555
Log:
When stepping the radix tree in the LinuxKPI make sure we
clear the least significant bits, so that no entries are
skipped.
MFC after:1 week
Sponsored by
Author: delphij
Date: Mon Feb 19 05:10:22 2018
New Revision: 329554
URL: https://svnweb.freebsd.org/changeset/base/329554
Log:
MFV r329552: less v530.
MFC after:2 weeks
Modified:
head/contrib/less/NEWS
head/contrib/less/README
head/contrib/less/command.c
head/contrib/less/help.
Author: kevans
Date: Mon Feb 19 03:59:26 2018
New Revision: 329551
URL: https://svnweb.freebsd.org/changeset/base/329551
Log:
stand/lua: reload previously loaded kernel at config-load/reload
r329550 introduced config.kernel_loaded. config.load() doesn't provide a
means of overriding the k
Author: kevans
Date: Mon Feb 19 03:52:02 2018
New Revision: 329550
URL: https://svnweb.freebsd.org/changeset/base/329550
Log:
stand/lua: Store the loaded kernel as config.kernel_loaded
'nil' means the 'first kernel found in module_path', which is the same
interpretation as passing 'nil' t
On Sun, Feb 18, 2018 at 5:25 PM, Kyle Evans wrote:
> Author: kevans
> Date: Mon Feb 19 01:25:52 2018
> New Revision: 329543
> URL: https://svnweb.freebsd.org/changeset/base/329543
>
> Log:
> Create style.lua(9)
>
> This covers the lua style guidelines we've generally agreed on so far. It
> w
Author: kevans
Date: Mon Feb 19 02:09:10 2018
New Revision: 329549
URL: https://svnweb.freebsd.org/changeset/base/329549
Log:
stand/lua: Clear the screen before prompting for passwords
In the worst case scenario, we have no passwords to prompt for and we end up
just clearing the screen tw
Author: kevans
Date: Mon Feb 19 02:01:49 2018
New Revision: 329548
URL: https://svnweb.freebsd.org/changeset/base/329548
Log:
stand/lua: Addres style.lua(9) concern
Modified:
head/stand/lua/drawer.lua
Modified: head/stand/lua/drawer.lua
===
Author: kevans
Date: Mon Feb 19 01:59:41 2018
New Revision: 329547
URL: https://svnweb.freebsd.org/changeset/base/329547
Log:
stand/lua: Allow menu items to be conditionally (in)visible
This will be used to conditionally show/hide the boot environment menu.
Modified:
head/stand/lua/drawe
Author: ian
Date: Mon Feb 19 01:49:19 2018
New Revision: 329546
URL: https://svnweb.freebsd.org/changeset/base/329546
Log:
Build at45d and mx25l SPI flash drivers as modules.
Added:
head/sys/modules/spi/at45d/
head/sys/modules/spi/at45d/Makefile (contents, props changed)
head/sys/module
Author: ian
Date: Mon Feb 19 01:39:02 2018
New Revision: 329545
URL: https://svnweb.freebsd.org/changeset/base/329545
Log:
Add ofw_bus_if.h to SRCS.
Modified:
head/sys/modules/spi/spibus/Makefile
Modified: head/sys/modules/spi/spibus/Makefile
=
Author: ian
Date: Mon Feb 19 01:32:27 2018
New Revision: 329544
URL: https://svnweb.freebsd.org/changeset/base/329544
Log:
Add modules/spi as a gathering point for SPI-related modules, analagous to
modules/i2c for i2c/iicbus modules. Build spibus as a module.
Added:
head/sys/modules/spi/
Author: kevans
Date: Mon Feb 19 01:25:52 2018
New Revision: 329543
URL: https://svnweb.freebsd.org/changeset/base/329543
Log:
Create style.lua(9)
This covers the lua style guidelines we've generally agreed on so far. It
will be revised as work continues and we run into more scenarios that
Author: mjg
Date: Mon Feb 19 00:54:08 2018
New Revision: 329542
URL: https://svnweb.freebsd.org/changeset/base/329542
Log:
Fix process exit vs reap race introduced in r329449
The race manifested itself mostly in terms of crashes with "spin lock
held too long".
Relevant parts of respe
Author: ian
Date: Mon Feb 19 00:47:03 2018
New Revision: 329541
URL: https://svnweb.freebsd.org/changeset/base/329541
Log:
Build ofw_iicbus as a module if OPT_FDT is defined.
Added:
head/sys/modules/i2c/ofw_iicbus/
head/sys/modules/i2c/ofw_iicbus/Makefile (contents, props changed)
Modifie
Author: mjg
Date: Mon Feb 19 00:38:14 2018
New Revision: 329540
URL: https://svnweb.freebsd.org/changeset/base/329540
Log:
mtx: add mtx_spin_wait_unlocked
The primitive can be used to wait for the lock to be released. Intended
usage is for locks in structures which are about to be freed.
Author: ian
Date: Sun Feb 18 23:35:23 2018
New Revision: 329539
URL: https://svnweb.freebsd.org/changeset/base/329539
Log:
Provide public declarations for ofw_spibus_driver and ofw_spibus_devclass
so other drivers can refer to them in DRIVER_MODULE() decls.
Modified:
head/sys/dev/spibus/ofw
Author: imp
Date: Sun Feb 18 23:16:16 2018
New Revision: 329538
URL: https://svnweb.freebsd.org/changeset/base/329538
Log:
Print more info for -v runs and temp hack for usb vs uhub
Despite best efforts to regularize, there's a few tables in the system
that still report they are for bus us
Author: ian
Date: Sun Feb 18 23:08:43 2018
New Revision: 329537
URL: https://svnweb.freebsd.org/changeset/base/329537
Log:
Provide a public function to acquire a gpio pin by giving the property name
and index. A private function to do exactly that already existed, so this
renames gpio_pin_g
Author: ian
Date: Sun Feb 18 23:01:33 2018
New Revision: 329536
URL: https://svnweb.freebsd.org/changeset/base/329536
Log:
Add the MODULE_DEPEND()s needed so that the kernel linker can resolve all
the symbols at load time when iicbus is not compiled into the kernel.
Modified:
head/sys/arm/f
Author: ian
Date: Sun Feb 18 22:57:04 2018
New Revision: 329535
URL: https://svnweb.freebsd.org/changeset/base/329535
Log:
Add iic_recover_bus.c, now part of iicbus. This should have been added
as part of r320463.
Modified:
head/sys/modules/i2c/iicbus/Makefile
Modified: head/sys/modules/i
Author: ian
Date: Sun Feb 18 22:54:19 2018
New Revision: 329534
URL: https://svnweb.freebsd.org/changeset/base/329534
Log:
Arrange SRCS= as 1 file per line, alphabetical, so it's easier to maintain.
Whitespace only, no functional changes.
Modified:
head/sys/modules/i2c/iicbus/Makefile
Modi
Thanks, committed in r329531.
On Sun, Feb 18, 2018 at 9:46 PM, Peter Holm wrote:
> On Sat, Feb 17, 2018 at 07:47:38PM +0100, Mateusz Guzik wrote:
> > 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 1
Author: mjg
Date: Sun Feb 18 21:07:15 2018
New Revision: 329531
URL: https://svnweb.freebsd.org/changeset/base/329531
Log:
exit: get rid of PROC_SLOCK when checking a process to report, take #2
The suspension counter needs synchronisation through slock, but we don't
need it to check if in
On Sat, Feb 17, 2018 at 07:47:38PM +0100, Mateusz Guzik wrote:
> 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
Author: ian
Date: Sun Feb 18 20:08:35 2018
New Revision: 329529
URL: https://svnweb.freebsd.org/changeset/base/329529
Log:
Give the imx_i2c driver its own name, set up its relationship to ofw_iicbus.
Previously it called itself 'iichb' to link up with the EARLY_DRIVER_MODULE
declaration in o
Author: oshogbo
Date: Sun Feb 18 20:04:39 2018
New Revision: 329528
URL: https://svnweb.freebsd.org/changeset/base/329528
Log:
Fix broken assertion in r329520.
Reported by: pho@ lwhsu@
Modified:
head/sys/kern/sys_capability.c
Modified: head/sys/kern/sys_capability.c
===
Author: ian
Date: Sun Feb 18 19:33:28 2018
New Revision: 329526
URL: https://svnweb.freebsd.org/changeset/base/329526
Log:
Allow i2c hardware drivers to declare their own relationships to ofw_iicbus
rather than relying on a set of canned EARLY_DRIVER_MODULE() statements in
the ofw_iicbus sou
Author: brooks
Date: Sun Feb 18 19:19:36 2018
New Revision: 329525
URL: https://svnweb.freebsd.org/changeset/base/329525
Log:
Correct/improve the descriptions if kern.ipc.(shmsegs,sema,msqids).
The description of kern.ipc.shmsegs was wrong since 2005. I updated the
others (which were mor
Author: hselasky
Date: Sun Feb 18 18:46:56 2018
New Revision: 329524
URL: https://svnweb.freebsd.org/changeset/base/329524
Log:
Optimise xchg() to use atomic_swap_32() and atomic_swap_64().
Suggested by: kib@
MFC after:1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys
Author: hselasky
Date: Sun Feb 18 17:37:23 2018
New Revision: 329523
URL: https://svnweb.freebsd.org/changeset/base/329523
Log:
Fix implementation of xchg() function macro in the LinuxKPI.
The exchange operation must be atomic.
MFC after:1 week
Sponsored by: Mellanox Technologies
M
Author: scottl
Date: Sun Feb 18 16:41:34 2018
New Revision: 329522
URL: https://svnweb.freebsd.org/changeset/base/329522
Log:
Improve command lifecycle debugging and detection of problems.
Sponsored by: Netflix
Modified:
head/sys/dev/mpr/mpr.c
head/sys/dev/mpr/mpr_sas.c
head/sys/dev/
Author: markj
Date: Sun Feb 18 16:03:50 2018
New Revision: 329521
URL: https://svnweb.freebsd.org/changeset/base/329521
Log:
Don't include DMAR map entry zone items in kernel dumps.
Such items may be allocated in the I/O path used by the dumper,
potentially causing the dump to fail. Since
Author: oshogbo
Date: Sun Feb 18 15:27:24 2018
New Revision: 329520
URL: https://svnweb.freebsd.org/changeset/base/329520
Log:
Use the fdeget_locked function instead of the fget_locked in the
sys_capability.
Reviewed by: pjd@ (earlier version)
Discussed with: mjg@
Modified:
he
Author: manu
Date: Sun Feb 18 11:17:39 2018
New Revision: 329517
URL: https://svnweb.freebsd.org/changeset/base/329517
Log:
efi: Do not pad the efi devpath structure
This solve problem when booting with efi on armv7
Reviewed by: imp, tsoome
MFC after:2 weeks
Differential Revision
Author: hselasky
Date: Sun Feb 18 12:54:21 2018
New Revision: 329519
URL: https://svnweb.freebsd.org/changeset/base/329519
Log:
Implement support for radix_tree_for_each_slot() and radix_tree_exception()
in the LinuxKPI and use unsigned long type for the radix tree index.
MFC after:1
Author: hselasky
Date: Sun Feb 18 09:52:30 2018
New Revision: 329516
URL: https://svnweb.freebsd.org/changeset/base/329516
Log:
Implement the KMEM_CACHE() function macro in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Sponsore
Author: hselasky
Date: Sun Feb 18 09:31:01 2018
New Revision: 329515
URL: https://svnweb.freebsd.org/changeset/base/329515
Log:
Make the vm_fault structure in the LinuxKPI compatible with
newer versions of the Linux kernel. No functional change.
MFC after:1 week
Submitted by: Johann
Author: hselasky
Date: Sun Feb 18 08:58:20 2018
New Revision: 329513
URL: https://svnweb.freebsd.org/changeset/base/329513
Log:
Implement __GFP_BITS_SHIFT and __GFP_BITS_MASK macros in the LinuxKPI.
Add compile time asserts to catch conflicts with native defines.
MFC after:1 week
Su
Author: hselasky
Date: Sun Feb 18 08:47:15 2018
New Revision: 329512
URL: https://svnweb.freebsd.org/changeset/base/329512
Log:
Implement __list_del_entry() helper functions in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technologies
Spon
Author: hselasky
Date: Sun Feb 18 09:10:14 2018
New Revision: 329514
URL: https://svnweb.freebsd.org/changeset/base/329514
Log:
Implement the rcu_dereference_raw() function macro.
Make sure all RCU dereferencing use the READ_ONCE() function macro.
MFC after:1 week
Submitted by: Joha
Author: hselasky
Date: Sun Feb 18 08:29:25 2018
New Revision: 329510
URL: https://svnweb.freebsd.org/changeset/base/329510
Log:
Refactor dentry structure into its own header file in the LinuxKPI similary
to Linux. No functional change. Implement d_inode() helper function.
MFC after:1
Author: hselasky
Date: Sun Feb 18 08:40:07 2018
New Revision: 329511
URL: https://svnweb.freebsd.org/changeset/base/329511
Log:
Implement file_inode() and call_mmap() helper functions in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by: Mellanox Technolog
Author: hselasky
Date: Sun Feb 18 08:05:40 2018
New Revision: 329509
URL: https://svnweb.freebsd.org/changeset/base/329509
Log:
Update the ktime type in the LinuxKPI to be a signed 64-bit integer similarly
to Linux, to avoid compilation issues. Implement ktime_get_real_seconds().
MFC afte
44 matches
Mail list logo