]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
3 years agoriscv: very large dma mappings can cause integer overflow
kp [Wed, 2 Sep 2020 11:33:31 +0000 (11:33 +0000)]
riscv: very large dma mappings can cause integer overflow

Fix the return type for _bus_dmamap_addseg().
Based on the same fix done for arm64 in r348571.

Sponsored by: Axiado

3 years agoFix build fallout after r365054 .
hselasky [Wed, 2 Sep 2020 11:18:21 +0000 (11:18 +0000)]
Fix build fallout after r365054 .

Make sure that building dev/sdhci/sdhci_fsl_fdt.c has all the right
dependencies until a proper fix can be made.

Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoAssert that cc_exec_drain(cc, direct) is NULL before assigning a new value.
hselasky [Wed, 2 Sep 2020 10:00:30 +0000 (10:00 +0000)]
Assert that cc_exec_drain(cc, direct) is NULL before assigning a new value.

Suggested by: markj@
Tested by: callout_test
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMicro optimise _callout_stop_safe() by removing dead code.
hselasky [Wed, 2 Sep 2020 09:44:00 +0000 (09:44 +0000)]
Micro optimise _callout_stop_safe() by removing dead code.

The CS_DRAIN flag cannot be set at the same time like the async-drain function
pointer is set. These are orthogonal features. Assert this at the beginning
of the function.

Before:
        if (flags & CS_DRAIN) {
                /* FALLTHROUGH */
        } else if (xxx) {
                return yyy;
        }
        if (drain) {
                zzz = drain;
        }
After:
        if (flags & CS_DRAIN) {
                /* FALLTHROUGH */
        } else if (xxx) {
                return yyy;
        } else {
                if (drain) {
                        zzz = drain;
                }
        }

Reviewed by: markj@
Tested by: callout_test
Differential Revision: https://reviews.freebsd.org/D26285
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoAdd small tool to invoke kernel test framework tests.
hselasky [Wed, 2 Sep 2020 09:20:40 +0000 (09:20 +0000)]
Add small tool to invoke kernel test framework tests.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoFix build of epoch_test module.
hselasky [Wed, 2 Sep 2020 09:17:29 +0000 (09:17 +0000)]
Fix build of epoch_test module.
While at it add missing epoch_free() call.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoPartially revert r365069.
andrew [Wed, 2 Sep 2020 09:04:08 +0000 (09:04 +0000)]
Partially revert r365069.

This whitespace was intentionally added to help differentiate the different
register groups within this file.

While here add missing whitespace from earlier in the file,

Sponsored by: Innovate UK

3 years agoFix the standalone build of the nfscl and nfsd modules.
rmacklem [Wed, 2 Sep 2020 01:29:33 +0000 (01:29 +0000)]
Fix the standalone build of the nfscl and nfsd modules.

Reported by: jhs@berklix.com

3 years agoixl(4): Add support for X710-T*L devices
erj [Tue, 1 Sep 2020 23:16:38 +0000 (23:16 +0000)]
ixl(4): Add support for X710-T*L devices

Add support for new devices which are capable of 2.5 and 5G speeds, as well as
Energy Efficient Ethernet (EEE):

- introduce new device ids
- add ability to select 2.5 and 5G speeds on devices which support it
- add sysctls to enable EEE and read related statistics

Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Reviewed by: #IntelNetworking
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D25549

3 years agokgssapi: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:15:02 +0000 (22:15 +0000)]
kgssapi: clean up empty lines in .c and .h files

3 years agonlm: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:14:52 +0000 (22:14 +0000)]
nlm: clean up empty lines in .c and .h files

3 years agoddb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:14:30 +0000 (22:14 +0000)]
ddb: clean up empty lines in .c and .h files

3 years agogeom: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:14:09 +0000 (22:14 +0000)]
geom: clean up empty lines in .c and .h files

3 years agocam: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:13:48 +0000 (22:13 +0000)]
cam: clean up empty lines in .c and .h files

3 years agoxdr: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:13:28 +0000 (22:13 +0000)]
xdr: clean up empty lines in .c and .h files

3 years agosys: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:12:58 +0000 (22:12 +0000)]
sys: clean up empty lines in .c and .h files

3 years agokern: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:12:32 +0000 (22:12 +0000)]
kern: clean up empty lines in .c and .h files

3 years agocpufreq: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:11:48 +0000 (22:11 +0000)]
cpufreq: clean up empty lines in .c and .h files

3 years agocpuctl: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:11:22 +0000 (22:11 +0000)]
cpuctl: clean up empty lines in .c and .h files

3 years agocmx: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:11:05 +0000 (22:11 +0000)]
cmx: clean up empty lines in .c and .h files

3 years agociss: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:10:55 +0000 (22:10 +0000)]
ciss: clean up empty lines in .c and .h files

3 years agocfi: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:10:34 +0000 (22:10 +0000)]
cfi: clean up empty lines in .c and .h files

3 years agocfe: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:10:24 +0000 (22:10 +0000)]
cfe: clean up empty lines in .c and .h files

3 years agocesa: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:10:11 +0000 (22:10 +0000)]
cesa: clean up empty lines in .c and .h files

3 years agoce: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:10:00 +0000 (22:10 +0000)]
ce: clean up empty lines in .c and .h files

3 years agocardbus: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:09:41 +0000 (22:09 +0000)]
cardbus: clean up empty lines in .c and .h files

3 years agocadence: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:09:26 +0000 (22:09 +0000)]
cadence: clean up empty lines in .c and .h files

3 years agomd: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:08:52 +0000 (22:08 +0000)]
md: clean up empty lines in .c and .h files

3 years agomem: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:08:39 +0000 (22:08 +0000)]
mem: clean up empty lines in .c and .h files

3 years agomfi: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:08:26 +0000 (22:08 +0000)]
mfi: clean up empty lines in .c and .h files

3 years agomgb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:08:14 +0000 (22:08 +0000)]
mgb: clean up empty lines in .c and .h files

3 years agomii: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:07:59 +0000 (22:07 +0000)]
mii: clean up empty lines in .c and .h files

3 years agomly: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:07:37 +0000 (22:07 +0000)]
mly: clean up empty lines in .c and .h files

3 years agommc: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:07:26 +0000 (22:07 +0000)]
mmc: clean up empty lines in .c and .h files

3 years agompr: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:07:12 +0000 (22:07 +0000)]
mpr: clean up empty lines in .c and .h files

3 years agomps: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:07:00 +0000 (22:07 +0000)]
mps: clean up empty lines in .c and .h files

3 years agompt: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:06:41 +0000 (22:06 +0000)]
mpt: clean up empty lines in .c and .h files

3 years agomrsas: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:06:23 +0000 (22:06 +0000)]
mrsas: clean up empty lines in .c and .h files

3 years agomthca: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:06:07 +0000 (22:06 +0000)]
mthca: clean up empty lines in .c and .h files

3 years agomvs: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:05:53 +0000 (22:05 +0000)]
mvs: clean up empty lines in .c and .h files

3 years agomwl: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:05:39 +0000 (22:05 +0000)]
mwl: clean up empty lines in .c and .h files

3 years agomy: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:05:21 +0000 (22:05 +0000)]
my: clean up empty lines in .c and .h files

3 years agomxge: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:05:00 +0000 (22:05 +0000)]
mxge: clean up empty lines in .c and .h files

3 years agonfe: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:04:37 +0000 (22:04 +0000)]
nfe: clean up empty lines in .c and .h files

3 years agonfsmb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:04:24 +0000 (22:04 +0000)]
nfsmb: clean up empty lines in .c and .h files

3 years agonge: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:04:10 +0000 (22:04 +0000)]
nge: clean up empty lines in .c and .h files

3 years agontb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:03:55 +0000 (22:03 +0000)]
ntb: clean up empty lines in .c and .h files

3 years agonull: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:03:46 +0000 (22:03 +0000)]
null: clean up empty lines in .c and .h files

3 years agonvd: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:03:32 +0000 (22:03 +0000)]
nvd: clean up empty lines in .c and .h files

3 years agonvme: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:03:10 +0000 (22:03 +0000)]
nvme: clean up empty lines in .c and .h files

3 years agonvram2env: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:02:55 +0000 (22:02 +0000)]
nvram2env: clean up empty lines in .c and .h files

3 years agooce: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:02:32 +0000 (22:02 +0000)]
oce: clean up empty lines in .c and .h files

3 years agoocs_fc: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:02:12 +0000 (22:02 +0000)]
ocs_fc: clean up empty lines in .c and .h files

3 years agoofw: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:01:53 +0000 (22:01 +0000)]
ofw: clean up empty lines in .c and .h files

3 years agootus: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:01:41 +0000 (22:01 +0000)]
otus: clean up empty lines in .c and .h files

3 years agoow: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:01:32 +0000 (22:01 +0000)]
ow: clean up empty lines in .c and .h files

3 years agopbio: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:01:17 +0000 (22:01 +0000)]
pbio: clean up empty lines in .c and .h files

3 years agopccard: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:01:04 +0000 (22:01 +0000)]
pccard: clean up empty lines in .c and .h files

3 years agopccbb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:00:48 +0000 (22:00 +0000)]
pccbb: clean up empty lines in .c and .h files

3 years agopcf: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:00:30 +0000 (22:00 +0000)]
pcf: clean up empty lines in .c and .h files

3 years agopci: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 22:00:07 +0000 (22:00 +0000)]
pci: clean up empty lines in .c and .h files

3 years agopowermac_nvram: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:59:31 +0000 (21:59 +0000)]
powermac_nvram: clean up empty lines in .c and .h files

3 years agoppbus: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:59:11 +0000 (21:59 +0000)]
ppbus: clean up empty lines in .c and .h files

3 years agoppc: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:58:56 +0000 (21:58 +0000)]
ppc: clean up empty lines in .c and .h files

3 years agoproto: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:58:40 +0000 (21:58 +0000)]
proto: clean up empty lines in .c and .h files

3 years agopsci: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:58:29 +0000 (21:58 +0000)]
psci: clean up empty lines in .c and .h files

3 years agopst: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:58:12 +0000 (21:58 +0000)]
pst: clean up empty lines in .c and .h files

3 years agopuc: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:58:04 +0000 (21:58 +0000)]
puc: clean up empty lines in .c and .h files

3 years agopwm: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:57:50 +0000 (21:57 +0000)]
pwm: clean up empty lines in .c and .h files

3 years agoqlnx: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:57:33 +0000 (21:57 +0000)]
qlnx: clean up empty lines in .c and .h files

3 years agoqlxgb: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:57:15 +0000 (21:57 +0000)]
qlxgb: clean up empty lines in .c and .h files

3 years agoqlxgbe: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:56:55 +0000 (21:56 +0000)]
qlxgbe: clean up empty lines in .c and .h files

3 years agoqlxge: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:56:30 +0000 (21:56 +0000)]
qlxge: clean up empty lines in .c and .h files

3 years agoral: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:56:10 +0000 (21:56 +0000)]
ral: clean up empty lines in .c and .h files

3 years agorl: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:56:03 +0000 (21:56 +0000)]
rl: clean up empty lines in .c and .h files

3 years agorndtest: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:55:52 +0000 (21:55 +0000)]
rndtest: clean up empty lines in .c and .h files

3 years agort: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:55:37 +0000 (21:55 +0000)]
rt: clean up empty lines in .c and .h files

3 years agosafe: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:55:23 +0000 (21:55 +0000)]
safe: clean up empty lines in .c and .h files

3 years agosafexcel: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:54:58 +0000 (21:54 +0000)]
safexcel: clean up empty lines in .c and .h files

3 years agosbni: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:54:35 +0000 (21:54 +0000)]
sbni: clean up empty lines in .c and .h files

3 years agosdhci: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:54:16 +0000 (21:54 +0000)]
sdhci: clean up empty lines in .c and .h files

3 years agosdio: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:53:58 +0000 (21:53 +0000)]
sdio: clean up empty lines in .c and .h files

3 years agosec: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:53:44 +0000 (21:53 +0000)]
sec: clean up empty lines in .c and .h files

3 years agosk: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:53:37 +0000 (21:53 +0000)]
sk: clean up empty lines in .c and .h files

3 years agosmartpqi: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:53:21 +0000 (21:53 +0000)]
smartpqi: clean up empty lines in .c and .h files

3 years agosmbus: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:53:00 +0000 (21:53 +0000)]
smbus: clean up empty lines in .c and .h files

3 years agosmc: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:52:46 +0000 (21:52 +0000)]
smc: clean up empty lines in .c and .h files

3 years agospibus: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:52:35 +0000 (21:52 +0000)]
spibus: clean up empty lines in .c and .h files

3 years agostge: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:52:20 +0000 (21:52 +0000)]
stge: clean up empty lines in .c and .h files

3 years agosuperio: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:52:05 +0000 (21:52 +0000)]
superio: clean up empty lines in .c and .h files

3 years agosym: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:51:55 +0000 (21:51 +0000)]
sym: clean up empty lines in .c and .h files

3 years agotcp_log: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:51:38 +0000 (21:51 +0000)]
tcp_log: clean up empty lines in .c and .h files

3 years agotdfx: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:51:10 +0000 (21:51 +0000)]
tdfx: clean up empty lines in .c and .h files

3 years agoti: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:50:47 +0000 (21:50 +0000)]
ti: clean up empty lines in .c and .h files

3 years agotpm: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:50:31 +0000 (21:50 +0000)]
tpm: clean up empty lines in .c and .h files

3 years agotsec: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:50:21 +0000 (21:50 +0000)]
tsec: clean up empty lines in .c and .h files

3 years agouart: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:50:00 +0000 (21:50 +0000)]
uart: clean up empty lines in .c and .h files

3 years agovge: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:49:49 +0000 (21:49 +0000)]
vge: clean up empty lines in .c and .h files

3 years agoviapm: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:49:31 +0000 (21:49 +0000)]
viapm: clean up empty lines in .c and .h files

3 years agovideomode: clean up empty lines in .c and .h files
mjg [Tue, 1 Sep 2020 21:49:14 +0000 (21:49 +0000)]
videomode: clean up empty lines in .c and .h files