Age | Commit message (Collapse) | Author |
|
prevent future diffs to be ugly.
ok bluhm@
|
|
to turn off the secondary CPUs and suspend the primary CPU using the
CPU_OFF and SYSTEM_SUSPEND calls. A new "halt" IPI is added to turn off
the ssecondary CPUs. This IPI is implemented for the ampintc(4) and
agintc(4) interrupt controllers. Fulle suspend/resume support is only
implemented for ampintc(4). This is enough to suspend and resume boards
based on the Allwinner A64 SoC, provided the necessary wakeup interrupts
have been set up (not part of this commit).
ok patrick@
|
|
From Thomas Hellstrom
51a405dea0ae54330b6441c5f7c3bb9ceadedce8 in linux 5.15.y/5.15.54
bc1922e5d349db4be14c55513102c024c2ae8a50 in mainline linux
|
|
From Richard Gong
7a9e13b86536ce6dca54380f19d537b1c80caee3 in linux 5.15.y/5.15.54
aa482ddca85a3485be0e7b83a0789dc4d987670b in mainline linux
|
|
From Mario Limonciello
0a9a60dcedaacde4b903337b7445cb431b4dd119 in linux 5.15.y/5.15.54
0ab5d711ec74d9e60673900974806b7688857947 in mainline linux
|
|
From tiancyin
f3647c369c178c1cdea7f6a60dc32d6118afac40 in linux 5.15.y/5.15.54
425d7a87e54ee358f580eaf10cf28dc95f7121c1 in mainline linux
|
|
From CHANDAN VURDIGERE NATARAJ
59bf2aca4b1c3eca28b337b5e797bb9b43d44f3b in linux 5.15.y/5.15.54
50e6cb3fd2cde554db646282ea10df7236e6493c in mainline linux
|
|
From Michael Strauss
f276634b12fa8f63988be9cf5492c7d60d5ad7b1 in linux 5.15.y/5.15.54
bc204778b4032b336cb3bde85bea852d79e7e389 in mainline linux
|
|
From Ville Syrjala
b33035945b0a6853f8f6f63fb3c3bc9ea869337e in linux 5.15.y/5.15.54
ef7ec41f17cbc0861891ccc0634d06a0c8dcbf09 in mainline linux
|
|
From Thomas Hellstrom
9cf3a1c1288e43af00d70a8520ea9efbea01615e in linux 5.15.y/5.15.54
3e42cc61275f95fd7f022b6380b95428efe134d3 in mainline linux
|
|
From Matthew Brost
d839d15b50743164d7ad95f436ea284a2946c179 in linux 5.15.y/5.15.54
ce7e75c7ef1bf8ea3d947da8c674d2f40fd7d734 in mainline linux
|
|
|
|
to make make media structures MP safe.
OK mvs@
|
|
This lets me enter ddb(4) even when the riscv64 machines I manage get
unusable because of NFS.
Suggested by miod@, ok miod@ kettenis@
|
|
If ddb.console is set and your serial console driver uses it, db_rint(),
lets you enter ddb(4) by typing the ESC D escape sequence. This is
useful for drivers like sfuart(4) where the hardware doesn't have a true
BREAK mechanism.
Suggested by miod@, ok kettenis@ miod@
|
|
Long time ago pipex(4) session can't be deleted until both pipex(4)
input and output queues become empty. Dead sessions were linked to the
stack and the `ip_forward' flag was used to prevent packets forwarding.
npppd(8) marked such sessions by doing PIPEXCSESSION ioctl(2) call.
But since we started to unlink close session from the stack, this logic
became unnecessary. Also pipex(4) session could be closed just after
close request.
npppd(8) was the only userland program which did PIPEXCSESSION ioctl(2)
call, and we removed it week ago. It's time to remove the remains.
Now the `flags' member of 'pipex_session' structure became immutable.
ok yasuoka@
|
|
|
|
ok mlarkin@
|
|
suggested by and ok mlarkin@
|
|
|
|
Make the EFI bootloader provide the extra parameters that are necessary
for using the non-standard UART on the AMD Ryzen Embedded V1000 SoCs.
ok anton@
|
|
- Remove unused support for asynchronous read, including error conditions
- Grab the proper lock for each page that has been written to swap. This
allows to enable an assertion in uvm_page_unbusy().
- Move the uvm_anon_release() call outside of uvm_page_unbusy() and
assert for the different anon cases.
ok beck@, kettenis@
|
|
Reading pages from swap is always done synchronously. The fault handler
needs to sleep and PGO_SYNCIO is already asserted a couple of lines above.
ok beck@, kettenis@ as part of a larger diff.
|
|
spotted by waddlesplash at haiku-os
|
|
1000 to pass the rate to amptimer_set_clockrate(). Fixes the system clock
running too slow for ntpd to keep in sync.
ok patrick@
|
|
pipex_ip_output(). The all sessions loop was reworked to make possible
to drop the lock within.
ok bluhm@ yasuoka@.
|
|
routines finished.
Call ifq_barrier(9) just after we unlinked dying interface from the stack.
From this point it is not accessible by if_get(9) and if_unit(9), and all
concurrent threads owning interface pointer finished. It also detached
from pseudo drivers like bridge(4). We only could have concurrent
(*if_qstart)() handlers running, so wait them and then continue
destruction.
Reported and tested by Hrvoje Popovski.
ok bluhm@
|
|
easier to read and grep as ifm_status was used in both structs
ifmediareq and ifmedia with different meaning.
OK mvs@
|
|
|
|
|
|
OK kettenis@
|
|
value if the `error' is set instead of continue to sppp_ioctl().
ok bluhm@
|
|
ok mlarkin@, patrick@
|
|
ok mlarkin@, patrick@
|
|
Add a function to check whether SYSTEM_SUSPEND is supported by the
PSCI firmware.
ok patrick@
|
|
OK jsg@
|
|
|
|
contrast) are not valid if they only have one state, i.e. minimum and maximum
values being equal.
Do not expose them to userland in this case, for wsconsctl would attempt to
divide by zero (which is known to have unwelcome consequences).
This allows display drivers trusting not-so-reliable sources (fdt, bogus
hardware...) to not have to perform those checks themselves.
Found the hard way by daniel@. No firm consensus on this workaround, using
one seniority point here, will revert if this spawns complaints.
|
|
From Carlos Llamas
5b458d3de9cfac4a21b704c90c8c7eff244c8b13 in linux 5.15.y/5.15.53
20b8264394b33adb1640a485a62a84bc1388b6a3 in mainline linux
|
|
From katrinzhou
a13ea254268c5538f4c2f1a1a344ad07cd7b87d3 in linux 5.15.y/5.15.53
9efdd519d001ee3e761f6ff80d5eb123387421c1 in mainline linux
|
|
From Ruili Ji
31c371b61d13dd457fdcc27cd728c04ee09f9cdb in linux 5.15.y/5.15.53
5cb0e3fb2c54eabfb3f932a1574bff1774946bc0 in mainline linux
|
|
From Alex Deucher
990132bebcc81aa95c1a1ac4422b0364753d9d39 in linux 5.15.y/5.15.53
a775e4e4941bf2f326aa36c58f67bd6c96cac717 in mainline linux
|
|
It is incorrect to look at/modify `uo_refs' without lock in uvm_vnp_sync().
However sleeping is not possible and spinning introduces a deadlock with the
KERNEL_LOCK() when another thread faults on a mmaped region related to a
vnode we're currently synching.
A proper fix should be investigated. For now a kown a race, mostly safe due
to the KERNEL_LOCK(), is better than a possible deadlock.
Issue reported by caspar@
Discussed with and ok semarie@
|
|
The conditions under which this debug message should trigger were
changed in r1.330 (cvs commit RcatFKLXoHUopLvW), which removed a
txd_done() call located before txq_advance(). The mbuf for the
most recently completed frame will no longer be NULL on entry.
Prompted by a question from waddlesplash at haiku-os.
|
|
On OpenBSD/i386 we only support Pentium compatible CPUs with an FPU.
The NexGen CPUs probably don't meet this requirement so remove the
small amount of support code to identify this brand of CPU.
The Nx586 "P" models did not include an FPU as they were expected
to be paired with an Nx587 FPU (which was never officially released).
The Nx586 "FP" models did include an FPU, but even these are allegedly
386 clones and not Pentium compatible. According to some websites,
486 instructions were emulated via hypercode. However the 486
instruction emulation was only enough to run applications and wasn't
good enough to run an OS that needs newer 486 and Pentium instructions.
Finally, while our current code references the "Processor Recognition
Application Note", we only implement the half of the documented
algorithm to detect NexGen CPUs. We don't implement the second half
of the algorithm to check for the vendor string "NexGenDriven" on NexGen
CPUs that support the CPUID instruction (like the Nx586-P120 and Nx586-P133).
ok jsg@
|
|
Also remove unneeded seltrue() and selfalse().
OK mpi@ jsg@
|
|
from kettenis via patrick
|
|
The firmware from multiple lenovo alder lake machines claim there are
two eDP ports in the video bios table (VBT).
Which results in link training problems on resume from S3 with the
screen continually turning on and off. Forcing port B to not be
recognised as eDP works around this. I believe port A is the normal eDP
port.
https://gitlab.freedesktop.org/drm/intel/-/issues/5531
https://gitlab.freedesktop.org/drm/intel/-/issues/4950
|
|
Snapdragon 8cx gen 3 SoC.
ok patrick@
|
|
both sizes are equal.
ok kettenis@
|