ĩ246181 176 375 257 257 413 413 150 511 441 119 497 498 192 507 139 144 240 482 482 179 184 126 98 341 1023 208 325 144 266 134 245 398 874 377 463 172 802 896 312 373 150 229 328 143 221 221 187 174 173 175 191 360 112 138 583 284 217 254 169 160 160 173 309 504 331 418 375 388 306 272 430 283 191 218 202 154 496 421 984 688 116 201 169 116 202 281 281 319 319 319 248 248 248 229 229 272 750 327 211 263 189 214 461 454 931 218 122 414 794 544 1238 146 237 1261 240 99 571 347 225 171 205 232 159 156 246 196 222 193 162 175 175 175 347 155 1043 214 259 171 230 262 120 136 210 103 364 216 282 125 151 173 259 227 126 99 120 383 207 342 227 193 113 1113 179 97 116 98 181 189 165 204 190 187 189 220 209 136 1026 K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:24:46.825091Z K 7 svn:log V 282 MFC r245398: - Add checks for Intel metadata version and attributes. Ignore disks with unsupported metadata types like Intel Smart Response to not corrupt them. - Improve setting of these things during metadata writing to protect from incapable BIOS'es and other implementations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:26:48.838602Z K 7 svn:log V 164 MFC r245400: Windows driver writes relative volume IDs to metadata field. Use that value as a hint for raid/rX device number to make it persistent across reboots. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:27:31.220899Z K 7 svn:log V 164 MFC r245400: Windows driver writes relative volume IDs to metadata field. Use that value as a hint for raid/rX device number to make it persistent across reboots. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:30:23.468593Z K 7 svn:log V 320 MFC r245423, r245425, r245433: - Print some more metadata fields. - Small cosmetic tuning of the IRRT status constants. - Keep value of orig_config_id metadata field. Windows driver writes there previous value of config_id when it is changed in some cases. I guess it may be used do avoid some split-brain conditions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:31:25.045606Z K 7 svn:log V 320 MFC r245423, r245425, r245433: - Print some more metadata fields. - Small cosmetic tuning of the IRRT status constants. - Keep value of orig_config_id metadata field. Windows driver writes there previous value of config_id when it is changed in some cases. I guess it may be used do avoid some split-brain conditions. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T22:43:38.360685Z K 7 svn:log V 55 Bring pxe_http into head@177038 in a functional state END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-01T00:32:01.417512Z K 7 svn:log V 414 MFC r245613: Make it possible to force async at server side on new NFS server, similar to the old one's nfs.nfsrv.async. Please note that by enabling this option (default is disabled), the system could potentionally have silent data corruption if the server crashes before write is committed to non-volatile storage, as the client side have no way to tell if the data is already written. Submitted by: rmacklem END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T01:16:26.747692Z K 7 svn:log V 347 Increase the number of passthru devices supported by bhyve. The maximum length of an environment variable puts a limitation on the number of passthru devices that can be specified via a single variable. The workaround is to allow user to specify passthru devices via multiple environment variables instead of a single one. Obtained from: NetApp END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-01T01:34:59.975601Z K 7 svn:log V 24 Oops, add missing file. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T02:41:47.815004Z K 7 svn:log V 403 Fix a bug in the passthru implementation where it would assume that all devices are MSI-X capable. This in turn would lead it to treat bar 0 as the MSI-X table bar even if the underlying device did not support MSI-X. Fix this by providing an API to query the MSI-X table index of the emulated device. If the underlying device does not support MSI-X then this API will return -1. Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T03:49:09.707614Z K 7 svn:log V 404 Fix a broken assumption in the passthru implementation that the MSI-X table can only be located at the beginning or the end of the BAR. If the MSI-table is located in the middle of a BAR then we will split the BAR into two and create two mappings - one before the table and one after the table - leaving a hole in place of the table so accesses to it can be trapped and emulated. Obtained from: NetApp END K 10 svn:author V 8 deischen K 8 svn:date V 27 2013-02-01T05:19:49.885445Z K 7 svn:log V 95 Prevent a null pointer dereference in pw userdel when deleting a user whose group != username. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T06:40:53.121107Z K 7 svn:log V 413 Delete the "blackhole" driver - it is not needed anymore. The "blackhole" driver was used in conjunction with bhyve to sequester pci devices intended for passthru until vmm.ko was loaded. This was useful at one point because vmm.ko could not be loaded at boot time. The same functionality can now be achieved by loading vmm.ko via the loader along with the kernel. Discussed with: grehan Obtained from: NetApp END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-01T07:05:43.191671Z K 7 svn:log V 42 Make use of USB ID sections configurable. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-01T07:19:19.257410Z K 7 svn:log V 47 Include SMSC driver into default kernel build. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-01T07:26:25.342936Z K 7 svn:log V 142 Fix for hardware checksum offloading in SMSC driver. This also fixes IPv6 support for this particular hardware. Submitted by: Daisuke Aoyama END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-01T07:36:22.172279Z K 7 svn:log V 385 MFC r244568: - Reduce buffer size from LINE_MAX to PATH_MAX, there is no point to store path longer than this. - Fix an unreached case of check against sizeof buf, which in turn leads to an off-by-one nul byte write on the stack. The original condition can never be satisfied because the passed boundary is the maximum value that can be returned, so code was harmless. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-01T07:38:26.705499Z K 7 svn:log V 385 MFC r244568: - Reduce buffer size from LINE_MAX to PATH_MAX, there is no point to store path longer than this. - Fix an unreached case of check against sizeof buf, which in turn leads to an off-by-one nul byte write on the stack. The original condition can never be satisfied because the passed boundary is the maximum value that can be returned, so code was harmless. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-01T07:40:46.797360Z K 7 svn:log V 83 MFC r245048: Constify arguments. While I'm there, also add a static for usage(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-01T07:48:13.835703Z K 7 svn:log V 88 MFC r245511: Improve the comment in txg.c Obtained from: Illumos (13910:f3454e0a097c) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T09:48:01.892960Z K 7 svn:log V 34 Fix the direction of the copying. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T09:48:43.403657Z K 7 svn:log V 7 Style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T10:00:21.009735Z K 7 svn:log V 248 ARM developers do not want the flushes of the partial cache lines surrounding DMAed data area for mbuf. Inform _bus_dmamap_load_buffer() that the current load is for mbuf, and make the bus_dmamap_sync_buf() to behave as if the buffer was aligned. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-02-01T10:26:31.282844Z K 7 svn:log V 928 Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%) for all ARM platforms. VM_KMEM_SIZE_SCALE specifies which fraction of the available physical memory, after deduction of the kernel itself and other early statically allocated memory, can be used for the kmem_map. The kmem_map provides for all UMA/malloc allocations in KVM space. Previously ARM was using a fixed kmem_map size of (12*1024*1024) = 12MB without regard to effectively available memory. This is too small for recent ARM SoC with more than 128MB of RAM. For reference a description of others related kmem_map parameters: VM_KMEM_SIZE default start size of kmem_map if SCALE is not defined VM_KMEM_SIZE_MIN hard floor on the kmem_map size VM_KMEM_SIZE_MAX hard ceiling on the kmem_map size VM_KMEM_SIZE_SCALE fraction of the available real memory to be used for the kmem_map, limited by the MIN and MAX parameters. Tested by: ian MFC after: 1 week END K 10 svn:author V 4 gber K 8 svn:date V 27 2013-02-01T11:39:03.969760Z K 7 svn:log V 114 Get time of next event from other cores only if SMP is already started. Reviewed by: mav Obtained from: Semihalf END K 10 svn:author V 4 gahr K 8 svn:date V 27 2013-02-01T13:04:06.761704Z K 7 svn:log V 231 - Fix more style(9)-related issues (copyright header, spaces after function names, unnecessary casts) - Change type of boolean variable from char to bool Suggested by: jhb, zont, jmallett Reviewed by: cognet Approved by: cognet END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-02-01T14:16:37.523592Z K 7 svn:log V 50 Remove unused VM_MAX_AUTOTUNE_NMBCLUSTERS define. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-02-01T14:21:09.385926Z K 7 svn:log V 171 uma_zone_set_max() directly returns the rounded effective zone limit. Use the return value directly instead of doing a second uma_zone_set_max() step. MFC after: 1 week END K 10 svn:author V 8 charnier K 8 svn:date V 27 2013-02-01T14:26:54.724540Z K 7 svn:log V 37 Change old-style function definition END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-01T15:32:20.363446Z K 7 svn:log V 152 Add placeholder constants to reserve a portion of the socket option name space for use by downstream vendors to add custom options. MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-01T15:48:29.576189Z K 7 svn:log V 301 MFC r200596 (by imp): Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN}, which disables doing a make obj. Use it when you know it will work only. KERNFAST now implies NO_KERNELOBJ, since you don't need to keep doing obj when doing incremental kernel builds. Approved by: imp END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T16:48:55.030333Z K 7 svn:log V 781 The change to reduce default smp_tsc_shift caused tsc shift to become zero on slower machines, which make the fenced get_timecount methods not used despite needed. Remove the (shift > 0) condition when selecting the get_timecount() implementation. Rename smp_tsc_shift to tsc_shift, and apply it for the UP case too. Allow shift to reach value of 31 instead of 30, as it was previously (should be nop). Reorganize the tc quality calculation to remove the conditionally compiled block. Rename test_smp_tsc() to test_tsc() and provide separate versions for SMP and UP builds. The check for virtialized hardware is more natural to perform in the smp version of the test_tsc(), since it is only done for smp case. Noted and reviewed by: bde (previous version) MFC after: 12 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T16:57:02.229123Z K 7 svn:log V 284 Assert that the mbuf in the chain has sane length. Proper place for this check is somewhere in the network code, but this assertion already proven to be useful in catching what seems to be driver bugs causing NFS scrambling random memory. Discussed with: rmacklem MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T16:58:59.826697Z K 7 svn:log V 369 Add support for MSI-X interrupts in the virtio block device and make that the default. The current behavior of advertising a single MSI vector can be requested by setting the environment variable "BHYVE_USE_MSI" to "yes". The use of MSI is not compliant with the virtio specification and will be eventually phased out. Submitted by: Gopakumar T Obtained from: NetApp END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T17:58:37.818356Z K 7 svn:log V 80 Fix a backwards comment in markvoldirty(). Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T18:01:03.719020Z K 7 svn:log V 709 The mountmsdosfs() function had an insane sanity test, remove it. Trying FAT32 on a small partition failed to mount because pmp->pm_Sectors was nonzero. Normally, FAT32 file systems are so large that the 16-bit pm_Sectors can't hold the size. This is indicated by setting it to 0 and using only pm_HugeSectors. But at least old versions of newfs_msdos use the 16-bit field if possible, and msdosfs supports this except for breaking its own support in the sanity check. This is quite different from the handling of pm_FATsecs -- now the 16-bit value is always ignored for FAT32 except for checking that it is 0, and newfs_msdos doesn't use the 16-bit value for FAT32. Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T18:06:06.290354Z K 7 svn:log V 803 The directory entry for dotdot was corrupted in the FAT32 case when moving a directory to a subdir of the root directory from somewhere else. For all directory moves that change the parent directory, the dotdot entry must be fixed up. For msdosfs, the root directory is magic for non-FAT32. It is less magic for FAT32, but needs the same magic for the dotdot fixup. It didn't have it. Both chkdsk and fsck_msdosfs fix the corrupt directory entries with no problems. The fix is to use the same magic for dotdot in msdosfs_rename() as in msdosfs_mkdir(). For msdosfs_mkdir(), document the magic. When writing the dotdot entry in mkdir, use explicitly set pcl variable instead on relying on the start cluster of the root directory typically has a value < 65536. Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T18:25:53.190632Z K 7 svn:log V 219 Backup FATs were sometimes marked dirty by copying their first block from the primary FAT, and then they were not marked clean on unmount. Force marking them clean when appropriate. Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-01T18:30:41.727586Z K 7 svn:log V 280 The MSDOSFSMNT_WAITONFAT flag is bogus and broken. It does less than track the MNT_SYNCHRONOUS flag. It is set to the latter at mount time but not updated by MNT_UPDATE. Use MNT_SYNCHRONOUS to decide to write the FAT updates syncrhonously. Submitted by: bde MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-01T18:59:14.914287Z K 7 svn:log V 55 Branch head for final pass at resurrection of pxe_http END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-01T19:24:16.109858Z K 7 svn:log V 135 Display MSI-X table and PBA offsets when displaying information about MSI-X capability. Reviewed by: jhb, jimharris (initial version) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-01T20:17:11.313165Z K 7 svn:log V 232 Remove support for plip from the GENERIC kernel as no systems in the last 10 years require this support. Discussed with: db Discussed with: kib Reviewed by: imp Reviewed by: jhb Reviewed by: -hackers Approved by: cperciva (mentor) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-02-01T22:55:27.212157Z K 7 svn:log V 51 Merge bmake-20130123 Approved by: marcel (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-02-02T01:11:02.833984Z K 7 svn:log V 128 MFC r246153, r246154: r246153: - Update svn port directory in release(7). r246154: - Force commit to mark MFC for r246153. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-02-02T01:11:12.362835Z K 7 svn:log V 128 MFC r246153, r246154: r246153: - Update svn port directory in release(7). r246154: - Force commit to mark MFC for r246153. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-02T02:00:10.308277Z K 7 svn:log V 92 Wrap this in an #ifdef so IEEE80211_SUPPORT_SUPERG will work correctly in a wlan.ko module. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-02T02:00:29.179308Z K 7 svn:log V 79 Allow IEEE80211_SUPPORT_SUPERG to be defined _and_ have a working wlan module. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-02T06:01:57.250808Z K 7 svn:log V 76 Tweaks to standard BEAGLEBONE config, as recently discussed on FreeBSD-ARM. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-02T06:06:39.844687Z K 7 svn:log V 78 Fix an obvious typo that broke time specifications of the form "2 hours ago". END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-02T09:05:36.941099Z K 7 svn:log V 97 Put in our own machine include links so we don't get polluted. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-02T09:12:07.395313Z K 7 svn:log V 265 Add necessary code to hand off from loader to an amd64 kernel. This does not properly shutdown the UEFI environment but we do end up in kernel where we promptly panic due to not having any SMAP information or anything equivalent. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-02T09:13:43.725727Z K 7 svn:log V 18 Update todo list. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-02T09:35:14.785301Z K 7 svn:log V 44 Missed a change: Add new files to Makefile. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-02T09:57:34.170337Z K 7 svn:log V 488 MFC r243245: Add UFS writesuspension mechanism, designed to allow userland processes to modify on-disk metadata for filesystems mounted for write. Reviewed by: kib, mckusick Sponsored by: FreeBSD Foundation MFC r243247: Add change missed in 243245. MFC r243250: Fix build of kdump(1). MFC r243254: Fix build on powerpc. Reviewed by: nwhitehorn MFC r243305 by marius: Fix build after r243245. Submitted by: trasz MFC r243339 by kib: Fix module build after r243245. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-02T10:00:46.663393Z K 7 svn:log V 189 MFC r243246: Make it possible to resize filesystems mounted read-write, using newly introduced UFS write suspension mechanism. Reviewed by: kib, mckusick Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-02T10:02:26.165437Z K 7 svn:log V 122 MFC r244243: Fix extending filesystems of weird size by making sure the actual size is always multiple of fragment size. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-02T10:04:23.396698Z K 7 svn:log V 159 MFC r244295: When growing a filesystem, don't leave unused space at the end if there is not enough room for a full cylinder group. Reviewed by: mckusick@ END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-02T11:04:04.016805Z K 7 svn:log V 75 Make sure we use the right EFI bindings. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:20:36.728837Z K 7 svn:log V 68 MFC r245945: spa_generate_rootconf: add support for old vdev labels END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:25:10.026057Z K 7 svn:log V 68 MFC r245945: spa_generate_rootconf: add support for old vdev labels END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:30:53.233776Z K 7 svn:log V 81 MFC r245946: g_mirror: g_getattr() failure should not be fatal PR: kern/175323 END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:35:18.060351Z K 7 svn:log V 216 zfs: add MODULE_VERSION for zfsctrl This should allow the kernel linker to easily detect a situation when the module is present both in a kernel and in a preloaded file (zfs.ko). Reviewed by: jhb MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:38:26.968896Z K 7 svn:log V 411 uart: add resume method and enable it for attachments on the most common x86 buses Otherwise the uart hardware could be in such a state after the resume where IER is cleared and thus no interrupts are generated. This behavior is observed and tested with QEMU, so I am comitting this change to help with my debugging. There has been no feedback from users of serial ports on real hardware. MFC after: 20 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:41:05.673005Z K 7 svn:log V 238 solaris compat: remove KM_ZERO - there is no such flag in Solaris and derivatives - the flag was added in an unrelated change - the flag is not used The proper way to allocate zeroed out memory is to use kmem_zalloc. MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:54:00.112226Z K 7 svn:log V 325 ng_ether: track interface renaming Also sanitize interface names that can potentially contain characters that are prohibited in netgraph names. PR: kern/154850 (sanitizing of names) Discussed with: eri, melifaro Submitted by: Nikolay Denev (sanitizing code) Reviewed by: eri, glebius MFC after: 17 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T11:58:35.494268Z K 7 svn:log V 282 print compiler version in the kernel banner And provide kernel compiler version as a sysctl as well. This is useful while we have gcc and clang cohabitation. This could be even more useful when we have support for external toolchains. In cooperation with: mjg MFC after: 13 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T12:02:42.812770Z K 7 svn:log V 295 x86 suspend/resume: suspend pics and pseudo-pics in reverse order - change 'pics' from STAILQ to TAILQ - ensure that Local APIC is always first in 'pics' Reviewed by: jhb Tested by: Sergey V. Dyatko , KAHO Toshikazu MFC after: 12 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T12:04:32.798576Z K 7 svn:log V 213 cpususpend_handler: mark AP as resumed only after fully setting up lapic Reviewed by: jhb Tested by: Sergey V. Dyatko , KAHO Toshikazu MFC after: 12 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-02T12:08:28.070399Z K 7 svn:log V 179 MFC r246131: Fix a problem introduced in r231057: in bsd.own.mk, move the test for whether clang is enabled to just after the last place where it could have been forced to "no". END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T12:42:07.661318Z K 7 svn:log V 337 acpi: after wakeup from a state > S1 re-enable SCI_EN with a direct write This hack is picked up from Linux, which claims that it follows Windows behavior. PR: amd64/174409 Tested by: Sergey V. Dyatko , KAHO Toshikazu , Slawa Olhovchenkov MFC after: 13 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T12:44:19.593656Z K 7 svn:log V 190 acpi: clear power button status bit after waking up... so that it is not confused for a new power off request. Learned from: Linux and ACPI specification Tested by: gjb MFC after: 12 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T12:52:43.656156Z K 7 svn:log V 99 revert accidentally committed unneeded changes from r246250 MFC after: 7 days X-MFC with: r246250 END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-02-02T13:47:34.530381Z K 7 svn:log V 121 MFC r244686 to stable/9: Use correct size in snprintf. Remove unused buffer. PR: 174631 Submitted by: Henning Petersen END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-02T14:19:50.745064Z K 7 svn:log V 109 fix some fat-fingering in r246246 Submitted by: mjg Pointyhat to: avg MFC after: 5 days X-MFC with: r246246 END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-02-02T18:08:09.944502Z K 7 svn:log V 62 Use the default policy table of RFC 6724. MFC after: 1 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-02T21:51:14.614672Z K 7 svn:log V 403 crunch: Sync some NetBSD changes. crunchide: Apr 11, 2009: fix some -Wsign-compare issues. Sep 20, 1999: Free the right thing. crunchgen: Apr 14, 2009: Fix some WARNS=4 issues (-Wshadow -Wcast-qual) Oct 30, 2004: Add (unsigned char) cast to ctype functions Feb 5, 2001: fix nested extern. examples: Aug 30, 2007: NetBSD 36867 - trsp references are deprecated Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-02T21:57:06.208959Z K 7 svn:log V 325 Improve r238673 to additionally allow for odd-aligned buffers as passed in by smartd of smartmontools. While at it, hint the compiler that 32-bit PIO is the most likely case (idea from Linux) and use bus_{read,write}_stream_2(9) instead of bus_{read,write}_multi_stream_2(9) for single count reads/writes. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-02T22:23:45.885506Z K 7 svn:log V 891 ext2fs: general cleanup. - Remove unused extern declarations in fs.h - Correct comments in ext2_dir.h - Several panic() messages showed wrong function names. - Remove commented out stray line in ext2_alloc.c. - Remove the unused macro EXT2_BLOCK_SIZE_BITS() and the then write-only member e2fs_blocksize_bits from struct m_ext2fs. - Remove the unused macro EXT2_FIRST_INO() and the then write-only member e2fs_first_inode from struct m_ext2fs. - Remove EXT2_DESC_PER_BLOCK() and the member e2fs_descpb from struct m_ext2fs. - Remove the unused members e2fs_bmask, e2fs_dbpg and e2fs_mount_opt from struct m_ext2fs - Correct harmless off-by-one error for fspath in ext2_vfsops.c. - Remove the unused and broken macros EXT2_ADDR_PER_BLOCK_BITS() and EXT2_DESC_PER_BLOCK_BITS(). - Remove the !_KERNEL versions of the EXT2_* macros. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-02T22:28:29.612880Z K 7 svn:log V 595 Pull in r170135 from upstream clang trunk: Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-02T22:36:02.613815Z K 7 svn:log V 24 Regenerate src.conf(5). END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-02T22:39:21.730529Z K 7 svn:log V 108 crunch: Sync some NetBSD changes Revert a comment that was not supposed to go away. Obtained from: NetBSD END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-02T22:42:46.809615Z K 7 svn:log V 77 Add missing src.conf(5) fragments for WITHOUT_LIBCPLUSPLUS and WITH_GPL_DTC. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-02T22:52:24.692242Z K 7 svn:log V 24 Regenerate src.conf(5). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:01:54.174687Z K 7 svn:log V 106 MFC r245606: Add option to make pc-sysinstall optional PR: bin/173931 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:11:16.763397Z K 7 svn:log V 185 MFC r245535: Remove useless variable 'Pflag': -P is an alternative to -H and -L, and it is implemented using the Hflag and Lflag variables. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:11:20.930016Z K 7 svn:log V 185 MFC r245535: Remove useless variable 'Pflag': -P is an alternative to -H and -L, and it is implemented using the Hflag and Lflag variables. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:22:27.822588Z K 7 svn:log V 223 MFC r244122: Remove 'dangerous' instructions from the example make.conf. Clarify when and why these might be used and that this isn't a supported configuration. PR: docs/144488 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:22:31.119021Z K 7 svn:log V 223 MFC r244122: Remove 'dangerous' instructions from the example make.conf. Clarify when and why these might be used and that this isn't a supported configuration. PR: docs/144488 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:22:39.480805Z K 7 svn:log V 223 MFC r244122: Remove 'dangerous' instructions from the example make.conf. Clarify when and why these might be used and that this isn't a supported configuration. PR: docs/144488 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:30:58.457883Z K 7 svn:log V 152 MFC r243931: Avoid the creation of a temporary object by using the prefix operator for non-primitive types. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:31:01.647778Z K 7 svn:log V 152 MFC r243931: Avoid the creation of a temporary object by using the prefix operator for non-primitive types. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-02T23:31:10.584083Z K 7 svn:log V 152 MFC r243931: Avoid the creation of a temporary object by using the prefix operator for non-primitive types. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T00:02:59.397362Z K 7 svn:log V 133 MFC r243793,r243794: Add a few more translations from IDs to model name. PR: kern/174059 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T00:02:59.838188Z K 7 svn:log V 133 MFC r243793,r243794: Add a few more translations from IDs to model name. PR: kern/174059 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-02-03T00:19:34.475810Z K 7 svn:log V 174 Fix the PowerPC DTrace copy functions. The kernel doesn't hold the same view to the user map, so use the md copy in/out functions provided by the kernel. MFC with: r242723 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-03T01:08:01.252544Z K 7 svn:log V 652 Another overhaul of the CPSW driver for BeagleBone Major changes: * Finally tracked down the flow control setting that seems to have been causing TX stalls and watchdog timeouts * RX and TX paths now share a lot more code * TX interrupt is no longer used; we instead GC finished tx queue entries at the bottom of the start routine. * TX start now queues fragmented packets directly; it only invokes defrag() for occasional very fragmented packets. * "sysctl dev.cpsw" dumps controller statistics and queue counts * Host Error Interrupt will give extensive debugging information if the controller chokes on the queued data. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T01:22:28.720681Z K 7 svn:log V 231 MFC r244407,r244409: POSIX requires that non-existent or null arguments be treated as if a zero argument were supplied. Add regression tests to catch this case as well. PR: bin/174521 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-03T01:54:25.755271Z K 7 svn:log V 118 crunch: Sync some NetBSD changes Fix a couple of free's in previous commit. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T03:38:44.963609Z K 7 svn:log V 167 MFC r244493: Make bsdgrep behave as gnugrep and as documented: -m should only stop reading the specific file, not any file. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T03:43:59.956418Z K 7 svn:log V 94 MFC r243896: Use strdup instead of malloc + strcpy Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-03T03:46:16.110003Z K 7 svn:log V 118 MFC r245491: Avoid clobbering errno with a call to fprintf PR: bin/173923 Approved by: cperciva (mentor, implicit) END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-03T09:57:39.312478Z K 7 svn:log V 368 allow for large KTR_ENTRIES values by allocating ktr_buf using malloc(9) Only during very early boot, before malloc(9) is functional (SI_SUB_KMEM), the static ktr_buf_init is used. Size of the static buffer is determined by a new kernel option KTR_BOOT_ENTRIES. Its default value is 1024. This commit builds on top of r243046. Reviewed by: alc MFC after: 17 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-02-03T10:26:24.823641Z K 7 svn:log V 361 - Add CHECKSUM.* support in Makefile[1]. - Use ln -fs to create a symlink. - Remove pkgadd for docports. - Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no. - Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE. - Use makefs(8) and gpart(8) for sparc64 ISO image[2]. - Add publisher option to makefs(8)[2]. Based on work by: gjb[1] Discussed with: marius, nwhitehorn[2] END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-03T12:17:49.323125Z K 7 svn:log V 836 MFC r242379: Fix problem with geom_label(4) not recognizing UFS labels on filesystems extended using growfs(8). The problem here is that geom_label checks if the filesystem size recorded in UFS superblock is equal to the provider (i.e. device) size. This check cannot be removed due to backward compatibility. On the other hand, in most cases growfs(8) cannot set fs_size in the superblock to match the provider size, because, differently from newfs(8), it cannot recompute cylinder group sizes. To fix this problem, add another superblock field, fs_providersize, used only for this purpose. The geom_label(4) will attach if either fs_size (filesystem created with newfs(8)) or fs_providersize (filesystem expanded using growfs(8)) matches the device size. PR: kern/165962 Reviewed by: mckusick Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-03T14:24:52.065866Z K 7 svn:log V 125 MFC r245977: Be conservative and do not try to consume more bytes than was requested from the server for the read operation. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-03T15:09:40.814588Z K 7 svn:log V 31 Use proper pointer in ifa_ref. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-03T15:23:28.758636Z K 7 svn:log V 322 Rework in6_selectsrc function. Move the source address selection algorithm's logic into separate function. Remove all dependencies from the embedded scope ids. Update the logic of algorithm according to the RFC 6724. Update IPv6 statistic related to the source address selection algorithm only for the rule, that has won. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-03T15:54:57.867556Z K 7 svn:log V 698 sh: Expand here documents in the current process. Expand here documents at the same point other redirections are expanded but use a non-fork subshell environment (like simple command substitutions) for compatibility. Substitition errors result in an empty here document like before. As a result, a fork is avoided for short (<4K) expanded here documents. Unexpanded here documents (with quoted end marker after <<) are not affected by this change. They already only forked when >4K. Side effects: * Order of expansion is slightly different. * Slow expansions are not executed in parallel with the redirected command. * A non-fork subshell environment is subtly different from a forked process. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-02-03T17:16:32.933851Z K 7 svn:log V 446 For UFS2 i_blocks is unsigned. The current "sanity" check that it has gone below zero after the blocks in its inode are freed is a no-op which the compiler fails to warn about because of the use of the DIP macro. Change the sanity check to compare the number of blocks being freed against the value i_blocks. If the number of blocks being freed exceeds i_blocks, just set i_blocks to zero. Reported by: Pedro Giffuni (pfg@) MFC after: 2 weeks END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-03T18:14:37.531966Z K 7 svn:log V 1140 MFC r235063 (by netchild@): - >500 static DTrace probes for the linuxulator - DTrace scripts to check for errors, performance, ... they serve mostly as examples of what you can do with the static probes with moderate load the scripts may be overwhelmed, excessive lock-tracing may influence program behavior (see the last design decission) Design decissions: - use "linuxulator" as the provider for the native bitsize; add the bitsize for the non-native emulation (e.g. "linuxuator32" on amd64) - Add probes only for locks which are acquired in one function and released in another function. Locks which are aquired and released in the same function should be easy to pair in the code, inter-function locking is more easy to verify in DTrace. - Probes for locks should be fired after locking and before releasing to prevent races (to provide data/function stability in DTrace, see the man-page of "dtrace -v ..." and the corresponding DTrace docs). Manual merge futex part of r227293 (by ed@): Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. MFC r235078 (by uqs@): Fix make depend. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-03T18:27:57.064202Z K 7 svn:log V 50 MFC r240387 (by kevlo@): Remove redundant check. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-03T18:37:08.430415Z K 7 svn:log V 140 MFC r245908: Arithmetic on pointers takes into account the size of the type. Properly cast the pointer to avoid incorrect pointer scaling. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-03T18:42:20.341150Z K 7 svn:log V 1167 zfs: fix, improve and re-organize page_lookup and page_unlock Now they are split into two pairs: page_hold/page_unhold for mappedread and page_busy/page_unbusy for update_pages. For mappedread we simply hold a page that is to be used as a source if it is resident and valid (and not busy). This is sufficient since we are only doing page -> user buffer copying. There is no page <-> backing storage I/O involved. update_pages is now better split to properly handle the putpages case (page -> arc) and the regular write case (arc -> page). For the latter we use complete protocol of marking an object with paging-in-progress and marking a page with io_start (busy count). Also, in this case we remove the write bit from all page mappings and clear dirty bits of the pages, the former is needed to ensure that the latter does the right thing. Additionally we update a page if it is cached instead of just freeing it as was done before. This needs to be verified. A minor detail: ZFS-backed pages should always be either fully valid or fully invalid. Assert this and use simpler API that does not deal with sub-page blocks. Reviewed by: kib MFC after: 26 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-03T19:17:44.277536Z K 7 svn:log V 147 Restore the ABI of the cam ccb_flags. Carve the needed set of bits from the flags which were removed and which are never passed from the usermode. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-03T20:13:33.481268Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-03T20:35:37.656367Z K 7 svn:log V 478 crunchide(1): support non-custom elf object layout The crunchide utility presumes the last 3 chunks of an ELF object layout are section headers, symbol table, and then string table. However, this is not specified in the ELF standards, and linkers may generate different layouts when doing partial linking (-r). This change is required to build FreeBSD with mclinker or the gold linker. PR: bin/174011 Submitted by: Pete Chou Reviewed by: Cristoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-03T20:40:41.877227Z K 7 svn:log V 254 Add several missing symbols to libcxxrt's symbol version map, and remove a few duplicates. This should fix building world with -stdlib=libc++ after r246028. Submitted by: Yamaya Takashi MFC after: 1 week X-MFC-With: r246028 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-03T21:16:33.886965Z K 7 svn:log V 132 crunchide(1): Put e_shnum into a local variable. This simplifies the code a bit. Submitted by: Cristoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-03T21:30:02.277504Z K 7 svn:log V 79 UFS: Remove dead assignment. Submitted by: Christoph Mallon MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-03T21:30:29.563283Z K 7 svn:log V 109 - Make pci_ns8250_ids[] const. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-03T21:43:55.911166Z K 7 svn:log V 136 Further improve r242655 and supply VM_{MIN,MAX}_KERNEL_ADDRESS as constant values to SYSCTL_ULONG(9) where possible. Submitted by: bde END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:30:58.170899Z K 7 svn:log V 64 virtio_blk: Remove magic number Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:31:40.361715Z K 7 svn:log V 61 virtio_blk: Expand a comment Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:32:56.205300Z K 7 svn:log V 150 virtio_pci: Clean up after failed virtqueue alloc attempt Useful if the the driver wants to retry with fewer queues. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:33:51.972378Z K 7 svn:log V 100 virtio_pci: Move no interrupt check into the PCI interrupt handlers Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:35:05.895343Z K 7 svn:log V 126 virtio: Remove old debugging flag Keep the now unused flags parameter around for future use. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:35:53.733710Z K 7 svn:log V 98 virtio_blk: Correct stripe offset calculation Pointed out by: max Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-03T23:54:30.291880Z K 7 svn:log V 67 virtio_pci: Remove unused variable Approved by: grehan (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-04T00:34:33.306215Z K 7 svn:log V 80 MFC r243930: Constify where possible Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-04T00:34:34.833886Z K 7 svn:log V 80 MFC r243930: Constify where possible Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-04T00:34:35.442338Z K 7 svn:log V 80 MFC r243930: Constify where possible Approved by: cperciva (mentor, implicit) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T06:59:33.514086Z K 7 svn:log V 251 Extend GDB to check the value in the .note.tag section along with the .note.ABI-tag section. This helps on ARM EABI where the OS/ABI field is zero. It would be better to use the NOTES program header however this would require a more invasive change. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-04T08:53:51.047802Z K 7 svn:log V 59 Detect address wrapup without defining the right boundary. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T09:28:36.664916Z K 7 svn:log V 947 Allow the unwind functions int libgcc_s to interact correctly with libthr. _Unwind_ForcedUnwind in libgcc_s takes as one of it's parameters a stop function to tell it when to stop unwinding. One of the stop function's parameters is a _Unwind_Exception_Class. On most architectures this is an int64_t, however on ARM EABI the gcc developers have made this a char array with 8 items. While both of these take the same space they are passed into the stop function differently, an int64_t is passed in in registers r2 and r3, while the char[8] is passed in as a pointer to the first item in register r2. Because libthr expects the value to be an int64_t we would get incorrect results when it passes a function that take an int64_t but libgcc passes in a pointer to a char array including crashing. The fix is to update libgcc_s to make it pass an int64_t to the stop function and to libstdc++ as it expects _Unwind_Exception_Class to be an array. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T09:34:25.798351Z K 7 svn:log V 118 Fix xdev by using the install shell script as it knows about the -l argument thile the local version install may not. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-04T09:35:48.196228Z K 7 svn:log V 163 Try to improve r242655 take III: move these SYSCTLs describing the kernel map, which is defined and initialized in vm/vm_kern.c, to the latter. Submitted by: alc END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T09:42:12.115211Z K 7 svn:log V 76 Add #undef TARGET_DEFAULT back as it shouldn't have been removed in r245539 END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T09:48:50.261391Z K 7 svn:log V 134 Use the STACKALIGN macro to alight the stack rather than with a magic mask. Submitted by: Christoph Mallon END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-04T10:05:55.944921Z K 7 svn:log V 166 Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printf format string expects. This is only an issue on ARM EABI where wint_t is different to wchar_t. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-04T15:44:42.544132Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-04T15:51:27.573779Z K 7 svn:log V 44 MFH (r244992): remove firewire from GENERIC END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-04T16:13:55.428853Z K 7 svn:log V 117 MFH (r228082): add missing documentation for WITH_LIBCPLUSPLUS MFH (r228159): add missing documentation for WITH_CTF END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-04T16:20:13.911787Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-04T17:29:13.036896Z K 7 svn:log V 271 ng_ether_ifnet_arrival_event: check interface type before using IFP2NG The check is copied from vnet_ng_ether_init. Not sure if it covers all the types that we want to support with ng_ether. Reported by: markj Discussed with: zec MFC after: 10 days X-MFC with: r246245 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-02-04T17:41:17.697756Z K 7 svn:log V 123 Missed adding Makefile.config and unit-tests/Makefile should allow FreeBSD make to do 'obj'. Approved by: marcel (mentor) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-04T18:16:54.589759Z K 7 svn:log V 186 Add snprintf to libstand. Extend kvprintf to have a maxsize argument for sanity. Exten PCHAR(c) to use maxsize, for sanity. This is all courtesy of Alexy Tarasov's 2007 gsoc project: END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-04T18:39:05.202526Z K 7 svn:log V 30 Odd typos in these two files. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-04T19:05:53.767414Z K 7 svn:log V 59 Sort by MK_* knob like the comment says MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-04T19:17:15.272031Z K 7 svn:log V 77 Use stripesize as smallest block size if it's available. MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-04T21:50:55.485527Z K 7 svn:log V 166 ktr: copy content from the early static buffer if KTR_ENTRIES != KTR_BOOT_ENTRIES Reported by: glebius, jhb Pointyhat to: avg MFC after: 14 days X-MFC with: r246282 END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-04T21:58:57.760982Z K 7 svn:log V 134 ktr: prevent possible footshooting with KTR_ENTRIES and KTR_BOOT_ENTRIES Suggested by: adrian MFC after: 14 days X-MFC with: r246282 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-04T22:05:22.754185Z K 7 svn:log V 30 Reduce differences with HEAD. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-04T22:10:01.959402Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-04T22:15:36.581907Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-04T23:12:37.271731Z K 7 svn:log V 288 Grab the EFI memory map and store it as module metadata on the kernel. This is the same approach used to provide the BIOS SMAP to the kernel. There's a lot of functional overlap between the bootinfo64.c and efimd.c files that should be addressed later. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-04T23:21:20.739113Z K 7 svn:log V 112 Pass the ACPI table metadata via hints so the kernel ACPI code can find them. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-04T23:24:04.702250Z K 7 svn:log V 247 Add code to parse the EFI memory map if present. With this change we can now boot under qemu using the OVMF UEFI firmware image with the limitation that a serial console is required as syscons isn't yet working. Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-05T00:09:33.245553Z K 7 svn:log V 130 Reduce diffs against HEAD: - Reimplement vm_page_cache_transfer() properly - Remove vm_page_cache_rename() as a subsequent change END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-05T00:20:00.001935Z K 7 svn:log V 97 Restrengten vn_has_cached_data() by also checking the resident pages count, just like HEAD does. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-05T00:33:32.640172Z K 7 svn:log V 17 Fix compilation. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-02-05T00:37:45.756190Z K 7 svn:log V 1015 Rework jumbo frame handling. QAC confirmed that the controller requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on any alignments I guess this DMA limitation for RX buffer could be jumbo frame specific one. Also I'm not sure whether this DMA limitation is related with 64bit DMA. Previously age(4) disabled 64bit DMA addressing due to silent data corruption. So we may need more testing on re-enabling 64bit DMA in future. While I'm here, change mbuf chaining algorithm to use fixed sized buffer and force software checksum if controller reports length error. According to QAC, RFD is not updated at all for jumbo frame so it works just like alc(4) controllers. This change also added alignment fixup for strict alignment architectures. Because I'm not aware of any non-x86 machines that use age(4) controllers it's just for completeness at this moment. Wit this change, jumbo frame should work with age(4). Tested by: Christian Gusenbauer < c47g <> gmx dot at > MFC after: 1 week END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-02-05T02:25:13.429770Z K 7 svn:log V 83 Add gpio driver and update dts and kernel config accordingly. Approved by: gonzo@ END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-05T02:32:58.213856Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-05T02:35:25.305233Z K 7 svn:log V 22 Update the todo list. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-05T02:45:02.475265Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T02:57:59.407520Z K 7 svn:log V 89 crunchgen: Permit use of alternative linkers. Submitted by: Pete Chou MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:01:04.047411Z K 7 svn:log V 97 ext2fs: Use EXT2_LINK_MAX instead of LINK_MAX Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:08:56.700001Z K 7 svn:log V 73 ext2fs: Use nitems(). Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:13:05.999955Z K 7 svn:log V 111 ext2fs: Correct off-by-one errors in FFTODT() and DDTOFT(). Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:17:41.897958Z K 7 svn:log V 98 ext2fs: Remove useless rootino local variable. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:23:56.465708Z K 7 svn:log V 95 ext2fs: Remove unused em_e2fsb definition.. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-05T03:26:34.728075Z K 7 svn:log V 97 ext2fs: move assignment where it is not dead. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-02-05T04:13:34.431398Z K 7 svn:log V 123 Remove two dead assignments and make use of sc more explicit and clear Submitted by: Christoph Mallon Approved by: gonzo@ END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-05T05:16:02.525039Z K 7 svn:log V 113 Build clang for little-endian arm by default. Due to size issues when built with gcc disable CLANG_FULL for now. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-02-05T09:40:31.241377Z K 7 svn:log V 42 MFH: sync netmap with the version in HEAD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-05T09:50:33.107578Z K 7 svn:log V 929 MFC r243758 (marcel): In globextend() when the pathv vector cannot be (re-)allocated, don't free and clear the gl_pathv pointer in the glob_t structure. Such breaks the invariant of the glob_t structure, as stated in the comment right in front of the globextend() function. If gl_pathv was non-NULL, then gl_pathc was > 0. Making gl_pathv a NULL pointer without also setting gl_pathc to 0 is wrong. Since we otherwise don't free the memory associated with a glob_t in error cases, it's unlikely that this change will cause a memory leak that wasn't already there to begin with. Callers of glob(3) must call globfree(3) irrespective of whether glob(3) returned an error or not. MFC r243759 (marcel): In globextend(), take advantage of the fact that realloc(NULL, size) is equivalent to malloc(size). This eliminates the conditional expression used for calling either realloc() or malloc() when realloc() will do all the time. END