summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix units in the r320088 entry. [1]gjb2017-06-191-5/+5
| | | | | | | | | | | | | | | | While here, move to a more appropriate section. Submitted by: rpokala [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r319942 (jhb):gjb2017-06-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to assign interrupts to a CPU on single-CPU systems. All interrupts are routed to the sole CPU in that case implicitly. This is a regression in EARLY_AP_STARTUP. Previously the 'assign_cpu' variable was only set when a multi-CPU system finished booting, so its value both meant that interrupts could be assigned and that there was more than one CPU. PR: 219882 Approved by: re (kib) Sponsored by: The FreeBSD Foundation
| * Document r320088, default EFI partition size change.gjb2017-06-191-0/+5
| | | | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r320035:kib2017-06-191-4/+5
| | | | | | | | | | | | | | Move the description of kern.kq_calloutmax sysctl into a new paragraph for better presentation. Approved by: re (delphij)
| * MFC r320034:kib2017-06-191-1/+2
| | | | | | | | | | | | Start a new sentence on the new line. Approved by: re (delphij)
| * MFC r319962:cy2017-06-191-1/+1
| | | | | | | | | | | | | | Correct example directory location. Submitted by: olivier@ Approved by: re@ (kib@)
| * bsdinstall: use consistent EFI configuration across platformsemaste2017-06-193-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r320007: - increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition to 200M MFC r320008: bsdinstall: correct comment after r320007 PR: 201898 Approved by: re (kib) Relnotes: Yes Sponsored by: The FreeBSD Foundation
| * MFC r319676:pfg2017-06-181-2/+4
| | | | | | | | | | | | | | | | | | patch: if reading fails, do not go into infinite loop asking for a filename. This can happen if no tty is available. Obtained from: OpenBSD (CVS rev 1.54) Approved by: re (marius)
| * MFC r319355:hselasky2017-06-181-2/+2
| | | | | | | | | | | | | | Minor code optimisation. Avoid locking the global CUSE lock when the polling flags are zero. Approved by: re (kib)
| * MFC r317928jhibbits2017-06-182-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Add necessary bits to get FreeBSD booting on the Unifi Security Gateway Summary: The Ubiquiti Unifi Security Gateway is virtually identical to the EdgeRouter Lite, with a smaller PCB and apparently a different board identifier. Simply adding the new board identifier alongside the ERL identifier, FreeBSD boots successfully, and can access the needed peripherals. Approved by: re(bdrewery)
| * MFC r319972:hselasky2017-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | Use static device numbering instead of dynamic one when creating mlx4en network interfaces. This prevents infinite unit number growth typically when the mlx4en driver is used inside virtual machines which support runtime PCI attach and detach. Approved by: re (gjb) Sponsored by: Mellanox Technologies
| * lld: Fix weak symbols on arm and aarch64emaste2017-06-172-91/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r319955: lld: sort relocations No functional change; applied to facilitate merge of later LLD commit. MFC r319956: lld: Fix weak symbols on arm and aarch64 Given .weak target .global _start _start: b target The intention is that the branch goes to the instruction after the branch, effectively turning it on a nop. The branch adds the runtime PC, but we were adding it statically too. I noticed the oddity by inspection, but llvm-objdump seems to agree, since it now prints things like: b #-4 <_start+0x4> Obtained from: LLD r298797, r305212 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
| * MFC r319539:kib2017-06-172-26/+74
| | | | | | | | | | | | | | Mitigate several problems with the softdep_request_cleanup() on busy host. Approved by: re (gjb)
| * Update stable/11 to BETA2 as part of the 11.1-RELEASE cycle.gjb2017-06-161-1/+1
| | | | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r319540alc2017-06-151-2/+2
| | | | | | | | | | | | | | The data type returned by vmoff() is too narrow in its range. This could break the transmission of files longer than 4 GB on 32-bit architectures. Approved by: re (gjb)
| * MFC: r319863allanjude2017-06-152-1/+7
| | | | | | | | | | | | | | | | | | bsdinstall: Make ZFS min_auto_ashift adjustment persistent MFC: r319864 bsdinstall: support Auto ZFS mode for ARM64 Approved by: re (gjb)
| * MFC: r319866, r319867allanjude2017-06-152-9/+4
| | | | | | | | | | | | | | top: Change the way the ZFS ARC compression ratio is calculated remove overhead statistics, already included in other counters Approved by: re (gjb)
| * MFC r318995alc2017-06-153-40/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In r118390, the swap pager's approach to striping swap allocation over multiple devices was changed. However, swapoff_one() was not fully and correctly converted. In particular, with r118390's introduction of a per- device blist, the maximum swap block size, "dmmax", became irrelevant to swapoff_one()'s operation. Moreover, swapoff_one() was performing out-of- range operations on the per-device blist that were silently ignored by blist_fill(). This change corrects both of these problems with swapoff_one(), which will allow us to potentially increase MAX_PAGEOUT_CLUSTER. Previously, swapoff_one() would panic inside of blist_fill() if you increased MAX_PAGEOUT_CLUSTER. MFC r319001 After r118390, the variable "dmmax" was neither the correct strip size nor the correct maximum block size. Moreover, after r318995, it serves no purpose except to provide information to user space through a read- sysctl. This change eliminates the variable "dmmax" but retains the sysctl. It also corrects the value returned by the sysctl. MFC r319604 Halve the memory being internally allocated by the blist allocator. In short, half of the memory that is allocated to implement the radix tree is wasted because we did not change "u_daddr_t" to be a 64-bit unsigned int when we changed "daddr_t" to be a 64-bit (signed) int. (See r96849 and r96851.) MFC r319612 When the function blist_fill() was added to the kernel in r107913, the swap pager used a different scheme for striping the allocation of swap space across multiple devices. And, although blist_fill() was intended to support fill operations with large counts, the old striping scheme never performed a fill larger than the stripe size. Consequently, the misplacement of a sanity check in blst_meta_fill() went undetected. Now, moving forward in time to r118390, a new scheme for striping was introduced that maintained a blist allocator per device, but as noted in r318995, swapoff_one() was not fully and correctly converted to the new scheme. This change completes what was started in r318995 by fixing the underlying bug in blst_meta_fill() that stops swapoff_one() from simply performing a single blist_fill() operation. MFC r319627 Starting in r118390, swaponsomething() began to reserve the blocks at the beginning of a swap area for a disk label. However, neither r118390 nor r118544, which increased the reservation from one to two blocks, correctly accounted for these blocks when updating the variable "swap_pager_avail". This change corrects that error. MFC r319655 Originally, this file could be compiled as a user-space application for testing purposes. However, over the years, various changes to the kernel have broken this feature. This revision applies some fixes to get user- space compilation working again. There are no changes in this revision to code that is used by the kernel. Approved by: re (kib)
| * MFC 319670jpaetzel2017-06-151-0/+4
| | | | | | | | | | | | | | | | Fix SMBFS when saved passwords are greater than 18 character PR: 132302 Submitted by: dhorn2000@gmail.com guru@unixarea.de Approved by: re (gjb)
| * MFC r319954:gjb2017-06-151-6/+6
| | | | | | | | | | | | | | | | Modernize FreeBSD version numbers in freebsd-update(8). While here, expand a contraction to make textproc/igor happy. Approved by: re (kib) Sponsored by: The FreeBSD Foundation
| * MFC r319852:delphij2017-06-151-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix buffer lengths. After r319369, the RPC code validates caller supplied buffer length in taddr2uaddr. When no -h is specified, the sizeof(ai_addr) is used, which is always smaller than the required size and therefore uaddr would be NULL, causing the kernel to copyin() from userland NULL and fail with EFAULT. Approved by: re (kib)
| * MFC r319869:kib2017-06-151-0/+5
| | | | | | | | | | | | Decode recently added flags. Approved by: re (marius)
| * Null pointer must be checked before use. This fixes a regression introducedjkim2017-06-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | in r318716. Note it is a direct commit to stable/11 because head removed support for idle page zeroing in r305362. PR: 219994 Reviewed by: markj Approved by: re (gjb)
| * MFC: 319690dexuan2017-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (marius) r319690 hyperv/pcib: use the device serial number as PCI domain Currently the PCI domain is initialized with the instance GUID in vmbus_pcib_attach(). It turns out the GUID can change across VM reboot, while some users want a persistent value for PCI domain. The solution is that we can change to use the device serial number, which starts with 1 and is unique within a VM. Obtained from: Haiyang Zhang Sponsored by: Microsoft
| * MFC r319825:kib2017-06-141-1/+2
| | | | | | | | | | | | More accurately handle early EFER restoration on resume. Approved by: re (delphij)
| * MFC r307517, r314342, r316357, r317545, r317777:rgrimes2017-06-131-5/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r307517: Typo fixed: arbitraty -> arbitrary. PR: 213559 r314342: bhyve: document virtio-console in the manpage r316357: Minor style improvements in bhyve.8 Replace "as of now" with "at present". As the change is a really minor one, don't bump .Dd. r317545: Document raw framebuffer device and XHCI device configurations. r317777: Improve documentation of fbuf device. Approved by: grehan (mentor) Approved by: re (gjb)
| * MFC r317428 (cognet): fix arm64 MSIemaste2017-06-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | In arm_gicv2m_alloc_msi(), if we found a suitable irq range, leave the loop before we increase irq again, or we'd end up choosing an irq, and then really using the next one, even if it's not available. Also in the inner loop, correct the end check so that we check every irq, even the last one. This makes the msk(4) adapter able to use MSI on Softiron Overdrive 1000. PR: 219956 Approved by: re (gjb)
| * MFC r319610:allanjude2017-06-131-5/+4
| | | | | | | | | | | | | | usr.sbin/sesutil: correct 'locate all off' to deactivate empty slot LEDs PR: 217409 Approved by: re (marius)
| * Document r319884, make(1) version 20170510.gjb2017-06-131-0/+3
| | | | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * Update bmake to 20170510sjg2017-06-1365-636/+2049
| | | | | | | | Approved by: re@
| * MFC r313398:ngie2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (gjb) Apply r274475's to expr.oxout.tab.c to fix the test on FreeBSD YYINT on FreeBSD is int, not short I'll work with the upstream maintainer or come up with a build method of modifying their definitions on install instead of having to modify tests to match our forked YYINT definition. PR: 216891
| * MFC r319571:dchagin2017-06-111-1/+5
| | | | | | | | | | | | | | | | | | | | On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki Approved by: re (kib)
| * MFC r318765:allanjude2017-06-117-12/+47
| | | | | | | | | | | | Allow cpuset_{get,set}affinity in capabilities mode Approved by: re (marius)
| * MFC r319518:kib2017-06-102-0/+6
| | | | | | | | | | | | | | | | | | | | | | Ensure that cached struct thread does not keep spurious td_su reference on an UFS mount point. MFC r319519: Clean possible td_su reference on the struct mount being unmounted as the last step of ffs_unmount(). Approved by: re (gjb)
| * Rename stable/11 from PRERELEASE to BETA1 as part of the 11.1-RELEASEgjb2017-06-081-1/+1
| | | | | | | | | | | | | | cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r317806:glebius2017-06-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nandsim(4) simulator driver doesn't have any protection against races at least in its ioctl handler, and at the same time it creates device entry with 0666 permissions. To plug possible issues in it: - Mark it as needing Giant. - Switch device mode to 0600. Submitted by: C Turt Reviewed by: imp Security: Possible double free in ioctl handler Approved by: re (marius)
| * MFC r318677:glebius2017-06-084-47/+65
| | | | | | | | | | | | | | | | | | Fix regression in ndis(4) after r286410. This adds a bunch of checks for whether this is a Ethernet or 802.11 device and does proper dereferencing. PR: 213237 Submitted by: <ota j.email.ne.jp> Approved by: re (marius)
| * MFC r319621:gjb2017-06-081-1/+1
| | | | | | | | | | | | | | | | | | Ensure ${_CW} is uppercase when passing '-c' to mk-vmimage.sh, otherwise with 'CLOUDWARE=vagrant-virtualbox', the path to the configuration file may be incorrect. Approved by: re (marius) Sponsored by: The FreeBSD Foundation
| * MFC r319473:dim2017-06-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For arm targets, place ABI at the end of the target triple For some reason, we have been inserting the ABI specification into the middle of the target triple, when building LLVM, like so: armv6-gnueabi-freebsd12.0 This is the wrong way around. LLVM even auto-canonicalizes it to: armv6--freebsd12.0-gnueabi Let's do this the right way in llvm.build.mk instead. While here, define a proper VENDOR macro which can be overridden easily. Approved by: re (gjb) Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D10846
| * Currently stable/11 is using custom DTS for beaglebone(-black) while CURRENTmanu2017-06-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | is using the upstream ones from Linux. U-Boot ports have been changed to use the upstream names so 11.1-PRERELEASE doesn't boot. Since we cannot MFC the DTS easily (a lot of drivers would have to be modified) add links on the dts with upstream names. This is a direct commit to stable/11 Approved by: re (marius)
| * MFC r319603, r319608, r319609:gjb2017-06-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Create a hard link for sun7i-a20-cubieboard2.dtb to allow the cubieboard2 to find the correct dtb file. Note: r319608 and r319609 are included, but are no-op changes to the original change, and only included to prevent these commits from showing up on the MFC tracking page. Approved by: re (marius) Sponsored by: The FreeBSD Foundation
| * MFC r318970: Call VLAN_CAPABILITIES() when LAGG capabilities change.mav2017-06-081-0/+5
| | | | | | | | | | | | | | This makes VLAN on top of LAGG to expose proper capabilities if they are changed after creation. Approved by: re (marius)
| * MFC r318966: Improve applying unified capabilities to the lagg ports.mav2017-06-081-11/+24
| | | | | | | | | | | | | | | | Some NICs have some capabilities dependent, so that disabling one require disabling some other (TXCSUM/RXCSUM on em). This code tries to reach the consensus more insistently. Approved by: re (marius)
| * MFC r318907: Remove some code, dead from the day one.mav2017-06-082-25/+0
| | | | | | | | Approved by: re (marius)
| * MFC r319556:tuexen2017-06-073-37/+42
| | | | | | | | | | | | | | | | | | | | | | Fix the ICMP6 handling for TCP. The ICMP6 packets might not be contained in a single mbuf. So don't assume this. Keep the IPv4 and IPv6 code in sync and make explicit that the syncache code only need the TCP sequence number, not the complete TCP header. Approved by: re (marius)
| * MFC r318780:kib2017-06-072-26/+26
| | | | | | | | | | | | Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE. Approved by: re (marius)
| * MFC r318781:kib2017-06-072-1/+142
| | | | | | | | | | | | Add BIT_OR2(), BIT_AND2(), BIT_NAND2(), BIT_XOR() and BIT_XOR2(). Approved by: re (marius)
| * MFC r318998:cy2017-06-061-2/+2
| | | | | | | | | | | | | | | | Fix return value of ip_sync_nat. Previously, regardless of error it always returned a return code of 0. Obtained from: NetBSD ip_sync.c r1.5 Approved by: re (delphij)
| * MFC r319076:trasz2017-06-063-20/+76
| | | | | | | | | | | | | | Declutter rctl(8) by moving kernel build instructions into newly created rctl(4). Approved by: re (gjb)
| * MFC r319075:trasz2017-06-061-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | Random tweaks to rctl(8). This is just wording and formatting fixes. MFC r319432: Use proper capitalization with .Dd. Approved by: re (gjb)
OpenPOWER on IntegriCloud