Commit Graph

279924 Commits

Author SHA1 Message Date
ryoon
061048509a Link to i386/spic(4) instead of spic(4)
And bump date.
2020-08-24 19:22:06 +00:00
ryoon
c48880b9cf Link to i386/pnpbios(4) instead of pnpbios(4)
And bump date.
2020-08-24 19:16:42 +00:00
msaitoh
d2f3f61773 Fix handling of IXGBE_REQUEST_TASK_NEED_ACKINTR again... 2020-08-24 19:03:27 +00:00
msaitoh
d39d2fa1df The admin workqueue can be used even if the interface is not up.
OK'd by thorpej@. Will fixes PR#55534 reported by Shinichi Doyashiki
2020-08-24 18:42:17 +00:00
riastradh
e96b516f47 Restore obsolete entries for make's modorder tests.
These tests were removed a week ago, but their set list entries were
removed rather than marked obsolete.
2020-08-24 18:41:22 +00:00
msaitoh
5dc3df36d2 Fix ixgbe_sfp_cage_full() on X550EM_A.
In ixgbe_handle_mod():

		switch (hw->mac.type) {
		case ixgbe_mac_82599EB:
			cage_full = IXGBE_READ_REG(hw, IXGBE_ESDP) &
			    IXGBE_ESDP_SDP2;
			break;
		case ixgbe_mac_X550EM_x:
		case ixgbe_mac_X550EM_a:
			cage_full = IXGBE_READ_REG(hw, IXGBE_ESDP) &
			    IXGBE_ESDP_SDP0;
			break;
		default:
			break;
		}

so I had thought that IXGBE_ESDP_SDP0 bit is 1 on cage is full.
In reality, at least, X550EM_A's SFP+ cage is 0 on cage is full.
So invert the logic of ixgbe_sfp_cage_full() on X550EM_A
2020-08-24 18:31:14 +00:00
martin
dec88ece21 Backout previous, commiter was dazed and confused 2020-08-24 18:22:30 +00:00
msaitoh
97adabe45f Fix race in ixgbe_detach() to prevent panic on shutdown. 2020-08-24 18:21:59 +00:00
martin
1247dfe5c0 Add modorder* make unit test files 2020-08-24 18:18:51 +00:00
msaitoh
09ff13da8d Fix handling of IXGBE_REQUEST_TASK_NEED_ACKINTR in ixgbe_handle_admin(). 2020-08-24 18:16:04 +00:00
nia
e0214d24d5 afterboot.8: If it needs a disclaimer that most people shouldn't do it... 2020-08-24 12:58:16 +00:00
nia
452f8ae6e8 uname -p, pointed out by various 2020-08-24 12:46:57 +00:00
kardel
634cbaafea Keep the change check invariant intact. The previous code could miss
status updates by picking up a new status different from the tested
status. This left addresses in the DETACHED state although the
link status is already UP again.

addresses PR/kern 55538
2020-08-24 12:46:04 +00:00
nia
cc5aa5b8ac afterboot.8: uname -p, pointed out by various people 2020-08-24 12:45:48 +00:00
nia
5312d4af65 afterboot.8: Start the daemons after configuring wpa_supplicant. 2020-08-24 12:35:48 +00:00
nia
2143acc357 afterboot.8: Use wpa_* for everything WiFi, update links
reasoning: ifconfig scan is unreliable while wpa_supplicant is running
2020-08-24 12:29:30 +00:00
skrll
8ec954daa2 Appease gcc when building with KASAN which gave this error before
error: stack usage might be unbounded [-Werror=stack-usage=]
2020-08-24 07:42:02 +00:00
gson
59b669221c Expect a failure to trap unaligned acesses only when running under
qemu's TCG CPU emulation, not when running under hardware virtualization
such as qemu -accel nvmm.
2020-08-24 06:55:16 +00:00
msaitoh
615712693e s/ressource/resource/. No functional change. 2020-08-24 05:37:40 +00:00
msaitoh
a5d01d1024 s/ressource/resource/. Found by knakahara. 2020-08-24 05:34:00 +00:00
msaitoh
1d6d3e383e Remove extra PHY_RESET(sc) in the MII_TICK path because it's not requierd
to just restart autonego.
2020-08-24 04:49:05 +00:00
msaitoh
600be1acda Don't do full initialization for autonego when just restarting autonego
because it's not required.

 This change reduce extra initialization which include PHY_RESET() which
caused long delay(max 500ms).
2020-08-24 04:23:41 +00:00
rillig
064ff068ec make(1): remove redundant range restriction
re.re_nsub is at least 0, and (at least 0) + 1 cannot be 0.
2020-08-23 22:49:45 +00:00
riastradh
284084a72c Nix trailing whitespace. 2020-08-23 22:34:29 +00:00
rillig
bf98478ac8 make(1): restructure code of the :ts modifier
Now there is one paragraph per case, as opposed to the highly condensed
code from before.

In the cases of :ts\n and :ts\t, the variables for number parsing are no
longer in the code path, which makes the code easier to understand for
humans.  Not sure what the compilers made out of it.

The assignment "base = 0" has gone since it was redundant.  An integer
that starts with 0 is always interpreted as octal by strtol, no matter
if the base is 8 or 0.
2020-08-23 22:13:38 +00:00
rillig
b50b25a022 make(1): extend the documentation on the ApplyModifier functions 2020-08-23 21:40:30 +00:00
rillig
2e0cd2713e make(1): split code for parsing the :U modifier into digestible parts
The comment about "unescaped $'s that aren't before the delimiter" was
wrong, as the code didn't contain the "aren't before the delimiter"
part.  By splitting the code into paragraphs, the larger structure
becomes easily visible.  Having a few short comments in the right place
is more helpful than a big block of text.
2020-08-23 20:57:02 +00:00
rillig
09cef4d90b make(1): add test for :U modifier 2020-08-23 20:49:33 +00:00
tpaul
0a69e03611 Man page typo fix. 2020-08-23 20:23:56 +00:00
rillig
22ada376b6 make(1): move test for .undef into separate file 2020-08-23 19:30:13 +00:00
rillig
bb7e3dd932 make(1): make compat.c ready for WARNS=6 2020-08-23 19:00:19 +00:00
rillig
d3f44ff49c make(1): make ArchFindMember ready for WARNS=6 2020-08-23 18:59:01 +00:00
rillig
0d4e62dd97 make(1): make ArchStatMember ready for WARNS=6 2020-08-23 18:57:32 +00:00
rillig
174f1c2ffa make(1): make Arch_MemMTime ready for WARNS=6 2020-08-23 18:53:13 +00:00
riastradh
1830cb4bb2 Initialize peers early on for error branch. 2020-08-23 18:52:53 +00:00
rillig
38885a7509 make(1): make brk_string return size_t for the number of words 2020-08-23 18:26:35 +00:00
rillig
fe6807ec25 make(1): prepare str.c for WARNS=6
The next step is to make brk_string return size_t instead of int.
2020-08-23 18:03:35 +00:00
rillig
b3ea8e45d1 make(1): in archive test, use wildcard that matches more than 1 file
This is to make sure that the buffer used for "archive(member)" is
properly reset after each member.
2020-08-23 17:51:24 +00:00
riastradh
bbfb23c92a Split getrandom tests into several cases to find out which ones hang. 2020-08-23 17:50:19 +00:00
rillig
692b84894d make(1): replace tricky malloc+realloc+strlen+snprintf with Buffer
The code for handling archives is not widely used.  Therefore it does
not need to be fast.  Clarity of the code is more important.  Therefore
replace the malloc + strlen + realloc + snprintf string processing with
the Buffer type, which removes a lot of redundancy.

In the wildcard loop, the "if (sz > nsz)" looked like a mistake.  Why
should it be useful to first allocate a large buffer and then resize it
to a smaller buffer, but still twice as large as necessary?
2020-08-23 17:49:37 +00:00
rillig
f1bf7abefe make(1): add test for wildcards in archive dependency 2020-08-23 17:34:46 +00:00
rillig
95444f19ea make(1): allow to run only selected tests via the command line 2020-08-23 17:22:52 +00:00
rillig
e8986ff18b make(1): remove unused declarations from header files 2020-08-23 17:04:21 +00:00
rillig
57ebcb1d76 make(1): remove parameter names from function prototypes
Thanks kre for noticing.
2020-08-23 16:59:44 +00:00
rillig
27d66938d5 make(1): reverse order of the Lst_Find parameters
The other callbacks all have (function, param), only the Lst_Find had
(param, function), which was inconsistent.
2020-08-23 16:58:02 +00:00
rillig
4b0e7734a8 make(1): define aliases for function types in list processing
This makes the prototypes of the functions clearer.
2020-08-23 16:43:34 +00:00
riastradh
3a2006068f Adjust sp, not fp, to allocate a 32-byte temporary.
Costs another couple MOV instructions, but we can't skimp on this --
there's no red zone below sp for interrupts on arm, so we can't touch
anything there.  So just use fp to save sp and then adjust sp itself,
rather than using fp as a temporary register to point just below sp.

Should fix PR port-arm/55598 -- previously the ChaCha self-test
failed 33/10000 trials triggered by sysctl during running system;
with the patch it has failed 0/10000 trials.

(Presumably it happened more often at boot time, leading to 5/26
failures in the test bed, because we just enabled interrupts and some
devices are starting to deliver interrupts.)
2020-08-23 16:39:06 +00:00
rillig
7b7c4788df make(1): make navigating lists in debugging mode easier
Lst is an untyped list of pointers.  During debugging, it is often
necessary to inspect the content of the list.  To do this without manual
typecasting, add a few aliases for the LstNode.datum pointer, for
inspecting GNodes and strings.
2020-08-23 16:18:12 +00:00
perseant
5e1ae64c39 Expand test to cover more failure cases. Change from skipped to expect fail
in anticipation of working roll-forward code.
2020-08-23 16:03:54 +00:00
ryo
8c1c74cde8 adjust the number of spaces to match the current df(1) output.
fix NetBSD PR/55600

TODO: it should not be dependent on the number of spaces.
2020-08-23 15:51:30 +00:00