|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
2f3cabf9 |
| 06-Sep-2019 |
Alan Somers <[email protected]> |
MFC r345350, r346441, r346765
r345350: Rename fuse(4) to fusefs(4)
This makes it more consistent with other filesystems, which all end in "fs", and more consistent with its mount helper, which is a
MFC r345350, r346441, r346765
r345350: Rename fuse(4) to fusefs(4)
This makes it more consistent with other filesystems, which all end in "fs", and more consistent with its mount helper, which is already named "mount_fusefs".
Reviewed by: cem, rgrimes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19649
r346441: Use symlinks for kernel modules rather than hardlinks
When aliasing a kernel module to a different name (ie if_igb for if_em), it's better to use symlinks than hard links. kldxref will omit entries for the links, ensuring that the loaded module has the correct name.
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19979
r346765: Don't symlink fusefs.ko to fuse.ko on PPC
Some PPC systems (PowerNV) use msdosfs for /boot, which can't handle either symlinks or hardlinks. So on PPC, copy the module instead. This change fixes installkernel on such systems after r345350.
Reported by: Brandon Bergren <git_bdragon.rtk0.net> Reviewed by: jhibbits, rgrimes MFC-With: 345350, 346441 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19993
show more ...
|
| #
e27633af |
| 05-Sep-2019 |
Ian Lepore <[email protected]> |
MFC r350591, r350971, r351724
r350591: Add a driver for Texas Instruments ADS101x/ADS111x i2c ADC chips.
Instances of the device can be configured using hints or FDT data.
Interfaces to reconfigur
MFC r350591, r350971, r351724
r350591: Add a driver for Texas Instruments ADS101x/ADS111x i2c ADC chips.
Instances of the device can be configured using hints or FDT data.
Interfaces to reconfigure the chip and extract voltage measurements from it are available via sysctl(8).
r350971: Fix the driver name in ads111x.4, and hook the manpage up to the build.
The driver was originally written with the name ads1115, but at the last minute it got renamed to ads111x to reflect its support for many related chips, but I forgot to update the manpage to match the renaming before committing it all.
r351724: Fix the name of the devicetree bindings document file cited in the manpage.
show more ...
|
| #
8f318f29 |
| 11-Aug-2019 |
Ian Lepore <[email protected]> |
MFC r349319, r349328-r349330
r349319: Add some i2c slave-device drivers that were missing from NOTES.
r349328: The gpiopps(4) driver currently has probe and attach code only for FDT based systems,
MFC r349319, r349328-r349330
r349319: Add some i2c slave-device drivers that were missing from NOTES.
r349328: The gpiopps(4) driver currently has probe and attach code only for FDT based systems, so conditionalize it accordingly in conf/files.
r349329: Add gpio(4) and related drivers to NOTES.
r349330: Add pwm devices to NOTES.
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
c1dbe4cb |
| 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347285 and r347327: Initial version of Mellanox in-kernel firmware upgrade support.
Submitted by: slavash@ Sponsored by: Mellanox Technologies
|
| #
3c239409 |
| 29-Apr-2019 |
Mark Johnston <[email protected]> |
MFC r346544: Clarify the relationship between INVARIANTS and DIAGNOSTIC a bit.
|
| #
165d2144 |
| 08-Apr-2019 |
Kyle Evans <[email protected]> |
MFC r345680: NOTES: Use non-default value for BOOT_TAG
|
| #
b57c318b |
| 19-Mar-2019 |
Konstantin Belousov <[email protected]> |
MFC r344479 (by sobomax), r344605: Modularize xz.
|
| #
30985a03 |
| 08-Mar-2019 |
Alexander Motin <[email protected]> |
MFC r344702: There is no `device atacard` but there is `device atapccard`.
|
| #
015c5ac3 |
| 21-Feb-2019 |
Andriy Voskoboinyk <[email protected]> |
MFC r344198: GC ATA_REQUEST_TIMEOUT option remnants
It was removed from code in r249083 and from sys/conf/options in r249213.
PR: 193935, 222170
|
| #
0eecda31 |
| 15-Feb-2019 |
Konstantin Belousov <[email protected]> |
MFC r343617, r343618: Make iflib a loadable module.
|
|
Revision tags: release/12.0.0 |
|
| #
19fa89e9 |
| 26-Aug-2018 |
Mark Murray <[email protected]> |
Remove the Yarrow PRNG algorithm option in accordance with due notice given in random(4).
This includes updating of the relevant man pages, and no-longer-used harvesting parameters.
Ensure that the
Remove the Yarrow PRNG algorithm option in accordance with due notice given in random(4).
This includes updating of the relevant man pages, and no-longer-used harvesting parameters.
Ensure that the pseudo-unit-test still does something useful, now also with the "other" algorithm instead of Yarrow.
PR: 230870 Reviewed by: cem Approved by: so(delphij,gtetlow) Approved by: re(marius) Differential Revision: https://reviews.freebsd.org/D16898
show more ...
|
| #
4ca8c1ef |
| 22-Aug-2018 |
Conrad Meyer <[email protected]> |
KASSERT: Make runtime optionality optional
Add an option, KASSERT_PANIC_OPTIONAL, that allows runtime KASSERT() behavior changes. When this option is not enabled, code that allows KASSERTs to becom
KASSERT: Make runtime optionality optional
Add an option, KASSERT_PANIC_OPTIONAL, that allows runtime KASSERT() behavior changes. When this option is not enabled, code that allows KASSERTs to become optional is not enabled, and all violated assertions cause termination.
The runtime KASSERT behavior was added in r243980.
One important distinction here is that panic has __dead2 ("attribute((noreturn))"), while kassert_panic does not. Static analyzers like Coverity understand __dead2. Without it, KASSERTs go misunderstood, resulting in many false positives that result from violation of program invariants.
Reviewed by: jhb, jtl, np, vangyzen Relnotes: yes Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D16835
show more ...
|
| #
2a4650cc |
| 09-Aug-2018 |
Kyle Evans <[email protected]> |
BOOT_TAG: Make a config(5) option, expose as sysctl and loader tunable
BOOT_TAG lived shortly in sys/msgbuf.h, but this wasn't necessarily great for changing it or removing it. Move it into subr_prf
BOOT_TAG: Make a config(5) option, expose as sysctl and loader tunable
BOOT_TAG lived shortly in sys/msgbuf.h, but this wasn't necessarily great for changing it or removing it. Move it into subr_prf.c and add options for it to opt_printf.h.
One can specify both the BOOT_TAG and BOOT_TAG_SZ (really, size of the buffer that holds the BOOT_TAG). We expose it as kern.boot_tag and also add a loader tunable by the same name that we'll fetch upon initialization of the msgbuf.
This allows for flexibility and also ensures that there's a consistent way to figure out the boot tag of the running kernel, rather than relying on headers to be in-sync.
Prodded super-super-lightly by: imp
show more ...
|
| #
b5988450 |
| 01-Aug-2018 |
Ravi Pokala <[email protected]> |
Remove jedec_ts(4)
The jedec_ts(4) driver has been marked as deprecated in stable/11, and is now being removed from -HEAD. Add a notice in UPDATING, and update the few remaining references (regardin
Remove jedec_ts(4)
The jedec_ts(4) driver has been marked as deprecated in stable/11, and is now being removed from -HEAD. Add a notice in UPDATING, and update the few remaining references (regarding jedec_dimm(4)'s compatibility and history) to reflect the fact that jedec_ts(4) is now deleted.
Reviewed by: avg Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16537
show more ...
|
| #
3496c981 |
| 19-Jul-2018 |
Ian Lepore <[email protected]> |
Make it possible to run ntpd as a non-root user, add ntpd uid and gid.
Code analysis and runtime analysis using truss(8) indicate that the only privileged operations performed by ntpd are adjusting
Make it possible to run ntpd as a non-root user, add ntpd uid and gid.
Code analysis and runtime analysis using truss(8) indicate that the only privileged operations performed by ntpd are adjusting system time, and (re-)binding to privileged UDP port 123. These changes add a new mac(4) policy module, mac_ntpd(4), which grants just those privileges to any process running with uid 123.
This also adds a new user and group, ntpd:ntpd, (uid:gid 123:123), and makes them the owner of the /var/db/ntp directory, so that it can be used as a location where the non-privileged daemon can write files such as the driftfile, and any optional logfile or stats files.
Because there are so many ways to configure ntpd, the question of how to configure it to run without root privs can be a bit complex, so that will be addressed in a separate commit. These changes are just what's required to grant the limited subset of privs to ntpd, and the small change to ntpd to prevent it from exiting with an error if running as non-root.
Differential Revision: https://reviews.freebsd.org/D16281
show more ...
|
| #
2d7e9271 |
| 11-Jul-2018 |
Ian Lepore <[email protected]> |
Add various spi devices to NOTES. Add some required options for building the cqspi and n25q drivers.
|
|
Revision tags: release/11.2.0 |
|
| #
1fcf4de0 |
| 21-Jun-2018 |
Ian Lepore <[email protected]> |
Incorporate bus and chip select numbers into spigen(4) cdev names. Rather than assigning spigen device names in order of creation, this uses a device name that corresponds to the owning spibus and c
Incorporate bus and chip select numbers into spigen(4) cdev names. Rather than assigning spigen device names in order of creation, this uses a device name that corresponds to the owning spibus and chip-select index.
Example: /dev/spigen0.1 would be a child of spibus0, and use cs = 1
The intent is for systems like Raspberry Pi to have a consistent way of using an SPI interface with a specific cs value from a user application. Otherwise, there is no consistent way of knowing which cs pin will be assigned to a particular spigen device. The alternative is to specify everything in "the right order" in an overlay file, which is less than ideal. Additionally, this duplicates (to some extent) the way Linux handles a similar situation with their 'spidev' device, so it would be somewhat familiar to those who also use Linux.
A new kernel config option, SPIGEN_LEGACY_CDEVNAME, causes the driver to also create /dev/spigenN device name aliases, with N incrementing in the order of device instantiation. This is provided to ease the transition for existing systems using the original naming convention (particularly when these changes are MFC'd to stable branches).
Differential Revision: https://reviews.freebsd.org/D15301
show more ...
|
| #
199b9ab8 |
| 21-Jun-2018 |
Ian Lepore <[email protected]> |
Add a note about using option VERBOSE_SYSINIT=0 to get the verbose code compiled in but disabled by default.
|
| #
46033610 |
| 08-Jun-2018 |
Matt Macy <[email protected]> |
unbreak LINT build after r334804
|
| #
7b2c7b92 |
| 07-Jun-2018 |
Breno Leitao <[email protected]> |
md: use prestaged mfs_root
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs into memory and set two fdt entries to describe where the file is located in the memory;
I
md: use prestaged mfs_root
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs into memory and set two fdt entries to describe where the file is located in the memory;
I need to pass this memory region to the md device as a mfs_root, but, current md driver does not support two things:
* Just getting a pointer from an external (bootloader) memory. If I need to workaround it, I would need to declare a static array and memcopy from this external memory to this static variable.
* The size of the image. The usage of mfs_root_end, which is not a pointer, seems to be not possible for this prestaged scenario.
This patch simply adds a new way to load mfs_root from memory.
Differential Revision: https://reviews.freebsd.org/D15625 Approved by: kib, jhibbits (mentor)
show more ...
|
| #
97291303 |
| 02-Jun-2018 |
Bruce Evans <[email protected]> |
Improve defaults for per-CPU kernel console colors, especially with 2 or 4 CPUs. Add a compile-time option SC_KERNEL_CONS_ATTRS to control the defaults.
Default to color numbers in reverse order to
Improve defaults for per-CPU kernel console colors, especially with 2 or 4 CPUs. Add a compile-time option SC_KERNEL_CONS_ATTRS to control the defaults.
Default to color numbers in reverse order to CPU numbers (instead of in the same order with white first and wrapping to dark grey), so that the brightest bright colors are used first. Don't use dark grey at all; replace it by dark green.
Syscons has too many compile-time options, but this one is needed in in case the defaults give something like white on white, or the user really hates this feature and can't wait to turn it off in rc.
MFC after: next release?
show more ...
|
| #
a6bc59f2 |
| 31-May-2018 |
Matt Macy <[email protected]> |
Reduce overhead of entropy collection
- move harvest mask check inline - move harvest mask to frequently_read out of actively modified cache line - disable ether_input collection and describe its
Reduce overhead of entropy collection
- move harvest mask check inline - move harvest mask to frequently_read out of actively modified cache line - disable ether_input collection and describe its limitations in NOTES
Typically entropy collection in ether_input was stirring zero in to the entropy pool while at the same time greatly reducing max pps. This indicates that perhaps we should more closely scrutinize how much entropy we're getting from a given source as well as what our actual entropy collection needs are for seeding Yarrow.
Reviewed by: cem, gallatin, delphij Approved by: secteam Differential Revision: https://reviews.freebsd.org/D15526
show more ...
|
| #
6f78fad3 |
| 17-May-2018 |
Sean Bruno <[email protected]> |
Retire vxge(4).
This driver was merged to HEAD one week prior to Exar publicly announcing they had left the Ethernet market. It is not known to be used and has various code quality issues spotted by
Retire vxge(4).
This driver was merged to HEAD one week prior to Exar publicly announcing they had left the Ethernet market. It is not known to be used and has various code quality issues spotted by Brooks and Hiren. Retire it in preparation for FreeBSD 12.0.
Submitted by: kbowling Reviewed by: brooks imp Relnotes: yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D15442
show more ...
|
| #
57b49365 |
| 08-May-2018 |
Sean Bruno <[email protected]> |
nxge(4): Remove nxge(4) and associated man page and tools in FreeBSD 12.0.
Submitted by: kbowling Reviewed by: brooks Relnotes: yes Sponsored by: Limelight Networks Differential Revision: https://re
nxge(4): Remove nxge(4) and associated man page and tools in FreeBSD 12.0.
Submitted by: kbowling Reviewed by: brooks Relnotes: yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D1529
show more ...
|
| #
e5054602 |
| 06-May-2018 |
Mark Johnston <[email protected]> |
Import the netdump client code.
This is a component of a system which lets the kernel dump core to a remote host after a panic, rather than to a local storage device. The server component is availab
Import the netdump client code.
This is a component of a system which lets the kernel dump core to a remote host after a panic, rather than to a local storage device. The server component is available in the ports tree. netdump is particularly useful on diskless systems.
The netdump(4) man page contains some details describing the protocol. Support for configuring netdump will be added to dumpon(8) in a future commit. To use netdump, the kernel must have been compiled with the NETDUMP option.
The initial revision of netdump was written by Darrell Anderson and was integrated into Sandvine's OS, from which this version was derived.
Reviewed by: bdrewery, cem (earlier versions), julian, sbruno MFC after: 1 month X-MFC note: use a spare field in struct ifnet Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D15253
show more ...
|