ƒœ?271000 135 920 194 202 159 277 164 154 303 155 163 219 98 579 155 498 277 277 143 142 390 230 197 1915 614 211 565 205 124 115 769 273 196 202 206 202 209 233 168 158 174 176 221 168 249 354 236 856 402 554 136 289 536 195 222 170 214 217 688 262 262 779 779 260 260 239 178 197 197 225 225 354 272 272 251 174 395 530 120 174 185 220 215 322 153 430 398 380 169 223 466 179 179 187 262 119 1087 129 148 299 352 321 210 150 779 114 269 371 129 211 193 218 751 738 448 175 252 519 523 433 429 339 421 185 156 169 202 261 678 9484 180 684 359 149 178 742 K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-03T08:18:07.684490Z K 7 svn:log V 827 Right now, thread_single(SINGLE_EXIT) returns after the p_numthreads reaches 1. The p_numthreads counter is decremented in thread_exit() by a call to thread_unlink(). This means that the exiting threads may still execute on other CPUs when thread_single(SINGLE_EXIT) returns. As result, vmspace could be destroyed while paging structures are still used on other CPUs by exiting threads. Delay the return from thread_single(SINGLE_EXIT) until all threads are really destroyed by thread_stash() after the last switch out. The p_exitthreads counter already provides the required mechanism, move the wait from the thread_wait() (which is called from wait(2) code) into thread_single(). Reported by: many (as "panic: pmap active ") Reviewed by: alc, jhb Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-03T08:18:09.524105Z K 7 svn:log V 98 MFC r270247: MFV r270195: Illumos issue: 5045 use atomic_{inc,dec}_* instead of atomic_add_* END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-03T08:21:21.637743Z K 7 svn:log V 105 MFC r270248: MFV r270196: Illumos issue: 5047 don't use atomic_*_nv if you discard the return value END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-03T08:24:11.467881Z K 7 svn:log V 63 MFC r270260: Provide compatibility shim for atomic_dec_64_nv. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-03T08:27:05.719426Z K 7 svn:log V 185 MFC r270661: Remove leading '/' from hardlink name when removing them from the regular file name. This fixes the problem, when bsdtar can not create hardlinks to extracted files. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-03T08:28:16.874511Z K 7 svn:log V 68 Use CSUM_BITS instead of incorrect copy. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-03T08:30:18.066427Z K 7 svn:log V 58 Clean up unused CSUM_FRAGMENT. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-03T08:35:42.117323Z K 7 svn:log V 210 Retire thread_unthread(), it has only one caller. Update comment in the block of code before the previous call to thread_unthread(). Discussed with: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-03T08:40:16.100713Z K 7 svn:log V 63 Style. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-09-03T08:45:58.887971Z K 7 svn:log V 71 Added a regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-03T09:05:16.916510Z K 7 svn:log V 126 MFC r270691: Fix handling of the third argument for fcntl(2). The native syscall uses long for arg, which needs translation. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-03T09:05:37.041481Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-03T09:35:38.007403Z K 7 svn:log V 487 Leave the C11 keywords alone when we have a recent version of GCC. As GCC also gained support for the C11 keywords over time, we can patch up to not define these anymore. This has the advantage that error messages for static assertions are printed natively and that _Alignas() will work with even a type outside of C11 mode. All C11 keywords are supported with GCC 4.7 and higher, with the exception of _Thread_local and _Generic. These are only supported as of GCC 4.9. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-03T09:58:59.253612Z K 7 svn:log V 59 Remove always false comparison. Sponsored by: Nginx, Inc. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-03T11:07:49.758918Z K 7 svn:log V 400 * Unconditionally turn on SIOCGI2C probing for all interfaces on "ifconfig -v". I've seen no measurable timing difference for doing additional SIOCGI2C call for system with 4k vlans. * Determine appropriate handler (SFP/QSFP) by reading identification byte (which is the same for both SFF-8472 and SFF-8436) instead of checking driver name. MFC with: r270064 Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-03T11:17:11.821053Z K 7 svn:log V 185 MFC r270661: Remove leading '/' from hardlink name when removing them from the regular file name. This fixes the problem, when bsdtar can not create hardlinks to extracted files. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-03T11:17:27.083036Z K 7 svn:log V 185 MFC r270661: Remove leading '/' from hardlink name when removing them from the regular file name. This fixes the problem, when bsdtar can not create hardlinks to extracted files. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-03T11:46:43.821666Z K 7 svn:log V 46 Add new quirk. PR: 193279 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-03T13:15:16.261344Z K 7 svn:log V 45 Fix spelling. PR: 193279 MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T13:17:44.237012Z K 7 svn:log V 294 MFC vt(4) work from ray@: r269188: [Rework vb_buffer and vb_rows assignment] r269192: Remove special handling of console window size. It's done in vt_upgrade() for all windows. r269193: Update comments. r269194: Revise font initialization handling. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T13:22:50.051771Z K 7 svn:log V 134 MFC r269437 by nwhitehorn: Don't assume that the framebuffer driver is using vt_fb_blank() when blanking the screen during init. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T13:31:08.913017Z K 7 svn:log V 101 MFC r270265 by dumbbell: vt(4): Fix an inconsistency between the mouse cursor bitmap and its mask END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T13:40:02.356590Z K 7 svn:log V 1818 MFC vt(4) mouse cursor improvements from dumbbell: r270269: vt(4): Handle global and per-window mouse cursor toggle in one place Before the global flag was set/unset using the CONS_MOUSECTL ioctl, and the per-window flag through the MOUSE_SETLEVEL or MOUSE_SETMODE ioctls. Also, if the cursor is already enabled/disabled, return immediatly. This avoids to reset the cursor's position to the center of the screen. This matches syscons' behavior. While here, remove a trailing space and a redundant variable declaration. r270271: vt(4): Mark cursor old position as dirty before reading the dirty area Otherwise, the redraw is done during the next vt_flush run. r270272: vt(4): If the cursor is globally disabled, don't mark its position as dirty This avoids unnecessary redraw. In particular, during boot, where the cursor is disabled and its fake position is [0;0], this triggered a refresh of the whole screen each time vt_flush() is called. r270273: vt(4): If the cursor didn't move, don't mark its position as dirty Currently, this has no effect, because the cursor is always redrawn anyway. But this will be useful after improvements to the vd_bitbltchr_t callback API. The vt_device structure members used to store the position of the cursor as of the last redraw are renamed from vd_mdirty{x,y} to vd_mold{x,y}. The associated comment is fixed too. Also, their value is now expressed in pixels, not in character columns/row. r270275: vt(4): Mark the current cursor position as dirty Like r270273, this has no effect for now, because the cursor is always drawn. This is in preparation of future changes to vd_bitbltchr_t API. r270278: vt(4): Mark cursor position as dirty when we enable/disable it Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T14:00:37.062477Z K 7 svn:log V 518 MFC r270280 by dumbbell: vt(4): Pause the flush timer while swithing window This fixes bad looking refresh when switching window: squares instead of text, flashing screen, and so on. In the worst case, vt_flush() came at a very inappropriate timing and the screen was not refreshed at all (leaving squares all over the place). This doesn't fix the flickering of the screen with vt_vga, because the sync signal is temporarily stopped and the video memory is cleared. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T14:06:12.030668Z K 7 svn:log V 115 MFC r270288 by dumbbell: vt(4): Constify vt_buf argument of vtbuf_iscursor() Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-09-03T14:16:50.718698Z K 7 svn:log V 469 MFV: Only emit movw on ARMv6T2 Building for the FreeBSD default target ARMv6 was emitting movw ASM on certain test cases (found building qmake4/5 for ARM). Don't do that, moreover, the AS in base doesn't understand this instruction for this target. One would need to use --integrated-as to get this to build if desired. http://llvm.org/viewvc/llvm-project?view=revision&revision=216989 Submitted by: ian Reviewed by: dim Obtained from: llvm.org MFC after: 2 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-09-03T14:44:23.822411Z K 7 svn:log V 112 Fix descriptors leak in case of nvlist_xunpack() failure. Submitted by: Mariusz Zaborski END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-09-03T15:06:47.226549Z K 7 svn:log V 32 Declare i. Reported by: sbruno END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-09-03T15:08:33.372830Z K 7 svn:log V 23 Use better type for i. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-09-03T15:32:38.011520Z K 7 svn:log V 673 Do not direct commit to contrib/llvm. Make the change a patch file instead. Reverts 271025 but still functionally patches it. Original intent is still the same. Pointed out by rdivacky. MFV: Only emit movw on ARMv6T2 Building for the FreeBSD default target ARMv6 was emitting movw ASM on certain test cases (found building qmake4/5 for ARM). Don't do that, moreover, the AS in base doesn't understand this instruction for this target. One would need to use --integrated-as to get this to build if desired. http://llvm.org/viewvc/llvm-project?view=revision&revision=216989 Submitted by: ian Reviewed by: dim Obtained from: llvm.org MFC after: 2 days Relnotes: yes END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-09-03T15:48:07.937399Z K 7 svn:log V 177 Apparently, the patch commited in svn r271029 doesn't actually do anyting, so we still need to modify the code in place. Pointed out by emaste. MFC after: 2 days Relnotes: yes END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:25.745230Z K 7 svn:log V 103 Document r269065, iSCSI redirection handling Submitted by: trasz Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:27.637769Z K 7 svn:log V 109 Document r265523, kern.iscsi.fail_on_disconnection Submitted by: trasz Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:29.921231Z K 7 svn:log V 113 Document r265524, iSCSI lock contention optimizations. Submitted by: trasz Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:31.790326Z K 7 svn:log V 109 Document r265524, iSCSI performance optimizations. Submitted by: trasz Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:33.668595Z K 7 svn:log V 116 Expand r262855 to illustrate how to enable the test suite. Submitted by: jmmv Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:35.569909Z K 7 svn:log V 140 Remove a generalized sentence regarding iSCSI updates that should be covered by the past few commits. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:37.425681Z K 7 svn:log V 76 Minor rewording to the r260385 entry. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:39.312716Z K 7 svn:log V 66 Document r270892, autofs(5) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:41.371211Z K 7 svn:log V 82 Document r270810, hptnr(4) update to 1.0.1. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:43.722581Z K 7 svn:log V 84 Document r270997, zdb(8) included in /rescue. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:46:45.832330Z K 7 svn:log V 128 Document r270890, pathchk(1): Ensure bytes >= 128 are considered non-portable characters. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T16:48:33.060610Z K 7 svn:log V 76 Minor rewording to the r260387 entry. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T17:15:12.431749Z K 7 svn:log V 156 Update the autofs(5) manual to reflect it first appeared in FreeBSD 10.1-RELEASE. Submitted by: dhw MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-03T17:26:46.865802Z K 7 svn:log V 261 Import a hackish tool I use to examine the skew of the TSC across CPUs in a system. The tool queries the kernel for its set of CPUs and compares TSC values on each of the additional CPUs to the first CPU in turn. It then outputs a table of simple statistics. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-03T17:32:17.996961Z K 7 svn:log V 143 Use sh -c '...' to launch the dtb build scripts with env stuff prepended, otherwise it tries to treat the env var stuff as a script file name. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-03T17:51:03.026930Z K 7 svn:log V 763 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. Submitted by: Thomas Skibo Reviewed by: wkoszek, Yonghyeon PYUN END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-03T18:51:33.217940Z K 7 svn:log V 306 Avoid ./ in zoneinfo entries in METALOG Use of "find ." resulted in METALOG entries with an extra ./ -- e.g., ./usr/share/zoneinfo/./America/Toronto. Avoid this by using globbing via "find *" instead. Reviewed by: brooks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D719 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-03T19:01:34.437295Z K 7 svn:log V 461 Always seek back to the beginning of a regular directory, even if the previous seek location was 0. Without this, readdir() would see dd_loc of zero and call getdirentries() which would start reading entries at the current seek location of the directory ignoring the first batch of entries. Also, rewinddir() should always seek so that it reads the directory from the beginning to get updated entries. PR: 192935 Reported by: iron@mail.ua MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2014-09-03T19:06:08.352116Z K 7 svn:log V 41 Note that script(1) consumes filemon(4). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-03T19:37:41.277124Z K 7 svn:log V 196 Remove DIAGNOSTIC from the kernel config of low-end arm systems. Sanity checks such as vmem_check() can make a low-end system go completely unresponsive for as much as 3 seconds out of every 10. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-09-03T20:07:26.595618Z K 7 svn:log V 440 MFC: r270885, r270948 - Nuke unused sdhci_softc. - Static'ize sdhci_debug local to sdhci.c. - Const'ify PCI device description strings. - Nuke redundant resource ID members from sdhci_pci_softc. - Nuke unused hw.sdhci_pci.debug tunable. - Add support for using MSI instead of INTx, controllable via the tunable hw.sdhci.enable_msi (defaulting to on) and tested with a RICOH R5CE823 SD controller. - Use NULL instead of 0 for pointers. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-03T20:53:11.849803Z K 7 svn:log V 102 Document libc updates from illumos and Apple. Submitted by: pfg Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-03T21:17:09.067920Z K 7 svn:log V 129 Actually save and restore FPU state on APs during suspend and resume. Committed from: Atom-based HP netbook after resuming in X END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-03T21:25:36.469087Z K 7 svn:log V 78 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-09-03T21:45:39.928786Z K 7 svn:log V 121 Add a function to get the frequency of the AHB bus. Another stopgap function until we have full clock support for imx6. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-03T21:57:06.274466Z K 7 svn:log V 119 Be consistent and use same arguments for ctl3 opcodes. Move legacy IP_FW_TABLE_XGETSIZE handling to separate function. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-03T21:59:07.985277Z K 7 svn:log V 595 Create a /boot/dtb directory to house DTB blobs. The flattened device tree support includes a device tree source compiler dtc(8) which converts .dts files into .dtb files. /boot/loader will load dtb files from this directory by default, allowing for fewer differences between images for different SoCs. Compiled dts files will wind up here eventually as an alternative to embedding them into the kernel. Document this in hier(7), as well as add missing entries for /boot/firmware and /boot/zfs, though the latter two should only be considered place holders if someone wants to make them better. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:04:23.522443Z K 7 svn:log V 167 Merge 270872 from head: Fix character case in examples for "camcontrol security" - should be "-U user" not "-u user". PR: 193179 Submitted by: milios ccsys com END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:06:22.408102Z K 7 svn:log V 167 Merge 270872 from head: Fix character case in examples for "camcontrol security" - should be "-U user" not "-u user". PR: 193179 Submitted by: milios ccsys com END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:08:21.278844Z K 7 svn:log V 684 Merge r269488 from head: For reasons which are not clear, r254263 broke some PCMCIA and CardBus bridges in strange ways, either rendering them unable to detect insertion and removal events, or possibly unable to read from the device behind the bridge. This fixes at least one laptop, a Toshiba Tecra M5 with a Texas Instruments PCxx12 (d=0x8039 v=0c104c) bridge. The very similar Tecra M9 has the same bridge, but worked fine without this change. The bridge chip has no I/O port BAR, and there is nothing in the spec to suggest I/O decoding should be enabled; however enabling it fixes the issue. Add an XXX comment to this effect. Discussed with: jhb, imp END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:08:48.269837Z K 7 svn:log V 684 Merge r269488 from head: For reasons which are not clear, r254263 broke some PCMCIA and CardBus bridges in strange ways, either rendering them unable to detect insertion and removal events, or possibly unable to read from the device behind the bridge. This fixes at least one laptop, a Toshiba Tecra M5 with a Texas Instruments PCxx12 (d=0x8039 v=0c104c) bridge. The very similar Tecra M9 has the same bridge, but worked fine without this change. The bridge chip has no I/O port BAR, and there is nothing in the spec to suggest I/O decoding should be enabled; however enabling it fixes the issue. Add an XXX comment to this effect. Discussed with: jhb, imp END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:11:39.311789Z K 7 svn:log V 165 Merge r269871 from head: Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait() Submitted by: Malcolm Douglas via freebsd-doc Reviewed by: jhb END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:11:41.196312Z K 7 svn:log V 165 Merge r269871 from head: Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait() Submitted by: Malcolm Douglas via freebsd-doc Reviewed by: jhb END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:14:26.971053Z K 7 svn:log V 144 Merge r270251 from head: Fix return type of callout_init_rm() and add return type to callout_deactivate(). PR: 192520 Submitted by: ngie END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:15:54.231559Z K 7 svn:log V 84 Merge r270259 from head: Add a missing brace to callout_init_rm() to fix syntax. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:18:08.982194Z K 7 svn:log V 102 Merge r270677 from head: Fix xref, pam(8) -> pam(3) PR: 193045 Submitted by: rsimmons0 gmail com END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:18:13.090344Z K 7 svn:log V 102 Merge r270677 from head: Fix xref, pam(8) -> pam(3) PR: 193045 Submitted by: rsimmons0 gmail com END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:29:01.215196Z K 7 svn:log V 130 Merge r268303 from head: Add support to asmc(4) for Macmini 3,1. PR: 190195 Submitted by: fbsdbugs2 sentry.org Relnotes: yes END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-03T23:29:06.096835Z K 7 svn:log V 130 Merge r268303 from head: Add support to asmc(4) for Macmini 3,1. PR: 190195 Submitted by: fbsdbugs2 sentry.org Relnotes: yes END K 10 svn:author V 5 benno K 8 svn:date V 27 2014-09-04T00:10:06.138146Z K 7 svn:log V 259 Add KASSERTs to catch the case where a developer may have forgotten to set bo_bsize on a bufobj. This is a slight modification of the patch provided. PR: 193146 Submitted by: Conrad Meyer Sponsored by: EMC Isilon Storage Division END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-04T00:40:41.411393Z K 7 svn:log V 179 MFC r270844: Minor space/tab cleanups. Most of them were ripped from the GSoC 2104 SMAP + kpatch project (but unrelated). Only cosmetic changes. Taken from: Oliver Pinter (op@) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-04T00:43:27.440627Z K 7 svn:log V 179 MFC r270844: Minor space/tab cleanups. Most of them were ripped from the GSoC 2104 SMAP + kpatch project (but unrelated). Only cosmetic changes. Taken from: Oliver Pinter (op@) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-09-04T01:04:37.438535Z K 7 svn:log V 154 Do not blindly announce 1000baseT half-duplex capability in autonegotiation. Some controllers like cgem(4) do not support half-duplex at gigabit speeds. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-09-04T01:21:33.301152Z K 7 svn:log V 82 Plug a hypothetical use after free in sysctl kern.proc.groups. MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-04T01:38:31.029375Z K 7 svn:log V 301 MFC r270289: Change file permissions for some setuid executables so they are "o+r". The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T01:46:06.867655Z K 7 svn:log V 437 - Move prototypes for various functions into out of C files and into . - Move some CPU-related variables out of i386/i386/identcpu.c to initcpu.c to match amd64. - Move the declaration of has_f00f_hack out of identcpu.c to machdep.c. - Remove a misleading comment from i386/i386/initcpu.c (locore zeros the BSS before it calls identify_cpu()) and remove explicit zero assignments to reduce the diff with amd64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T01:56:15.191336Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T02:06:33.223558Z K 7 svn:log V 82 Fix typo: s/_maske/_mask/ MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T02:14:53.375825Z K 7 svn:log V 93 Document r259141, jail(8) ipv6 allocation startup bug. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T02:14:55.316104Z K 7 svn:log V 127 Document r264438, mdconfig(8) rc.conf(5) listing is no longer required to be sequential. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T02:14:57.195731Z K 7 svn:log V 122 Document r262566, sshd(8) startup script creates ed25519 keys if ENOENT on startup. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T02:25:59.892338Z K 7 svn:log V 229 - Move blacklists of broken TSCs out of the printcpuinfo() function and into the TSC probe routine. - Initialize cpu_exthigh once in finishidentcpu() which is called before printcpuinfo() (and matches the behavior on amd64). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T02:28:17.921051Z K 7 svn:log V 61 Remove a stray blank line from the Intel cache and TLB info. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T03:04:37.086881Z K 7 svn:log V 337 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. END K 10 svn:author V 5 benno K 8 svn:date V 27 2014-09-04T03:31:48.851827Z K 7 svn:log V 303 Systems with lots of geom providers can end up with a kern.geom.confxml value too large for the buffer allocated. Work around this by retrying a few times with larger buffer sizes. Submitted by: Scott Ferris Reviewed by: mlaier, ngie Sponsored by: EMC Isilon Storage Division END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-04T06:00:18.386702Z K 7 svn:log V 286 Consolidate the code to restore the host TSS after a #VMEXIT into a single function restore_host_tss(). Don't bother to restore MSR_KGSBASE after a #VMEXIT since it is not used in the kernel. It will be restored on return to userspace. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-04T06:07:32.290944Z K 7 svn:log V 76 Remove unused header file. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-04T09:07:14.062513Z K 7 svn:log V 126 Provide m_catpkt(), a wrapper around m_cat() that deals with M_PKTHDR mbufs. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-04T09:15:44.072732Z K 7 svn:log V 369 Improve r265338. When inserting mbufs into TCP reassembly queue, try to collapse adjacent pieces using m_catpkt(). In best case scenario it copies data and frees mbufs, making mbuf exhaustion attack harder. Suggested by: Jonathan Looney Security: Hardens against remote mbuf exhaustion attack. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-04T09:42:36.882954Z K 7 svn:log V 82 drm/radeon: Fix a memory leak when radeonkms is unloaded This an MFC of r270750. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-04T09:49:21.444967Z K 7 svn:log V 82 drm/radeon: Fix a memory leak when radeonkms is unloaded This an MFC of r270750. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T11:15:38.006975Z K 7 svn:log V 95 Document r271069, Mac Mini 3,1 support added to asmc(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 br K 8 svn:date V 27 2014-09-04T12:44:40.594923Z K 7 svn:log V 170 Add initial support for Altera SOCFPGA (heterogeneous ARM/FPGA) SoC family. Include board configuration for Terasic SoCKit (Altera Cyclone V). Sponsored by: DARPA, AFRL END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T13:13:42.369947Z K 7 svn:log V 27 Fix typo in variable name. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-04T13:45:16.369388Z K 7 svn:log V 995 MFC r270647: Add references to vt(4) and the configuration files in /usr/sha MFC r270653: Update man-pages to correctly refer to changed pathes and namin MFC r270657: More man pages that need to know about vt in addition to syscon MFC r270659: (by pluknet@) Missed comma. MFC r270660: Back-out the references to vt(4) from this man-page. It appears MFC r270933: Add references to vt(4) to further man-pages. MFC r270934: Final patches to the tools used to convert syscons keymaps for MFC r270935: Add vt(4) support to the console initialisation script, specifi Second batch of MFCs to add support for Unicode keymaps for use with vt(4). It contains the following changes: - Add references to vt(4) to relevant man-pages. - Update comment in defaults/rc.conf to mention vt - Update rc.d/syscons to warn about syscons keymaps used under vt. An attempt is made to identify the vt keymap to load instead. - Minor changes to the conversion tool based on mail comments on keymaps. Relnotes: yes END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-04T13:47:55.688444Z K 7 svn:log V 38 MFC r270931: Fix typo ("by" -> "be"). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T14:25:32.189911Z K 7 svn:log V 56 Add a basic iomux driver for imx6. Submitted by: bsam@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T14:26:25.239958Z K 7 svn:log V 206 Merge the amd64 and i386 identcpu.c into a single x86 implementation. This brings the structured extended features mask and VT-x reporting to i386 and Intel cache and TLB info (under bootverbose) to amd64. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-09-04T14:56:24.259523Z K 7 svn:log V 256 Revert r269814: blkfront: add support for unmapped IO Current busdma code for unmapped bios will not properly align the segment size, causing corruption on blkfront devices. Revert the commit until busdma code is fixed. Reported by: mav MFC after: 1 day END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T14:57:04.485724Z K 7 svn:log V 228 Implement the same public interface in imx51 and imx6 iomux; use the common header file for both. Remove some unused code from imx51_iomux. The iomux drivers are required, not optional, adjust the files.* entries accordingly. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T14:59:27.609043Z K 7 svn:log V 117 The iomux driver is no longer optional, all imx platforms have it as standard now, so remove it from kernel configs. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T15:11:57.654330Z K 7 svn:log V 58 Implement the imx_iomux_get/set_gpr() interface for imx6. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-09-04T16:05:12.372914Z K 7 svn:log V 685 MFC r270757: In r253839 the default behaviour of ld(1) was changed such that all libraries that need to be linked into an executable or library have to be listed on the command line explicitly. This commit fixes a bug in ld(1) where it would scan dependencies of the libraries on the command line and link them if needed if they were also found in ld.so.cache. The important bit of the patch is the initialisation of needed.by such that libraries found by scanning dependencies are marked as such and not used in the link. The patch is a backport of binutils git commit d5c8b1f8561426b41aa5330ed60f578178fe6be2 The author gave permission to use it under GPLv2 terms. PR: 192062 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T16:40:54.046314Z K 7 svn:log V 22 Wrap some long lines. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T16:51:45.447314Z K 7 svn:log V 173 MFC r260047: Clean up license text - Renumber Regents clauses - Remove clause 3 and 4 from TNF license, following upstream change Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2014-09-04T16:55:01.863340Z K 7 svn:log V 274 MFC r270512 r270513 r270754 - add comments which describe exit status codes of /usr/sbin/bhyve - move bhyvectl --destroy outside of the while loop - Use "file -s" so that we can run vmrun.sh against special devces such as /dev/md memory files systems or zvols END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-04T17:05:57.596795Z K 7 svn:log V 33 Fixes for tcp_respond() comment. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-04T17:19:16.036875Z K 7 svn:log V 119 Fix debug output that has erroneously been committed with the last update. Obtained from: Jan Beich MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-04T17:21:54.891476Z K 7 svn:log V 101 Fix debug output that has erroneously been committed with the last update. Obtained from: Jan Beich END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-04T17:36:21.939471Z K 7 svn:log V 125 libc/locale: Remove a wrong comma. This only had some effect when debugging. Obtained from: DragonflyBSD MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:15:36.515020Z K 7 svn:log V 655 MFC PS3 vt(4) console support r265871 (nwhitehorn): Move the PS3 framebuffer console to use vt instead of syscons and adjust GENERIC64 for PowerPC to use vt with it. Much to my chagrin, PS3 support seems to have bitrotted somewhat since the last time I tried it. ehci panics on attach and interrupt handling seems to be faulty. This should be fixed soon... r269783 (dumbbell): Fix two files forgotten in r269783 (vt_generate_cons_palette) r268895 (nwhitehorn): Enable X11 via xf86-video-scfb on the Playstation 3. This commit made from an xterm running for the first time on said Playstation. Approved by: nwhitehorn Relnotes: yes END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:18:29.158405Z K 7 svn:log V 642 MFC vt(4) driver for Sun creator(4) framebuffers r269601 (nwhitehorn): Add a simple unaccelerated vt(4) framebuffer driver for Sun framebuffers handled by creator(4) (Sun Creator 3D, Elite 3D, etc.). This provides vt(4) consoles on all devices currently supported by syscons on sparc64. The driver should also be easily adaptable to support newer Sun framebuffers such as the XVR-500 and higher. Many thanks to dumbbell@ (Jean-Sebastien Pedron) for testing this remotely during development. r269783 (dumbbell): vt(4): Colors are indexed against a console palette, not a VGA palette Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-09-04T18:24:47.585520Z K 7 svn:log V 347 MFC r268880: Allow mappings of memory not previously direct-mapped by the kernel when calling mmap on /dev/mem and add a handler for the possible userland machine checks that may result. Remove some pointless and wrong copy/paste that has been in here for a decade as well. This results in a /dev/mem with identical semantics to the x86 version. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-09-04T18:28:30.161843Z K 7 svn:log V 75 MFC r265883,268898: Repair bitrot in PS3 memory and interrupt allocation. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:30:33.760246Z K 7 svn:log V 156 MFC r268350 (nwhitehorn): Use common vt_fb parts in ofwfb as far as we are able without sacrificing performance. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:34:22.505084Z K 7 svn:log V 423 MFC r269278 (nwhitehorn): Make mmap() of the console device when using ofwfb work like other supported framebuffer drivers. This lets ofwfb work with xf86-video-scfb and makes the driver much more generic and less PCI-centric. This changes some user-visible behavior and will require updates to the xorg-server port on PowerPC when using ATI graphics cards. Relnotes: Yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:43:40.524950Z K 7 svn:log V 427 MFC fbd(4) and vt_fb disentanglement: r268472 (ray): Should check fb_read method presence instead of double check for fb_write. r269620 (nwhitehorn): Retire various intertwined bits of fbd(4) and vt_fb, in particular the pixel modification indirection. No actual drivers use it and those that might (e.g. creatorfb) use custom implementations of vd_bitbltchr(). Relnotes: No Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T18:54:01.513108Z K 7 svn:log V 337 MFC r269636 by nwhitehorn: Set fb_pbase properly on PowerPC in the case where we have to guess at the right register bank for the framebuffer. Disable the assigned- addresses path on SPARC since it is just a hack for IBM PPC systems and was neither relevant for nor worked on SPARC anyway. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-04T19:09:08.444062Z K 7 svn:log V 336 In tcp_input(), don't acquire the pcbinfo global write lock for SYN packets targeting a listening socket. Permit to reduce TCP input processing starvation in context of high SYN load (e.g. short-lived TCP connections or SYN flood). Submitted by: Julien Charbon Reviewed by: adrian, hiren, jhb, Mike Bentkofsky END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T19:13:07.907541Z K 7 svn:log V 243 MFC r269685 (nwhitehorn): Retire vd_maskbitbltchr. The same functionality can be obtained by testing for mask != NULL in vd_bitbltchr, which all implementations of vd_bitbltchr() were doing anyway. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T19:22:01.034053Z K 7 svn:log V 325 MFC r270299 (dumbbell): vt_vga: When clearing video memory, don't read from it The goal is to clear the video memory, in case an application drew to it. So the content shouldn't be loaded in the latches, it can't be trusted anyway. This improves a bit the window switch speed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-04T19:27:30.692767Z K 7 svn:log V 89 Change a very strange code in m_demote() to simple assertion. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-04T19:28:02.844321Z K 7 svn:log V 60 Satisfy assertion in m_demote(). Sponsored by: Nginx, Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-04T19:52:17.401648Z K 7 svn:log V 77 Stop setting the iomux device status to disabled, now that we have a driver. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-04T20:02:28.543067Z K 7 svn:log V 108 MFC r270216: Add ${LIBC} to DPADD to fix "make checkdpadd" Phabric: D632 Approved by: jmmv (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-04T20:07:44.964596Z K 7 svn:log V 167 MFC r270433: Garbage collect libl dependency The application links and runs without libl Approved by: rpaulo (mentor) Phabric: D673 Submitted by: trociny END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-04T20:12:36.269470Z K 7 svn:log V 580 MFC r270710 and r270821: - Update the OFED Linux Emulation layer as a preparation for a hardware driver update from Mellanox Technologies. - Remove empty files from the OFED Linux Emulation layer. - Fix compile warnings related to printf() and the "%lld" and "%llx" format specifiers. - Add some missing 2-clause BSD copyrights. - Add "Mellanox Technologies, Ltd." to list of copyright holders. - Add some new compatibility files. - Fix order of uninit in the mlx4ib module to avoid crash at unload using the new module_exit_order() function. Sponsored by: Mellanox Technologies END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:18:08.661700Z K 7 svn:log V 9387 MFC vt(4) improvements / sync with HEAD These are largely dumbbell@'s changes. Most significantly they address the extreme performance degradation with VGA hardware. SVN revisions in this MFC: 269471 270290 270293 270322 270324 270329 270331 270336 270338 270340 270341 270342 270343 270388 270390 270404 270411 270412 270413 270431 270446 270448 270485 270587 270589 270613 270618 270620 270667 270702 270707 270708 270720 270721 270785 270786 Detailed commit list: r270290: Test if the cursor is shown only once Later, we just see if the "struct mouse_cursor" pointer is set. This avoids the need to mess with all the conditions several times; this has been error prone. While here, rename the variable "m" to a more meaningful "cursor", like it's done elsewhere in the code. r270293: Rename the "mouse_cursor" structure to "vt_mouse_cursor" At the same time, "w" and "h" members are now called "width" and "height". The goal is to have a more "public" structure, because it will soon be passed as argument to a new callback, replacing vd_bitbltchr_t. r269471 (ray): Fix vt_vga driver to draw not-8-bit-aligned fonts correctly. Still one bug here: mouse left some gaps on track when moving left. r270322: Add new vd_bitblt_text_t callback, and implement it for vt_vga Compared to the deprecated vd_bitbltchr_t callback, vd_bitblt_text_t receives: o the whole text buffer o the dirty area o the mouse cursor (map, position, colors) This allows the backend to perform optimization on how to draw things. The goal is to remove vd_bitbltchr_t and vd_putchar_t, once all driver are converted (only vt_vga is included in this commit). In vt_vga, this allows to draw the text and the cursor in one pass, without ever reading from video memory (because it has all the context). The main benefit is the speed improvement: no more slideshow during boot! Other bugs fixed in vt_vga are: o left-most characters are drawn properly (the left-most pixels were missing with bold characters and some wide letters such as 'm') o no more black square around the cursor o no cursor flickering when the text is scrolling There are still many problems to fix: the known issues are marked with "FIXME" inside the code. r270411: vt_fb: Implement vd_bitblt_text_t for vt_fb and derivatives r270412: creator_fb: Implement vd_bitblt_text_t r270413: ofwfb: Implement vd_bitblt_text_t r270324: vt_vga: Clip the draw area to never draw offscreen This fixes a bug when two windows use different fonts, but a longer- term solution is required. The dirty area should be stored as pixels, not character cells, because such coordinates don't have the same meaning in all windows, when using different fonts. r270329: Mark new mouse position as dirty only when it's actually displayed r270331: Store cursor bitmap & colors in struct vt_device This removes the need to specify them to each call to vd_bitblt_text_t and, therefore, simplifies the API. r270336: Give the window to vd_bitblt_text_t callback ... instead of both the buffer and the font. Again, this simplifies the API. r270338: The offset to center the text area is per-window now The previous global offset, based on the last loaded font, had no meaning for other windows. This caused a shifted text area, often partly out-of-screen. r270341: vt_vga: Remove a "FIXME" comment; the issue was solved in r270338 r270340: Don't run vt_set_border() and vt_flush() concurrently In the case of vt_vga, the two concurrent calls were writing to the same VGA registers, causing incorrect refresh of the screen. r270342: Use the actual size of the mouse when marking its position as dirty This fixes a bug where part of the cursor was not erased. r270343: Remove "FIXME" about multiple locking of vt_buf in vt_flush() After some testing, it appears that acquiring the lock once and keeping it longer is slower than taking it multiple times. While here, fix a typo in another comment. r270388: vt_vga: Give only the character part of term_char_t to vga_get_cp437() This fixes a bug where vga_get_cp437() was called with an invalid argument. The screen was then filled with '?' instead of the actual character. r270390: Fix a crash in vt_mark_mouse_position_as_dirty() when in textmode In textmode, no font is loaded, thus the page fault in vt_mark_mouse_position_as_dirty() when it wants the font width/height. For now, create a fake area for the textmode. This needs to be modified if vt_vga gains mouse support in textmode. While here, fix a build failure when SC_NO_CUTPASTE is defined: vt_mark_mouse_position_as_dirty() must not be included in this case. r270404: Fix cursor handling in vt_flush() There were situations where the cursor was not erased/redrawn or its position was marked as dirty even though it's not displayed. The code is now more straightforward. At the same, add a function to determine if the cursor covers a given area. This is used by backends to know if they need to draw the cursor. This new function should be paired with a new state in struct vt_device, called vd_mshown, which indicates if the cursor should be displayed. This again simplifies vd_bitblt_text_t callback's API. r270431: vt(4): Add vd_bitblt_bmp_t callback The code was already there in all backends, we just expose it. This is used to display the splash screen. r270446: Remove vd_bitbltchr_t It's replaced by vd_bitblt_text_t, which gives more context to the backend and allows it to perform more efficiently when redrawing a given area. r270448: Fix order of arguments (x <-> y) when showing the splash screen r270485: vt_vga: Fix the display of the splash screen r270587: Take font offset into account in vt_is_cursor_in_area() This fixes a "General protection fault" in vt_vga, where vt_is_cursor_in_area() erroneously reported that the cursor was over the text. This led to negative integers stored in "unsigned int" and chaos. r270589: The cursor coordinates are relative to the drawn area ... not the whole screen. Don't use font offsets in vt_mark_mouse_position_as_dirty(). This fixes a bug where the mouse position wasn't marked as dirty when approaching the borders of the drawn area. r270613: Store a rectangle for the drawable area, not just the top-left corner This allows backends to verify they do not draw outside of this area. This fixes a bug in vt_vga where the text was happily drawn over the right and bottom margins, when using the Gallant font. r270618: Intialize drawable area rectangle each time a font is loaded This also fixes a problem where early in boot, the area was zero, leading to nothing displayed for a few seconds. r270620: vt_vga: Use Write Mode 0 to draw group of 8 pixels using 3 or more colors This replaces the method based on Write Mode 3, which required reads from the video memory to load the latches. r270667: When creating a window buffer, fill it entirely ... not just the visible part. This fixes a bug where, when switching from eg. vt_vga to vt_fb (ie. the resolution goes up), the originally hidden, uninitialized area of the buffer is displayed on the screen. This leads to a missing text cursor when it's over an unitialized area. This was also visible when selecting text: the uninitialized area was not highlighted. Internally, this area was zeroed: characters were all 0x00000000, meaning the foreground and background color was black. Now, everything is filled with a space with a gray foreground color, like the visible area. While here, remove the check for the mute flag and always use TERMINAL_NORM_ATTR as the character attribute (ie. gray foreground, black background). r270702: Implement basic support for KDSETMODE ioctl With the current implementation, this allows an X11 server to tell the console it switches a particular window in "graphics mode". This information is used by the mouse handling code to ignore sysmouse events in the window taken by the X server: only him should receive those events. r270707: Pause the vt_flush() timer when the screen is up-to-date The timer is restarted whenever a window buffer is marked as dirty or the mouse cursor moves. There's still room for improvement. For instance, we should not mark a window buffer as dirty when this window isn't displayed. r270708: vt(4): Recompute the drawable area when the resolution changes This was only done when the font changed. r270720: vt(4): Fix mouse cursor handling in vt_fb/creator_vt/ofwfb There were two issues: 1. The area given to vt_is_cursor_in_area() was adding the drawable area offset, something already handled by this function. 2. The cursor was shifted on the screen by the offset of this area and thus was misplaced or not erased. Furthermore, when reaching the bottom or right borders, the cursor was either totally removed or not erased correctly. r270721: vt(4): If the terminal shrinks, make sure the mouse is inside the new area r270785: vt(4): Change vb_history_size from "int" to "unsigned int" CID: 1230002, 1230003 r270786: Indicate that KDSETRAD case falls through the next case CID: 1229953 Relnotes: Yes END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:21:30.964305Z K 7 svn:log V 85 MFC r261591 (nwhitehorn): Make libstand setjmp work for both 64- and 32-bit ABIs. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:35:53.698168Z K 7 svn:log V 588 r261567: Build a 32-bit libstand under sys/boot/ A 32-bit libstand is needed on 64-bit platforms for use by various bootloaders. Previously only the 32-bit version was built, installed as /usr/lib/libstand.a. A new 64-bit libstand consumer will arrive in the near future, so move the bootloader-specific 32-bit version to sys/boot/libstand32/. Explicitly link against this version in the 32-bit loaders. r261614: Build a 32-bit libstand under sys/boot/ for ppc64 This change is equivalent to r261567 for i386/amd64. Relnotes: Yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:44:41.964558Z K 7 svn:log V 263 MFC libstand32 clean target fixes r269029 (sbruno): Update so that clean target in sys/boot will delete the symlink created for machine r269036 (sbruno): Delete the entire cleandepend/cleanmachine target thing now that its been cleared out in r269029 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:47:14.216131Z K 7 svn:log V 54 MFC r263005 by royger: howto_names: unify declaration END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T20:48:16.243217Z K 7 svn:log V 86 Update bindings to latest vendor branch representing 3.17-rc2 level of Linux DTS API. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T20:49:11.313043Z K 7 svn:log V 646 MFC r269077 (sbruno): libstand qdivrem warning fixes libstand's qdivrem.c assumes that sizeof(int) == sizeof(long), this is not true on amd64 I'm not quite positive this is the "correct" solution for this but it does seem to compile and shut up the spew of warnings when compiling libstand for userboot. Add two _Static_asserts() so that in the future somebody will get a compile failure if an architecture develops that violates the assumptions of this code. (strongly suggested by jmg) Change commetns to indicate int types instead of long. (noted by ian in phabric review) Phabric: https://phabric.freebsd.org/D443 END