| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ld(1) uses the /usr/libdata/ldscripts when linking. These scripts add in the
default search paths of /lib and /usr/lib via 'SEARCH_DIR("DIR")'. These
need to be prefixed by '=' so that the --sysroot flag is respected. This
is not a problem with buildworld since the TOOLS_PREFIX is baked into the
cross-ld. However it is a problem when trying to use ld(1) with --sysroot
anywhere else as it ends up still reading /lib and /usr/lib despite --sysroot.
The default --sysroot (TARGET_SYSTEM_ROOT) is '/' for /usr/bin/ld.
I found this while building with META MODE with uses only --sysroot with
/usr/bin/ld, and found that libraries that I had not built in its sysroot
directory were leaking in. This didn't happen with ports binutils either. This
would also impact external compiler support.
Reviewed by: bapt, brooks
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4262
Notes:
svn path=/head/; revision=291226
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bridges. Currently this includes information about what resources a
bridge decodes on the upstream side for use by downstream devices including
bus numbers, I/O port resources, and memory resources. Windows and bus
ranges are enumerated for both PCI-PCI bridges and PCI-CardBus bridges.
To simplify the implementation, all enumeration is done by reading the
appropriate config space registers directly rather than querying the
bridge driver in the kernel via new ioctls. This does result in a few
limitations.
First, an unimplemented window in a PCI-PCI bridge cannot be accurately
detected as accurate detection requires writing to the window base
register. That is not safe for pciconf(8). Instead, this assumes that
any window where both the base and limit read as all zeroes is
unimplemented.
Second, the PCI-PCI bridge driver in a tree has a few quirks for
PCI-PCI bridges that use subtractive decoding but do not indicate that
via the progif config register. The list of quirks is duplicated in
pciconf's source.
Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D4171
Notes:
svn path=/head/; revision=291225
|
|
|
|
| |
Notes:
svn path=/head/; revision=291224
|
|
|
|
|
|
|
|
|
|
|
| |
which is included for crunchgen builds.
No change in build output occurred with this change.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291223
|
|
|
|
|
|
|
|
|
|
|
| |
It is called when last reference to named object is going to be released
and allows to do additional cleanup for implementation of named objects.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Notes:
svn path=/head/; revision=291222
|
|
|
|
| |
Notes:
svn path=/head/; revision=291221
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mlx5* driver(s) are built [*]/installed separate from the OFED stack thanks
to recent refactoring done in the linuxkpi(4) module.
Always install the manpages instead of conditionally installing them if
MK_OFED != no
* Further refactoring of sys/ofed and linuxkpi(4) is pending to fully divorce
mlx5* from ofed headers
MFC after: never
Requested by: hps
Notes:
svn path=/head/; revision=291220
|
|
|
|
|
|
|
|
|
|
|
| |
Return -1 on errors from mkfs_msdos() instead of err()/errx(), to
allow different consumers to handle errors as appropriate.
Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=291219
|
|
|
|
|
|
|
|
|
| |
NetBSD mkfs_msdos.h rev 1.3 removed the no-endorsement clause from the
license block, which had already been done in the source I imported in
r289629.
Notes:
svn path=/head/; revision=291218
|
|
|
|
|
|
|
|
|
|
| |
null-terminated, so don't assume that it is.
Reported by: pho
X-MFC-With: r291059
Notes:
svn path=/head/; revision=291217
|
|
|
|
| |
Notes:
svn path=/head/; revision=291216
|
|
|
|
|
|
|
|
|
|
| |
new, simplified, ELF ABI that avoids some of the stranger aspects of the
existing 64-bit PowerPC ABI (function descriptors, in particular). Actually
generating such executables requires a new version of binutils and a newer
compiler (either GCC or clang) than GCC 4.2.1.
Notes:
svn path=/head/; revision=291211
|
|
|
|
|
|
|
|
|
| |
route interrupts to the needed cpu.
Sponsored by: ABT Systems Ltd
Notes:
svn path=/head/; revision=291210
|
|
|
|
|
|
|
|
| |
Now target mode works for all supported FC adapters except ancient 2100,
which is not tested.
Notes:
svn path=/head/; revision=291209
|
|
|
|
|
|
|
|
|
|
|
| |
The dumpdev kenv supports devices without the /dev/ prefix, fix dumpon to
also support this which is required after r288153.
MFC after: 1 week
Sponsored by: Multiplay
Notes:
svn path=/head/; revision=291207
|
|
|
|
|
|
|
|
|
|
| |
Remove M_VCHIQ malloc type, now not used anywhere.
Reviewed by: gonzo
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=291200
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=291199
|
|
|
|
| |
Notes:
svn path=/head/; revision=291198
|
|
|
|
| |
Notes:
svn path=/head/; revision=291197
|
|
|
|
|
|
|
|
|
|
| |
The not quite consistent logic for bounce pages allocation is utilizited
by re(4) interface which can hang now.
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=291193
|
|
|
|
|
|
|
|
|
|
| |
Hacks to enable target mode there complicated code, while didn't really
work. And for outdated hardware fixing it is not really interesting.
Initiator mode tested with Qlogic 1080 adapter is still working fine.
Notes:
svn path=/head/; revision=291188
|
|
|
|
|
|
|
|
|
| |
suite as tests/sys/kern/mqueue_test
MFC after: 1 week
Notes:
svn path=/head/; revision=291181
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use a temporary file for convert.c to reduce likelihood of an interrupted
build resulting in bad code being written to convert.c
- Truncate the file instead of appending to it to ensure that the file being
touched will not result in duplicate declarations/definitions from
kern_acct.c if/when kern_acct.c changes.
MFC after: 1 week
Notes:
svn path=/head/; revision=291180
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(HOST_SHELL is used in NetBSD)
This fixes permission denied issues when gen_ether_subr is not executable
MFC after: 3 days
Reported by: José Pérez <fbl@aoek.com>
Suggested by: bdrewery, sjg
Notes:
svn path=/head/; revision=291172
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysentvec. This allows the timekeep data to be shared between similar
ABIs which cannot share sysentvec.
Make the timekeep_push_vdso() tick callback to the timekeep structures
instead of sysentvecs. If several sysentvec share the vdso_sv_tk
structure, we would update the userspace data several times on each
tick, without the change.
Only allocate vdso_sv_tk in the exec_sysvec_init() sysinit when
sysentvec is marked with the new SV_TIMEKEEP flag. This saves
allocation and update of unneeded vdso_sv_tk for ABIs which do not
provide userspace gettimeofday yet, which are PowerPCs arches right
now.
Make vdso_sv_tk allocator public, namely split out and export
alloc_sv_tk() and alloc_sv_tk_compat32(). ABIs which share timekeep
data now can allocate it manually and share as appropriate.
Requested by: nwhitehorn
Tested by: nwhitehorn, pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Notes:
svn path=/head/; revision=291171
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=291170
|
|
|
|
| |
Notes:
svn path=/head/; revision=291169
|
|
|
|
|
|
|
|
|
| |
- Fix improperly capitalized `interface`
MFC after: 1 week
Notes:
svn path=/head/; revision=291168
|
|
|
|
| |
Notes:
svn path=/head/; revision=291167
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=291166
|
|
|
|
|
|
|
|
|
| |
already do this
MFC after: never (depends on kern.opts.mk; will not be MFCed probably)
Notes:
svn path=/head/; revision=291165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No behavioral changes, just cosmetics.
A partition number of zero is not a wildcard, it's the 'a' partition in
a BSD slice, so don't print it as "<auto>". (Only slices are 1-based,
unit and partition numbers are 0-based and -1 is their wildcard marker.)
Also, after doing all the probing and choosing, print the final result as
"Booting from <disk spec>" where disk spec has all the wildcards resolved
and looks like familiar BSD slice-and-partition notation (disk0s3a, etc).
Notes:
svn path=/head/; revision=291164
|
|
|
|
|
|
|
|
|
| |
While later firmware always registers for RSCN requests, older one does
it only in initiator mode. But in target mode there RSCN can be the only
way to detect gone intiator.
Notes:
svn path=/head/; revision=291163
|
|
|
|
|
|
|
| |
This makes port scanner fix absent port ID for added initiator.
Notes:
svn path=/head/; revision=291162
|
|
|
|
| |
Notes:
svn path=/head/; revision=291161
|
|
|
|
| |
Notes:
svn path=/head/; revision=291160
|
|
|
|
| |
Notes:
svn path=/head/; revision=291159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The r289895 revision did not accounted for the block containing the
requested page, when calculating the run of pages. Include the pages
before/after the requested page, that fit into the reqblock, into the
calculation.
Noted by: glebius
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=291158
|
|
|
|
|
|
|
|
|
| |
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=291157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 20363
Submitted by: whu
Reviewed by: royger, whu
Approved by: royger
MFC after: 1 week
Relnotes: No
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4131
Notes:
svn path=/head/; revision=291156
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tty.c Rev. 1.3
Avoid unintended problems with operator precedence when doing an
assignment and comparison.
bc.1, Rev. 1.31, 1.32
'.Ql Quit' -> '.Ql quit' because only the lowercase command is valid.
Clarify sentence about `quit` in BUGS section.
extern.h, Rev. 1.12
whitespace
bc.y, Rev. 1.47
Prefer setvbuf() to setlinebuf() for portability
Obtained from: OpenBSD
MFC after: 2 weeks
Notes:
svn path=/head/; revision=291155
|
|
|
|
| |
Notes:
svn path=/head/; revision=291154
|
|
|
|
|
|
|
|
| |
As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h
is not needed when defining SDT(9) probes.
Notes:
svn path=/head/; revision=291153
|
|
|
|
| |
Notes:
svn path=/head/; revision=291152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
* Take advantage of NEW_PCIB to remove a lot of setup code.
* Fix some bugs related to multiple PCI bridges.
There's still room for more cleanup, and still some bugs leftover, but this
cleans up a lot.
Test Plan: Tested on P5020 board with IDT PCIe switch.
Differential Revision: https://reviews.freebsd.org/D4127
Notes:
svn path=/head/; revision=291151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(opens, locks, etc) is retained, which I believe is correct behaviour.
However, for NFSv4.1, the server also retained a reference to the xprt
(RPC transport socket structure) for the backchannel. This caused
svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed
a socket upcall to occur after the mutexes in the svcpool were destroyed,
causing a crash.
This patch fixes the code so that the backchannel xprt structure is
dereferenced just before svcpool_destroy() is called, so the code
does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall.
Tested by: g_amanakis@yahoo.com
PR: 204340
MFC after: 2 weeks
Notes:
svn path=/head/; revision=291150
|
|
|
|
|
|
|
|
|
| |
of the SRS (software reset) bit in the watchdog control register. Despite
what the manual seems to imply, this bit DOES trigger an immediate reset, as
opposed to simply flagging the type of reset as software-triggered.
Notes:
svn path=/head/; revision=291149
|
|
|
|
| |
Notes:
svn path=/head/; revision=291148
|
|
|
|
|
|
|
|
| |
I am not sure this value is really viable yet, but that is what chips
officially support in NPIV mode (in loop mode maximum is 125).
Notes:
svn path=/head/; revision=291147
|
|
|
|
|
|
|
|
|
| |
PR: 204709
Submitted by: naito.yuichiro@gmail.com
MFC after: 3 days
Notes:
svn path=/head/; revision=291146
|