‚Ç201869 131 1756 204 1438 146 146 1438 567 567 256 256 1174 362 198 1149 365 245 119 136 150 217 255 648 141 202 134 132 271 313 182 417 490 145 225 146 444 169 342 457 164 169 167 169 164 216 165 208 169 197 458 128 128 164 506 148 133 179 132 132 131 132 135 290 141 1566 340 322 129 116 225 101 116 108 1089 172 191 119 135 115 138 266 181 173 124 163 246 306 153 235 104 102 165 217 152 128 184 164 130 179 115 119 113 188 115 177 168 190 178 274 190 254 459 139 170 179 269 1401 378 3589 226 226 357 187 294 159 144 261 126 119 148 108 1228 K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:20:33.734587Z K 7 svn:log V 1658 MFC r200638: Implement interrupt moderation scheme supported by VT61xx controllers. TX/RX interrupt mitigation is controlled by VGE_TXSUPPTHR and VGE_RXSUPPTHR register. These registers suppress generation of interrupts until the programmed frames counter equals to the registers. VT61xx also supports interrupt hold off timer register. If this interrupt hold off timer is active all interrupts would be disabled until the timer reaches to 0. The timer value is reloaded whenever VGE_ISR register written. The timer resolution is about 20us. Previously vge(4) used single shot timer to reduce Tx completion interrupts. This required VGE_CRS1 register access in Tx start/completion handler to rearm new timeout value and it did not show satisfactory result(more than 50k interrupts under load). Rx interrupts was not moderated at all such that vge(4) used to generate too many interrupts which in turn made polling(4) better approach under high network load. This change activates all interrupt moderation mechanism and initial values were tuned to generate interrupt less than 8k per second. That number of interrupts wouldn't add additional packet latencies compared to polling(4). These interrupt parameters could be changed with sysctl. dev.vge.%d.int_holdoff dev.vge.%d.rx_coal_pkt dev.vge.%d.tx_coal_pkt Interface has be brought down and up again before change take effect. With interrupt moderation there is no more need to loop in interrupt handler. This loop always added one more register access. While I'm here remove dead code which tried to implement subset of interrupt moderation. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-09T00:24:54.326857Z K 7 svn:log V 106 Various language fixes. PR: 38061 Submitted by: Chris Pepper MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:26:57.511941Z K 7 svn:log V 1340 MFC r200696,200740,200756,200758-200759,200972 r200696: Add rudimentary WOL support. While I'm here remove enabling busmastering/memory address in resume path. Bus driver will handle that. r200740: Swap VGE_TXQTIMER and VGE_RXQTIMER register definition. Pending timer for Tx queue is at 0x3E. r200756: Correct fragment bit definition in comments. r200758: VT6130 datasheet was wrong. If VT6130 receive a jumbo frame the controller will split the jumbo frame into multiple RX buffers. However it seems the hardware always dma the frame to 8 bytes boundary for the split frames. Only the first part of the fragment can have 4 byte alignment and subsequent buffers should be 8 bytes aligned. Change RX buffer the alignment requirement to 8 bytes from 4 bytes. r200759: Disable jumbo frame support for PCIe VT6130/VT6132 controllers. Quite contrary to VT6130 datasheet which says it supports up to 8K jumbo frame, VT6130 does not seem to send jumbo frame that is larger than 4K in length. Trying to send a frame that is larger than 4K cause TX MAC hang. Even though it's possible to allow 4K jumbo frame for VT6130, I think it's meaningless to allow 4K jumbo frame. I'm not sure VT6132 also has the same limitation but I guess it uses the same MAC of VT6130. r200972: Remove wrong assertion. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-09T00:27:23.307924Z K 7 svn:log V 49 MFC: r201397 Add one more supported controller. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-09T00:28:05.946487Z K 7 svn:log V 49 MFC: r201397 Add one more supported controller. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:29:04.767781Z K 7 svn:log V 1340 MFC r200696,200740,200756,200758-200759,200972 r200696: Add rudimentary WOL support. While I'm here remove enabling busmastering/memory address in resume path. Bus driver will handle that. r200740: Swap VGE_TXQTIMER and VGE_RXQTIMER register definition. Pending timer for Tx queue is at 0x3E. r200756: Correct fragment bit definition in comments. r200758: VT6130 datasheet was wrong. If VT6130 receive a jumbo frame the controller will split the jumbo frame into multiple RX buffers. However it seems the hardware always dma the frame to 8 bytes boundary for the split frames. Only the first part of the fragment can have 4 byte alignment and subsequent buffers should be 8 bytes aligned. Change RX buffer the alignment requirement to 8 bytes from 4 bytes. r200759: Disable jumbo frame support for PCIe VT6130/VT6132 controllers. Quite contrary to VT6130 datasheet which says it supports up to 8K jumbo frame, VT6130 does not seem to send jumbo frame that is larger than 4K in length. Trying to send a frame that is larger than 4K cause TX MAC hang. Even though it's possible to allow 4K jumbo frame for VT6130, I think it's meaningless to allow 4K jumbo frame. I'm not sure VT6132 also has the same limitation but I guess it uses the same MAC of VT6130. r200972: Remove wrong assertion. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:36:28.526740Z K 7 svn:log V 470 MFC r200641,200676 r200641: Document newly added loader tunable and sysctl variables. o hw.vge.msi_disable o dev.vge.%d.int_holdoff o dev.vge.%d.rx_coal_pkt o dev.vge.%d.tx_coal_pkt r200676: Document more VIA Velocity family controllers to vge(4). Previously it mentioned only VT6122. While I'm here remove the mention of VT3119 which seems to be VIA's internal model name and VT3119 wouldn't be available to end users. Reviewed by: brueffer END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:39:32.838615Z K 7 svn:log V 470 MFC r200641,200676 r200641: Document newly added loader tunable and sysctl variables. o hw.vge.msi_disable o dev.vge.%d.int_holdoff o dev.vge.%d.rx_coal_pkt o dev.vge.%d.tx_coal_pkt r200676: Document more VIA Velocity family controllers to vge(4). Previously it mentioned only VT6122. While I'm here remove the mention of VT3119 which seems to be VIA's internal model name and VT3119 wouldn't be available to end users. Reviewed by: brueffer END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T01:17:31.120635Z K 7 svn:log V 159 MFC r200693: Make sure to enable Next Page bit for IP1001. Otherwise the PHY fails to re-establishe 1000baseT link after downgrading to 10/100Mbps link. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T01:20:01.396192Z K 7 svn:log V 159 MFC r200693: Make sure to enable Next Page bit for IP1001. Otherwise the PHY fails to re-establishe 1000baseT link after downgrading to 10/100Mbps link. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-01-09T01:46:38.563189Z K 7 svn:log V 1076 Introduce the new kernel thread called "deadlock resolver". While the name is pretentious, a good explanation of its targets is reported in this 17 months old presentation e-mail: http://lists.freebsd.org/pipermail/freebsd-arch/2008-August/008452.html In order to implement it, the sq_type in sleepqueues is mandatory and not only compiled along with INVARIANTS option. Additively, a new sleepqueue function, sleepq_type() is added, returning the type of the sleepqueue linked to a wchan. Three new sysctls are added in order to configure the thread: debug.deadlkres.slptime_threshold debug.deadlkres.blktime_threshold debug.deadlkres.sleepfreq rappresenting the thresholds for sleep and block time that will lead to a deadlock matching (when exceeded), while the sleepfreq rappresents the number of seconds between 2 consecutive thread runnings. In order to enable the deadlock resolver thread recompile your kernel with the option DEADLKRES. Reviewed by: jeff Tested by: pho, Giovanni Trematerra Sponsored by: Nokia Incorporated, Sandvine Incorporated MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-01-09T02:17:14.385388Z K 7 svn:log V 268 Compute the target of the jump in the 'J' and 'JAL' instructions correctly. The 256MB segment is formed by taking the top 4 bits of the address of the instruction in the "branch delay" slot as opposed to the 'J' or 'JAL' instruction itself. Approved by: imp (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T03:08:22.279799Z K 7 svn:log V 105 Rename mips_pcpu_init to mips_pcpu0_init since it applies only to the BSP. Provide a missing prototype. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2010-01-09T04:00:22.382176Z K 7 svn:log V 1050 Revert iwn channel-argument handling of set_txpower() to r201822 Pass the channel argument as a real argument and not through RXON. The RXON version seems to have problem with both the older 228.57.2.23 firmware and the latest 228.61.2.24 version resulting in device initialization errors like: wpa_supplicant[2928]: Failed to initiate AP scan. kernel: firmware error log: kernel: error type = "SYSASSERT" (0x00000005) kernel: program counter = 0x0000147C kernel: source line = 0x0000058B kernel: error data = 0x0000058B00000000 kernel: branch link = 0x0000145A00001492 kernel: interrupt link = 0x000006DE00000000 kernel: time = 7310 ... kernel: iwn0: iwn_config: could not set TX power kernel: iwn0: iwn_init_locked: could not configure device, error 35 By passing the current channel to hal->set_txpower() the firmware error is fixed, at least for the 4965 chipset of my Thinkpad and the ones tested by Bernhard. Submitted by: Bernhard Schmidt Approved by: rpaulo END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T04:59:57.957291Z K 7 svn:log V 272 Merge r195128 from project/mips to head. r195128 | gonzo | 2009-06-27 17:27:41 -0600 (Sat, 27 Jun 2009) | 4 lines - Add support for handling TLS area address in kernel space. From the userland point of view get/set operations are performed using sysarch(2) call. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-09T05:40:46.340436Z K 7 svn:log V 148 Update manual for sem_init and sem_open, restrictions of shared semaphore and 14 characters in name length no longer exist. Reviewed by: deischen@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-09T06:05:31.321327Z K 7 svn:log V 23 Add key type TYPE_SEM. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-09T06:12:44.340929Z K 7 svn:log V 40 put semaphore waiter in long term list. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-09T06:30:40.518497Z K 7 svn:log V 54 Use enum to define key types. Suggested by: jmallett END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-09T09:30:09.909160Z K 7 svn:log V 119 bridge(4) acts like a switch, not like a hub. PR: 141350 Submitted by: brucec Reviewed by: thompsa MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-09T10:24:09.151539Z K 7 svn:log V 157 Various language fixes. Also fixed the URL to totd, obtained from NetBSD. PR: 38061 Submitted by: Chris Pepper MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-09T11:28:01.459590Z K 7 svn:log V 555 Set md_ldt (pointer to the LDT) after md_ldt_sd (system segment descriptor for the LDT) is populated. md_ldt is used by context-switch code as indicator that LDT segment register shall be loaded with GUSERLDT segment instead of 0, so context switch at the wrong time may cause attempt to load non-populated descriptor. Use store with the barrier to prevent other CPUs from seeing updated md_ldt but not seeing updated md_ldt_sd. Multithreaded process may context-switch to another thread of the process on another CPU and read md_ldt. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T12:28:42.515387Z K 7 svn:log V 50 This should read LOGIN_PROCESS. Not DEAD_PROCESS. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-09T12:31:11.526669Z K 7 svn:log V 105 Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3). Reviewed by: davidxu MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T12:32:07.262869Z K 7 svn:log V 43 Use consistent ordering of _PROCESS types. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-09T12:34:15.914146Z K 7 svn:log V 36 Fix formatting. MFC after: 2 weeks END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-01-09T14:56:38.210838Z K 7 svn:log V 178 Reduce recursions on curvnet and thus spamming the console with warning messages for kernels built with options VIMAGE and VNET_DEBUG enabled. Reviewed by: bz MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-09T15:31:27.752542Z K 7 svn:log V 217 Exclude options COMPAT_FREEBSD4 now that the MD freebsd4_sigreturn() is gone since r201396 and which is also in line with the fact that FreeBSD 4 didn't supported sparc64. PR: 142102 (second part) MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-09T15:37:24.298386Z K 7 svn:log V 91 Correct spelling. Submitted by: (pluknet gmail.com) MFC after: 4 days X-MFC with: r201806 END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-09T15:43:47.838302Z K 7 svn:log V 325 Add comments trying to explain what bad things happen here, i.e. how hashed MD5/SHA are implemented, abusing Final() for padding and sw_octx to transport the key from the beginning to the end. Enlightened about what was going on here by: cperciva Reviewed by: cperciva MFC After: 3 days X-MFC with: r187826 PR: kern/126468 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-09T15:59:15.238875Z K 7 svn:log V 394 Some style(9) fixes in order to fabricate a commit to denote that the commit message for r201896 actually should have read: As nfsm_srvmtofh_xx() assumes the 4-byte alignment required by XDR ensure the mbuf data is aligned accordingly by calling nfs_realign() in fha_extract_info(). This fix is orthogonal to the problem solved by r199274/r199284. PR: 142102 (second part) MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T16:15:10.911011Z K 7 svn:log V 54 Use "are" instead of "to be" here. Spotted by: gavin END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-09T17:09:57.059089Z K 7 svn:log V 129 Remove clause 3 and 4 from TNF licenses (this was the only 4-clause TNF license FreeBSD had in sys/boot). Obtained from: NetBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T17:16:19.297695Z K 7 svn:log V 54 Fix comment, which was missed in an earlier commit... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T17:21:36.354629Z K 7 svn:log V 351 Merge r201902 and r195669 from projects/mips into head by hand: r201902 | imp | 2010-01-09 10:16:19 -0700 (Sat, 09 Jan 2010) | 2 lines Fix comment, which was missed in an earlier commit... r195669 | gonzo | 2009-07-13 17:03:44 -0600 (Mon, 13 Jul 2009) | 3 lines - Remove -mno-dsp from CFLAGS. MIPS DSP ASE is off by default now (as it should be) END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-01-09T17:53:39.443013Z K 7 svn:log V 77 Style fix in previous commit introduced a syntax error. Reported by: jilles END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T17:56:25.913016Z K 7 svn:log V 249 Merge from projects/mips to head by hand: Copy the files for the sibyte support (except files in sys/conf and sys/mips/conf). This targets the Broadcom SWARM board (bcm91250) and the SB-1 core in the BCM1250 SoC. This work was done by Neel Natu. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:02:31.267605Z K 7 svn:log V 364 Merge from projects/mips to head by hand: Merge support files for the Atheros AR71xx (and soon AR9xxx) processors, except files from sys/conf and sys/mips/conf. This work was done primarily by Olecksandr Tymoshenko and works on the RouterStation and RouterStation PRO. Other AR71xx-based boards have been reported as working as well (RouterBoard, for example). END K 10 svn:author V 2 np K 8 svn:date V 27 2010-01-09T18:07:10.329015Z K 7 svn:log V 73 Extra parantheses to keep certain compilers happy. Submitted by: trasz@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:08:31.856732Z K 7 svn:log V 77 Merge from pprojects/mips to head by hand. Copy over the SWARM config file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:09:30.758003Z K 7 svn:log V 75 Merge from projects/mips to head by hand. Copy over the SWARM.hints file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:10:46.361710Z K 7 svn:log V 77 Merge from projects/mips to head by hand: Copy over the AR71XX config file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:11:45.142141Z K 7 svn:log V 72 Merge from projects/mips to head by hand: Copy over AR71XX.hints file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:13:13.975111Z K 7 svn:log V 123 Merge from projects/mips to head by hand: Copy over OCTEON1-32 file: the 32-bit variant of the octeon kernel config file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:14:27.196044Z K 7 svn:log V 73 Merge from projects/mips to head by hand: Copy over OCTEON1.hints file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:15:28.846557Z K 7 svn:log V 115 Merge from projects/mips to head by hand: Copy over the OCTEON1 kernel config file. This is the 64-bit version. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:17:39.362239Z K 7 svn:log V 77 Merge from projects/mips to head by hand: Copy over XLR kernel config file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:19:31.507531Z K 7 svn:log V 104 Merge from projects/mips to head by hand: Copy over MALTA64, the 64-bit varianat of the malta board... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:29:35.059001Z K 7 svn:log V 365 Merge from projects/mips to head by hand: Copy over the support files (except sys/conf and sys/mips/conf) for RMI XLR processor support. This port has been contributed by RMI and brought up to date by Randal Stewart (rrs@). This port is a work in progress, and there might still be significant changes. The port makes it to multi-user, but is still early beta. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T18:51:50.402871Z K 7 svn:log V 32 Fix a typo. MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T18:53:03.606128Z K 7 svn:log V 32 Fix a typo. MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T18:55:29.641487Z K 7 svn:log V 68 libusb20 was renamed libusb several months ago. MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T18:59:03.057655Z K 7 svn:log V 413 Merge from projects/mips to head by hand: Copy the support files for the Octeon 1 CPU from sys/mips/octeon1 on the projects/mips side to sys/mips/cavium on the head side to conform to the other vendor code. This code was contributed by Cavium to the project and forward ported by Warner Losh, with some additional code from Randal Stewart. # I'll fix the building problems the move creates in a future commit. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T18:59:03.405935Z K 7 svn:log V 52 Add missing library dependency. MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:02:33.535641Z K 7 svn:log V 37 Add files to remove when MK_ACCT=no. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2010-01-09T19:03:48.951224Z K 7 svn:log V 86 Send link state change control messages to "orphans" hook as well. MFC after: 1 week END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:04:38.153024Z K 7 svn:log V 36 Add files to remove when MK_AMD=no. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:07:04.733452Z K 7 svn:log V 36 Add files to remove when MK_APM=no. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:09:16.100872Z K 7 svn:log V 35 Add files to remove when MK_AT=no. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:12:33.009854Z K 7 svn:log V 36 Add files to remove when MK_ATM=no. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:13:56.446798Z K 7 svn:log V 39 Add files to remove when MK_AUTHPF=no. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-01-09T19:16:27.776347Z K 7 svn:log V 197 The client type rule allows DHCP, implicitly. Since DHCPv6 uses link-local address unlike with DHCP, we need one more rule to allow the DHCPv6. Reported by: David Horn END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-09T19:52:42.250278Z K 7 svn:log V 45 Update files to remove when MK_BLUETOOTH=no. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-09T21:23:39.196206Z K 7 svn:log V 1469 - Add code allowing a network device to only be open and closed once by keeping it opened after the first open and closing it via the cleanup handler when NETIF_OPEN_CLOSE_ONCE is defined in order to avoid the open-close-dance on every file access which with firmware that for example performs an auto-negotiation on every open causes netbooting to take horribly long. Basically the behavior with this knob enabled resembles the one employed between r60506 and r177108 (and for sparc64 also again since r182919) with the addition that the network device now is closed eventually before entering the kernel and before rebooting. Actually I think this should be the desired MI behavior, however the U-Boot loader actually requires net_close() to be called after every transaction in order for some local shutdown operations to be performed (and which I think thus will break on concurrent opens, i.e. when netdev_opens is > 1, like the loader does at least for disks when LOADER_GZIP_SUPPORT is enabled). - Use NETIF_OPEN_CLOSE_ONCE to replace the hack, which artificially increased netdev_opens for sparc64 in order to keep the network device opened forever, as at least some firmware versions require the network device to be closed eventually before entering the kernel or otherwise will DMA received packets to stale memory. The powerpc OFW loader probably wants NETIF_OPEN_CLOSE_ONCE to be set as well for the same reasons. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T21:57:41.218746Z K 7 svn:log V 248 Let ppp(8) use utmpx. This is a great example of what's so nice about utmpx. Because we use separate cookies to identify the entry instead of the TTY name, we don't need ugly hacks to perform any logging. We can just create entries without a TTY. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-09T22:09:10.045612Z K 7 svn:log V 229 Long ago, in r120654, the rounding of KERNend and physfree in locore was changed from a small page boundary to a large page boundary. As a consequence pmap_kmem_choose() became a pointless waste of address space. Eliminate it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T22:30:34.976021Z K 7 svn:log V 38 Allow commits to vendor/one-true-awk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T22:31:11.146255Z K 7 svn:log V 25 Flatten out vendor tree. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-09T22:33:34.536332Z K 7 svn:log V 129 Implement the fo_readdir method. This does not support long file names. Obtained from: Juniper Networks, Inc. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T22:39:01.470843Z K 7 svn:log V 10 Clean up. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T22:45:06.108830Z K 7 svn:log V 25 Bootstrap merge history. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T22:47:40.936144Z K 7 svn:log V 17 Clean up import. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-09T22:54:29.644890Z K 7 svn:log V 993 Remove file system support based on the simple file system protocol as this only allows us to access file systems that EFI knows about. With a loader that can only use EFI-supported file systems, we're forced to put /boot on the EFI system partition. This is suboptimal in the following ways: 1. With /boot a symlink to /efi/boot, mergemaster complains about the mismatch and there's no quick solution. 2. The EFI loader can only boot a single version of FreeBSD. There's no way to install multiple versions of FreeBSD and select one at the loader prompt. 3. ZFS maintains /boot/zfs/zpool.cache and with /boot a symlink we end up with the file on a MSDOS file system. ZFS does not have proper handling of file systems that are under Giant. Implement a disk device based on the block I/O protocol instead and pull in file system code from libstand. The disk devices are really the partitions that EFI knows about. This change is backward compatible. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:00:43.568723Z K 7 svn:log V 77 Remove some files that should have been removed in a previous botched merge. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:02:14.046164Z K 7 svn:log V 96 Tweak the line wrapping of the kern.ngroups decleration to be more consistent with other lines. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:02:49.502504Z K 7 svn:log V 24 Improve a few comments. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T23:04:24.212364Z K 7 svn:log V 44 Vendor import of bwk's 26-Nov-2009 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T23:06:19.626794Z K 7 svn:log V 24 Tag a 20091126 release. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:07:10.333083Z K 7 svn:log V 43 Use proper types to store uid's and gid's. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T23:13:05.700753Z K 7 svn:log V 174 Use hexadecimal strings for the process identifier. This makes it more likely for the number to fit in there, even if the implementation only reserves four bytes for ut_id. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:17:08.007262Z K 7 svn:log V 86 Tell the user what limit they exceeded rather than just giving an unconnected number. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:18:49.027799Z K 7 svn:log V 78 We do need this assignment to cr_gid here since the group array isn't copied. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T23:19:01.035416Z K 7 svn:log V 33 Update to a 26-Nov-2009 release. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:19:38.657666Z K 7 svn:log V 68 Follow HEAD here and just limit the groups to 16 since this is RPC. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:22:31.821926Z K 7 svn:log V 150 Correct the explination text for the kern.ngroups. It reflects the number of supplemental groups, not the total number of groups. MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:23:52.955706Z K 7 svn:log V 210 Update the comment on printing group membership to reflect that fact that each groupt the process is a member of is printed rather than an entry for each group the user could be a member of. MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:24:49.792931Z K 7 svn:log V 58 Improve the comment about CMGROUP_MAX. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-09T23:34:40.792943Z K 7 svn:log V 140 - fix buildworld - add check for overlaps in on insert - add additional cases to evict overlap - cache pages that are part of freed buffers END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-09T23:34:45.722362Z K 7 svn:log V 13 Regen diffs. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-09T23:36:15.630787Z K 7 svn:log V 9 snapshot END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-09T23:36:51.721312Z K 7 svn:log V 70 Use the correct types to store uids and gids in the credential cache. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-09T23:37:29.482459Z K 7 svn:log V 125 Use uname -m [1] and rename BUILD_ARCH to XMACHINE[2]. Submitted by: nyan[1], imp[2] MFC after: 27 days X-MFC with: r201815 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-09T23:40:45.743583Z K 7 svn:log V 58 make QUEUE_MACRO_DEBUG work with Peter's PV chunk changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-09T23:42:31.780324Z K 7 svn:log V 34 add zfs_bio.c to static ZFS build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-09T23:43:22.295440Z K 7 svn:log V 90 increase kstack pages to compensate for reduced optimization and witness on debug kernels END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-09T23:50:47.127631Z K 7 svn:log V 70 repeatedly invoke lowmem handler if buffer request can't be satisfied END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-10T00:08:26.528453Z K 7 svn:log V 35 Document the kern.ngroups tunable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-10T00:14:04.683802Z K 7 svn:log V 84 Remove debugging printf(). There's no need to print the image base address anymore. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-10T00:46:38.451476Z K 7 svn:log V 21 add a fifo scheduler END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-10T00:47:41.896527Z K 7 svn:log V 25 add to the configuration END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-10T02:31:06.080008Z K 7 svn:log V 19 fix lock recursion END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-10T02:33:34.050188Z K 7 svn:log V 94 - clear buf after it is removed - set object root to NULL if bp being removed is the last one END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T03:28:25.157083Z K 7 svn:log V 23 Mirror copy in /head.. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T03:46:08.931381Z K 7 svn:log V 85 Merge from projects/mips to head by hand: special ld script for 64-bit octeon link. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T03:47:12.629707Z K 7 svn:log V 76 Merge from projects/mips to head by hand: mips64 ld script for the kernel. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T04:48:26.248911Z K 7 svn:log V 98 Merge from projects/mips to head by hand: Special linker file for octeon1 in pseudo-32-bit mode. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T04:49:13.048710Z K 7 svn:log V 86 Merge from projects/mips to head by hand: loader script for octeon1 in n32 abi mode. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:01:47.116450Z K 7 svn:log V 181 Merge from projects/mips to head by hand: Placeholder for ptrace machine specific stuff... This will likely be used to report CP2 or CP3 registers on those CPUs that have them... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:05:33.183668Z K 7 svn:log V 98 These files have been moved on the branch. Delete them here before copying them from the branch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:07:29.713488Z K 7 svn:log V 161 Merge from projects/mips to head by hand: Merge the siba bus device. This was moved from mips to dev because siba bus can be in other architectures, like ARM. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:11:27.507539Z K 7 svn:log V 366 Merge from projects/mips to head by hand: Copy sys/dev/rmi to sys/mips/rmi/dev [sic]. For devices that are on only one SoC, or family of SoC, we place them under sys//dev. I'll fix the build problems this causes as best I can since rmi kernel require external toolchains due to lack of support for rmi op-codes in the ancient binutils we have in the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:14:15.821462Z K 7 svn:log V 47 mirror copy in head for less insane diffing... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:15:46.428740Z K 7 svn:log V 78 Merge from projects/mips to head by hand: Merge support for MX25L spi flash. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:16:55.604522Z K 7 svn:log V 87 Merge from projects/mips to head by hand: merge register definitions for mx25l flash. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:28:36.608346Z K 7 svn:log V 176 Merge r192355 from projects/mips to head by hand: r192355 | gonzo | 2009-05-18 17:20:56 -0600 (Mon, 18 May 2009) | 2 lines - Add support for MX25Lxxx SPI flash (readonly atm) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:34:46.095204Z K 7 svn:log V 1307 Merge r187428, r191079, r195533, r195669, r197004, r197012 and r197015 from projects/mips to head by hand: r197015 | imp | 2009-09-08 21:59:46 -0600 (Tue, 08 Sep 2009) | 2 lines Prefer PTR_LA over a naked la to work with 64-bits.. r197012 | imp | 2009-09-08 21:46:04 -0600 (Tue, 08 Sep 2009) | 3 lines Use proper set of flags to build the tramp. this gets 64-bit almost building and lets me debug the 'almost' :) r197004 | imp | 2009-09-08 18:47:12 -0600 (Tue, 08 Sep 2009) | 2 lines Use ${LDSCRIPT_NAME} in preference to ldscript.$M. r195669 | gonzo | 2009-07-13 17:03:44 -0600 (Mon, 13 Jul 2009) | 3 lines - Remove -mno-dsp from CFLAGS. MIPS DSP ASE is off by default now (as it should be) r195533 | imp | 2009-07-10 01:21:26 -0600 (Fri, 10 Jul 2009) | 4 lines Add in the emulation selection when linking... We're still not 100% of the way there, but we're better with it. hack.so build now, but we die when we try to link it in. r191079 | gonzo | 2009-04-14 16:53:22 -0600 (Tue, 14 Apr 2009) | 2 lines - Revert changes accidentally killed by merge operation r187418 | gonzo | 2009-01-18 19:37:10 -0700 (Sun, 18 Jan 2009) | 4 lines - Add trampoline stuff for bootloaders that do not support ELF - Replace arm'ish KERNPHYSADDR/KERNVIRTADDR with KERNLOADADDR/TRAMPLOADADDR and clean configs END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:36:38.779345Z K 7 svn:log V 285 Merge r187418 from projects/mips to head by hand: r187418 | gonzo | 2009-01-18 19:37:10 -0700 (Sun, 18 Jan 2009) | 4 lines - Add trampoline stuff for bootloaders that do not support ELF - Replace arm'ish KERNPHYSADDR/KERNVIRTADDR with KERNLOADADDR/TRAMPLOADADDR and clean configs END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T05:46:19.944898Z K 7 svn:log V 3495 Merge from projects/mips to head by hand: r200593 | imp | 2009-12-15 16:22:19 -0700 (Tue, 15 Dec 2009) | 4 lines Remove the now-obsolete comments about compile-with. There are no compile-with lines in this file at all. So we don't need two warnings about them. r198669 | rrs | 2009-10-30 02:53:11 -0600 (Fri, 30 Oct 2009) | 5 lines With this commit our friend RMI will now compile. I have not tested it and the chances of it running yet are about ZERO.. but it will now compile. The hard part now begins, making it run ;-) r198311 | neel | 2009-10-20 18:56:13 -0600 (Tue, 20 Oct 2009) | 8 lines Update options.mips to support config options required to build the SWARM kernel. The SWARM kernel does not build yet but at least it gets past the kernel config stage. r198154 | rrs | 2009-10-15 15:03:32 -0600 (Thu, 15 Oct 2009) | 10 lines Does 4 things: 1) Adds future RMI directories 2) Places intr_machdep.c in specfic files.arch pointing to the generic intr_machdep.c. This allows us to have an architecture dependant intr_machdep.c (which we will need for RMI) in the machine specific directory 3) removes intr_machdep.c from files.mips 4) Adds some TARGET_XLR_XLS ifdef's for the machine specific intra_machdep.h. We may need to look at finding a better place to put this. But first I want to get this thing compiling. r196315 | imp | 2009-08-17 06:37:06 -0600 (Mon, 17 Aug 2009) | 5 lines Like qdivrem, remove the other quad_t support stuff from 64-bit kernels. r195331 | imp | 2009-07-03 20:49:17 -0600 (Fri, 03 Jul 2009) | 4 lines Merge in new cfe environment passing of kenv for swarm/sibyte boards. Submitted by: Neelkanth Natu r195732 | gonzo | 2009-07-16 20:28:27 -0600 (Thu, 16 Jul 2009) | 2 lines - Add DES and Blowfish implementstions to build. Required by crypto(4) r195437 | imp | 2009-07-07 23:57:58 -0600 (Tue, 07 Jul 2009) | 2 lines The kernel isn't quite ready for this to be optional... r195401 | imp | 2009-07-06 02:16:25 -0600 (Mon, 06 Jul 2009) | 4 lines Only build qdivrem on 32-bit ISA... r195331 | imp | 2009-07-03 20:49:17 -0600 (Fri, 03 Jul 2009) | 4 lines Merge in new cfe environment passing of kenv for swarm/sibyte boards. Submitted by: Neelkanth Natu r195165 | gonzo | 2009-06-29 11:36:47 -0600 (Mon, 29 Jun 2009) | 2 lines - add sys_machdep.c to build r192864 | gonzo | 2009-05-26 16:40:12 -0600 (Tue, 26 May 2009) | 4 lines - Replace CPU_NOFPU and SOFTFLOAT options with CPU_FPU. By default we assume that there is no FPU, because majority of SoC does not have it. r191085 | gonzo | 2009-04-14 20:41:35 -0600 (Tue, 14 Apr 2009) | 2 lines - mainbus.c seems not to be used, disconnect it from build r191084 | gonzo | 2009-04-14 20:28:26 -0600 (Tue, 14 Apr 2009) | 6 lines Use FreeBSD/arm approach for handling bus space access: space tag is a pointer to bus_space structure that defines access methods and hence every bus can define own accessors. Default space is mips_bus_space_generic. It's a simple interface to physical memory, values are read with regard to host system byte order. r187418 | gonzo | 2009-01-18 19:37:10 -0700 (Sun, 18 Jan 2009) | 4 lines - Add trampoline stuff for bootloaders that do not support ELF - Replace arm'ish KERNPHYSADDR/KERNVIRTADDR with KERNLOADADDR/TRAMPLOADADDR and clean configs r187415 | gonzo | 2009-01-18 16:49:02 -0700 (Sun, 18 Jan 2009) | 3 lines - Move Silicon Backplanes code out to system-wide level (dev/siba) as it's going to be used not only for siba5 devices. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-10T07:08:11.335901Z K 7 svn:log V 129 MFC r201756: Re-apply onnv-gate revisions 7994 and 8986 (corresponds to FreeBSD revision 200726 and 200727). Reviewed by: mm@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-10T07:18:35.958898Z K 7 svn:log V 129 MFC r201756: Re-apply onnv-gate revisions 7994 and 8986 (corresponds to FreeBSD revision 200726 and 200727). Reviewed by: mm@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-10T08:02:07.221336Z K 7 svn:log V 265 Apply patches directly to sources. Their effect is as follows: - Make one-true-awk respect locale's collating order in [a-z] bracket expressions, until a more complete fix (like handing BREs) is ready. - Don't require a space between -[fv] and its argument. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-10T09:20:56.770165Z K 7 svn:log V 95 - Report SATA in legacy emulation mode still as SATA. - Make ATA XPT able to handle such case. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-10T09:31:57.466707Z K 7 svn:log V 197 Make a chain be a list of queues, and make threads waiting for same key coalesce to same queue, this makes searching path shorter and improves performance. Also fix comments about shared PI-mutex. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-10T10:42:58.758180Z K 7 svn:log V 68 Just use an int instead of a time_t here. It only stores a boolean. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-10T11:02:10.389053Z K 7 svn:log V 52 Report which of IXP700 legacy ATA channels is SATA. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-10T11:25:34.866706Z K 7 svn:log V 168 MFC r201743: Give some information on SF_MNOWAIT flag. MFC r201759 (by brueffer): Fix a typo and bump date for the previous commit. MFC r201760: Further fix grammar. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-10T12:03:53.065592Z K 7 svn:log V 35 Correct a typo. MFC after: 5 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-10T12:31:35.704985Z K 7 svn:log V 25 another batch of changes END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-10T13:15:58.767714Z K 7 svn:log V 57 Make lastcomm build again and reconnect it to the build. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-10T13:30:45.416564Z K 7 svn:log V 17 Merge with HEAD. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-01-10T14:30:30.555255Z K 7 svn:log V 1129 Give a less silly response to a silly request. Prior to this commit, fread/fwrite calls with size * nmemb > SIZE_MAX were handled by reading or writing (size_t)(size * nmemb) bytes; for example, on 32-bit platforms, fread(ptr, 641, 6700417, f) would read 1 byte and indicate that the requested 6700417 blocks had been read. This commit adds a check for such integer overflows, and treats them as if an overly large request was passed to read/write; i.e., it sets errno to EINVAL, sets the error indicator on the file, and returns a short object count (0, to be specific). The overflow check involves an integer division, so as a performance optimization we check first to see if both size and nmemb are less than 2^16; if they are, no overflow is possible and we avoid the division. We assume here that size_t is at least 32 bits; this appears to be true on all platforms FreeBSD supports. Although this commit fixes an integer overflow, it is not likely to have any security implications, since any program which would be affected by this bug fix is quite clearly already very confused. Reviewed by: kib MFC after: 1 month END