ƒ´273524 178 187 325 175 228 173 240 172 256 178 341 224 324 174 174 161 159 181 199 150 215 469 346 483 308 256 144 230 246 193 238 239 269 159 252 283 206 148 575 201 252 440 333 149 158 237 164 368 147 324 202 323 296 285 215 265 283 264 265 1320 199 220 178 176 135 231 144 240 452 440 218 158 240 240 177 1091 513 140 235 324 303 1341 691 692 170 211 153 471 142 187 184 187 290 107 134 125 154 296 184 152 176 572 157 133 319 355 181 217 217 217 217 372 466 262 239 598 427 163 1747 268 151 356 929 128 255 134 149 589 161 238 1343 294 672 169 246 185 613 154 307 162 459 154 261 484 180 184 232 229 177 765 184 145 480 160 378 170 366 308 167 307 427 273 409 148 180 167 302 202 242 138 163 255 169 133 107 1389 1408 657 311 K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:35:19.252808Z K 7 svn:log V 94 Add sys/socket.h #include for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:42:53.994464Z K 7 svn:log V 231 Port t_mmap.c to FreeBSD - Add needed headers for the testcases - Omit mmap_block on non-NetBSD OSes - Use "security.bsd.map_at_zero" instead of "vm.user_va0_disable" Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:05:14.336125Z K 7 svn:log V 82 Omit the pollts testcases on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:07:35.353300Z K 7 svn:log V 134 Omit all of the testcases as revoke(2) is only implemented on devfs(5) Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:11:58.963417Z K 7 svn:log V 80 Mark signo __unused in handler(..) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:20:35.676006Z K 7 svn:log V 146 - Omit the poll testcases on FreeBSD (they require pollts) - Add necessary headers for the testcases Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:22:18.489399Z K 7 svn:log V 79 Add limits.h #include for INT_MAX Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-23T07:36:33.971829Z K 7 svn:log V 163 MFC r273163: Implement more functional CTL debug logging. Setting bits in kern.cam.ctl.debug allows to log errors, commands and some commands data respectively. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-23T07:37:48.435410Z K 7 svn:log V 86 MFC r273259: Make VPD 80h (Serial Number) transfer length match serial number length. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:54:46.648627Z K 7 svn:log V 247 Use /truncate_test.root_owned instead of /usr/bin/fpr as fpr does not exist on FreeBSD truncate_test.root_owned will be generated at build time and owned by root In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T07:59:59.879819Z K 7 svn:log V 130 - Mark sig/signo __unused - Do not provide a relative path via #include "h_macros.h" Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:05:03.883684Z K 7 svn:log V 230 - Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al) - Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t on FreeBSD) In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:05:47.564632Z K 7 svn:log V 81 Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:06:34.258568Z K 7 svn:log V 81 Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:12:31.799698Z K 7 svn:log V 68 Fix a typo (__FreeBSD__ -> __NetBSD__ when omitting setrlimit_nthr) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:13:07.395685Z K 7 svn:log V 66 Mark signum __unused Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T08:29:09.767356Z K 7 svn:log V 88 Omit the mprotect_exec testcase on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-23T11:01:49.692582Z K 7 svn:log V 101 Show SFP+/QSFP memory map dump on higher verbose levels. Sponsored by: Yandex LLC MFC after: 1 week END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-10-23T11:12:27.610114Z K 7 svn:log V 56 MFC - tracking commit. Merging r273128 through r273541. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-23T12:02:27.553147Z K 7 svn:log V 120 Clean up (refactor) discovery a little; no functional changes. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-10-23T12:38:05.522898Z K 7 svn:log V 371 vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font 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 Reviewed by: ray@, emaste@ Approved by: ray@ MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-10-23T13:32:01.357331Z K 7 svn:log V 248 vt(4): Refuse to load a font if hw.vga.textmode is selected Before, the font was loaded and the window size recalculated, giving an unusable terminal, even if the actual font didn't change. Reported by: beeessdee@ruggedinbox.com MFC of: r273330 END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-23T13:47:19.233392Z K 7 svn:log V 389 Fix a bug where some DTS layouts could cause the premature ending of the search (i.e. without returning any result) and you would end up with a random MAC address. Change the search algorithm to a recursive one to ensure that all the nodes on DTS will be verified. The previous algorithm could not keep up if the DTS has too many sub-nodes. While here, fix the punctuation on comments. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-23T14:29:52.750547Z K 7 svn:log V 216 Move if_get_counter initialization from if_attach into if_alloc. Also, initialize all counters before ifnet will become available in the system. This fixes possible access to uninitialized ifned fields. PR: 194550 END K 10 svn:author V 4 emax K 8 svn:date V 27 2014-10-23T15:16:40.945942Z K 7 svn:log V 162 Change the code to use the openpty(3) API which uses the pts(4) driver instead of the pty(4) driver. PR: 184597 Submitted by: tobias.rehbein MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-23T15:35:47.109116Z K 7 svn:log V 52 Avoid taking the lock in selfdfree when not needed. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-23T17:24:50.238101Z K 7 svn:log V 137 minor updates to make it more explicit that when using fpu_kern_thread, you don't need to use fpu_kern_enter/_leave... Reviewed by: kib END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-23T18:03:27.944153Z K 7 svn:log V 150 puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P card. Submitted by: Alex Burlyga MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T18:23:50.654622Z K 7 svn:log V 97 Test if 'env' is NULL before doing memset() and strlen(), the caller may pass NULL to freeenv(). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-23T18:48:43.349142Z K 7 svn:log V 143 MFC 272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-23T18:50:44.448749Z K 7 svn:log V 144 MFC r272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-23T19:06:08.192848Z K 7 svn:log V 176 In selfdfree re-evaulate sf_si after takin the lock. Otherwise we can race with doselwakeup. This is a fixup to r273549 Reviewed by: jhb Reported by: everyone and their dog END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-23T20:01:55.280877Z K 7 svn:log V 62 Convert ipfilter to use new routing API. Compile tested only. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-23T20:43:16.504946Z K 7 svn:log V 159 Use a static callout to drive key_timehandler() instead of timeout(). While here, make key_timehandler() private to key.c. Submitted by: bz (2) Tested by: bz END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-10-23T21:02:40.256953Z K 7 svn:log V 190 Under PAE ULONG is insufficient for representing the physical memory size. Use QUAD for "hw.physmem" so that a physical memory size greater than 4 GB can be specified from the boot loader. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-23T21:09:14.824753Z K 7 svn:log V 108 Rename ip_sendmbuf to fib4_sendmbuf() and move it to rt_nhops api. Convert IPv4 SAS to use new routing api. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-23T21:38:54.753851Z K 7 svn:log V 51 Convert inp_lookup_mcast_ifp() to new routing api. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-23T22:21:22.152464Z K 7 svn:log V 482 Install a temporary workaround to avoid problems in fdt data with linux's workaround for an imx6 chip erratum. Linux works around the bug with changes in fdt data that we can't currently handle, so to enable running with standard vendor-supplied fdt data, this watches for an attempt to map the gpio1_6 interrupt and remaps it back to the standard ethernet interrupt. This can be undone when the intrng project is completed and our gpio drivers can also be interrupt controllers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-23T22:30:14.753787Z K 7 svn:log V 105 Import libxo 0.1.4 Obtained from: https://github.com/Juniper/libxo Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-23T22:33:27.602008Z K 7 svn:log V 156 Add generated headers xoversion.h and xoconfig.h. These are the result of configuring the source tree: % automake --add-missing % autoconf % ./configure END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-23T22:42:56.464874Z K 7 svn:log V 347 In all cases except CTLTYPE_STRING, penv is NULL here, so passing it indiscriminately to printf() and freeenv() is incorrect. Add a NULL check before freeenv(); as for printf(), we could use req.newptr instead, but we'd have to select the correct format string based on the type, and that's too much work for an error message, so just remove it. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-23T23:11:04.068574Z K 7 svn:log V 235 Add new fib4_lookup_nh_extended() which fills in nhop4_extended structure without doinf L2 resolve. It also requires freeing references by calling fib4_free_nh_ext(). Convert in_pcbladdr() to use it. Convert tcp_maxmtu() to use it. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-23T23:12:30.165128Z K 7 svn:log V 56 Provide a working GPIOBUS_IVAR() macro for FDT systems. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-23T23:14:23.124132Z K 7 svn:log V 63 Hook libxo to the build. Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-23T23:16:21.833151Z K 7 svn:log V 141 Hook xo(1) to the build -- it's like echo, but uses libxo to support emitting machine-readable output. Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-23T23:20:04.385754Z K 7 svn:log V 71 Move the duplicated code to a single function. No functional changes. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-10-24T03:33:01.083626Z K 7 svn:log V 270 Three updates to PowerPC FBT: * Use a constant to define the number of stack frames in a probe exception. * Only allow function symbols in powerpc64 ('.' prefixed) * Set the fbtp_roffset for return probes, so the correct dtrace_probe call is made. MFC after: 1 week END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-10-24T03:34:21.016872Z K 7 svn:log V 50 Whitespace X-MFC-with: r273570 MFC after: 1 week END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T03:42:37.390805Z K 7 svn:log V 230 - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is always executed on a non-devfs filesystem - Expect mknod(path, S_IFREG, 0) to fail on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-24T03:48:54.085268Z K 7 svn:log V 108 MFC r273356: Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT misconfiguration VM-exit. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T03:53:49.964216Z K 7 svn:log V 229 - Test for EINVAL requirement when passing an invalid flag in to msync(2) - Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-10-24T04:01:14.314764Z K 7 svn:log V 198 Fix formatting of vmstat (1) so that it looks cleaner on standard 80 column displays. In particular it wraps far less often. Submitted by: Andy Kosela PR: 191976 END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-24T05:39:32.193513Z K 7 svn:log V 189 Fix a leaked Storage Variable. Phabric: D981 Submitted by: myself Reported by: Coverity CID: 1248848 Reworked by: kevlo Reviewed by: marcel, davide, ray, kevlo Approved by: marcel, kevlo END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-24T06:27:45.278292Z K 7 svn:log V 118 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree driver. This change was verified by Microsoft. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T06:53:06.258150Z K 7 svn:log V 171 - Add inttypes.h and stdint.h in lieu of int_limits.h from NetBSD - Use #include "h_macros.h" instead of relative path analog Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T06:57:16.759245Z K 7 svn:log V 189 - Mark signo __unused in the signal handler function - Effectively #if 0 out some code that does not fail on FreeBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-24T07:06:01.484955Z K 7 svn:log V 167 MFC r273577: Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree driver. This change was verified by Microsoft. Instant MFC approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-24T07:50:34.593810Z K 7 svn:log V 168 MFS r273580: MFC r273577: Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree driver. This change was verified by Microsoft. Approved by: re (kib) END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-24T09:48:58.898318Z K 7 svn:log V 1223 amd64: make uiomove_fromphys functional for pages not mapped by the DMAP Place the code introduced in r268660 into a separate function that can be called from uiomove_fromphys. Instead of pre-allocating two KVA pages use vmem_alloc to allocate them on demand when needed. This prevents blocking if a page fault is taken while physical addresses from outside the DMAP are used, since the lock is now removed. Also introduce a safety catch in PHYS_TO_DMAP and DMAP_TO_PHYS. Sponsored by: Citrix Systems R&D Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D947 amd64/amd64/pmap.c: - Factor out the code to deal with non DMAP addresses from pmap_copy_pages and place it in pmap_map_io_transient. - Change the code to use vmem_alloc instead of a set of pre-allocated pages. - Use pmap_qenter and don't pin the thread if there can be page faults. amd64/amd64/uio_machdep.c: - Use pmap_map_io_transient in order to correctly deal with physical addresses not covered by the DMAP. amd64/include/pmap.h: - Add the prototypes for the new functions. amd64/include/vmparam.h: - Add safety catches to make sure PHYS_TO_DMAP and DMAP_TO_PHYS are only used with addresses covered by the DMAP. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-24T11:34:55.981280Z K 7 svn:log V 104 Tidy up the login code; no functional changes. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-24T11:40:09.532503Z K 7 svn:log V 125 Make the initiator-name and initiator-portal checks a little nicer. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-24T12:30:43.789648Z K 7 svn:log V 84 Improve ctld.conf example. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T13:29:12.860929Z K 7 svn:log V 79 Fix displaying non-contiguous netmasks. Found by: ae Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-24T13:34:22.544125Z K 7 svn:log V 44 Remove redundant check and m_pullup() call. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T13:57:15.387722Z K 7 svn:log V 133 Bump default dynamic limit to 16k entries. Print better log message when limit is hit. PR: 193300 Submitted by: me at nileshgr.com END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-24T15:36:30.998394Z K 7 svn:log V 50 Add D-Link DWA-123 rev D1 and Elecom WDC-150SU2M. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-24T15:44:29.533105Z K 7 svn:log V 147 Accept the documented FDT compatible string for the PL310 cache controller as well as the non-standard string we've been using for a couple years. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T16:07:31.776186Z K 7 svn:log V 358 Correct my previous commit: - getrusage_utime_back succeeds reliably on FreeBSD - getrusage_utime_zero passes/fails in a seemingly non-deterministic manner. Skip it for now (and fix it later) In the initial port of this testcase to FreeBSD, the results failed reliably in the same manner as it does on NetBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-24T16:18:16.553278Z K 7 svn:log V 346 - Add sys/types.h for the APIs in sys/sysctl.h - Poke at VM_MIN_ADDRESS in machine/vmparam.h because FreeBSD doesn't have a vm.minaddress sysctl analog - Expect ENOMEM instead of EAGAIN in mlock_limits - Provide mlock an mmap'ed page twice to simulate MAP_WIRED on NetBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-24T16:39:01.896490Z K 7 svn:log V 120 Update the network interface baudrate integer according to the actual line rate. Submitted by: jhb @ MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T17:06:56.259876Z K 7 svn:log V 61 Fix documentation issue. PR: 194581 Submitted by: madpilot END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-24T17:24:29.148244Z K 7 svn:log V 145 MFC r258902: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-24T17:24:29.987272Z K 7 svn:log V 145 MFC r258902: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T17:40:32.318279Z K 7 svn:log V 80 Convert all ip_rtaddr() users to fib4_lookup_nh_extended(). Remove ip_rtaddr(). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-24T18:39:15.553981Z K 7 svn:log V 995 HPET: create /dev/hpetN as a way to access HPET from userland. In some cases, TSC is broken and special applications might benefit from memory mapping HPET and reading the registers to count time. Most often the main HPET counter is 32-bit only[1], so this only gives the application a 300 second window based on the default HPET interval. Other applications, such as Intel's DPDK, expect /dev/hpet to be present and use it to count time as well. Although we have an almost userland version of gettimeofday() which uses rdtsc in userland, it's not always possible to use it, depending on how broken the multi-socket hardware is. Install the acpi_hpet.h so that applications can use the HPET register definitions. [1] I haven't found a system where HPET's main counter uses more than 32 bit. There seems to be a discrepancy in the Intel documentation (claiming it's a 64-bit counter) and the actual implementation (a 32-bit counter in a 64-bit memory area). MFC after: 1 week Relnotes: yes END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-24T19:18:39.991291Z K 7 svn:log V 419 Fix a bug where DMA maps created with bus_dmamap_create() won't increment the map count and without being able to keep track of the current map allocation, bus_dma_tag_destroy() will fail to proceed and will return EBUSY even after all the maps have been correctly destroyed with bus_dmamap_destroy(). Found while testing the detach method of a NIC. Tested on: BBB (am335x) Reviewed by: cognet, ian MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T19:38:05.122382Z K 7 svn:log V 43 Convert arpinput() to use new routing api. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-24T19:55:49.086108Z K 7 svn:log V 142 Don't reference sem(4) from the POSIX semaphore pages. POSIX semaphores were reimplemented using umtx in FreeBSD 9 and no longer use sem(4). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-24T19:58:00.444788Z K 7 svn:log V 228 HPET: avoid handling the multiple file-descriptor case. It had two bugs: one where mmap was still allowed and another where D_TRACKCLOSE doesn't handle all cases. Thanks to jhb and kib for pointing them out. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-24T19:58:24.575915Z K 7 svn:log V 210 Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that provides compatability for FreeBSD 9.x and 10.x binaries. Enable these options in kernel configs that enable other COMPAT_FREEBSD options. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-24T20:02:44.156909Z K 7 svn:log V 1247 The current POSIX semaphore implementation stores the _has_waiters flag in a separate word from the _count. This does not permit both items to be updated atomically in a portable manner. As a result, sem_post() must always perform a system call to safely clear _has_waiters. This change removes the _has_waiters field and instead uses the high bit of _count as the _has_waiters flag. A new umtx object type (_usem2) and two new umtx operations are added (SEM_WAIT2 and SEM_WAKE2) to implement these semantics. The older operations are still supported under the COMPAT_FREEBSD9/10 options. The POSIX semaphore API in libc has been updated to use the new implementation. Note that the new implementation is not compatible with the previous implementation. However, this only affects static binaries (which cannot be helped by symbol versioning). Binaries using a dynamic libc will continue to work fine. SEM_MAGIC has been bumped so that mismatched binaries will error rather than corrupting a shared semaphore. In addition, a padding field has been added to sem_t so that it remains the same size. Differential Revision: https://reviews.freebsd.org/D961 Reported by: adrian Reviewed by: kib, jilles (earlier version) Sponsored by: Norse END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-24T20:29:14.716835Z K 7 svn:log V 596 Eliminate conf_lock and instead rely on the NSS write lock to protect NSS configuration state. As a side effect, this fixes a race condition which can occur if multiple threads call nsdispatch(3) concurrently before nsswitch.conf has been parsed. Previously, the thread holding conf_lock could cause other threads to return from nss_configure() before nsswitch.conf had been parsed, forcing them to fall back to the default sources for their NSS methods. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D994 MFC after: 1 month Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-24T21:08:02.639270Z K 7 svn:log V 598 Fix cpsw_detach() to not panic when called from cpsw_attach(). For an unkown reason (at moment), sometimes if_cpsw cannot read from PHY and fails to attach calling cpsw_detach() which end up in a panic. Fix it by doing the proper check before detach the miibus and also fix the leak of few variables. And to actually make it work, ether_ifattach() has to be moved to the end of cpsw_attach() to avoid a race where calling ether_ifdetach() before domain_init() (which will only run later on) would make it crash at INP_INFO_RLOCK() on in_pcbpurgeif0(). Tested on: BBB (am335x) MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-24T21:08:36.550479Z K 7 svn:log V 75 Add a sysctl to control the HPET allow_write behaviour. Requested by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-24T21:40:44.670106Z K 7 svn:log V 118 Document r273399, OpenSSL updated to version 1.0.1j. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T22:00:25.712628Z K 7 svn:log V 56 Convert last piece of ip_forward to use new rouing api. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-24T22:06:21.685036Z K 7 svn:log V 377 Add an iicbus_reset() method to bcm2835_bsc. While it is generally not used for kernel devices it is used by i2c(8). This fix the 'error: Device not configured' when i2c(8) tries to reset the controller, as an example: # i2c -r Resetting I2C controller on /dev/iic0: error: Device not configured For now use conservative settings for default i2c speeds. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-24T23:08:44.178011Z K 7 svn:log V 45 Convert ip_fastfwd() to use new routing api. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-24T23:24:47.323010Z K 7 svn:log V 92 Remove an unused variable that would be better spelled __func__. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-24T23:25:11.999907Z K 7 svn:log V 89 Fix the build by installing acpi_hpet.h correctly. Submitted by: jase MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-24T23:25:44.917321Z K 7 svn:log V 92 Use the __DECONST macro rather than hand rolling the same thing. Sponsored by: DARPA, AFRL END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-25T00:14:44.321364Z K 7 svn:log V 198 cxgbe(4): bump up PF4's share of some global resources. This increases the size of the per-port RSS slice and also allows the driver to use a larger number of tx and rx queues. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-25T00:16:36.107473Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-25T00:32:05.898228Z K 7 svn:log V 38 Vendor import nc(1) from OPENBSD_5_6. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-25T00:32:30.709429Z K 7 svn:log V 29 Tag netcat from OpenBSD 5.6. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-25T00:37:35.265549Z K 7 svn:log V 58 MFV r273617: netcat from OpenBSD 5.6. MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-25T01:17:29.894031Z K 7 svn:log V 203 Note to avoid using GENERIC kernel on i386 when using multi-disk ZFS pools, referencing an old UPDATING entry that predates 10.0-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T01:59:01.864844Z K 7 svn:log V 89 MFC r273247: Fix the watchdog/watchdog man pages. The default timeout is 128 seconds. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T02:00:32.273671Z K 7 svn:log V 57 MFC r273248: AM335x FDT: add an entry for the watchdog. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T02:02:20.416206Z K 7 svn:log V 81 MFC r273256: AM335X FDT: use the omap3-wdt string for compatibility with Linux. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T02:05:21.871516Z K 7 svn:log V 476 MFC r273257: Add a driver for the TI watchdog. The TI watchdog timer is present on BeagleBone's. Since 2014, U-Boot has been booting the BeagleBone with the watchdog enabled. We need to disable it on boot to avoid a spurious reset. The timer isn't exactly precise, but it will do as a watchdog. This is also a reflection of the watchdog(9) API. In the future, we could handle interrupts, but the watchdog(9) API needs to be a bit smarter before that can happen. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T02:06:40.634130Z K 7 svn:log V 62 MFC r273258: Make the ti_mbox and ti_pruss drivers optional. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-25T02:08:02.421675Z K 7 svn:log V 38 MFC r273261: Remove an unused mutex. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T04:52:48.674863Z K 7 svn:log V 225 - Print out "Bail out!" in die(..) so prove terminates immediately - Handle the output from newer versions of openssl md5, similar to what pjd@ did in r248304 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T05:31:18.681673Z K 7 svn:log V 261 Move the redirection to stderr out of the cmd variable assignment Putting 2>/dev/null in cmd= escapes the redirection operation, which causes mdconfig to think it's a filename MFC after: 2 weeks X-MFC with: r273627 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-25T05:56:21.846485Z K 7 svn:log V 89 rlimit: plug duplicate assertion counter sanity is already checked by refcount_release. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T06:10:01.899862Z K 7 svn:log V 123 Bail out of the script on FreeBSD due to deterministic panic issue PR: 191573 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T06:28:48.748414Z K 7 svn:log V 123 Bail out of the script on FreeBSD due to deterministic panic issue PR: 194586 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T06:33:00.936630Z K 7 svn:log V 123 Bail out of the script on FreeBSD due to deterministic panic issue PR: 194587 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-25T07:20:46.747459Z K 7 svn:log V 123 Bail out of the script on FreeBSD due to deterministic panic issue PR: 194589 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-25T09:25:29.558258Z K 7 svn:log V 276 Fix a use of an uninitialized variable by makeing sure that sctp_med_chunk_output() always initialized the reason_code instead of relying on the caller. The variable is only used for debugging purpose. This issue was reported by Peter Bostroem from Google. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-25T12:50:26.233730Z K 7 svn:log V 373 Add basic iSNS client to the iSCSI target. This makes ctld(8) register its iSCSI targets and portals on configured iSNS servers to allow initiators find them without active discovery. Fetching of allowed initiators from iSNS is not implemented now, so target ACLs still should be configured manually. Reviewed by: trasz@ MFC after: 1 month Sponsored by: iXsystems, Inc. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-25T15:06:09.893546Z K 7 svn:log V 167 MFC r273448: Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). PR: 189405 Submitted by: Gabor Simon END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-25T15:14:19.279375Z K 7 svn:log V 144 MFC r270643, r273448: - Fix typo: s/mac_rev/mac_ver/ - Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-25T15:16:19.856008Z K 7 svn:log V 505 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 after: 3 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-25T15:32:56.360267Z K 7 svn:log V 329 * Increase nh_flags to be u16 thus reducing nhop payload to be 48 bytes * Use NHF_ namespace for all nhop flags * Rename nhop_data -> nhop_prepend * Rename fib4_lookup_nh_extended -> fib4_lookup_nh_ext * Add "flags" argument to fib4_lookup_nh_ext() to specify whether we want returned nh_ext structure to be refcounted or not. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-25T17:07:35.663991Z K 7 svn:log V 71 Add support for 12/16-byte EUI and 16-byte NAA IDs. MFC after: 1 week END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2014-10-25T17:42:44.776995Z K 7 svn:log V 1648 This change addresses 4 bugs in ZFS exposed by Richard Kojedzinszky's crash.sh script attached to FreeNAS bug 4109: https://bugs.freenas.org/issues/4109 Three are in the snapshot layer: a) AVG explains in his notes: https://wiki.freebsd.org/AvgVfsSolarisVsFreeBSD "VOP_INACTIVE must not do any destructive actions to a vnode and its filesystem node, nor invalidate them in any way." gfs_vop_inactive and zfsctl_snapshot_inactive did just that. In OpenSolaris VOP_INACTIVE is much closer to FreeBSD's VOP_RECLAIM. Rename & move them to gfs_vop_reclaim and zfsctl_snapshot_reclaim and merge in the requisite vnode_destroy from zfsctl_common_reclaim. b) gfs_lookup_dot and various zfsctl functions do not honor the FreeBSD VFS convention of only locking from the root downward. When looking up ".." the convention is to drop the current leaf vnode lock before acquiring the directory vnode and then subsequently re-acquiring the lock on the leaf vnode. This fixes that in all the places that our exercised by crash.sh. c) The snapshot may already be unmounted when the directory vnode is reclaimed. Check for this case and return. One in the common layer: d) Callers of traverse expect the reference to the vnode passed in to be maintained. Don't release it. This last one may be an unclear contract. There may in fact be some callers that do expect the reference to be dropped on success in addition to callers that expect it to be released. In this case a further audit of the callers is needed and a consensus on the correct behavior. PR: 184677 Submitted by: kmacy Reviewed by: delphij, will, avg MFC after: 2 weeks Sponsored by: iXsystems END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-25T18:25:00.073544Z K 7 svn:log V 170 * Convert TOE framework to use new routing api. * Add fib6_lookup_nh_ext(). * Rename union structures: nhop64_basic -> nhopu_basic, nhop64_extended -> nhopu_extended END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-25T19:01:02.946663Z K 7 svn:log V 54 Convert last piece of pf to use fib4_lookup_nh_ext(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-25T19:31:34.194994Z K 7 svn:log V 263 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 after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-25T20:34:10.868123Z K 7 svn:log V 836 MFC r268633, r271046: Fixes and enhancements for the if_cgem driver... - miibus fixes as suggested by Yonghyeon Pyun. - enable VLAN MTU support. - fix a few WITNESS complaints in cgem_attach(). - have cgem_attach() properly init the ifnet struct before calling mii_attach() to fix panic when using e1000phy. - fix ethernet address changing. - fix transmit queue overflow handling. - tweak receive queue handling to reduce receive overflows. - bring out MAC statistic counters to sysctls. - add e1000phy to config file. - implement receive hang work-around described in reference guide. - change device name from if_cgem to cgem to be consistent with other interfaces. Fix the Zedboard/Zynq ethernet driver to handle media speed changes so that it can connect to switches at speeds other than 1gb. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-25T20:42:47.805930Z K 7 svn:log V 36 Use correct type in __DEVOLATILE(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-25T21:01:50.698683Z K 7 svn:log V 162 Set the caching mode for the usermode mapping of the HPET registers page to uncached. Reviewed by: rpaulo Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-25T21:40:49.503729Z K 7 svn:log V 37 Convert ofed to use new routing api. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-25T22:53:08.582882Z K 7 svn:log V 52 Convert several places inside netinet6/ to new api. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T01:15:16.052501Z K 7 svn:log V 496 MFC r257200, r259121, r261410, r265853: - Remove #include . - Add gpio parse routines according to sys/boot/fdt/dts/bindings-gpio.txt. - Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines. - Rename platform_gpio_init to be SoC specific, and make it static as it's only called from this file. This is mostly catching up on some old MFCs that were done before this file existed in the 10 branch. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T01:26:53.941502Z K 7 svn:log V 69 MFC r270025: Implement the FDT static pinctl/pinmux spec for Atmel. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T01:30:46.216828Z K 7 svn:log V 145 MFC r270945: Rename OF_xref_phandle() to OF_node_from_xref() and add a new function that provides the inverse translation, OF_xref_from_node(). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-26T01:41:54.444658Z K 7 svn:log V 1249 Fix a few issues with creating VOLUME_LABEL for the installation ISOs: - TYPE, BRANCH, and REVISION are only defined if OSRELEASE is not defined, so in situations where one might set OSRELEASE for an in-house ISO build, VOLUME_LABEL would be empty. - makefs(8) limits the volume label to 32 characters, which for the powerpc64 case, OSRELEASE expands to FreeBSD-11.0-CURRENT-powerpc-powerpc64. Even with removing the prefixing 'FreeBSD-', the string is 30 characters long, leaving zero room for suffixing the type of ISO media (BO for bootonly, CD for cdrom, and DVD for dvdrom). Resolve these by defining VOLUME_LABEL when defining OSRELEASE if unset. If OSRELEASE is defined by the builder, use the OSRELEASE from that definition as the VOLUME_LABEL. In addition, for cases where both TARGET and TARGET_ARCH are used for the VOLUME_LABEL, use TARGET_ARCH if it differs from TARGET. There are probably a few sharp edges here yet, but these problems are going to affect the powerpc/powerpc64 builds for 10.1-RELEASE, so the immediate concern is fixing the underlying problem at hand quickly, and less so about the elegance of the fix. MFC after: 3 days X-MFC-10.1: yes, asap Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-26T01:47:55.259762Z K 7 svn:log V 201 Now that sysctl_root is only called with sysctl lock in shared mode, update its assertion to require that. Update comment missed in r273400: sysctl_xlock/unlock -> sysctl_xlock/xunlock Noted by: jhb END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T01:58:18.020658Z K 7 svn:log V 579 MFC r270953, r270958, r270960, r271190, r271199, r271202: Create a mechanism for looking up a device_t associated with an ofw/fdt xref handle, and for registering that association. Also use the same data for faster translations between node and xref handles. Add OF_xref_from_device() so that there's no need to have an intermediate call to ofw_bus_get_node() to lookup info that's already in the xreflist. When registering an association between a device and an xref phandle, create an entry in the xref list if one doesn't already exist for the given handle. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:09:58.170015Z K 7 svn:log V 77 MFC r270955,r270956: make the imx6 octop and anatop drivers early attachers. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:19:03.026708Z K 7 svn:log V 153 MFC r270957, r270959: Create an interface for drivers to enable or disable their clocks as listed in the clocks=<...> properties of their FDT data. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:21:54.707061Z K 7 svn:log V 93 MFC r271054: When built with FDT support, add /boot/dtb to the list of search directories. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:25:34.429839Z K 7 svn:log V 520 MFC r271055, r271084, r271094: Add a function to get the frequency of the AHB bus. Another stopgap function until we have full clock support for imx6. The imx5x and imx6 chips have an onboard IOMUX device which also contains a few "general purpose registers" whose values control chip behavior in ways that have nothing to do with IO pin mux control. Define a simple API that other soc-specific code can use to read and write the registers, and provide the imx51 implementation of them. Fix a typo. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:27:10.602515Z K 7 svn:log V 62 MFC r271057: Create a /boot/dtb directory to house DTB blobs. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:37:42.978700Z K 7 svn:log V 214 MFC r268834, r268835: o Enable GPIO device driver for i.MX6. It was originally written for i.MX5 and compatible with newer chip. o Extend device tree information o style(9) fixes o Rename gpio driver file. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:40:34.862798Z K 7 svn:log V 70 MFC r268973, r268977: Rename i.MX I2C driver file, enable it on imx6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:44:41.375413Z K 7 svn:log V 366 MFC r271097, r271100, r271101, r271102, r271124: - Add a basic iomux driver for imx6. - Implement the same public interface in imx51 and imx6 iomux - The iomux driver is no longer optional, remove it from kernel configs. - Implement the imx_iomux_get/set_gpr() interface for imx6. - Stop setting the iomux device status to disabled, now that we have a driver. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:51:56.679454Z K 7 svn:log V 62 MFC r266878, r266879: Add support for snprintf() to libstand. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T02:53:23.624988Z K 7 svn:log V 168 MFC r271285: Add a 'ubenv import' command to import environment variables from the u-boot env into the loader(8) env (which also gets them into the kernel env). END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-26T03:03:41.531127Z K 7 svn:log V 390 Don't pass the 'error' return from an I/O port handler directly to vm_run(). Most I/O port handlers return -1 to signal an error. If this value is returned without modification to vm_run() then it leads to incorrect behavior because '-1' is interpreted as ERESTART at the system call level. Fix this by always returning EIO to signal an error from an I/O port handler. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:13:19.873351Z K 7 svn:log V 88 MFC r271310: Rename new to newval in inline asm code, to avoid clashes with C++ new. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:29:06.212419Z K 7 svn:log V 92 MFC r271535: Make inclusion of fdt clock support conditional on fdt_clock, not just fdt. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:41:27.242528Z K 7 svn:log V 139 MFC 271546: Create an interface and support routines for drivers that handle IO pin multiplexing and configuration based on FDT data. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:44:19.715830Z K 7 svn:log V 136 MFC r271550, r271591: Replace the imx5 and imx6 iomux drivers with a single common driver that uses the new fdt_pinctrl interface. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:48:12.928224Z K 7 svn:log V 85 MFC r271594: Fix an undefined variable that was accidentally not causing an error. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:52:45.409719Z K 7 svn:log V 672 MFC r271595, r271601, r271607, r271630: Add compat strings for all the flavors of GIC this driver should support. Also allow the driver to attach to ofwbus as well as simplebus, some FDT data puts the root interrupt controller on the root bus. Add a common routine for parsing FDT data describing an ARM GIC interrupt. Use gic_decode_fdt() rather than a local routine to parse fdt interrupt properties. Move fdt_pic_table and fdt_fixup_table into imx6_machdep.c, which means imx6 doesn't need imx_common.c anymore. The private peripheral interrupts start at offset 16, not 0. Also, use names rather than inline mystery constants for these offsets. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:55:09.927073Z K 7 svn:log V 92 MFC r271906: Make the ARM MPCore Timer driver work with published standard FDT bindings. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T03:55:55.520293Z K 7 svn:log V 53 MFC r271907: Add a man page for the cgem(4) driver. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:01:57.801942Z K 7 svn:log V 387 MFC r272109, r272181: Replace multiple nearly-identical copies of code to walk through an FDT node's interrupts=<...> property creating resource list entries with a single common implementation. This change makes ofw_bus_intr_to_rl() the one true copy of that code and removes the copies of it from other places. This also adds handling of the interrupts-extended property. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:06:29.585569Z K 7 svn:log V 68 MFC r272333: Honor exclusion flags when building the memory lists. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:08:34.028291Z K 7 svn:log V 285 MFC r272334, r273004: Return the actual baud rate programmed in the hardware rather than 115200. This allows the "3wire" entry in /etc/ttys (with no speed specified) to work. Use the FIFOs in the imx5/imx6 uart hardware instead of interrupting on each byte sent or received. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:10:17.602439Z K 7 svn:log V 78 MFC r273282: Fail to probe on simplebus nodes that lack a "ranges" property. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:11:32.664383Z K 7 svn:log V 273 MFC r273283: Attach this driver during BUS_PASS_BUS and move the cpu init code to a bus_new_pass() handler so it doesn't happen until BUS_PASS_CPU. This allows the anatop driver to outbid the generic simplebus driver (which the FDT data describes as compatible). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:13:08.846043Z K 7 svn:log V 215 MFC r273298: The U-Boot README says fdt_addr_r is the right env var for fdt data loaded into ram, but vendors also use fdtaddr and fdt_addr. Check the recommended variable first and fall back to the others. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:15:27.004823Z K 7 svn:log V 75 MFC r273352: Ask for the fastest available clock for the GTP timecounter. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T04:17:20.752031Z K 7 svn:log V 214 MFC r273353, r273514: Attach the imx6 CCM driver during BUS_PASS_CPU. Unconditionally enable the clocks for all imx6 devices that we have drivers for, or that are required to run the chip (such as busses). END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-26T04:44:28.980797Z K 7 svn:log V 333 Move the ACPI PM timer emulation into vmm.ko. This reduces variability during timer calibration by keeping the emulation "close" to the guest. Additionally having all timer emulations in the kernel will ease the transition to a per-VM clock source (as opposed to using the host's uptime keep track of time). Discussed with: grehan END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-26T05:39:42.027817Z K 7 svn:log V 180 Use a temporary buffer in sys_setgroups for requests with <= XU_NGROUPS groups. Submitted by: Tiwei Bie X-Additional: JuniorJobs project MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-26T06:04:09.949445Z K 7 svn:log V 316 Tidy up sys_setgroups and kern_setgroups. - 'groups' initialization to NULL is always ovewrwriten before use, so plug it - get rid of 'goto out' - kern_setgroups's callers already validate ngrp, so only assert the condition - ngrp is an u_int, so 'ngrp < 1' is more readable as 'ngrp == 0' No functional changes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-26T07:07:54.033976Z K 7 svn:log V 53 MFC r273281: Style changes as pointed out by stas@. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-26T07:40:37.638806Z K 7 svn:log V 88 Add "rpm" and "formfactor" LUN options to match istgt functionality. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-26T09:24:32.750607Z K 7 svn:log V 71 Update filesystems magic to CVS version 1.106. Submitted by: madpilot END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-26T09:29:12.202289Z K 7 svn:log V 205 MFV r273688: Update filesystems magic. This fixes a regression introduced by libmagic 5.19 which prevents file(1) to show more verbose information about a MBR. Submitted by: madpilot MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-26T13:30:53.186116Z K 7 svn:log V 107 Mention VAAI and ODX in ctl(4). Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-26T14:25:42.136337Z K 7 svn:log V 149 Fix up an assertion in kern_setgroups, it should compare with ngroups_max + 1 Bug introdued in r273685. Noted by: Tiwei Bie END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-10-26T14:43:02.974544Z K 7 svn:log V 44 Unbreak uep(4) when compiled without EVDEV. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-26T15:28:07.884305Z K 7 svn:log V 71 Fix printing non-terminated strings in devlist XML. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T16:02:35.896341Z K 7 svn:log V 162 MFC r273561: Install a temporary workaround to avoid problems in fdt data with linux's workaround for an imx6 chip erratum by using gpio1_6 as an interrupt. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T16:09:59.560632Z K 7 svn:log V 77 MFC r273590: Accept documented compatible string for PL310 cache controller/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-26T16:21:41.304433Z K 7 svn:log V 38 Remove the llvm-ia64 projects branch. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-10-26T16:31:25.001793Z K 7 svn:log V 13 MFC @r273692 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-26T17:14:57.424879Z K 7 svn:log V 1295 MFC r273653: Fix a few issues with creating VOLUME_LABEL for the installation ISOs: - TYPE, BRANCH, and REVISION are only defined if OSRELEASE is not defined, so in situations where one might set OSRELEASE for an in-house ISO build, VOLUME_LABEL would be empty. - makefs(8) limits the volume label to 32 characters, which for the powerpc64 case, OSRELEASE expands to FreeBSD-11.0-CURRENT-powerpc-powerpc64. Even with removing the prefixing 'FreeBSD-', the string is 30 characters long, leaving zero room for suffixing the type of ISO media (BO for bootonly, CD for cdrom, and DVD for dvdrom). Resolve these by defining VOLUME_LABEL when defining OSRELEASE if unset. If OSRELEASE is defined by the builder, use the OSRELEASE from that definition as the VOLUME_LABEL. In addition, for cases where both TARGET and TARGET_ARCH are used for the VOLUME_LABEL, use TARGET_ARCH if it differs from TARGET. There are probably a few sharp edges here yet, but these problems are going to affect the powerpc/powerpc64 builds for 10.1-RELEASE, so the immediate concern is fixing the underlying problem at hand quickly, and less so about the elegance of the fix. Insta-MFC ok: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-26T17:17:08.907480Z K 7 svn:log V 1314 MFstable10 r273698: MFC r273653: Fix a few issues with creating VOLUME_LABEL for the installation ISOs: - TYPE, BRANCH, and REVISION are only defined if OSRELEASE is not defined, so in situations where one might set OSRELEASE for an in-house ISO build, VOLUME_LABEL would be empty. - makefs(8) limits the volume label to 32 characters, which for the powerpc64 case, OSRELEASE expands to FreeBSD-11.0-CURRENT-powerpc-powerpc64. Even with removing the prefixing 'FreeBSD-', the string is 30 characters long, leaving zero room for suffixing the type of ISO media (BO for bootonly, CD for cdrom, and DVD for dvdrom). Resolve these by defining VOLUME_LABEL when defining OSRELEASE if unset. If OSRELEASE is defined by the builder, use the OSRELEASE from that definition as the VOLUME_LABEL. In addition, for cases where both TARGET and TARGET_ARCH are used for the VOLUME_LABEL, use TARGET_ARCH if it differs from TARGET. There are probably a few sharp edges here yet, but these problems are going to affect the powerpc/powerpc64 builds for 10.1-RELEASE, so the immediate concern is fixing the underlying problem at hand quickly, and less so about the elegance of the fix. Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-26T17:50:33.890181Z K 7 svn:log V 561 sh: Make getopts memory-safe if with changing arguments. POSIX does not permit to continuing a getopts loop with different arguments. For parsing the positional parameters, we handle this case by resetting the getopts state when the positional parameters are changed in any way (and the getopts state is local to a function). However, in the syntax getopts , changes could lead to invalid memory access. In the syntax getopts , store a copy of the arguments and continue to use them until getopts is reset. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-10-26T17:56:47.939606Z K 7 svn:log V 218 By the time that pmap_init() runs, vm_phys_segs[] has been initialized. Obtaining the end of memory address from vm_phys_segs[] is a little easier than obtaining it from phys_avail[]. Discussed with: Svatopluk Kraus END