summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC 273644,273738:jhb2014-11-022-2/+18
| | | | | | | | | Clarify that pthread_cleanup_push()/pop() are implemented as macros that create a new code block and thus must be balanced at the same lexical scope. (This is also a requirement in POSIX.) PR: 194280 Submitted by: dr2867.business@pacbell.net
* MFC r272974,272976:hrs2014-11-022-3/+37
| | | | | | Add ${name}_env and ${name}_prepend. ${name}_env is an argument list which will be passed to env(1). ${name}_prepend is simply prepended to the command line for $command.
* MFC r273026:delphij2014-11-021-0/+5
| | | | | | | | Add a tunable for arc_shrink_shift (vfs.zfs.arc_shrink_shift) that controls how much fraction, 1/2^arc_shrink_shift, should be reclaimed when there is memory pressure. Submitted by: Richard Kojedzinszky <krichy at tvnetwork.hu>
* MFC r273267:delphij2014-11-021-0/+4
| | | | Add tunable vfs.zfs.space_map_blksz for space map's maximum block size.
* MFC r273708: Fix support for LUN flat space addressing.mav2014-11-021-10/+11
|
* MFC r273693: Fix printing non-terminated strings in devlist XML.mav2014-11-022-5/+9
|
* MFC r273687:mav2014-11-022-2/+21
| | | | Add "rpm" and "formfactor" LUN options to match istgt functionality.
* MFC r273640: Add support for 12/16-byte EUI and 16-byte NAA IDs.mav2014-11-021-7/+41
|
* MFC r273075: Remove couple Copan's vendor-specific mode pages.mav2014-11-026-563/+0
| | | | | Those pages are highly system-/hardware-specific, the code is incomplete, and so they hardly can be useful for anybody else.
* MFC r273073: Some groundwork for later Informational Exceptions support.mav2014-11-024-8/+301
| | | | | | | | | | This includes support for: - Read-Write Error Recovery mode page; - Informational Exceptions Control mode page; - Logical Block Provisioning mode page; - LOG SENSE command. No real Informational Exceptions features yet. This is only a placeholder.
* MFC r272409:mav2014-11-021-1/+1
| | | | | | | | Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected. SPC-2 tells REPORT LUNS shall be supported by devices supporting LUNs other then LUN 0. If we see LUN 0 disconnected, guess there may be others, and so REPORT LUNS shall be supported.
* MFC r272406:mav2014-11-021-15/+4
| | | | | Make disconnected LUN 0 don't remain in half-configured state if there are no LUNs on SPC-3 target after we tried REPORT LUNS.
* MFC r272401, r272402: Rework the logic of sequential SCSI LUN scanner.mav2014-11-021-62/+39
| | | | | | | | | | | | | | Previous logic was not differentiating disconnected LUNs and absent targets. That made it to stop scan if LUN 0 was not found for any reason. That made problematic, for example, using iSCSI targets declaring SPC-2 compliance and having no LUN 0 configured. The new logic continues sequential LUN scan if: -- we have more configured LUNs that need recheck; -- this LUN is connected and its SCSI version allows more LUNs; -- this LUN is disconnected, its SCSI version allows more LUNs and we guess they may be connected (we haven't scanned first 8 LUNs yet or kern.cam.cam_srch_hi sysctl is set to scan more).
* MFC r273837:dim2014-11-011-5/+5
| | | | | | | | | Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority value, and use the correct type for the return value of login_getcapnum(). Reviewed by: kib
* MFC r273551:rpaulo2014-11-011-0/+7
| | | | | | | puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P card. Submitted by: Alex Burlyga <alex.burlyga.ietf at gmail.com>
* vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin fontdumbbell2014-10-314-9/+48
| | | | | | | | | | | | | To restore the default font using vidcontrol(1), use the "-f" flag without an argument: vidcontrol -f < /dev/ttyv0 PR: 193910 Differential Revision: https://reviews.freebsd.org/D971 Submitted by: Marcin Cieslak <saper@saper.info> Reviewed by: ray@, emaste@ Approved by: ray@ MFC of: r273544
* MFC 258028:hselasky2014-10-311-1/+1
| | | | | Unbreak build of RSU module. Use the real product name for Edimax rsu(4) id.
* MFC r264801, r264802, r264934, r273181, r273216 and r273252:hselasky2014-10-313-5/+39
| | | | Add more USB IDs.
* MFC r269575, r269576 and r269578:hselasky2014-10-315-3/+22
| | | | | | | | - Add a second Huawei SCSI eject command as USB mode switch config files sometimes use one or the other. Maybe newer Huawei modems switched. - Return USB_ERR_INVAL if the eject method is not known. PR: 145319
* MFC r264923:hselasky2014-10-312-648/+703
| | | | Remove device type from the uftdi_devs table, enhance the jtag-skip feature.
* MFC r269569:hselasky2014-10-314-14/+5
| | | | | | | | Remove unused defines. Fix some device_printf's that were missing '\n' at the end or had spelling errors. PR: 145319
* MFC r271159, r271168 and r271680:hselasky2014-10-3110-1/+459
| | | | Add USB LED driver for the Dream Cheeky WebMail Notifier.
* MFC r273867:hselasky2014-10-311-3/+0
| | | | | | Fix compile warning by removing unused variable. Sponsored by: Mellanox Technologies
* MFC r273593:hselasky2014-10-311-1/+10
| | | | | | | Update the network interface baudrate integer according to the actual line rate. Sponsored by: Mellanox Technologies
* MFC r273159:araujo2014-10-311-2/+14
| | | | | | | | | | | | | | | | Add two sysctl(8) to enable/disable NFSv4 server to check when setting user nobody and/or setting group nogroup as owner of a file or directory. Usually at the client side, if there is an username that is not in the client's passwd database, some clients will send 'nobody@<your.dns.domain>' in the wire and the NFSv4 server will treat it as an ERROR. However, if you have a valid user nobody in your passwd database, the NFSv4 server will treat it as a NFSERR_BADOWNER as its believes the client doesn't has the username mapped. Submitted by: Loic Blot <loic.blot@unix-experience.fr> Reviewed by: rmacklem Approved by: rmacklem Sponsored by: QNAP Systems Inc.
* MFC r272770:ae2014-10-302-1/+2
| | | | | | | | | | | When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Sponsored by: Yandex LLC
* MFC r273733, r273740 and r273773:hselasky2014-10-308-102/+123
| | | | | | | | | | The SYSCTL data pointers can come from userspace and must not be directly accessed. Although this will work on some platforms, it can throw an exception if the pointer is invalid and then panic the kernel. Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure. Sponsored by: Mellanox Technologies
* MFC r266842: netinet/in.h: Expose htonl(), htons(), ntohl() and ntohs() injilles2014-10-291-2/+2
| | | | | | | | | | | | | | | strict POSIX mode. Put the htonl(), htons(), ntohl() and ntohs() declarations under __POSIX_VISIBLE >= 200112. POSIX.1-2001 and newer require these to be exposed from <netinet/in.h> (as well as <arpa/inet.h>). Note that it may be unnecessary to check __POSIX_VISIBLE >= 200112 because older versions of POSIX and the C standard do not define this header. However, other places in the same file already perform the check. PR: 188316 Submitted by: Christian Neukirchen
* MFC r264628: fcntl.h: Make visible various POSIX.1-2008 features.jilles2014-10-291-9/+7
| | | | | | | | Also, remove #if __BSD_VISIBLE where it is redundant. When __BSD_VISIBLE is defined to 1, __POSIX_VISIBLE, __XSI_VISIBLE and __ISO_C_VISIBLE are also defined to the newest supported version. PR: 188173
* MFC r272720, 273061, 273062, 273063, 273064sbruno2014-10-294-3/+198
| | | | | | | | | Implement PLPMTUD blackhole detection (RFC 4821), inspired by code from xnu sources. If we encounter a network where ICMP is blocked the Needs Frag indicator may not propagate back to us. Attempt to downshift the mss once to a preconfigured value. Note, this is turned off by default.
* MFC r271539,273003,273005:nwhitehorn2014-10-2912-69/+248
| | | | | | Add ZFS support to the bsdinstall partition editor and sade Submitted by: Kurt Lidl (original version)
* MFC r273288:andrew2014-10-291-1/+19
| | | | | | | Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel will now find the virtual to physical mapping for libkvm to use at runtime. This makes PHYSADDR redundant, however keep it around to give everyone a chance to update their libkvm.
* MFC r273287:andrew2014-10-291-0/+2
| | | | | Only build the ARM tranpoline when KERNPHYSADDR is defined as it is otherwise unneeded in armv6 kernels.
* MFC r273284:andrew2014-10-293-12/+55
| | | | | | | | | | Allow libkvm to get the kernel va to pa delta without the need for physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR are both undefined. For now libkvm will use the old method of reading physaddr and kernaddr to allow it to work with old kernels. This could be removed in the future when enough time has passed.
* MFC r269956:andrew2014-10-295-6/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From https://sourceware.org/ml/newlib/2014/msg00113.html By Richard Earnshaw at ARM > >GCC has for a number of years provides a set of pre-defined macros for >use with determining the ISA and features of the target during >pre-processing. However, the design was always somewhat cumbersome in >that each new architecture revision created a new define and then >removed the previous one. This meant that it was necessary to keep >updating the support code simply to recognise a new architecture being >added. > >The ACLE specification (ARM C Language Extentions) >(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.swdev/index.html) >provides a much more suitable interface and GCC has supported this >since gcc-4.8. > >This patch makes use of the ACLE pre-defines to map to the internal >feature definitions. To support older versions of GCC a compatibility >header is provided that maps the traditional pre-defines onto the new >ACLE ones. Stop using __FreeBSD_ARCH_armv6__ and switch to __ARM_ARCH >= 6 in the couple of places in tree. clang already implements ACLE. Add a define that says we implement version 1.1, even though the implementation isn't quite complete.
* MFC r272746:ae2014-10-292-20/+75
| | | | | | | | Add an ability to set dumpdev via loader(8) tunable. MFC r272747: Revert r156046. We support setting dumpdev via loader tunable again. Also change default disk name to ada.
* MFC r261271:pluknet2014-10-291-2/+7
| | | | | | | Ressurect the local change documenting authpf's requirement for a mounted fdescfs(5). PR: docs/186250
* MFC: r273704smh2014-10-291-0/+6
| | | | | | Fix CF ERASE breakage caused by 268205. Sponsored by: Multiplay
* MFC r273666.neel2014-10-291-21/+27
| | | | Don't pass the 'error' return from an I/O port handler directly to vm_run().
* MFC r273457: Document sort_io_queue sysctls/tunables.mav2014-10-292-2/+16
|
* MFC r273638:mav2014-10-282-44/+19
| | | | | | | | | | | | | Revert somewhat hackish geom_disk optimization, committed as part of r256880, and the following r273143 commit, supposed to workaround introduced issue by quite innocent-looking change. While there is no clear understanding why, but r273143 is accused in data corruption in some environments with high I/O load. I personally don't see any problem in that commit, and possibly it is just a trigger to some other bug somewhere, but better safe then sorry for now. Requested by: scottl@
* MFC r273370:markj2014-10-281-1/+1
| | | | | Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t translator.
* MFC r273359:yongari2014-10-281-0/+6
| | | | | | | It seems multicast filtering of RTL8168F does not work. Workaround the silicon bug by accepting any multicast packets. PR: 193488
* MFC r263710, r273377, r273378, r273423 and r273455:hselasky2014-10-2774-586/+671
| | | | | | | - De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros. Sponsored by: Mellanox Technologies
* MFC: r266336, r270230 and r273263loos2014-10-272-732/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r266336: Allow us to compile the Ti iic driver for both OMAP4 and AM335x. r270230: Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: . interrupt storm detected on "intr70:"; throttling interrupt source; . Added access serialization on iicbus_transfer(), previously there was no such protection and a new transfer could easily confuse the controller; . Add error checkings (i.e. stop the transfer when a error is detected and do _not_ overwrite the previous error); . On command done interrupt do not assume that the transfer was finished sucessfully as we will receive the command done interrupt even after errors; . Simplify the FIFO handling; . Reset the FIFO between the transfers as the FIFO may contain data from the last (failed) transfer; . Fix the iicbus speed for AM335x, which in turn will make better use of the I2C noise filter (set to one internal clock cycle); . Move the read and write handler to ithread instead of notifying the requesting thread with wakeup(9); . Fix the comments based on OMAP4 TRM. The above changes allows me to read the EDID from my HDMI monitor on BBB with gonzo's patches to support TDA19988 (which does 128 bytes reads) and repeatedly scan the iicbus (with a modified i2c(8)) without lock up the bus. r273263: Fix the chan address for mtx_sleep() on bus wait. Without this fix the threads waiting for the bus would never wake.
* MFC r272733, r272807 and r272822:hselasky2014-10-273-11/+83
| | | | | Add support for disabling USB enumeration or USB port power in general or on selected USB HUBs.
* MFC r273328: Add another PCI ID for JMB368 PATA controller.mav2014-10-272-0/+2
|
* MFC of 273718, tzdata2014iedwin2014-10-2710-942/+1055
| | | | | | | | | | Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK.
* MFC r262626, r262626, r264979, r265154, r265162, r265163, r267319, r270863,ian2014-10-273-21/+20
| | | | | | | | | | | | | | | | | r270991, r271045: Enhancements related to compiling FDT data... - Use proper include path for dtc as well as cpp. - Call cpp with -P to avoid printing line markings. - Allow FDT_DTS_FILE to be a list, either in the makedtb target, or in a kernel config file. - Add the dts include directory to the -I list when doing arm builds. - Invoke make_dtb with MACHINE defined for cross building friendliness. - Allow the make_dtb script to work outside of a "make buildkernel" context by setting MACHINE from uname -m if it's not set already. - Use sh -c '...' to launch the dtb build scripts with env prepended, otherwise it tries to treat the env var stuff as a script file name.
* MFC r271143, r271151: Reimport dts from vendor branch after proper trim.ian2014-10-26186-0/+44037
|
OpenPOWER on IntegriCloud