| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Allow -march=armv7a on the gcc command line, for compatibility with clang.
|
|
|
|
|
| |
Remove a volatile qualifier on return type that is ignored and results in
a -Wreturn-type warning when compiled with gcc.
|
|
|
|
| |
Allow whitspace to appear between device name and unit number in loaderdev.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add code to set and reset open-drain mode on the bus when requested.
When command and data interrupts have been aggregated together, don't do
the data-completed processing if a command-error interrupt is also asserted.
Add a new sdhci quirk, SDHCI_QUIRK_WAITFOR_RESET_ASSERTED, to work around
TI OMAP controllers which will return the reset-in-progress bit as zero if
you read the status register too fast after setting the reset bit.
|
| |
|
|
|
|
| |
Add busdma sync ops before reading and after modifying the descriptor rings
|
| |
|
|
|
|
|
|
|
| |
Add ARMV6 as an arm option. This will cause obscure magic in config(8)
to automatically set the armv6 option when MACHINE_ARCH is armv6. That
allows replacing ever-growing lists of cpu names as options to compile
a given file with the using either "optional armv6" or "optional !armv6".
|
| |
|
|
|
|
|
|
|
|
|
| |
Consider the negation operator (!) to be a word even if it is not followed
by whitespace. This allows "optional !foo" which is what most programmers
are naturally going to tend to do as opposed to "optional ! foo".
Fix the negation (!) operator so that it binds only to the word that
immediately follows it.
|
|
|
|
|
|
|
|
|
|
|
| |
Allow i2c bus speed to be configured via hints, FDT data, and sysctl.
Implement bus speed setting for OMAP4, AM335x, and imx5/6.
Fix the i2c bus speed divisors for TI OMAP4 and AM335x to give the
advertised 100, 400, and 1000 KHz speeds.
PR: 195009
|
|
|
|
|
|
|
|
| |
Setgid before running a command as a specified user. Previously only
initgroups(3) was called, what isn't quite enough. This brings jail(8)
in line with jexec(8), which was already doing the right thing.
PR: 195984
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When doing busdma sync ops for BUSDMA_COHERENT memory, there is no need
for cache maintenance operations, but ensure that all prior writes have
reached memory when doing a PREWRITE sync.
Do not do a cache invalidate on a PREREAD sync that is also a PREWRITE sync.
Do the cache invalidate sequence from the outermost to innermost, required
for correct operation.
Correct the sequence of busdma sync ops involved with PRE/POSTREAD syncs.
When doing a PREREAD sync of an mbuf-type dma buffer, do a writeback of
the first cacheline if the buffer start address is not on a cacheline
boundary.
|
|
|
|
|
|
|
|
|
|
| |
Add facility to stop all userspace processes.
MFC r275753:
Fix gcc build.
MFC r275820:
Add missed break.
|
|
|
|
| |
Increase allowed size of the microcode blob to 32KB.
|
| |
|
|
|
|
|
|
|
| |
Fix tunable and sysctl handling of the fail_on_task_timeout knob.
Reviewed by: emax
Obtained from: Netflix, Inc.
|
|
|
|
| |
DMA tag alignment should be 1 (not 0) when a device can dma at any address.
|
|
|
|
|
|
|
|
| |
Treat D keywords as identifiers in certain postfix expressions. This allows
one to, for example, access the "provider" field of a struct g_consumer,
even though "provider" is a D keyword.
PR: 169657
|
|
|
|
|
|
|
|
| |
The module load address always needs to be included when setting the dm_*_va
fields of dt_module_t. Previously, this was only done on architectures where
kernel modules have type ET_REL; this change fixes that. As a result, symbol
name resolution in the stack() action now works properly for kernel modules
on i386.
|
| |
|
|
|
|
|
| |
Resolve USB driver identification conflict.
Regenerate etc/devd/usb.conf.
|
|
|
|
|
|
|
|
| |
Add more USB quirks.
PR: 178771
PR: 180617
PR: 195372
|
|
|
|
| |
For files and ZVOLs that is 1MB now, not 128K.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make isp_find_pdb_by_*() search for targets in portdb in reverse order.
Records with target_mode == 1 are allocated from the end of portdb, so it
seems logical to start search from the end not traverse whole array.
|
|
|
|
|
|
|
|
|
| |
Add configuration options to override physical and UNMAP blocks geometry.
While in most cases CTL should correctly fetch those values from backing
storages, there are some initiators (like MS SQL), that may not like large
physical block sizes, even if they are true. For such cases allow override
fetched values with supported ones (like 4K).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Overhaul if_gif(4):
o convert to if_transmit;
o use rmlock to protect access to gif_softc;
o use sx lock to protect from concurrent ioctls;
o remove a lot of unneeded and duplicated code;
o remove cached route support (it won't work with concurrent io);
o style fixes.
MFC r273090:
Move memset under ifdef INET6.
MFC r273091:
Add more ifdefs. SIOC*_IN6 are defined only with INET6.
MFC r273121:
Add inet/inet6 to the dependency list. Without them if_gif is useless.
MFC r273209 by bz:
After r273087,r273090,r273091,r273121 changes to gif(4) try to fix
NOIP builds for real.
MFC r273587:
Remove redundant check and m_pullup() call.
|
| |
|
| |
|
|
|
|
|
| |
We can not really implement it, but specification tells that it "shall"
work, so it can be safely ignored.
|
|
|
|
| |
Merge pc98's machdep.c into i386/i386/machdep.c.
|
|
|
|
| |
Add a define for index of IA32_XSS MSR.
|
|
|
|
| |
Adjust the definition of struct xstate_hdr according to SDM rev. 50.
|
|
|
|
|
| |
Add more bits for the XSAVE features from CPUID 0xd, sub-function 1
%eax report. Print the XSAVE features 0xd/1 in the boot banner.
|
|
|
|
| |
Reduce diffs against i386.
|
|
|
|
|
| |
- MFi386: Add compile-with option for tau32-ddk.c.
- Whitespace change.
|
|
|
|
|
|
|
|
| |
access to ifnet counters for code compatibility with FreeBSD 11.
This is direct commit to stable/10.
Discussed with: glebius@, arch@
|
|
|
|
|
|
|
|
| |
ifdef ext2_print_inode which is not really used.
ext2_print_inode was nice to have for initial development work but
is not really used anymore. #ifdef it under a new EXT2FS_DEBUG knob
so that we don't spend time compiling it.
|
|
|
|
|
|
|
|
|
| |
sed: Bounds check the file path used in the 'w' command.
Modified version of a diff from Sebastien Marie to prevent a crash found
with the afl fuzzer.
Obtained from: OpenBSD (CVS Rev. 1.37)
|
|
|
|
|
| |
Errata: FreeBSD-EN-14:13.freebsd-update
Approved by: so@
|
|
|
|
|
| |
MFamd64: Check for invalid flags in the machine context in sigreturn()
and setcontext().
|
|
|
|
|
| |
MFamd64: Add support for extended FPU states on i386. This includes
support for AVX on i386.
|
|
|
|
|
| |
Use %d instead of %u for error number. This way we see ERESTART as -1
not 4294967295 when doing DTrace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ZFS large block support. The default recordsize remains at 128KB.
A new tunable/sysctl variable, vfs.zfs.max_recordsize is added to
allow adjusting the permitted maximum record size, or
zfs_max_recordsize, with a default of 1MB. ZFS will not allow
setting recordsize greater than zfs_max_recordsize as a safety
belt, because larger recordsize means greater read and write
latency and more memory usage.
Please note that booting from datasets that have recordsize greater
than 128KB is not supported (but it's Okay to enable the feature on
the pool).
Limited safety belt is provided for mounted root filesystem but use
caution when using a larger value.
Illumos issue:
5027 zfs large block support
|
|
|
|
|
| |
MFamd64: Move extern declaration of _ucodesel and _udatasel to
<machine/md_var.h>
|
|
|
|
|
|
| |
MFamd64: Use initializecpu() to set various model-specific registers on
AP startup and AP resume (it was already used for BSP startup and BSP
resume).
|