ƒ¸R266000 150 1160 701 100 330 466 341 420 250 221 221 176 314 226 156 395 395 395 161 161 1150 1322 101 160 148 148 148 153 131 599 174 133 152 194 181 152 152 138 138 138 264 193 193 193 330 330 330 893 281 211 237 759 277 145 776 202 190 190 257 468 290 226 262 228 141 194 326 941 529 172 412 312 154 111 108 899 114 111 114 111 539 242 379 461 1309 2678 539 340 570 152 165 127 143 152 469 178 530 342 730 273 326 410 231 231 1027 268 3076 165 367 397 520 667 417 160 137 166 246 153 150 666 138 180 114 335 335 149 1619 118 240 1217 192 258 113 365 372 162 1198 162 119 111 106 106 111 111 126 268 126 337 435 1652 131 K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T01:53:20.999606Z K 7 svn:log V 1066 MFC r257702, r257745, r257746, r257747, r257751, r257791, r257793, r257794, r257795, r257992 Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring fdtbus in most cases. Make OF_nextprop() work correctly for FDT by using the libfdt fdt_next_property_offset() API. Do not panic if pmap_mincore() is called. An addendum: it is possible, though of questionable utility, for a node to have no properties at all. Add definition for the Atheros 8021 gigabit PHY. Consolidate Apple firmware hacks and improve them by switching on the presence of mac-io devices in the tree, which uniquely identifies Apple hardware. Allow OF_decode_addr() to also be able to map resources on big-endian devices. Make tsec work with the device tree present on the RB800. Be more flexible about which compatible strings to accept. This brings up the PCI Express bus on the RB800 using the firmware device tree. Rename the "bare" platform "mpc85xx", which is what it actually is, and add actual platform probing based on PVR. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T03:09:37.580924Z K 7 svn:log V 608 MFC r258002, r258024, r258027, r258051, r258052, r258243, r258244, r258002, r258024, r258027, r258051, r258052, r258243, Follow up r223485, which made AIM use the ABI thread pointer instead of PCPU fields for curthread, by doing the same to Book-E. Use the same implementation of copyinout.c for both AIM and Book-E. Actually add IOMMU domain to the list of known mappings. Following the approach with ACPI DMAR on x86, split IOMMU handling into a variant PCI bus instead of trying to shoehorn it into the PCI host bridge adapter. Make sure that TLB1 mappings are aligned correctly. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-14T04:02:59.196616Z K 7 svn:log V 9 New deps END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T04:14:58.730762Z K 7 svn:log V 237 MFC r257995, r258244, r258246, Rename the "bare" platform "mpc85xx" Also turn "bare" into a truly bare platform Move CCSR discovery into the platform module There is no reason Book-E needs to save XER and CTR on context switches. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T04:42:38.177750Z K 7 svn:log V 373 MFC r258247, r258250, r258257 Remove a pointless #ifdef AIM. This is just PPC64 specific, including 64-bit Book-E. Make single precision floating point arithmetic actually work Split the function of the PCB_FPU flags into two: PCB_FPU now indicates that the actual FPU is enabled, while PCB_FPREGS indicates that the FPU state structure in the PCB is valid. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T04:57:55.513418Z K 7 svn:log V 248 MFC r258259, r258798, r259010 Unify handling of illegal instruction faults between AIM and Book-E. Make uart_cpu_powerpc work on both FDT and OFW systems. Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for powerpc64. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-14T07:33:06.109177Z K 7 svn:log V 322 Change the USB audio kernel module linking order, so that the USB audio device driver is detached first and not its children. This fixes a panic in some cases when unloading "snd_uaudio" while a USB device is plugged. The linking order affects the order in which the module dependencies are registered. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-14T09:03:02.813946Z K 7 svn:log V 155 Initialize loginclass mutex using MTX_SYSINIT instead of using SI_SUB_CPU. Suggested by: rwatson@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-14T09:12:01.759331Z K 7 svn:log V 128 MFC r265149 Make uninteresting PCI devices with no attached drivers only print out on a verbose boot. Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-14T09:13:33.426257Z K 7 svn:log V 128 MFC r265149 Make uninteresting PCI devices with no attached drivers only print out on a verbose boot. Sponsored by: Multiplay END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-14T11:15:48.103199Z K 7 svn:log V 84 Remove extra newlines. No functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-14T11:25:59.404327Z K 7 svn:log V 216 Make sure the USB audio driver is loaded last. This is important when built as part of a kernel module to prevent panics when the USB audio driver kernel module is unloaded. Suggested by: marius @ MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-14T11:32:15.799441Z K 7 svn:log V 128 Disable configuration of the host frame interval register until further, hence it breaks USB support on some non-RPI platforms. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T13:45:51.448755Z K 7 svn:log V 61 MFC: r255977 (partial) Sweep man pages replacing ad -> ada. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T13:47:50.588714Z K 7 svn:log V 299 MFC: r265454 - Allow foot shooting with the resetconfig command via the -f option. - Fix typos preventing -f to actually work with the create command. - Initialize flags to zero rather than using stack garbage when handling the grow command. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T13:48:02.146244Z K 7 svn:log V 299 MFC: r265454 - Allow foot shooting with the resetconfig command via the -f option. - Fix typos preventing -f to actually work with the create command. - Initialize flags to zero rather than using stack garbage when handling the grow command. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T13:48:29.115772Z K 7 svn:log V 299 MFC: r265454 - Allow foot shooting with the resetconfig command via the -f option. - Fix typos preventing -f to actually work with the create command. - Initialize flags to zero rather than using stack garbage when handling the grow command. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-14T13:54:07.698956Z K 7 svn:log V 64 MFC: r265362 Mention the axge(4) driver in the hardware notes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-14T13:55:14.196875Z K 7 svn:log V 64 MFC: r265362 Mention the axge(4) driver in the hardware notes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T14:08:45.557066Z K 7 svn:log V 1056 MFC r258268, r258271, r258272, r258274, r258275, r258427, r258694, r258696, r258697, r258757 Do not assume a value for #address-cells when parsing the OF translations map. This allows the kernel to get farther with OpenBIOS on 64-bit CPUs. Actually look up #address-cells instead of assuming it is correlated with the Uninorth version number. #interrupt-cells belongs to the iparent, not the device parent. Add a sysctl to allow disabling resetting the OF syscons. For PCI<->PCI bridges, #address-cells may be 3. Make RTAS calls, which call setfault() to recover from machine checks, preserve any existing fault buffer. badaddr() is used only in the grackle PCI driver, so move its definition there. Clean up a spurious setfault() declaration as well. This [phyp_console] driver doesn't need the /options node, so don't check for it. Use the Open Firmware-based CPU frequency determination as a generic fallback if we can't measure CPU frequency. This is also useful on a variety of embedded systems using FDT. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T14:17:51.748034Z K 7 svn:log V 1228 MFC r258800, r258802, r258805, r258806, r258807, r258851, r258857, r259199, r259484, r259513, r259514, r259516 The kernel stack guard pages are only below the stack pointer, not above. Remove unnecessary double-setting of the thread's onfault state in copyinstr(). Open Firmware mandates that certain cross-references, in particular those in /chosen, be ihandles. The ePAPR spec makes those cross-reference phandles, since FDT has no concept of ihandles. Have the OF FDT CI module interpret queries about ihandles as cross-reference phandles. Real OF systems have an ihandle under /chosen/stdout, not a phandle. Use the right type. Rearchitect platform memory map parsing to make it less Open Firmware-centric. Remove fdtbus_bs_tag definition, which is now obsolete. The remainder of this file is also slated for future demolition. Return the correct IEEE 1275 code for "nextprop". Use the common Open Firmware PCI interrupt routing code instead of the duplicate version in dev/fdt. Configure interrupt sense based on device tree information. Simplify the ofw_bus_lookup_imap() API slightly: make it allocate maskbuf internally instead of requiring the caller to allocate it. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-05-14T14:19:57.439328Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T14:37:27.683931Z K 7 svn:log V 68 MFC r259517, r259518 Add vt support for RPi. (No early stage yet.) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:16:02.405980Z K 7 svn:log V 51 MFC r264385: Use proper MFSNAMELEN for fs type. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:17:12.927082Z K 7 svn:log V 51 MFC r264385: Use proper MFSNAMELEN for fs type. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:19:52.366400Z K 7 svn:log V 51 MFC r264385: Use proper MFSNAMELEN for fs type. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:21:27.472553Z K 7 svn:log V 56 MFC r264795: Fix grammar error and trailing newline. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:22:08.925270Z K 7 svn:log V 34 Add missing mergeinfo for r266026 END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T15:22:42.977118Z K 7 svn:log V 503 MFC: r204665 - Make function of finding an available drive name a macro. - Move check of /dev/ prefix and copy into a function to save code duplication. This also fixes a bug where the /dev/ prefix could not be used when creating volumes on the command line. MFC: r209051 Initialize variables before usage. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 7736, 7760) MFC: r215704 Fix some more warnings found by clang. MFC: r229915 Fix warning when compiling with gcc46. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:23:06.439768Z K 7 svn:log V 77 MFC r264465: Prefer /etc/login.conf for some of these environment values. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:24:25.136941Z K 7 svn:log V 36 MFC r264918: Fix spelling error. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:30:49.512402Z K 7 svn:log V 55 MFC r264499: Make g_access() KASSERT() more useful. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-14T15:31:16.817913Z K 7 svn:log V 101 Document r265876, power management bug with Intel Turbo Boost. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-14T15:31:18.544579Z K 7 svn:log V 89 Document r265995, Blowfish crypt(3) format change. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:32:50.236593Z K 7 svn:log V 55 MFC r264499: Make g_access() KASSERT() more useful. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:33:51.767802Z K 7 svn:log V 55 MFC r264499: Make g_access() KASSERT() more useful. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:35:01.769510Z K 7 svn:log V 41 MFC r265072: Remove redundant include END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:35:51.107774Z K 7 svn:log V 41 MFC r265072: Remove redundant include END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-14T15:36:23.698057Z K 7 svn:log V 41 MFC r265072: Remove redundant include END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-14T15:46:07.146347Z K 7 svn:log V 168 Give output formats a chance to (re-)size the image before the scheme adds the partitioning metadata. This is needed by VMDK to round the image size to the grain size. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T15:52:26.559438Z K 7 svn:log V 98 MFC: r256561 Prevent an unlikely, but real double free issue in gvinum(8). Coverity ID: 1018965 END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T15:52:36.722403Z K 7 svn:log V 98 MFC: r256561 Prevent an unlikely, but real double free issue in gvinum(8). Coverity ID: 1018965 END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T16:16:23.065730Z K 7 svn:log V 98 MFC: r256561 Prevent an unlikely, but real double free issue in gvinum(8). Coverity ID: 1018965 END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T16:18:08.090810Z K 7 svn:log V 234 MFC: r265535 - Sprinkle const and static as appropriate. - Fix whitespace bugs. - Remove pointless returns in void functions. - Nuke pointless switch cases mirroring the default. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T16:18:19.731093Z K 7 svn:log V 234 MFC: r265535 - Sprinkle const and static as appropriate. - Fix whitespace bugs. - Remove pointless returns in void functions. - Nuke pointless switch cases mirroring the default. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-14T16:18:26.201409Z K 7 svn:log V 234 MFC: r265535 - Sprinkle const and static as appropriate. - Fix whitespace bugs. - Remove pointless returns in void functions. - Nuke pointless switch cases mirroring the default. Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T16:32:27.430897Z K 7 svn:log V 800 MFC r257170, r257171, r257172, r257240, r257278, r257279, r257280, r257281, r257282, r257332 Wait for DesignWare UART transfers completion before accessing line control Enable UART busy detection handling for Armada XP - based board Enable SATA interface on Armada XP Run mvs SATA driver on Armada XP instead of old mv_sata Retire arm_remap_nocache() and the data and constants associated with it. Remove hard-coded mappings related to Armada XP support Fix-up DTB for Armada XP registers' base according to the actual settings Change Armada XP kernel load address to the u-boot's end address Remove not working and deprecated PJ4Bv6 support Switch off explicit broadcasting of the TLB flush operations for PJ4B CPU Add missing ARMv6 CPU functions to ARM Makefile END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T16:57:08.046828Z K 7 svn:log V 185 MFC r256556 Remove a buggy comparision when setting manually the path MTU. After fixing, the comparision would have become redundant. Thanks to Andrew Galante for reporting the issue. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T16:59:32.399529Z K 7 svn:log V 115 MFC r257272: Fix compilation if SCTP_DONT_DO_PRIVADDR_SCOPE is defined. The issue was reported by Andrew Galante. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:01:31.710737Z K 7 svn:log V 141 MFC r257274: Fis the value of *optlen when calling getsockopt() for SCTP_REMOTE_UDP_ENCAPS_PORT. This issue was reported by Andrew Galante. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T17:01:35.078974Z K 7 svn:log V 666 MFC r256707, r256708, r257291, r258358 Switch to use WBWA mappings for page tables on armv6, this is needed for SMP. Fix PTE_SYNC() for PIPT L2 caches, using the virtual address wasn't so useful. Use PTE_SYNC() for >= armv6 Spell cpu_l2cache_wb_range correctly. Fix condition that determines PMAP_NEEDS_PTE_SYNC value for ARM Use values of the correct defines to determine statement's result. ARM_ARCH_ symbols are always defined, hence only values are relevant. Avoid clearing EXEC permission bit when setting the page RW on ARMv6/v7 When emulating modified bit the executable attribute was cleared by mistake when calling pmap_set_prot(). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-14T17:04:02.453431Z K 7 svn:log V 179 Implement USB device side driver code for SAF1761 and compatible chips, based on datasheet and existing USS820 DCI driver. This code is not yet tested. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:07:14.888575Z K 7 svn:log V 50 MFC r257359: Terminate a debug output with a \n. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-14T17:11:57.307990Z K 7 svn:log V 683 Use the new -d option that was added to tblgen between llvm/clang 3.3 and 3.4 to generate dependency files for the '.inc.h' files generated from .td files, and .sinclude those dependency files in clang.build.mk. This will make future incremental builds of lib/clang and usr.bin/clang work correctly, whenever any of the .td files get modified. Note that this will not fix any problems with incremental builds from *before* this revision, since there will not yet be any generated dependency files. A quick workaround is to run the following: find /usr/obj -type f -name '*.inc.h' | xargs rm and then a regular incremental buildworld (e.g. with -DNO_CLEAN). MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:16:49.004971Z K 7 svn:log V 106 MFC r257555: Changes from upstream to improve compilation when INET or INET6 or none of them is defined. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:19:42.547919Z K 7 svn:log V 95 MFC r257574: Unlock the lock before destroying it. This issue was reported by Andrew Galante. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:26:06.322664Z K 7 svn:log V 95 MFC r257800: Use htons()/ntohs() appropriately. These issues were reported by Andrew Galante. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:28:49.637207Z K 7 svn:log V 161 MFC r257803: Make sure that we don't try to build an ASCONF-ACK chunk larger than what fits in the the mbuf cluster. This issue was reported by Andrew Galante. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T17:40:18.848796Z K 7 svn:log V 375 MFC r258359, r258742, r258845, r259936, r259640 Apply access flags for managed and unmanaged pages properly on ARMv6/v7 Set the PGA_WRITEABLE flag when the protections indicate write access, not just when the current access is a write. Enable missing Access Flag for secondary cores on ARMv6/v7 Add identification and necessary type checks for Krait CPU cores. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T17:43:49.737602Z K 7 svn:log V 197 MFC r260118 Delete echoed doesn't rub out the previous character, so always use instead. This fixes hitting DELETE instead of BACKSPACE at mountroot> prompt. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T17:45:10.770969Z K 7 svn:log V 130 MFC r257804: Get rid of the artification limitation enforced by SCTP_AUTH_RANDOM_SIZE_MAX. This was suggested by Andrew Galante. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:01:44.589520Z K 7 svn:log V 166 MFC r258221: Cleanups which result in fixes which have been made upstream and where partially suggested by Andrew Galante. There is no functional change in FreeBSD. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:12:42.107802Z K 7 svn:log V 132 MFC r258224: When determining if an address belongs to an stcb, take the address family into account for wildcard bound endpoints. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:14:17.208559Z K 7 svn:log V 46 MFC r258228: Remove a stray write operation. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:15:55.129810Z K 7 svn:log V 99 MFC r258235: Use SCTP_PR_SCTP_TTL when the user provides a positive timetolive in sctp_sendmsg(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T18:16:32.759355Z K 7 svn:log V 233 MFC r260092, r260093, r260121, r260180, Allow AT91_MCI_ALLOW_OVERCLOCK to be an option in kernel config files. Set the SoC name for the atmelbus name. Add support for Samsung K9F2G08U0A (256MiB SLC) NAND Comment updates. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:18:16.407881Z K 7 svn:log V 845 MFC r258574 from rodrigc@ Only initialize some mutexes for the default VNET. In r208160, sctp_it_ctl was made a global variable, across all VNETs. However, sctp_init() is called for every VNET that is created. This results in the same global mutexes which are part of sctp_it_ctl being initialized. This can result in crashes if many jails are created. To reproduce the problem: (1) Take a GENERIC kernel config, and add options for: VIMAGE, WITNESS, INVARIANTS. (2) Run this command in a loop: jail -l -u root -c path=/ name=foo persist vnet && jexec foo ifconfig lo0 127.0.0.1/8 && jail -r foo (see http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html ) Witness will warn about the same mutex being initialized. Fix the problem by only initializing these mutexes in the default VNET. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:20:35.778404Z K 7 svn:log V 433 MFC r258765: In http://svnweb.freebsd.org/changeset/base/258221 I introduced a bug which initialized global locks whenever the SCTP stack initialized. This was fixed in http://svnweb.freebsd.org/changeset/base/258574 by rodrigc@. He just initialized the locks for the default vnet. This fix reverts to the old behaviour before r258221, which explicitly makes sure it is only called once, because this works also on other platforms. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:22:11.277119Z K 7 svn:log V 77 MFC r259943: Address some warnings which showed up on the userland version. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:23:57.451855Z K 7 svn:log V 316 MFC r260257: Fix several bugs in sctp_bindx(): * Set errno to EAFNOSUPPORT if an address is provided which is neither AF_INET nor AF_INET6. * Don't modify the arguments. * Don't smash the stack when provided with a non-zero port. * Handle the case correctly where the first address provided is an IPv6 address. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T18:25:13.335181Z K 7 svn:log V 219 MFC r260161, r260163, r260165, r260166, r260189 Add polarity and level support to ARM GIC Do not attach to PCI bridges in AHCI driver Use only mapped BIOs on ARM Fix race condition in DELAY for SP804 timer. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:25:50.020876Z K 7 svn:log V 59 MFC r262252: Remove redundant code and fix a style error. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:41:34.535428Z K 7 svn:log V 19 import ldns 1.6.17 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:41:59.272190Z K 7 svn:log V 16 tag ldns 1.6.17 END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-05-14T18:43:13.979550Z K 7 svn:log V 805 Move old fmake tests into bmake and hook them to the build. This first step is mostly to prevent the code from rotting even further and to ensure these do not get wiped when fmake's code is removed from the tree. These tests are currently being skipped because they detect the underlying make is not fmake and thus disable themselves -- and the reason is that some of the tests fail, possibly due to legitimate bugs. Enabling them to run against bmake will come separately. Lastly, it would be ideal if these tests were fed upstream but they are not ready for that yet. In the interim, just put them under usr.bin/bmake/ while we sort things out. The existence of a different unit-tests directory within here makes me feel less guilty about this. Change confirmed working with a clean amd64 build. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:43:20.012151Z K 7 svn:log V 22 import unbound 1.4.21 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:43:47.457805Z K 7 svn:log V 19 tag unbound 1.4.21 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:44:22.864776Z K 7 svn:log V 22 import unbound 1.4.22 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-14T18:44:38.706086Z K 7 svn:log V 19 tag unbound 1.4.22 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T18:54:34.458441Z K 7 svn:log V 446 MFC r260281, r260282, r260283, r260285 Implement OFW_BUS_MAP_INTR() in terms of the FDT PIC table Reimplement fdt_intr_to_rl() in terms of OFW_BUS_MAP_INTR() and OFW_BUS_CONFIG_INTR(). Use bus_space_map() rather than pmap_mapdev() in nexus_activate_resource(), when running on FDT systems. Unmap memory in nexus_deactivate_resource(). Remove fdt_pic_table code from MIPS, PowerPC, and x86, as it is no longer used by anything. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T18:57:09.057290Z K 7 svn:log V 146 MFC r263094: SCTP uses CRC32C and not Adler anymore. While there change the reference to RFC 4960. This does not change any code, just comments. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-14T19:00:01.982563Z K 7 svn:log V 283 MFC r263096: Put the offset of the CRC32C in csum_data instead of 0. The virtio driver needs the offset to be stored in csum_data, like in the case for UDP and TCP. The virtio problem was reported by Niu Zhixiong , who helped in debugging and testing the patch. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-14T19:02:00.552486Z K 7 svn:log V 366 Bind ip/tcp/udp provider translators and symbols to the same versions as in illumos, rather than using "1.0" everywhere. Some of the translators use D functions that are not present in version 1.0 (e.g. inet_ntoa()) which can result in libdtrace crashing when running scripts that restrict themselves to version 1.0 (e.g. with "-x version=1.0"). MFC after: 1 week END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-14T19:11:15.345940Z K 7 svn:log V 1213 Give suitably-endowed ARMs a register similar to the x86 TSC register. Here, "suitably endowed" means that the System Control Coprocessor (#15) has Performance Monitoring Registers, including a CCNT (Cycle Count) register. The CCNT register is used in a way similar to the TSC register in x86 processors by the get_cyclecount(9) function. The entropy-harvesting thread is a heavy user of this function, and will benefit from not having to call binuptime(9) instead. One problem with the CCNT register is that it is 32-bit only, so the upper 32-bits of the returned number are always 0. The entropy harvester does not care, but in case any one else does, follow-up work may include an interrup trap to increment an upper-32-bit counter on CCNT overflow. Another problem is that the CCNT register is not readable in user-mode code; in can be made readable by userland, but then it is also writable, and so is a good chunk of the PMU system. For that reason, the CCNT is not enabled for user-mode access in this commit. Like the x86, there is one CCNT per core, so they don't all run in perfect sync. Reviewed by: ian@ (an earlier version) Tested by: ian@ (same earlier version) Committed from: WANDBOARD-QUAD END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T19:18:58.671048Z K 7 svn:log V 2584 MFC r257738, r259202, r258410, r260288, r260292, r260294, r260320, r260323, r260326, r260327, r260331, r260333, r260340, r260371, r260372, r260373, r260374, r260375 Add common bus_space tag definition shared for most supported ARMv6/v7 SoCs. Correct license statements to reflect the fact that these files were all derived from sys/arm/mv/bus_space.c. In pmap_unmapdev(), remember the size, and use that as an argument to kva_free(), or we'd end up always passing it a size of 0 In pmap_mapdev(), first check whether a static mapping exists, Convert TI static device mapping to use the new arm_devmap_add_entry(), Use the common armv6 fdt_bus_tag defintion for tegra instead of a local copy. Eliminate use of fdt_immr_addr(), it's not needed for tegra Convert lpc from using fdt_immr style to arm_devmap_add_entry() to make static device mappings. Retire machine/fdt.h as a header used by MI code, as its function is now obsolete. This involves the following pieces: - Remove it entirely on PowerPC, where it is not used by MD code either - Remove all references to machine/fdt.h in non-architecture-specific code (aside from uart_cpu_fdt.c, shared by ARM and MIPS, and so is somewhat non-arch-specific). - Fix code relying on header pollution from machine/fdt.h includes - Legacy fdtbus.c (still used on x86 FDT systems) now passes resource requests to its parent (nexus). This allows x86 FDT devices to allocate both memory and IO requests and removes the last notionally MI use of fdtbus_bs_tag. - On those architectures that retain a machine/fdt.h, unused bits like FDT_MAP_IRQ and FDT_INTR_MAX have been removed. Add #include to a few files that used to get it via pollution Enable the mv cesa security/crypto device by providing the required property in the dts source, and adding the right devices to the kernel config. Remove dev/fdt/fdt_pci.c, which was code specific to Marvell ARM SoCs, related to setting up static device mappings. Since it was only used by arm/mv/mv_pci.c, it's now just static functions within that file, plus one public function that gets called only from arm/mv/mv_machdep.c. Switch RPi to using arm_devmap_add_entry() to set up static device mapping. Allow 'no static device mappings' to potentially work. Don't try to find a static mapping before calling pmap_mapdev(), that logic is now part of pmap_mapdev() and doesn't need to be duplicated here. Switch a10 to using arm_devmap_add_entry() to set up static device mapping. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:11:20.255674Z K 7 svn:log V 446 MFC r256839, r256948, r256950, r257299, r257414, r258057, r259090 Add configuration for the Freescale i.MX53 Quick Start Board. Add the Raspberry Pi BSC (I2C compliant) controller driver. Add Radxa Rock board (by radxa.com) support. Digi-CCWMX53: enable ffec and uart, USB. Add support for Freescale Vybrid Family VF600 Move and rename dwc otg driver to more generic one as it appears to work for rk3188 SoC based board too. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:17:31.558874Z K 7 svn:log V 247 MFC r260440, r260441, r260447, r260490, r260493 Add option USB_HOST_ALIGN to configs that contain 'device usb'. Update dts files of Cubieboard1,2 to use 1GB memory. Add a function to print the contents of the static device mapping table, END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:31:54.358546Z K 7 svn:log V 477 MFC r260695, r260696, r260884, r260885, r260886, r260887 Provide a simplified way to specify GPIO pins for the Atmel port. Add at91 data so we can convert a PIO unit number into a base address. Add at91 standard memory controller helper functions. Generalize AT91 NAND support a bit. Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201. Add nand device and NANDFS into the mix for those at91 boards that have support for it at the moment. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:38:05.358401Z K 7 svn:log V 60 MFC r259728, r260752 Add Freescale i.MX515 vt(9) driver. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:47:51.665121Z K 7 svn:log V 73 MFC r260893: Free dma memory from the dma map before destroying the map. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T20:49:10.346214Z K 7 svn:log V 35 MFC r260921: Add nand to arm NOTES END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-05-14T21:45:16.594806Z K 7 svn:log V 48 Connect vt.4 to the build. Reviewed by: emaste END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-14T21:54:14.626996Z K 7 svn:log V 59 gpioiic.4 and gpioled.4 will first appear in 10.1-RELEASE. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-14T22:24:09.968323Z K 7 svn:log V 375 Increase the TSS limit by one byte. The processor requires an additional byte with all bits set to 1 beyond the I/O permission bitmap. Prior to this change accessing I/O ports [0xFFF8-0xFFFF] would trigger a #GP fault even though the I/O bitmap allowed access to those ports. For more details see section "I/O Permission Bit Map" in the Intel SDM, Vol 1. Reviewed by: kib END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T22:52:16.271408Z K 7 svn:log V 86 MFC r261038, r261039, r261040, r261041 Implement generic support for early printf. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T23:17:33.652345Z K 7 svn:log V 437 MFC r261083, r261092, r261126, r261127, r261128, r261129, r261130, r261131 Add Atmel serial drivers. uart clock-frequency is a FreeBSD-specific extention. Make it optional and allow the client uart drivers to decide if a frequency is required. Remove redundant declaration for uart devclass. Commit some unrelated, but harmless, FDT ifdefs. Add at91 NAND support, Fix comment. Remove obsolete options and fix comments END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-14T23:33:38.123288Z K 7 svn:log V 248 MFC r258044, r258679, r263990 Adds gpioiic.4 and gpioled.4 man pages. Moves some of the information that was previously available on gpio.4 to their respectives pages. Add the cross references on gpioctl.8. Add gpiobus(4) as a link to gpio(4). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T23:51:07.425707Z K 7 svn:log V 637 MFC r260886, r261165, r261171, r261172, r261214 Fix gcc with -Wstrict-prototypes by telling it bi_emac takes no parameters. Bus space handles need to be the VA of the requested resource, not the rounded page VA. Correct so the DBGU device can be mapped for FDT console since it isn't on a page boundary. Make early printf output nicer by inserting a carriage return before any linefeeds that are output. Before resetting the USART, delay a bit to allow the transmitter to finish the current character to drain to avoid glitching. Also, simplify the code a smidge. Remove extra parens to silence clang warning. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T23:57:07.945624Z K 7 svn:log V 180 MFC r258209, r258210, r261211, Add a driver for the Texas Instruments Mailbox hardware. Add a driver for the TI Programmable Realtime Unit Subsystem. fix args to mtx_init END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T00:24:49.623976Z K 7 svn:log V 230 Commit rough but working code: o The VMDK image can be queried and comverted by qemu-img o VMware Fusion finds no errors when recovering using 'vmware-vdiskmanager -R' and the disk can be added to any vortual machine. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T00:48:05.670798Z K 7 svn:log V 314 Have the format resize twice. The first time is before we call scheme_write(). The second time is immediately before we call the format's write function. The first call is needed to have the scheme know the right image size. The second call is needed to compensate for the scheme adjusting the size while writing. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-15T00:50:57.667695Z K 7 svn:log V 136 MFC r262665: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-15T00:52:17.688852Z K 7 svn:log V 136 MFC r262665: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-15T01:06:27.962356Z K 7 svn:log V 931 Update dis_tables.c to the latest Illumos version. This includes decodes of recent Intel instructions, in particular VT-x and related instructions. This allows the FBT provider to locate the exit points of routines that include these new instructions. Illumos issues: 3414 Need a new word of AT_SUN_HWCAP bits 3415 Add isainfo support for f16c and rdrand 3416 Need disassembler support for rdrand and f16c 3413 isainfo -v overflows 80 columns 3417 mdb disassembler confuses rdtscp for invlpg 1518 dis should support AMD SVM/AMD-V/Pacifica instructions 1096 i386 disassembler should understand complex nops 1362 add kvmstat for monitoring of KVM statistics 1363 add vmregs[] variable to DTrace 1364 need disassembler support for VMX instructions 1365 mdb needs 16-bit disassembler support This corresponds to Illumos-gate (github) version eb23829ff08a873c612ac45d191d559394b4b408 Reviewed by: markj MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-15T01:27:24.970223Z K 7 svn:log V 175 Undo changes to the generated Makefile. Move tests directory to proper location, including updating the test to work in the more-fragile fmake -> bmake bootstrap environment. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-15T01:27:53.999556Z K 7 svn:log V 2981 MFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843, r261844, r261845, r261846, r262194, r262522, r262559 r258046: Fix a typo on a comment in ofw_bus_if.m, the default method will return -1 when a node doesn't exist. r258047: Move the KASSERT() check to the point before the increase of number of pins. r258050: Fix gpiobus to return BUS_PROBE_GENERIC insted of BUS_PROBE_SPECIFIC (0) so it can be overriden by its OFW/FDT version. Give a chance for GPIO devices that implement the device_identify method to attach. r259035: Remove unnecessary includes and an unused softc variable. While here apply two minor style(9) fixes. r259036: Move the GPIOBUS_SET_PINFLAGS(..., ..., pin, GPIO_PIN_OUTPUT) to led(4) control callback function. This makes gpioled(4) works even if the pin is accidentally set to an input. r259037: Fix the pin value reading on AM335x. Because of the inverted logic it was always returning '0' for all the reads, even for the outputs. It is now known to work with gpioiic(4) and gpioled(4). r261842: Add an OFW GPIO compatible bus. This allows the use of the DTS files to describe GPIO bindings in the system. Move the GPIOBUS lock macros to gpiobusvar.h as they are now shared between the OFW and the non OFW versions of GPIO bus. Export gpiobus_print_pins() so it can also be used on the OFW GPIO bus. r261843: Add OFW support to the in tree gpio compatible devices: gpioiic(4) and gpioled(4). Tested on RPi and BBB (using the hardware I2C controller and gpioiic(4) for the I2C tests). It was also verified for regressions on RSPRO (MIPS/ar71xx) used as reference for a non OFW-based system. Update the gpioled(4) and gpioiic(4) man pages with some details and examples about the FDT/OFW support. Some compatibility details pointed out by imp@ will follow in subsequent commits. r261844: Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems. This change makes ofw_iicbus attach to iicbb(4) controllers in addition to the already supported i2c host bridges (iichb). On iicbb(4) allow the direct access of the OFW parent node by its children, so they can be directly attached to iicbb(4) node on the DTS without the need of describing the i2c bus. r261845: Allow the use of the OFW GPIO bus for ti_gpio and bcm2835_gpio. With this change the gpio children can be described as directly connected to the GPIO controller without the need of describing the OFW GPIO bus itself on the DTS file. With this commit the OFW GPIO bus is fully functional on BBB and RPi. GPIO controllers which want to use the OFW GPIO bus will need similar changes. r261846: Make the gpioled(4) work out of the box on BBB. Add gpioled(4) to BEAGLEBONE kernel and add the description of the four on-board leds of beaglebone-black to its DTS file. r262194: Remove an unnecessary header. r262522: Fix make depend for iicbus. r262559: Inspired by r262522, fix make depend. This fixes the build of gpio modules. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-15T01:37:17.080145Z K 7 svn:log V 72 MFC r266092 gpioiic.4 and gpioled.4 will first appear in 10.1-RELEASE. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2014-05-15T02:27:10.863895Z K 7 svn:log V 270 Here is a patch for the bsdinstall root-on-zfs stuff that adds optional encryption for swap, and optional gmirror for swap (which can be combined) Submitted by: Allan Jude Requested By: roberto Sponsored By: ScaleEngine Inc. MFC after: 2 weeks END K 10 svn:author V 7 roberto K 8 svn:date V 27 2014-05-15T02:31:02.541898Z K 7 svn:log V 300 Updates to the datasets created by zfsboot. Set compress=lz4 for the entire pool, removing it from the individual datasets Remove exec=no from /usr/src, breaks the test suite. Submitted by: Allan Jude Reviewed by: roberto MFC after: 2 weeks Sponsored by: ScaleEngine Inc. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2014-05-15T02:37:59.424355Z K 7 svn:log V 423 Fix the "disks" variable reuse. It starts off being used to track the grammar for the number of disks (singular vs plural) and then it is reused as the list of available disks. Replace the variable with disks_grammar and move 'disk' and 'disks' to msg_ vars so they can be translated in the future. Submitted by: Allan Jude Reviewed by: roberto MFC after: 2 weeks Sponsored by: ScaleEngine Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T02:41:23.189126Z K 7 svn:log V 574 MFC r261252, r261279, r261304, r261305, r261322, r261336, r261337, r261338, r261353 Fix the name of the dts file for the HL201... When mapping an address, the bsh needs the same offset we do for other things. Add explicit depends on bus_if.h and device_if.h to avoid a chicken and egg problem in some compilation environments. Switch to using PAs rather than VAs for the addresses we map for devices. This is a nop, except for what's reported by atmelbus for the resources. Comment cleanups. Move things around for diff reduction against FDT work. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-15T03:08:20.409737Z K 7 svn:log V 322 Fix typo. Note that although this file is under contrib, it has diverged sufficiently from upstream (including a full whitespace commit and large portions rewritten) that this change does not move us further from the upstream. PR: docs/186608 Submitted by: Jamie Landeg-Jones MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T03:18:22.252830Z K 7 svn:log V 65 As it appears the image must be rounded to the nearest megabyte, END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T03:22:57.957791Z K 7 svn:log V 45 MFC r258546: Add watchdog driver for rk3188. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T03:30:03.977021Z K 7 svn:log V 74 Upgrade to latest ldns (1.6.17) and unbound (1.4.22). MFC after: 3 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-15T03:47:52.028156Z K 7 svn:log V 150 Add a new target cscope-hook. This adds a Mercurial hook to automatically update the cscope data base every time you pull, switch branch, or update. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-05-15T04:18:06.947934Z K 7 svn:log V 56 A page mask size is 12-bits, not 11. MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-15T05:35:00.775659Z K 7 svn:log V 55 units(1): Fix minor typos Obtained From: DragonflyBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-15T09:55:21.982643Z K 7 svn:log V 570 Revert the following MFCs done as part of r265147: r249438, r249466, r249481, r250025, r253958 leaving the MFCs of r241028 and r241444 in place. While the CAM queuing changes in question are pretty much self-contained and work fine with all kinds of SAS, SATA and USB devices, for reasons unknown they cause a hang with Initio INIC-1610P USB disks not seen with later branches containing these rewrites. In turn, r241444 actually is sufficient to fix the panic and problems I was seeing and that lead me to bringing CAM queuing up to date. Reported by: Scott Allendorf END K 10 svn:author V 2 br K 8 svn:date V 27 2014-05-15T10:06:59.776782Z K 7 svn:log V 47 Fix return value. Should be logic one or zero. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-05-15T11:21:38.557036Z K 7 svn:log V 87 Add project name to the arc config it is still required when arcanist is used with SVN END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-05-15T11:30:17.305544Z K 7 svn:log V 21 Add the missing coma END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-15T12:39:28.095822Z K 7 svn:log V 242 MFC r264850 Add the ability to set a minimum ashift size for ZFS pool creation or root level vdev addition. Change max_auto_ashift sysctl to error when an invalid value is requested instead of silently limiting it. Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-15T12:44:00.154584Z K 7 svn:log V 242 MFC r264850 Add the ability to set a minimum ashift size for ZFS pool creation or root level vdev addition. Change max_auto_ashift sysctl to error when an invalid value is requested instead of silently limiting it. Sponsored by: Multiplay END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T14:01:34.142240Z K 7 svn:log V 54 Check allocation errors and free memory we allocated. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-15T14:16:55.364788Z K 7 svn:log V 1525 Implement a PCI interrupt router to route PCI legacy INTx interrupts to the legacy 8259A PICs. - Implement an ICH-comptabile PCI interrupt router on the lpc device with 8 steerable pins configured via config space access to byte-wide registers at 0x60-63 and 0x68-6b. - For each configured PCI INTx interrupt, route it to both an I/O APIC pin and a PCI interrupt router pin. When a PCI INTx interrupt is asserted, ensure that both pins are asserted. - Provide an initial routing of PCI interrupt router (PIRQ) pins to 8259A pins (ISA IRQs) and initialize the interrupt line config register for the corresponding PCI function with the ISA IRQ as this matches existing hardware. - Add a global _PIC method for OSPM to select the desired interrupt routing configuration. - Update the _PRT methods for PCI bridges to provide both APIC and legacy PRT tables and return the appropriate table based on the configured routing configuration. Note that if the lpc device is not configured, no routing information is provided. - When the lpc device is enabled, provide ACPI PCI link devices corresponding to each PIRQ pin. - Add a VMM ioctl to adjust the trigger mode (edge vs level) for 8259A pins via the ELCR. - Mark the power management SCI as level triggered. - Don't hardcode the number of elements in Packages in the source for the DSDT. iasl(8) will fill in the actual number of elements, and this makes it simpler to generate a Package with a variable number of elements. Reviewed by: tycho END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T14:20:27.249614Z K 7 svn:log V 26 Unbreak the history file. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-05-15T14:23:36.037463Z K 7 svn:log V 143 Fix style bugs: o Remove added white lines and add trimmed ones o Fix description of functions o Sort headers o Use consistently MAXMEMDOM > 1 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T14:26:11.859714Z K 7 svn:log V 1123 MFC r261351, r261352, r261355, r261396, r261397, r261398, r261403, r261404, r261405 Open Firmware interrupt specifiers can consist of arbitrary-length byte strings and include arbitrary information (IRQ line/domain/sense). When the ofw_bus_map_intr() API was introduced, it assumed that, as on most systems, these were either 1 cell, containing an interrupt line, or 2, containing a line number plus a sense code. It turns out a non-negligible number of ARM systems use 3 (or even 4!) cells for interrupts, so make this more general. Provide a simpler and more standards-compliant simplebus implementation to get the Routerboard 800 up and running with the vendor device tree. This does not implement some BERI-specific features (which hopefully won't be necessary soon), so move the old code to mips/beri, with a higher attach priority when built, until MIPS interrupt domain support is rearranged. Allow nesting of simplebuses. Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) to process "status" properties of OF nodes. Fix one remnant endian flaw in nexus. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T14:37:35.752558Z K 7 svn:log V 97 Give sparse_write() the same prototype as write(2) as it's supposed to be a drop-in replacement. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T14:37:52.463314Z K 7 svn:log V 165 MFC r261215, r261257 Merge from vendor branch importing dtc git rev 6a15eb2350426d285130e4c9d84c0bdb6575547a Don't build BSDL dtc if the GPL dtc is enabled. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-05-15T14:44:16.718250Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T14:48:25.440646Z K 7 svn:log V 269 Replace unchecked calls to write(2) and lseek(2) with calls to sparse_write() and make sure to check for errors. In particular, lseek(2) may not be possible (e.g. the output file is stdout) and sparse_write(2) will do what is optimal (i.e. use lseek(2) when possible). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T15:02:48.855816Z K 7 svn:log V 279 MFC r257207, r261161, r261163: Update the hard-float version of the fenv functions to use the VFP unit. Any other floating-point unit is unsupported on ARM. Use __fenv_static for all static inline functions. Correctly shift the mask when masking/unmasking exceptions. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T15:14:37.733127Z K 7 svn:log V 67 Mention -f vmdk and the VMDK output format in the example section. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-15T15:15:23.389802Z K 7 svn:log V 1103 MFC r265012, r265191, r265289, r265310 r265012: Fix the gpio-specifier decoding by respecting the GPIO controller's #gpio-cells property. Add a new ofw_bus method (OFW_BUS_MAP_GPIOS()) that allows the GPIO controller to implement its own mapping to deal with gpio-specifiers, allowing the decoding of gpio-specifiers to be controller specific. The default ofw_bus_map_gpios() decodes the linux standard (#gpio-cells = <2>) and the FreeBSD standard (#gpio-cells = <3>). It pass the gpio-specifier flag field to the children as an ivar variable so they can act upon. r265191: Remove unnecessary headers. Sort out the headers. Add a missing header on ofw_gpiobus.c (it was working because of sys/libkern.h). r265289: eally sort out the headers. sys/systm.h must always come after sys/param.h. Remove sys/types.h which should never be included together with sys/param.h. Add sys/malloc.h for correctness even if it seems to don't be needed. Remove more unused headers found by unusedinc (from bde@). r265310: Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus specific parts. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-05-15T15:17:44.691453Z K 7 svn:log V 65 oea64 uses 4k pages, too. MFC after: 1 week X-MFC-with: r266116 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-15T15:20:43.658915Z K 7 svn:log V 24 Compile on x86 (ILP32). END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:22:32.801242Z K 7 svn:log V 19 Remove dead files. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:26:47.539934Z K 7 svn:log V 14 nuke autprops END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:27:17.589956Z K 7 svn:log V 14 nuke autprops END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:28:43.375741Z K 7 svn:log V 19 MFV: nuke autprops END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:28:49.695423Z K 7 svn:log V 19 MFV: nuke autprops END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:38:39.147581Z K 7 svn:log V 34 re-add svn:mime-type where needed END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T15:40:05.235431Z K 7 svn:log V 175 MFC r261137, r261393 Correct the alignment of sp through functions that use UNWINDSVCFRAME. Update all arm code that manipulates the PSR registers to use modern syntax. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:41:42.152363Z K 7 svn:log V 34 re-add svn:mime-type where needed END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-15T15:43:33.082782Z K 7 svn:log V 244 MFC r261406, r261409: enhance Vybrid support... o Expand device tree information o Export iomuxc (pins) configuration to DTS o Allow devices to assign clocks in DTS o Split kernel configuration to chip common and board specific parts. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-15T15:45:45.925721Z K 7 svn:log V 342 Makefile.inc is also included by the tests subdirectory, which results in SUBDIRS having tests added to it, which fails. Work around this by checking to make sure tests exists before adding it to subdirs and work to get the generated file fixed so we can rename Makefile.inc to something else so it isn't automatically included by subdirs... END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-15T15:47:52.499766Z K 7 svn:log V 1557 MFC r259125, r264019, r264083, r264153, r264197 r259125: Fix a few typos on the scm (control module) pin mux definitions. r264019: Fix some of the style(9) problems on ti_gpio. Remove redundant code and declarations. r264083: Move the GPIO bank initialization to a new function to make easier to detect errors. Reset the GPIO module during the initialization. This is guaranteed to be the same as a hardware reset. Tested on AM335x (BBB) and checked against the omap3 and omap4 TRM. Do a better job freeing resources when there are errors and on ti_gpio_detach(). r264153: - Fix the setup of interrupts for banks 2 and 3 on AM335x. On AM335x each one of the four GPIO banks has two physical interrupt lines, so we now allocate resources and setup our interrupt handler for all the (8) available interrupts. On OMAP3 and OMAP4 there is only one interrupt for each GPIO bank (6 banks, 6 interrupts), but there are two set of registers where the first one is used to setup the delivery of interrupts to the MPU and the second set, setup the delivery of interrupts to the DSP. On AM335x, each set of registers controls each one of the interrupt lines. - Remove nonexistent registers for OMAP4 and AM335x, replace their use with the correct ones for these SoCs. - Remove stray whitespace. r264197: Partially revert r264083. While it is the recommended initialization procedure, it hangs on the reset of the second GPIO module on pandaboard. Removes the module reset for now as more investigation is needed. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-15T15:49:12.838288Z K 7 svn:log V 39 MFV: re-add svn:mime-type where needed END