summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r306193jkim2016-09-22596-2481/+5416
| | | | Merge OpenSSL 1.0.2u.
* MFC r305601:kib2016-09-221-2/+12
| | | | On rename, do not perform truncation of dirhash if the vnode truncation failed.
* MFC r305599:kib2016-09-221-0/+1
| | | | Do not leak transient ENOLCK error from flush_newblk_dep() loop.
* MFC r305598:kib2016-09-221-1/+2
| | | | | When logging unlikely UFS_TRUNCATE() failure in ufs_direnter(), include error code.
* MFC r305597:kib2016-09-221-0/+1
| | | | When extending directory inode in ufs_direnter(), adjust i_endoff.
* MFC r305595:kib2016-09-221-2/+7
| | | | | | In dqsync(), when called from quotactl(), um_quotas entry might appear cleared since nothing prevents completion of the parallel quotaoff. There is nothing to sync in this case, and no reason to panic.
* MFC r305594:kib2016-09-221-3/+6
| | | | | In softdep_prealloc(), return early not only for snapshots, but for the quota files as well.
* MFC r305593:kib2016-09-221-32/+19
| | | | | | There is no need to upgrade the last dvp lock on lookups for modifying operations. Instead of upgrading, assert that the lock is exclusive. Explain the cause in comments.
* MFC r305592:kib2016-09-223-5/+16
| | | | | Partially lift suspension when ffs_reload() finished with cgs and going to re-read inodes.
* MFC r305610: Don't report to devd statuses that CAM doesn't consider errors.mav2016-09-221-1/+1
| | | | | Some statuses, such as "ATA pass through information available", are part part of absolutely normal operation and do not worth reporting.
* MFC r305609: "Extended copy information available" is not an error either.mav2016-09-221-1/+1
|
* MFC r305608: "ATA pass through information available" is not an error.mav2016-09-221-1/+1
|
* MFC r305591: Decode ATA Status Return descriptor.mav2016-09-222-0/+52
|
* MFC r305602: intpm: fix attachment to supported AMD FCHsavg2016-09-211-1/+3
|
* MFC r305606: intpm: make sure to register smbus driver before intpm driveravg2016-09-211-1/+2
|
* MFC r305604: intpm: better clean up resources after a failed attachmentavg2016-09-211-14/+26
|
* MFC r305603: intpm: do not try attaching to unsupported controller revisionsavg2016-09-211-3/+6
|
* MFC r305600: amdsbwd.4: update supported hardware listavg2016-09-211-2/+17
|
* MFC r305596: intpm.4 update supported hardware listavg2016-09-211-1/+5
|
* MFC r303113: Cross-link some SMBus controller drivers man pages.avg2016-09-215-0/+10
|
* MFC r303111: Document list of supported chipsets.avg2016-09-211-9/+23
|
* MFC r305535: amdsbwd: add support for FCH in family 16h models 30h-3Fh ↵avg2016-09-211-12/+75
| | | | processors
* MFC 304799:andrew2016-09-211-0/+7
| | | | | | | | | Map coherent memory in a non-coherent dma tag as uncached. This is similar to what the 32-bit arm code does, with the exception that it always assumes the tag is non-coherent. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 305285:andrew2016-09-212-2/+12
| | | | | | | | Add a pc_clock pcpu field and use it to implement cpu_est_clockrate. This will allow drivers that manage the clock frequency to communicate this with the reset of the kernel. Sponsored by: ABT Systems Ltd
* MFC r304892:andrew2016-09-211-1/+3
| | | | | | | | Print both the kernel read and write translation in DDB when asking for a virtual to physical translation. These may be different, e.g. when a page is mapped as read-only. Sponsored by: ABT Systems Ltd
* MFC r305939:kib2016-09-211-1/+1
| | | | Remove trailing space.
* MFC r304713:karels2016-09-212-1/+11
| | | | | | | | | | | | | | Fix L2 caching for UDP over IPv6 ip6_output() was missing cache invalidation code analougous to ip_output.c. r304545 disabled L2 caching for UDP/IPv6 as a workaround. This change adds the missing cache invalidation code and reverts r304545. Reviewed by: gnn Approved by: gnn (mentor) Tested by: peter@, Mike Andrews Differential Revision: https://reviews.freebsd.org/D7591
* MFC r305778:ae2016-09-201-6/+38
| | | | | | | | | | | | | Fix swap tables between sets when this functional is enabled. We have 6 opcode rewriters for table opcodes. When `set swap' command invoked, it is called for each rewriter, so at the end we get the same result, because opcode rewriter uses ETLV type to match opcode. And all tables opcodes have the same ETLV type. To solve this problem, use separate sets handler for one opcode rewriter. Use it to handle TEST_ALL, SWAP_ALL and MOVE_ALL commands. PR: 212630
* MFC r305380:bde2016-09-191-0/+6
| | | | | | Fix missing fmodl() on arches with 53-bit long doubles. PR: 199422, 211965
* MFC r305357:ngie2016-09-181-23/+29
| | | | | | Skip testcases 9/10 if jail(8) isn't installed These testcases require jail support
* MFC r305356:ngie2016-09-181-0/+1
| | | | | | | Add a missing "Bail out!" if zpool create fails This will make the exit info more meaningful if/when zpool create fails, and establishes parity with the other 2 zfs acl testcases (01, 03).
* MFC r305033,r305041,r305170:ngie2016-09-182-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r305033: Minor Makefile simplifications for lib/atf/... - Replace uses of `${.CURDIR:H:H:H}` with ${SRCTOP} - Use built-in :H operator instead of ".." when enumerating paths. r305041: Filter certain compile-time options into -DATF_BUILD_* Items filtered through are: - Constant defines (-D) - Include flags (-I) - Linker flags (-L) - Optimization level (-O) - Warnings / linker flags (-W) - Preprocessor options (-f) This fixes the scenario hit by the Jenkins job where it's infecting the build with --sysroot, etc options from the Jenkins build in the tests. Prefix all intermediate variables (_CFLAGS, etc) with "ATF_BUILD" [*]. Requested by: jmmv r305170: Don't bake all of CC/CPP/CXX into CFLAGS Capture executable names for CC, CPP, CXX (assumed to be the first non-CCACHE_BIN word). This change strips out all of the cross-compiler arguments, (-target, -B, etc), added to ${CC}, etc via ${CROSSENV} in Makefile.inc1, so it doesn't infect the build and subsequently the test. Add comments noting why this logic is being added, and why the logic in r305041 was necessary/what it was trying to achieve. This is required after recent changes made to the toolchain to always specify --sysroot, -target, -B, etc with clang in buildworld (presumably r304681).
* MFC r305018,r305019,r305020:ngie2016-09-183-24/+16
| | | | | | | | | | | | | | | | | | | r305018: Use SRCTOP instead of a homegrown definition for it (SRCDIR) r305019: Remove unnecessary variable (SRCDIR) replaced by SRCTOP in Makefile.common r305020: Remove redundant declarations and simplify ../ in pathing - TESTSBASE and LOCALBASE are already defined in bsd.tests.mk - TESTSDIR is automatically divined as ${TESTSBASE}${RELDIR:H} after r289158. - Replace SRCDIR with SRCTOP
* MFC r305894:jhibbits2016-09-173-14/+14
| | | | | | | Increase the boot1 file size on the HFS boot image. The boot1.elf is too fat for 30k, it's now 32k on powerpc64, and 34k on powerpc. Without this, boot1 will fail with odd behaviors.
* MFC 305607:andrew2016-09-161-0/+4
| | | | | | | | Trap msr/mrs instructions. These are privileged arm64 instructions and shouldn't normally be used. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 305128:andrew2016-09-161-0/+1
| | | | | | | | Also handle instruction traps. We might hit these when the page we are executing is being promoted to a superpage. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 305546:andrew2016-09-161-1/+1
| | | | | | | | | | When synchronising the instruction and data caches we only need to clean the data cache to the point of unification. This is the point where the two caches are unified to a single unified cache so cleaning past here is just extra unneeded work. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 305545:andrew2016-09-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Only call cpu_icache_sync_range when inserting an executable page. If the page is non-executable the contents of the i-cache are unimportant so this call is just adding unneeded overhead when inserting pages. While doing research using gem5 with an O3 pipeline and 1k/32k/1M iTLB/L1 iCache/L2 Bjoern Zeeb (bz@) observed a fairly high rate of calls into arm64_icache_sync_range() from pmap_enter() along with a high number of instruction fetches and iTLB/iCache hits. Limiting the calls to arm64_icache_sync_range() to only executable pages, we observe the iTLB and iCache Hit going down by about 43%. These numbers are quite misleading when looked at alone as at the same time instructions retired were reduced by 19.2% and instruction fetches were reduced by 38.8%. Overall this reduced the runtime of the test program by 22.4%. On Juno hardware, in steady-state, running the same test, using the cycle count to determine runtime, we do see a reduction of up to 28.9% in runtime. While these numbers certainly depend on the program executed, we expect an overall performance improvement. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 304004, 304596, 304598, 304599, 304600, 304604, 304620, 304685, 304687,andrew2016-09-163-57/+1229
| | | | | | | | 304688, 304689, 304746, 304749, 304750, 304806, 305071, 305191: Merge arm64 superpage support, however leave it disabled by default. MFC after: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 303904:andrew2016-09-161-2/+0
| | | | | | | | Uncomment the vm.kvm_size and vm.kvm_free sysctls. These work as expected so there is no reason to leave them commented out. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 303903:andrew2016-09-161-0/+14
| | | | | | | | Implement pmap_align_superpage on arm64 based on the amd64 implementation. This will be needed when superpage support is added. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 303744:andrew2016-09-161-43/+17
| | | | | | | | | Remove the pvh_global_lock lock from the arm64 pmap. It is unneeded on arm64 as invalidation will have completed before the pmap_invalidate_* functions have complete. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC 305605:andrew2016-09-161-3/+3
| | | | | | | | Don't panic when we don't handle a userland exception, not all we may see are currently handled. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* MFC r304285:kib2016-09-1624-171/+246
| | | | Implement userspace gettimeofday(2) with HPET timecounter.
* MFC r303677: Move/add ARM ELF PHDR types to elf_common.hemaste2016-09-152-3/+2
|
* MFC r303670: Add ELFOSABI_ARM_AEABI ELF OSABI constantemaste2016-09-151-0/+1
|
* MFC r303335: apply some style(9) to kbd: make function name start in column 1emaste2016-09-151-8/+8
|
* MFC r305160: Set UEFI boot loader PE/COFF timestamps to known value for ↵emaste2016-09-152-0/+8
| | | | | | reproducible builds Sponsored by: The FreeBSD Foundation
* MFC r305130: Update to ELF Tool Chain r3490emaste2016-09-1518-26/+229
| | | | | | | | | | | | | Improvements include: * readelf: report all relocation types in rel/rela for MIPS N64 * readelf: add ELFOSABI_ARM_AEABI * elfdump: add ELFOSABI_ARM_AEABI and ELFOSABI_ARM * Add recent RISC-V relocations * elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH MFC r305155: readelf: silence GCC 4.2.1 uninitialized variable warning Sponsored by: The FreeBSD Foundation
* MFC r304191: elfcopy: correct comment typoemaste2016-09-151-1/+1
| | | | (Missed in r305838)
OpenPOWER on IntegriCloud