| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Also ensure we are dealing with PCI-class devices.
Sponsored by: UKRI
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
The patch was about an year in my local queue and I still screwed up...
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
the caller.
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
Otherwise argX conversion leads to an unexpected behaviour.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
It's ok from the futex_wait perspective as umtxq_sleep method uses
absolute sleep timeout.
MFC after: 2 weeks
|
|
|
|
| |
Fixes: 24e1c6ae7d3f7731a0884a62e9d5273e5ca1335a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hack can be tracked down to 4.4BSD, where copy was performed
under splimp() and then after splx() dom_dispose was called.
Stevens has a chapter on this function, but he doesn't answer why
this trick is necessary. Why can't we call into dom_dispose under
splimp()? Anyway, with multithreaded kernel the hack seems to be
necessary to avoid LORs between socket buffer lock and different
filesystem locks, especially network file systems.
The new socket buffers KPI sbcut() from 1d2df300e9b allow us to get
rid of the hack.
Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35125
|
|
|
|
|
|
|
|
| |
sorflush() already did the right thing, so only sofree() needed
a fix. Turn check into assertion in our only dom_dispose method.
Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35124
|
|
|
|
|
|
|
| |
Through the entire history only PF_UNIX has this feature.
Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35123
|
|
|
|
|
|
|
|
|
| |
This has two goals:
- Exercize call to unp_dispose() via soshutdown() instead of sofree()
- Make sure that shutdown indeed dereferences the fd stored
Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35122
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Not a functional change now. The enum will also be used for other socket
buffer related KPIs.
|
|
|
|
|
| |
For devices returning 16 byte serial numbers with 8 leading spaces
this falsely removed everything due to looking at wrong offset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code for the "shift" block in the COPY macro set the pointer for
the next copy block to the wrong value. In this case, the link-layer
header would be overwritten by the network-layer header. This case is
difficult or impossible to exercise in the current driver without
changing the value of the hw.genet.tx_hdr_min sysctl. Correct the
pointer. While here, remove a line in the macro that was marked
"unneeded", which was actually wrong.
PR: 263824
Submitted by: jiahali@blackberry.com
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
- Make descriptions a bit more human-friendly.
- Don't attempt to probe fan safe speeds, this model does not provide
one.
PR: 260781
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
One of the SMMU interrupt lines (priq) is optional and may be ommited in FDT.
Tested on ARM Morello Board, which has three SMMU units: first two have four
interrupt lines, last one has three interrupt lines.
Sponsored by: UKRI
|
|
|
|
|
| |
Pointed out by: jhb
Sponsored by: UKRI
|
|
|
|
|
|
| |
This is modeled after a1f93266 (by kib@).
MFC after: 2 weeks
|
|
|
|
|
|
| |
This is modeled after f2395455 (by kib@).
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Factor out includes from common vdso_gettc_x86 file to the corresponding
MD files.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
There are many places where we copyin Linux timespec from the userspace
and then convert it to the kernel timespec. To avoid code duplication
add a tiny halper for doing this.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
As native i386 time_t is still 32-bit, check that the user-provided 64-bit
tv_sec value fits to the kernel time_t, return EOVERFLOW if not.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Assuming the kernel would use random data, the 64-bit Linux kernel ignores
upper 32 bits of tv_nsec of struct timespec64 for 32-bit binaries.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
There are many places where we convert natvie timespec and copyout it to
the userspace. To avoid code duplication add a tiny halper for doing this.
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
Fixed my typo in ed61e0ce1d. Here tsp is a pointer to the 64-bit timespec.
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
| |
If 'options RSS' is set we bind the epair tasks to different CPUs. We
must take care to not keep the current thread bound to the last CPU when
we return to userspace.
MFC after: 1 week
Sponsored by: Orange Business Services
|
|
|
|
|
|
|
| |
If 'options RSS' is set.
MFC after: 1 week
Sponsored by: Orange Business Services
|
|
|
|
|
|
|
| |
If 'options RSS' is set.
MFC after: 1 week
Sponsored by: Orange Business Services
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I pushed the last changes before I'd noticed the better wording
suggestions in the review. Also include a note that not all lines will
have a timestampe. Some multi-line messages are generated with sbuf, and
when those are pushed, only the first line will have the
timestamp. Document this quirky behavior as well since fixing it likely
won't happen soon. CAM periph drivers generate all the lines in their
announce message together so they aren't intermingled with other things,
for example.
Suggested by: allanjude, emaste, rpokala
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35139
Differential Revision: https://reviews.freebsd.org/D35141
|
|
|
|
|
|
|
|
|
|
| |
jhb changed the newbus ABI and it's affecting some ports. Bump the
version to give them something to key off of for the removal of the
devclass arg from some macros. In theory the change should have been
ABI neutral, but there some build breakage with drm-kmod so better
to bump than not.
Sponsored by: Netflix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Today, kern.msgbuf_show_timestamp=1 will give 1 second granularity
timestamps on dmesg lines. When kern.msgbuf_show_timestamp=2, we'll
produce microsecond level graunlarity.
For example:
old (== 1):
[13] Dual Console: Video Primary, Serial Secondary
[14] lo0: link state changed to UP
[15] bxe0: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
[15] bxe0: link state changed to UP
new (== 2):
[13.807015] Dual Console: Video Primary, Serial Secondary
[14.544150] lo0: link state changed to UP
[15.272044] bxe0: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
[15.272052] bxe0: link state changed to UP
Sponsored by: Netflix
|
|
|
|
|
|
|
| |
kern.msgbuf_show_timestamp=1 turns on timestamps in kernel's message
buffer which dmesg(8) prints.
Sponsored by: Netflix
|
|
|
|
|
|
| |
Tested on ARM Morello Board.
Sponsored by: UKRI
|
|
|
|
|
|
| |
can call to ofw_bus_iommu_map().
Sponsored by: UKRI
|
|
|
|
| |
Sponsored by: UKRI
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D35130
Sponsored by: UKRI
|
|
|
|
| |
Sponsored by: UKRI
|