Age | Commit message (Collapse) | Author |
|
This panic happens if iwm_newstate_task() sleeps and wakes up after iwm_stop().
The error path of iwm_newstate_task() attempts to reset driver flags and
firmware state, which should not be done if iwm_stop() has already done so.
A more comprehensive fix for such races is being worked on but not ready yet.
For now, check the generation counter in the error path of iwm_auth() and
only clean up state if that counter hasn't changed.
Problem reported and workaround tested by giovanni@
|
|
|
|
unsigned handling)
ok jca
|
|
are dead to the internet. And the current code actually creates /32
routes since kernel magic for classfull routes died a while ago.
ok phessler@ claudio@ reyk@ sthen@
|
|
- Zap trailing whitespace in license, noted by tb@
- Sort and align function prototypes
- Add static and __dead when appropriate in order to compile using `clang -Wall`
- Zap variable names from function prototypes, also noted by tb@
- Break long lines
ok tb@
|
|
|
|
|
|
CP15 updates are visible. Also add an isb instruction before switching on
the MMU to make sure that all the MMU-related CP15 registers updates are
visible.
Makes booting on a Cortex-A12/A17 get a bit further.
ok drahn@, jsg@
|
|
okay aja@
|
|
Initial prodding and bulk builds by aja@.
|
|
and initialize ->offset to a definite value in the size == 0 case
|
|
architectures.
"Looking good" deraadt@
|
|
ACPI 4.0 deprecated _BIF for battery status so some newer machines
are exporting _BIX which extends _BIF's package with a few extra
fields. When using _BIX, export the new discharge cycle count as a
sensor.
feedback from kettenis and anton
ok deraadt
|
|
|
|
It does not seem necessary to provide initial value for `sicode'.
When `signal' gets set, `sicode' is set as well.
OK deraadt@, kettenis@
|
|
ok deraadt@
|
|
into it. Swap parameter order in add_default_route() to
be consistant with other add_*_route() functions.
|
|
|
|
|
|
from ScottCheloha at gmail dot com on tech, tweaked by me
|
|
Triggers on driver bugs such as those which were fixed in rsu(4) recently.
ok kevlo@
|
|
No security benefit since the firmware has DMA access but we should
not have such bad examples in our source tree.
ok kevlo@
|
|
Problem reported by Ilja Van Sprundel.
ok tb@ kevlo@
|
|
architectures.
OK kettenis@, deraadt@
|
|
in standard use cases with constant arguments,
and prefer getprogname(3) over __progname;
from ScottCheloha at gmail dot com on tech
|
|
tho low order bits.
ok deraadt@, visa@
|
|
in a shared library, even for commons. This is what the current generation
of linkers (current bfd, gold, lld) do. This fixes the
relocation R_X86_64_PC32 against `xxx' can not be used when making a
shared object; recompile with -fPIC
warnings that we have seen in ports with clang.
This change is somewhat suspect as a similar change was reverted in upstream
binutils at some point. However that was for another corner case on an
architecture (s390) that we do not run on.
Tested by naddy@, sthen@
|
|
|
|
|
|
amd64/arm64/armv7/i386/sparc64.
ok visa@
|
|
amd64/arm64/armv7/i386.
ok visa@, deraadt@
|
|
lease address replaces all current addresses. Shuffle some
code from bind_lease() into set_mtu()/set_address() to
shrink bind_lease().
|
|
for use by the linux compatibility APIs in drm(4).
While I hate infecting code in sys/kern with this, untangling all the
of having different types and different signedness is too much for me
right now. The best strategy may be to change ticks itself to be long
but that needs some careful auditing.
ok deraadt@
|
|
|
|
ok schwarze@
|
|
patches. This will mitigate possible /var overflow (previous behavior was
to clean up _after_ applying all patches which means we would have rollback
patches from the previous and current release before the previous ones got
cleaned).
|
|
From Scott Cheloha
ok tb@
|
|
|
|
|
|
|
|
a single key-value store and if there are other ones available,
different nodes must be used to access them.
|
|
|
|
visible in the MODE.site scripts too.
This is useful for reporting back the autoinstall status at the end
of installs or upgrades from within the MODE.site scripts.
OK krw@ tb@
|
|
- in netstart, rename _file to _hn referencing hostname.if files
- in install.sub switch ifstart() to be used with _if instead of
_hn as parameter
ok krw@ tb@
|
|
with expected behavior.
OK mpi@ patrick@
|
|
|
|
|
|
|
|
reachable through different pvbus device nodes.
Suggestion and OK deraadt, OK reyk
|
|
|