| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
For example, fully construct the new PTE before entering the critical
section. This change is a stepping stone to psind == 1 support on i386.
Reviewed by: kib, markj
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D16188
Notes:
svn path=/head/; revision=336175
|
|
|
|
| |
Notes:
svn path=/head/; revision=336174
|
|
|
|
|
|
|
| |
The USG is really E120, not E110.
Notes:
svn path=/head/; revision=336173
|
|
|
|
| |
Notes:
svn path=/head/; revision=336172
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No valid FreeBSD binary very called them (they would call lchown and
msync directly) and we haven't supported NetBSD binaries in ages.
This is a respin of r335983 with a workaround for the ancient BFD linker
in the libc stubs.
Reviewed by: kib
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D16193
Notes:
svn path=/head/; revision=336171
|
|
|
|
|
|
|
| |
Suggested by: jhb
Notes:
svn path=/head/; revision=336170
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be displayed when make is called with -s. Replace it by ${ECHO}.
Reviewed by: brd, bdrewery
Approved by: brd, bdrewery
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D16195
Notes:
svn path=/head/; revision=336169
|
|
|
|
|
|
|
|
|
|
|
| |
sysctl interface. This is similar to the TCP host cache.
Reviewed by: pkelsey@, kbowling@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D14554
Notes:
svn path=/head/; revision=336168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a client receives a SYN-ACK segment with a TFP fast open cookie,
but without an MSS option, an MSS value from uninitialised stack memory is used.
This patch ensures that in case no MSS option is included in the SYN-ACK,
the appropriate value as given in RFC 7413 is used.
Reviewed by: kbowling@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16175
Notes:
svn path=/head/; revision=336167
|
|
|
|
|
|
|
| |
Add ifdef's to compile parts of pci_host_generic only on armv8
Notes:
svn path=/head/; revision=336166
|
|
|
|
|
|
|
|
|
|
| |
Removed pointless NULL check after malloc with M_WAITOK which can never
return NULL.
Sponsored by: Multiplay
Notes:
svn path=/head/; revision=336165
|
|
|
|
| |
Notes:
svn path=/head/; revision=336163
|
|
|
|
| |
Notes:
svn path=/head/; revision=336162
|
|
|
|
|
|
|
|
|
|
|
|
| |
Encoding-specific processing introduced in r335836 is not recommended.
And doing getenv("LANG") and assuming an encoding based on it is a
very bad practice to internationalize software.
Submitted by: hrs
Differential Revision: https://reviews.freebsd.org/D16203
Notes:
svn path=/head/; revision=336160
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
averages. This works with debug or custom firmwares only.
sysctl dev.<nexus>.<instance>.loadavg
sysctl dev.t6nex.0.loadavg
MFC after: 1 month
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=336159
|
|
|
|
| |
Notes:
svn path=/head/; revision=336157
|
|
|
|
|
|
|
|
|
|
| |
Suggested by: phk
Reviewed by: imp, pfg
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D16192
Notes:
svn path=/head/; revision=336156
|
|
|
|
|
|
|
|
|
|
| |
This is possible because, well, they're static. Both the dynamic environment
and the MD-environment (generally loader(8) environment) can potentially
have room for new variables to be set, and thus do not receive this
treatment.
Notes:
svn path=/head/; revision=336154
|
|
|
|
| |
Notes:
svn path=/head/; revision=336153
|
|
|
|
| |
Notes:
svn path=/head/; revision=336152
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=336151
|
|
|
|
|
|
|
|
|
|
|
| |
by r336028
Reviewed by: cy
Approved by: gnn (mentor)
Differential Revision: https://reviews.freebsd.org/D16174
Notes:
svn path=/head/; revision=336150
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r336020 introduced pcpu_page_alloc(), replacing page_alloc() as the
backend allocator for PCPU UMA zones. Unlike page_alloc(), it does
not honour malloc(9) flags such as M_ZERO or M_NODUMP, so fix that.
r336020 also changed counter(9) to initialize each counter using a
CPU_FOREACH() loop instead of an SMP rendezvous. Before SI_SUB_CPU,
smp_rendezvous() will only execute the callback on the current CPU
(i.e., CPU 0), so only one counter gets zeroed. The rest are zeroed
by virtue of the fact that UMA gratuitously zeroes slabs when importing
them into a zone.
Prior to SI_SUB_CPU, all_cpus is clear, so with r336020 we weren't
zeroing vm_cnt counters during boot: the CPU_FOREACH() loop had no
effect, and pcpu_page_alloc() didn't honour M_ZERO. Fix this by
iterating over the full range of CPU IDs when zeroing counters,
ignoring whether the corresponding bits in all_cpus are set.
Reported and tested by: pho (previous version)
Reviewed by: kib (previous version)
Differential Revision: https://reviews.freebsd.org/D16190
Notes:
svn path=/head/; revision=336149
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RB_ASKNAME is no longer instructions to the boot loader to request a
prompt for which kernel to boot. Instead, it asks for what the root
file system to use. RB_INITNAME is unused, and never has been in
FreeBSD as far as I can tell. Remove it from the documentation and fix
comment. RB_SELFTEST and RB_MINIROOT likewise (though they were
completely undocumented). These last three constants can likely just
be deleted as nothing references them (even to set useless bits).
RB_ASKNAME doesn't actually survive reboot, however, so needs to be
communicated to the bootloader via other means. If the bootloader sets
it, though, it will be honored.
Notes:
svn path=/head/; revision=336148
|
|
|
|
|
|
|
| |
Hinted by: DragonFlyBSD
Notes:
svn path=/head/; revision=336145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* FreeBSD stores addresses in 8 bit format, but the OPAL API requires the 7-bit
address, and encodes the direction elsewhere. Behave like other i2c drivers,
and shift accordingly.
* The OPAL API can already handle multiple requests in flight. Change the async
token to be private to the thread, so as not to stomp across i2c accesses,
remove the limitation error message, and use the correct message index to
transfer all messages in the list.
* Micro-optimize the async handler to not continuously call pmap_kextract() when
spin-waiting for the operation to complete.
This has been tested by hexdumping an EEPROM attached via the icee(4) driver.
Notes:
svn path=/head/; revision=336144
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently some tools are not able to determine if all the cases of a
switch are covered. Make use of the attribute for cases like this.
Hinted by: DragonFlyBSD GGC8 (but fixed differently)
CID: 976552
Notes:
svn path=/head/; revision=336143
|
|
|
|
|
|
|
|
| |
Now that we have all devices ids in a table add MODULE_PNP_INFO macro
to let devmatch autoload module
Notes:
svn path=/head/; revision=336142
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pnfsdskill(8) command will normally fail if there is no valid mirror
for the DS to be disabled. However, a system administrator may need to
disable a DS which does not have a valid mirror so that the nfsd threads
can be terminated. This patch adds the kernel code needed by pnfsdskill(8)
to implement this "forced" case of disabling a DS.
This patch only affects the pNFS server.
Notes:
svn path=/head/; revision=336141
|
|
|
|
|
|
|
|
|
| |
% round up to the multiple size and / round down
This is compatible with gnu truncate.
Add tests and document in the man page.
Notes:
svn path=/head/; revision=336140
|
|
|
|
| |
Notes:
svn path=/head/; revision=336139
|
|
|
|
| |
Notes:
svn path=/head/; revision=336138
|
|
|
|
| |
Notes:
svn path=/head/; revision=336137
|
|
|
|
|
|
|
|
|
|
|
| |
A quick test of this shows multiple problems. Rather than fix the
problems, just retire this board's support. It's for a 12 year old
board that's been out of production for at least 7 years and generally
lacks the memory to run even a stripped down NanoBSD image well. It's
not really relevant anymore.
Notes:
svn path=/head/; revision=336136
|
|
|
|
|
|
|
|
| |
laoder testing scripts. It just adds to the build time, and will be
retired soon anyway, per discussions in freebsd-arch@ last month.
Notes:
svn path=/head/; revision=336135
|
|
|
|
|
|
|
| |
Reported by: Julian H. Stacey <jhs@berklix.com>
Notes:
svn path=/head/; revision=336134
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"record-state" is similar to "keep-state", but it doesn't produce implicit
O_PROBE_STATE opcode in a rule. "set-limit" is like "limit", but it has the
same feature as "record-state", it is single opcode without implicit
O_PROBE_STATE opcode. "defer-action" is targeted to be used with dynamic
states. When rule with this opcode is matched, the rule's action will
not be executed, instead dynamic state will be created. And when this
state will be matched by "check-state", then rule action will be executed.
This allows create a more complicated rulesets.
Submitted by: lev
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D1776
Notes:
svn path=/head/; revision=336132
|
|
|
|
|
|
|
|
|
|
|
| |
Add generic function if_tunnel_check_nesting() that does check for
allowed nesting level for tunneling interfaces and also does loop
detection. Use it in gif(4), gre(4) and me(4) interfaces.
Differential Revision: https://reviews.freebsd.org/D16162
Notes:
svn path=/head/; revision=336131
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add few quirks which are necessary to use AHCI on ThX2
Submitted by: Patryk Duda <pdk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Cavium
Differential revision: https://reviews.freebsd.org/D15929
Notes:
svn path=/head/; revision=336130
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Patryk Duda <pdk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Cavium
Differential revision: https://reviews.freebsd.org/D15141
Notes:
svn path=/head/; revision=336129
|
|
|
|
|
|
|
|
|
| |
Submitted by: Patryk Duda <pdk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Cavium
Notes:
svn path=/head/; revision=336128
|
|
|
|
|
|
|
|
|
| |
Unbreak work build on ppc due to -Werror=shadow. Introduced in r336121.
X-MFC-With: r336121
Notes:
svn path=/head/; revision=336127
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The double compilation of the kernel sources in libmd and libcrypt is
baffling, but add yet another define hack to prevent duplicate symbols.
Add documentation and SHA2-224 test cases to libmd.
Integrate with the md5(1) command, document, and add more test cases;
self-tests pass.
Notes:
svn path=/head/; revision=336126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In part, to support OpenSSL's use of cryptodev, which puts the HMAC pieces
in software and only offloads the raw hash primitive.
The following cryptodev identifiers are added:
* CRYPTO_RIPEMD160 (not hooked up)
* CRYPTO_SHA2_224
* CRYPTO_SHA2_256
* CRYPTO_SHA2_384
* CRYPTO_SHA2_512
The plain SHA1 and 2 hashes are plumbed through cryptodev (feels like there
is a lot of redundancy here...) and cryptosoft.
This adds new auth_hash implementations for the plain hashes, as well as
SHA1 (which had a cryptodev.h identifier, but no implementation).
Add plain SHA 1 and 2 hash tests to the cryptocheck tool.
Motivation stems from John Baldwin's earlier OCF email,
https://lists.freebsd.org/pipermail/freebsd-arch/2018-January/018835.html .
Notes:
svn path=/head/; revision=336125
|
|
|
|
|
|
|
|
|
| |
Round out the complete set of basic SHA2 HMAC modes with SHA2-224.
Support is added to the cryptocheck test tool.
Notes:
svn path=/head/; revision=336124
|
|
|
|
|
|
|
|
| |
Like SHA2-384:SHA2-512, SHA2-224 is simply a truncated SHA2-256 with a
different initial vector. Add to round out the complete basic SHA2 family.
Notes:
svn path=/head/; revision=336123
|
|
|
|
|
|
|
|
|
|
| |
The block size is a property of the underlying hash algorithm, and has
nothing to do with the HMAC construction.
No functional change.
Notes:
svn path=/head/; revision=336122
|
|
|
|
|
|
|
| |
MFC after: 1 month
Notes:
svn path=/head/; revision=336121
|
|
|
|
| |
Notes:
svn path=/head/; revision=336118
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Detected on NetBSD:
# nm /usr/lib/libc.so|grep sanit
/public/src.git/lib/libc/citrus/modules/citrus_mapper_std.c:173:8:
runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Obtained from: NetBSD (CVS Rev. 1.11)
MFC after: 1 week
Notes:
svn path=/head/; revision=336115
|