|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
ac07e6c7 |
| 26-Jun-2019 |
Ian Lepore <[email protected]> |
MFC r341268, r342003-r342007, r342087-r342088, r342091
r341268 by manu: arm64: allwinner: Add a dtbo to have cpu operating points
This enables cpufreq on A64 boards.
r342003 by manu: Add a pwm sub
MFC r341268, r342003-r342007, r342087-r342088, r342091
r341268 by manu: arm64: allwinner: Add a dtbo to have cpu operating points
This enables cpufreq on A64 boards.
r342003 by manu: Add a pwm subsystem so we can configure pwm controller from kernel and userland.
The pwm subsystem consist of API for PWM controllers, pwmbus to register them and a pwm(8) utility to talk to them from userland.
Reviewed by: oshgobo (capsicum), bcr (manpage), 0mp (manpage) Differential Revision: https://reviews.freebsd.org/D17938
r342004 by manu: arm64: allwinner: Add pwm driver
Add a pwm driver for Allwinner PWM Add pwm and aw_pwm to the GENERIC kernel
r342005 by manu: arm64: allwinner: Add DTSO for pwm and r_pwm
Those are both dtso (overlays) for the two pwm controllers found on the A64.
r342006 by manu: arm64: allwinner: Fix pwm dtso
Double patched files ended up in the tree
Reported by: kevans
r342007 by manu: pwm: Fix some arches by using %ju and casting to uintmax_t
Reported by: ci.freebsd.org
r342087 by manu: pwm: Convert period and duty to unsigned int
We don't need a 64 bits value to store nanoseconds
Discused with: ian, jhibbits
r342088 by manu: pwm(8): Add percentage value support for duty cycle
r342091 by manu: allwinner: aw_pwm: Read value at attach
The booloaded might have configured the pwm controller so read the values.
show more ...
|
| #
5d778122 |
| 01-Mar-2019 |
Eugene Grosbein <[email protected]> |
MFC r343118: new small tool trim(1) to delete contents for blocks on flash based storage devices that use wear-leveling algorithms.
|
|
Revision tags: release/12.0.0 |
|
| #
12da6be5 |
| 08-Nov-2018 |
Kyle Evans <[email protected]> |
MFC r340146: Move pmc* bits behind MK_PMC to fix WITHOUT_PMC build
Approved by: re (rgrimes)
|
| #
3b915697 |
| 14-Sep-2018 |
Matt Macy <[email protected]> |
re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds
I had disabled building of the aforementioned targets due to warnings breaking tinderbox. This silences the warning and restores them t
re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds
I had disabled building of the aforementioned targets due to warnings breaking tinderbox. This silences the warning and restores them to the build.
Reported by: jhibbits Reviewed by: jhibbits Approved by: re (gjb)
show more ...
|
| #
66660095 |
| 22-Jun-2018 |
Ian Lepore <[email protected]> |
Add spi(8), a utility for communicating with a device on a SPI bus from userland, conceptually similar to what i2c(8) provides for i2c devices.
Submitted by: Bob Frazier Differential Revision: https
Add spi(8), a utility for communicating with a device on a SPI bus from userland, conceptually similar to what i2c(8) provides for i2c devices.
Submitted by: Bob Frazier Differential Revision: https://reviews.freebsd.org/D15029
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
01cebb69 |
| 19-Jun-2018 |
Sean Bruno <[email protected]> |
MK_EFI - Add uefisign and friends to this knob and ensure that we don't try to build them if MK_OPENSSL is unset.
Reviewed by: emaste imp kevans Sponsored by: Limelight Networks Differential Revisio
MK_EFI - Add uefisign and friends to this knob and ensure that we don't try to build them if MK_OPENSSL is unset.
Reviewed by: emaste imp kevans Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D15211
show more ...
|
| #
a520a7cf |
| 15-Jun-2018 |
Rick Macklem <[email protected]> |
Add a command that copies or migrates a data file from one DS to another.
This command can be used by a sysadmin to either copy or migrate a data file on one DS to another DS. Its main use is to rec
Add a command that copies or migrates a data file from one DS to another.
This command can be used by a sysadmin to either copy or migrate a data file on one DS to another DS. Its main use is to recover data files onto a mirrored DS after the DS has been repaired and brought back online.
show more ...
|
| #
6cb9ec3c |
| 15-Jun-2018 |
Rick Macklem <[email protected]> |
Add a command the displays and modifies the pNFS server's extended attribute.
This command allows a sysadmin to display or modify the pnfsd.dsfile extended attribute used by the pNFS MDS server in v
Add a command the displays and modifies the pNFS server's extended attribute.
This command allows a sysadmin to display or modify the pnfsd.dsfile extended attribute used by the pNFS MDS server in various ways. Its main use is to set a DS's IP address to 0.0.0.0 when that DS has failed, so that it will not be used for the file when brought back online after being repaired.
show more ...
|
| #
725f388b |
| 15-Jun-2018 |
Rick Macklem <[email protected]> |
Add an entry into the Makefile for pnfsdskill.
pnfsdskill was added by r335192. This commit adds an entry for it to the Makefile.
|
| #
456eeabe |
| 09-Jun-2018 |
Matt Macy <[email protected]> |
pmc: fix logic in skipping riscv
|
| #
6159b91c |
| 09-Jun-2018 |
Matt Macy <[email protected]> |
pmc: don't build on riscv where there's no kmod support
|
| #
f992dd4b |
| 07-Jun-2018 |
Matt Macy <[email protected]> |
pmc: convert native to jsonl and track TSC value of samples
- add '-j' options to filter to enable converting native pmc log format to json lines format to enable the use of scripts and external
pmc: convert native to jsonl and track TSC value of samples
- add '-j' options to filter to enable converting native pmc log format to json lines format to enable the use of scripts and external tooling
% pmc filter -j pmc.log pmc.jsonl
- Record the tsc value in sampling interrupts as opposed to recording nanotime when the sample is copied to a global log in hardclock - potentially many milliseconds later.
- At initialize record the tsc_freq and the time of day to give us an offset for translating the tsc values in callchain records
show more ...
|
| #
ebfaf69c |
| 05-Jun-2018 |
Matt Macy <[email protected]> |
hwpmc: log name->pid, name->tid mappings
By logging all threads and processes 'pmc filter' can now filter on process or thread name, relieving the user of the burden of determining which tid or pid
hwpmc: log name->pid, name->tid mappings
By logging all threads and processes 'pmc filter' can now filter on process or thread name, relieving the user of the burden of determining which tid or pid was which when the sample was taken.
% pmc filter -T if_io_tqg -P nginx pmc.log pmc-iflib.log
% pmc filter -x -T idle pmc.log pmc-noidle.log
show more ...
|
| #
3554f22e |
| 29-May-2018 |
Matt Macy <[email protected]> |
pmc: Add new sub-command structured "pmc" utility
This will manage pmc functionality with a more manageable structure of subcommands rather than the gradually accreted spaghetti logic of overlapping
pmc: Add new sub-command structured "pmc" utility
This will manage pmc functionality with a more manageable structure of subcommands rather than the gradually accreted spaghetti logic of overlapping flags that exists in pmcstat.
This is intended to ultimately have all the same functionality as pmcannotate+pmccontrol+pmcstat. Currently it just has "stat" and "system-stat" - counters for the process itself and counters for the system as a whole respectively (i.e. system-stat includes kernel threads). Note that the rusage results (page faults/context switches/ user/sys) for stat-system will not account for the system as a whole - only for the child process specified on the command line.
Implementing stat was suggested by mjg@ and the output is based on that from Linux's "perf stat".
% pmc stat -- make -j32 buildkernel -DNO_MODULES -ss > /dev/null 9598393 page faults # 0.674 M/sec 387085 voluntary csw # 0.027 M/sec 106989 involuntary csw # 0.008 M/sec 2763965982317 cycles 2542953049760 instructions # 0.920 inst/cycle 511562750157 branches 12917006881 branch-misses # 2.525% 17944429878 cache-references # 0.007 refs/inst 2205119560 cache-misses # 12.289% 43.74 real # 2019.72% cpu 795.09 user # 1817.72% cpu 88.35 sys # 202.00% cpu
% make -j32 buildkernel -DNO_MODULES -ss > /dev/null & % sudo pmc stat-system cat ^C 103 page faults # 0.811 M/sec 4 voluntary csw # 0.031 M/sec 0 involuntary csw # 0.000 M/sec 2843639070514 cycles 2606171217438 instructions # 0.916 inst/cycle 522450422783 branches 13092862839 branch-misses # 2.506% 18592101113 cache-references # 0.007 refs/inst 2562878667 cache-misses # 13.785% 44.85 real # 0.00% cpu 0.00 user # 0.00% cpu 0.00 sys # 0.00% cpu
show more ...
|
| #
4fa99856 |
| 16-May-2018 |
Ed Maste <[email protected]> |
Sort mlx5tool correctly in usr.sbin/Makefile
|
| #
e6a376d1 |
| 01-May-2018 |
Ed Maste <[email protected]> |
Retire lmc(4)
This driver supports legacy, 32-bit PCI devices, and had an ambiguous license. Supported devices were already reported to be rare in 2003 (when an earlier version of the driver was re
Retire lmc(4)
This driver supports legacy, 32-bit PCI devices, and had an ambiguous license. Supported devices were already reported to be rare in 2003 (when an earlier version of the driver was removed in r123201).
Reviewed by: rgrimes Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D15245
show more ...
|
| #
e808190a |
| 08-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core.
The dump is obtained by reading a predefined register map from the non-destructive crspace, ac
Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core.
The dump is obtained by reading a predefined register map from the non-destructive crspace, accessible by the vendor-specific PCIe capability (VSC). The dump is stored in preallocated kernel memory and managed by the mlx5tool(8), which communicates with the driver using a character device node.
The utility allows to store the dump in format <address> <value> into a file, to reset the dump content, and to manually initiate the dump.
A call to mlx5_fwdump() should be added at the places where a dump must be fetched automatically. The most likely place is right before a firmware reset request.
Submitted by: kib@ MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
590682b6 |
| 12-Feb-2018 |
Warner Losh <[email protected]> |
Move devmatch to sbin from usr/sbin.
Since we want to use devmatch in context before a split /,/usr system has mounted /usr, move devmatch to /sbin.
Sponsored by: Netflix
|
| #
bdd31a52 |
| 10-Jan-2018 |
Warner Losh <[email protected]> |
Remove vestiges of digi(4) driver, first attempted in r305235 with more in r317426. There's nothing in the tree that references digiio.h (apart from digictl(8)), so no driver implements it. Since dig
Remove vestiges of digi(4) driver, first attempted in r305235 with more in r317426. There's nothing in the tree that references digiio.h (apart from digictl(8)), so no driver implements it. Since digictl(8) was only used to control digi(4) devices, it too should go.
show more ...
|
| #
4f7afd4f |
| 25-Dec-2017 |
Warner Losh <[email protected]> |
Doh! Never test in one tree and commit from another:
Fix typo: devmath -> devmatch
Sponsored by: Krampus! Carting off naughty committers for millennia
|
| #
d9aed21c |
| 25-Dec-2017 |
Warner Losh <[email protected]> |
Match unattached devices on the system to potential kernel modules.
devmatch(8) matchs up devices in the system device tree with drivers that may match them. For each unattached device in the system
Match unattached devices on the system to potential kernel modules.
devmatch(8) matchs up devices in the system device tree with drivers that may match them. For each unattached device in the system, it tries to find matching PNP info in the linker hints and prints modules to load to claim the devices.
In --unbound mode, devmatch can look for drivers that have attached to devices in the device tree and have plug and play information, but for which no PNP info exists. This helps find drivers that haven't been converted yet that are in use on this system.
In addition, the ability to dump out linker.hints is provided.
Future commits will add hooks to devd.conf and rc.d to fully automate using this information.
show more ...
|
| #
1285bcc8 |
| 09-Dec-2017 |
Warner Losh <[email protected]> |
Import Netflix's efibootmgr to help manage UEFI boot variables
efibootmgr manages the UEFI BootXXXX variables that implement the UEFI Boot Manager protocol defined in the UEFI standards. It is model
Import Netflix's efibootmgr to help manage UEFI boot variables
efibootmgr manages the UEFI BootXXXX variables that implement the UEFI Boot Manager protocol defined in the UEFI standards. It is modeled after the Linux program of the same name with a mostly compatible set of command line options. Since there's a fair amount of OS specifioc code due to differeing names and methods of doing things, the compatibility isn't 100%.
Basic functionality is implemented, though the more advanced next boot functionality that's been defined elsewhere is unimplemented.
Submitted by: Matt Williams (with unix / efi path xlate by me) Sponsored by: Netflix
show more ...
|
| #
c1d0ef84 |
| 09-Nov-2017 |
Warner Losh <[email protected]> |
Remove useless .if. The whole point of SUBDIR.yes was so that we didn't need this construct.
Sponsored by: Netflix
|
|
Revision tags: release/10.4.0 |
|
| #
cfcabed6 |
| 27-Sep-2017 |
Mateusz Guzik <[email protected]> |
Whack procctl(8)
It was supposed to provide a recovery mechanism against bugs in procfs's long deprecated tracing capabilities.
Remove the tool as a prerequisite to axing the kernel side.
The trac
Whack procctl(8)
It was supposed to provide a recovery mechanism against bugs in procfs's long deprecated tracing capabilities.
Remove the tool as a prerequisite to axing the kernel side.
The tracing facility to use is ptrace(2).
MFC after: 2 weeks
show more ...
|
| #
ac0ced90 |
| 08-Aug-2017 |
Jeremie Le Hen <[email protected]> |
rwho/ruptime/rwhod shouldn't be gated by RCMDS.
As peter@ points out in pr/220953: "rwho, rwhod and ruptime are not part of the remote login suite (rsh, rlogin etc).
They should *not* be in the rcm
rwho/ruptime/rwhod shouldn't be gated by RCMDS.
As peter@ points out in pr/220953: "rwho, rwhod and ruptime are not part of the remote login suite (rsh, rlogin etc).
They should *not* be in the rcmds package which is disabled by default. We rely on rwho/rwhod/ruptime in the freebsd.org cluster."
This commit is a re-commit of r322029 and r322031 with a better commit log, as pointed out by ngie@.
This also includes the necesary changes to OptionalObsoleteFiles.inc, as requested by jhb@.
PR: 220953 Reported by: peter@, jhb@ Differential Revision: https://reviews.freebsd.org/D11743
show more ...
|