ı<190541 198 165 192 293 180 166 166 451 137 174 122 126 216 120 127 122 321 209 297 1779 123 98 235 151 160 253 408 380 352 368 237 274 168 217 159 389 107 171 116 1389 117 500 638 509 248 193 296 417 170 177 437 278 120 182 173 185 422 233 156 450 149 111 349 287 131 265 275 242 228 137 180 208 120 174 143 266 469 229 366 329 1169 325 97 184 151 109 145 128 159 292 426 213 246 151 222 155 166 168 216 134 198 420 193 629 616 380 243 287 165 254 151 118 168 271 249 243 230 148 165 232 274 147 99 467 113 179 664 309 135 419 141 317 357 791 227 153 221 307 107 562 207 416 444 129 707 120 200 115 190 767 348 154 307 111 373 343 276 197 307 227 274 284 163 135 937 993 263 215 564 308 189 140 153 143 235 157 113 175 177 222 226 235 223 191 220 209 257 214 206 209 313 327 225 231 700 289 216 206 323 K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-30T08:39:42.883310Z K 7 svn:log V 69 fix a bug of uses after free. Pointed by: dchagin MFC after: 3 days END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-30T08:44:29.421951Z K 7 svn:log V 99 MFC r190406: - Remember to set umask before setting attributes of RCS file. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-30T08:47:28.796828Z K 7 svn:log V 200 Implement support for RTLD_NODELETE flag for dlopen() and -z nodelete static linker option. Do it by incrementing reference count on the loaded object and its dependencies. Reviewed by: davidxu, kan END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-30T08:48:33.462305Z K 7 svn:log V 84 handles more exceptional cases when the driver failed to attach. MFC after: 3 days END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-03-30T10:15:15.059496Z K 7 svn:log V 74 Move initialisation of the balloon a bit later to make sure xenbus is up. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-03-30T10:16:49.513385Z K 7 svn:log V 74 Move initialisation of the balloon a bit later to make sure xenbus is up. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-30T10:18:43.940315Z K 7 svn:log V 358 MFC rev. 190519: Fixup relative pointers after channel realloc. It fixes crash on systems with several HDA codecs per controller. While I am there, remove some unneeded dereferences. MFCed earlier than it should be so that it can be part of 7.2-BETA1. PR: kern/131785 Submitted by: Tor Egge Approved by: re (kensmith) END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T10:43:07.532327Z K 7 svn:log V 44 Revert previous experiment with ip_reass(). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-30T10:54:07.680655Z K 7 svn:log V 79 Add mesh debugging bit replacing the now deprecated RADKEYS. Approved by: sam END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-30T11:23:14.657546Z K 7 svn:log V 26 corrects a error message. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T11:46:34.085330Z K 7 svn:log V 33 Temporary raise my commit limit. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-30T11:51:05.738487Z K 7 svn:log V 119 when it failed to inform rx/tx dma setup it should clean up allocated dma-related buffers and tags. MFC after: 3 days END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T11:51:17.238766Z K 7 svn:log V 27 Integrate from HEAD (IFH). END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T12:18:24.492671Z K 7 svn:log V 34 Return the commit-size privilege. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T12:26:19.471835Z K 7 svn:log V 29 Implement ipfw reass action. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-30T14:11:37.944887Z K 7 svn:log V 224 Merge r189196 from head to stable/7: Remove unreachable code for generating RST segments from tcp_twcheck(); this code became stale when T/TCP support was removed. Discussed with: bz, sam Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-30T15:01:29.715759Z K 7 svn:log V 111 Fix memory leak in semunload(). PR: 133064 Submitted by: Mateusz Guzik MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-30T16:01:09.320534Z K 7 svn:log V 204 New PHY driver for the internal PHY found in the AX88790. There's a number of quirks for this device, and this implements just the basics. The 2.5s powerdown recommended in the datasheet will be next... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-30T16:15:06.222929Z K 7 svn:log V 1685 This is a major reworking of the AX88x90 support. o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain the AX88190 workaround for the ISR bits being stuck, and don't apply them to the AX88790. The datasheet says the bits are fixed, and experience confirms. o Fix mii bit-bang read code to read and discard the 'floating' bit. o Remove empty ed_pccard_ax88x90_mii_reset routine o Report error from mii_phy_probe o Don't use ed_probe_Novel_generic for ax88x90 chips. It puts them into an odd state sometimes. Instead, use a more stream-lined version that avoids the trouble spots. This was copied and tweaked from the original. o Move chip reset into its own routine. o Minor code optimiation on getting MAC address o Add code for coping with AX88790 cards that are in power down state and need to be kicked before the PHY registers for the internal phy read right. o Remove ugly cap of PHYs at 17. o For AX88790, we need to set a special bit for accessig phy 16 (the internal phy) and clear it for all others according to a chip erratum. o streamline the bit-bang code for AX88x90: the delays aren't needed according to the datasheet timing diagrams and also the Linux driver o Fix minor bit definition for direction bit. o Generally: Some comments reformatted o Only try the toshiba probe on cards labelled as toshiba # From another Akihabara card (this one from a few years ago from a # friend in Japan). Fix the Corega FEther II PCC-TXD. This one is # still on sale new, as of a few weeks ago. should fix all other AX88x90 # based cards, but I have some testing left to finish on my collection... END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-30T16:40:55.244153Z K 7 svn:log V 28 Add self to be able to MFH. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-30T16:44:44.570689Z K 7 svn:log V 4 IFH END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-30T17:25:56.435991Z K 7 svn:log V 142 Two fixes: (1) Delete all children when detaching to keep from adding a phy each driver reload. (2) All AX88x90 chips have the RST issue. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-30T17:49:21.626889Z K 7 svn:log V 55 Load the right microcode for RS780. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-30T18:01:12.047435Z K 7 svn:log V 68 Add a simple manage for the refcount(9) API. Requested by: rwatson END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-30T18:01:42.195609Z K 7 svn:log V 156 We don't know what these pages are going to be used for, they should be un-cached. This got lost somewhere with all the bus_dma fixups. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-30T18:33:04.893430Z K 7 svn:log V 315 MFC: Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe() and into acpi_cpu_startup() which is where all the other code to update this global variable lives. This fixes a bug where cpu_cx_count was not updated correctly if acpi_cpu_generic_cx_probe() returned early. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-30T18:38:03.379933Z K 7 svn:log V 287 MFC: Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe() and into acpi_cpu_startup() which is where all the other code to update this global variable lives. This fixes a bug where cpu_cx_count was not updated correctly if acpi_cpu_generic_cx_probe() returned early. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-30T18:43:41.475710Z K 7 svn:log V 259 MFC: Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB to prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type limitations, the driver uses a 2GB boundary in PAE kernels. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-30T18:47:13.511783Z K 7 svn:log V 275 MFC: Use a DMA boundary of 4GB to prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type limitations, the driver uses a 2GB boundary in PAE kernels. This fixes a data corruption issue when using twa(4) in machines with >= 8 GB of RAM. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-30T19:20:56.239209Z K 7 svn:log V 143 MFC SVN rev 189787. - Fix steal_thresh calculation with odd numbers of cpus and sched_affinity() for threads on runqueues. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-30T19:23:49.964301Z K 7 svn:log V 181 Remove ATH_SUPPORT_TDMA and use IEEE80211_SUPPORT_TDMA instead. It doesn't make much sense to configure driver support w/o net80211. Note this means ath now depends on opt_wlan.h. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-30T20:25:04.654152Z K 7 svn:log V 75 ip_reass() modify the mbuf, thus exit & reenter ipfw_chk() via IP_FW_REASS END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-30T20:56:37.479311Z K 7 svn:log V 122 Remove pseudocode from VOP_* manual pages. It was out of date anyway. Reviewed by: scottl Approved by: rwatson (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-30T21:29:25.573393Z K 7 svn:log V 67 fake the association id so packets are not rejected in the tx path END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-30T21:31:52.534115Z K 7 svn:log V 295 - Add ipfw_nat to the list of required modules if "firewall_nat_enable" is set and "natd_enable" is NOT set; - Accept and pass firewall type to the external firewall script. Submitted by: Yuri Kurenkov < y -dot- kurenkov -at- init -dot- ru > MFC after: 3 days No response from: freebsd-rc END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-30T21:32:33.332420Z K 7 svn:log V 15 Catch up HEAD. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-30T21:41:06.917362Z K 7 svn:log V 76 MFP mesh11s: Add mesh debugging bit replacing the now deprecated RADKEYS. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-30T21:46:50.700191Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-30T21:53:27.810980Z K 7 svn:log V 1295 Hoist 802.11 encapsulation up into net80211: o call ieee80211_encap in ieee80211_start so frames passed down to drivers are already encapsulated o remove ieee80211_encap calls in drivers o fixup wi so it recreates the 802.3 head it requires from the 802.11 header contents o move fast-frame aggregation from ath to net80211 (conditional on IEEE80211_SUPPORT_SUPERG): - aggregation is now done in ieee80211_start; it is enabled when the packets/sec exceeds ieee80211_ffppsmin (net.wlan.ffppsmin) and frames are held on a staging queue according to ieee80211_ffagemax (net.wlan.ffagemax) to wait for a frame to combine with - drivers must call back to age/flush the staging queue (ath does this on tx done, at swba, and on rx according to the state of the tx queues and/or the contents of the staging queue) - remove fast-frame-related data structures from ath - add ieee80211_ff_node_init and ieee80211_ff_node_cleanup to handle per-node fast-frames state (we reuse 11n tx ampdu state) o change ieee80211_encap calling convention to include an explicit vap so frames coming through a WDS vap are recognized w/o setting M_WDS With these changes any device able to tx/rx 3Kbyte+ frames can use fast-frames. Reviewed by: thompsa, rpaulo, avatar, imp, sephe END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-30T21:54:39.390054Z K 7 svn:log V 25 revert unintended change END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-30T22:18:38.226727Z K 7 svn:log V 407 Integrate user/mav/ata branch: Add ch_suspend/ch_resume methods for PCI controllers and implement them for AHCI. Refactor AHCI channel initialization according to it. Fix Port Multipliers operation. It is far from perfect yet, but works now. Tested with JMicron JMB363 AHCI + SiI 3726 PMP pair. Previous version was also tested with SiI 4726 PMP. Hardware sponsored by: Vitsch Electronics / VEHosting.nl END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-31T01:01:01.929734Z K 7 svn:log V 541 Update bce(4) to latest -CURRENT version: - Add several HP OEM parts' PCI IDs (187133+187317) - Remove intermediate variable busaddr and have bus_* operate directly on softc members upon initialization. (187204) - Only enable split header operation when ZERO_COPY_SOCKETS is enabled in the kernel. (189117) - Updated firmware to latest 4.6.X release. (189325) - Added missing firmware for 5709 A1 controllers. (189325) - Changed some debug statistic variable names to be more consistent. (189325) Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-31T01:59:47.016561Z K 7 svn:log V 416 Hmmmm... This can't be right... But it looks like the DL100xx chips don't have one of the clock cycles (the turn cycle) that the AX88x90 chips have. Make this conditional. But this seems totally crazy and can't possibly be right. Commit the fix for the moment until I can explore this mystery more deeply. On the plus side, the DL10022-based cards I have (D-Link DEF-670TXD and SMC8040TX) work after this fix. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-31T02:29:42.314830Z K 7 svn:log V 151 MFC r190434: The malo(4) device driver first appeared in FreeBSD 7.1 not 8.0. Reported by: John Approved by: re (hrs) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2009-03-31T02:50:18.168826Z K 7 svn:log V 97 Turn on nodelete linker flag because libthr can not be unloaded safely, it does hook on to libc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-31T02:50:41.027617Z K 7 svn:log V 203 Go back to filtering all PHY addresses above 16 since at least two cards still have issues with them. Maybe this is a silicon rev? In any case, doing the filtering only for the AX88790 for the moment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-31T03:29:05.586205Z K 7 svn:log V 320 Partial revert r185756. It seems that RTL8168D and RTL8102EL requires additional settle time to complete RL_PHYAR register write. Accessing RL_PHYAR register right after the write causes errors for subsequent PHY register accesses. Tested by: george at luckytele dot com, Steve Wills < STEVE at stevenwills dot com > END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2009-03-31T07:40:36.545588Z K 7 svn:log V 76 Add another rum(4) device found in http://www.fit-pc.com/new/whats-new.html END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-31T09:54:54.387514Z K 7 svn:log V 84 -document 'reass' action in the help message -make ipfw recognize the "reass" token END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-31T10:34:54.973565Z K 7 svn:log V 340 fix a bug that it passed a incorrect flag BUS_DMA_ALLOCNOW to create a device specific DMA tag. On amd64 it could exhaust all of bounce pages when bus_dma_tag_create(9) is called at malo_pci_attach() then as result in next turn it returns ENOMEM. This fix a attach fail on amd64. Pointed by: yongari Tested by: dchagin MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-31T11:04:51.259966Z K 7 svn:log V 182 Remove a dangling extern "C" declaration that was missed during the merge. Fixes C++ ports using libpcap (nmap, for example). Submitted by: Daniel Roethlisberger END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-03-31T12:51:49.189649Z K 7 svn:log V 27 Document the reass action. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-31T14:30:46.975002Z K 7 svn:log V 90 Fix an off-by-one buffer overflow in ngets(). Submitted by: Bruce Can MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-31T16:44:07.843903Z K 7 svn:log V 77 MFC r187318: Reflect PCI ID changes for bce(4). Approved by: re (kensmith) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-31T17:52:05.026323Z K 7 svn:log V 89 Simplify the radeon microcode loading. Submitted by: Christoph Mallon MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-31T18:25:09.143079Z K 7 svn:log V 329 o Minor tweaks to the AX88x90 probe routine, mostly related to comments. o Don't run through the register initialization in the read mac routine for the AX88x90. It duplicates other stuff that we do. o Eliminate the 10ms delay after we reset the AX88x90. We already wait for the appropriate bits to indicate reset is done. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-31T19:20:03.967959Z K 7 svn:log V 140 It turns out that the initialization is required since it sets up the readout of the MAC address. The 10ms delay was really needed. Ooops. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-31T19:23:59.229547Z K 7 svn:log V 64 Add additional data on the MIIBUS WTF that I committed earlier. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-31T21:02:55.054869Z K 7 svn:log V 356 Probe size of installed memory modules from loader and display it as 'real memory' instead of Maxmem if the value is available. Note amd64 displayed physmem as 'usable memory' since machdep.c r1.640 to unconfuse users. Now it is consistent across amd64 and i386 again. While I am here, clean up smbios.c a bit and update copyright date. Reviewed by: jhb END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-31T21:14:05.792100Z K 7 svn:log V 56 Fix an uninitialized variable from the previous commit. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-03-31T23:02:51.123679Z K 7 svn:log V 16 Use RTF_LLDATA. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-03-31T23:06:20.139852Z K 7 svn:log V 253 Use Oxf0000000 instead of 0xff000000 to guess the physical address, relative to the virtual one. I may had a reason at some point to use the later, but can't remember which, and it can leads to issues. Reported by: Guillaume Ballet END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-03-31T23:47:18.113478Z K 7 svn:log V 191 Fix the userland, RAS, version of atomic_fetchadd_32 : return the correct value, and do not store the wrong one in the supplied pointer. Submitted by: Mark Tinguely END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-04-01T04:36:37.734847Z K 7 svn:log V 39 Eliminate dead code. Reviewed by: jhb END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T06:01:40.241417Z K 7 svn:log V 168 MFC r186431: Note that when shutdown is run without options, it will place the system into single user mode at the time specified. PR: 129765 Approved by: re (kib) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T06:03:23.352431Z K 7 svn:log V 178 MFC r186429: Document the "-o large" option. PR: 129792 And r186768: Add missing qualifier which was missed in the previous commit. Noticed by: brooks Approved by: re (kib) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T06:18:51.477210Z K 7 svn:log V 145 MFC r186431: Note that when shutdown is run without options, it will place the system into single user mode at the time specified. PR: 129765 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T07:13:21.070542Z K 7 svn:log V 131 Remove KSE bits, cross reference libthr.3. PR: 132392 Submitted by: Niclas Zeising (original version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T08:08:25.383329Z K 7 svn:log V 41 On second thought, remove the comma too. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T08:33:54.049064Z K 7 svn:log V 84 Fix punctuation. PR: 132834 Submitted by: "Alan R. S. Bueno" END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T09:22:25.160446Z K 7 svn:log V 111 Remove the fla.4 manual page, the driver was nuked over four years ago. Noticed by: rene Prodded by: brueffer END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T09:27:45.804847Z K 7 svn:log V 24 Add an entry for fla.4. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-01T09:37:00.067454Z K 7 svn:log V 78 Use the real removal date for fla(4), put the entry with other 2004* entries. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-04-01T10:58:50.271936Z K 7 svn:log V 50 -avoid a double free -remove a redundant variable END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T12:31:04.623988Z K 7 svn:log V 173 Provide convenient definition of the union descriptor, similar to the i386 one. Fully enumerate system segments and gate types. In collaboration with: pho Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T12:44:17.735539Z K 7 svn:log V 376 Add all segment registers for the amd64 CPU to struct reg and mcontext. To keep these structures ABI-compatible, half the size of r_trapno, r_err, mc_trapno, mc_flags. Add fsbase and gsbase to mcontext on both amd64 and i386. Add flags to amd64 mcontext to indicate that it contains valid segments or bases. In collaboration with: pho Discussed with: peter Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T12:46:05.389065Z K 7 svn:log V 136 Fill the fsbase and gsbase fields of the mcontext structure on i386. In collaboration with: pho Discussed with: peter Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T12:48:17.839273Z K 7 svn:log V 273 Fully enumerate all i386 sysarch commands an amd64 include file. Provides i386/freebsd API-compatible definitions for the argument structures of the above sysarch commands. struct i386_ioperm_args definition is ABI-compatible. In collaboration with: pho Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T12:53:01.366773Z K 7 svn:log V 236 Add separate gdt descriptors for %fs and %gs on amd64. Reorder amd64 gdt descriptors so that user-accessible selectors are the same as on i386. At least Wine hard-codes this into the binary. In collaboration with: pho Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T13:09:26.403259Z K 7 svn:log V 1075 Save and restore segment registers on amd64 when entering and leaving the kernel on amd64. Fill and read segment registers for mcontext and signals. Handle traps caused by restoration of the invalidated selectors. Implement user-mode creation and manipulation of the process-specific LDT descriptors for amd64, see sysarch(2). Implement support for TSS i/o port access permission bitmap for amd64. Context-switch LDT and TSS. Do not save and restore segment registers on the context switch, that is handled by kernel enter/leave trampolines now. Remove segment restore code from the signal trampolines for freebsd/amd64, freebsd/ia32 and linux/i386 for the same reason. Implement amd64-specific compat shims for sysarch. Linuxolator (temporary ?) switched to use gsbase for thread_area pointer. TODO: Currently, gdb is not adapted to show segment registers from struct reg. Also, no machine-depended ptrace command is added to set segment registers for debugged process. In collaboration with: pho Discussed with: peter Reviewed by: jhb Linuxolator tested by: dchagin END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T13:11:50.957423Z K 7 svn:log V 232 Rename implementation function for freebsd32 sysarch(2) to allow for the arguments translations. Provide ABI-compatible definition of the struct i386_ldt_args for freebsd32 compat layer. In collaboration with: pho Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T13:12:40.922313Z K 7 svn:log V 6 Regen END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T13:44:28.810816Z K 7 svn:log V 92 Sync definitions for struct sigcontext for i386 and amd64 architectures to struct mcontext. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T14:38:20.734693Z K 7 svn:log V 59 Document RTLD_NODELETE, -z nodelete and -z origin support. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-04-01T15:29:22.119301Z K 7 svn:log V 16 fix compilation END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-04-01T16:24:24.387547Z K 7 svn:log V 52 Garbage collect unused stack segment since r190620. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-04-01T17:06:28.654202Z K 7 svn:log V 36 Fix the Xen build for i386 PV mode. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-04-01T17:11:50.023063Z K 7 svn:log V 68 Add a new world named 'mips' to our universe. Discussed with: imp END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-04-01T18:36:34.505207Z K 7 svn:log V 198 Garbage collect unused MSR_GSBASE since r190620. The only consumer was exception.S and specialreg.h is directly included now. Note no md5 changes were observed for all assym.s consumers with this. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-04-01T18:55:08.013067Z K 7 svn:log V 333 Add some more logic for AD1986A codec input tracing. Use mic preamplifier only for mic-type inputs. This gives better chances to use it. Change default configuration for some AD1986A codec based ASUS boards, use it also for ASUS P5PL2 board. This makes front mic preamplifier working. Tested by: Vadim Frolov END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T19:23:07.376320Z K 7 svn:log V 120 Add trivial implementation for the freebsd32_sysarch on ia64. Fix comapt32 and LINT build on ia64. Discussed with: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-01T19:23:46.847823Z K 7 svn:log V 153 Unconditionally build wrappers for i386_get_ioperm(), i386_set_ioperm(), i386_get_ldt() and i386_set_ldt(). In collaboration with: pho Reviewed by: jhb END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-04-01T20:23:47.365165Z K 7 svn:log V 58 Implement an ipfw action to reassemble ip packets: reass. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-04-01T21:14:01.834987Z K 7 svn:log V 129 Remove some pointless mergeinfo that is the result of doing a local 'svn cp' and having svn create empty mergeinfo for the file. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-04-02T00:23:56.551972Z K 7 svn:log V 62 Chase GDT layout changes and unbreak suspend/resume on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-04-02T01:46:57.504766Z K 7 svn:log V 73 Reduce code duplcations from r190620. While I am here, tweak a comment. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-04-02T02:26:58.203690Z K 7 svn:log V 72 MFC r190437: bump date. Pointed by: yongari Approved by: re (kib) END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-04-02T07:11:54.482023Z K 7 svn:log V 123 Added test based on scanario from "kern/94769: [ufs] Multiple file deletions on multi-snapshotted filesystems causes hang" END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-04-02T13:02:12.026707Z K 7 svn:log V 39 Sync DLTs with latest libpcap version. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-04-02T13:04:17.424555Z K 7 svn:log V 102 Restore local change to include inside pcap.h. This fixes remaining ports build problems. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-04-02T15:53:29.861519Z K 7 svn:log V 327 Properly update the shm_open/shm_unlink symbol versioning metadata after these functions were moved into the kernel: - Move the version entries from gen/ to sys/. Since the ABI of the actual routines did not change, I'm still exporting them as FBSD 1.0 on purpose. - Add FBSD-private versions for the _ and __sys_ variants. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-04-02T16:51:41.700860Z K 7 svn:log V 100 Added test case for possible name cache problem that showed up after vfs.lookup_shared was enabled. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T16:58:45.497212Z K 7 svn:log V 536 Force an autonegotiation at attach time for all the attached PHYs for ed cards. There's a number of minor nits in a lot of the PHYs on the PC Cards that use the Axis AX88190 or DLink DL10019 and DL10022 chips. Forcing the autonegotiation doesn't seem to cause problems on the cards that have sane PHYs, but makes several cards I have work without further workarounds. I'm not 100% sure that kicking the PHY and resetting them is the right thing to do on the media change callback. Other NICs seem to need this and do similar things. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T17:08:54.920409Z K 7 svn:log V 523 The AX88190 has 64k of external SRAM, of which 62k can be used for packet data. However, the AX88190A moves this on-chip and reduces it to the more traditional 16k from 16k-32k. The AX88790 follows the '190A. Probe memory above 32k to see which flavor of the '190 we have and use the extra memory if we have it. Eliminate the kludgy read eeprom for the ID code. It really is just a memory read at location 0x400, so just use that instead. Makes the code easier to understand as well as eliminates some magic numbers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T17:15:49.842243Z K 7 svn:log V 287 Minor DLINK DL100xx support tweaks: The DIROUT bit difference between the 19 and 22 is annoying. We can set both bits on both parts without ill effect. Use this trick to simplify the code. The DELAYS in the MII bus bit-bang code for the DL100xx parts aren't needed. Eliminate them. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T17:16:39.047824Z K 7 svn:log V 146 Bail out when memory allocation is failed, rather than referencing a NULL pointer. PR: kern/94480 Submitted by: Michiel Pelt END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-02T17:53:30.526075Z K 7 svn:log V 190 Merge 190123,190282 Fix up the flags to bus_dmamem again. The man page incorrectly showed the BUS_DMA_NOCACHE flags as being a valid flag for load instead of alloc. Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-02T17:57:04.175989Z K 7 svn:log V 69 Merge 190124 Add a couple of radeon pci ids. Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-02T17:58:20.474500Z K 7 svn:log V 157 Merge 190399 The GART allocations are a propery of the gart, not of scatter-gather memory. Track them in the appropriate structure. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T18:02:00.175601Z K 7 svn:log V 59 Minor tweaks in the names to match the chips more closely. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T18:11:21.551583Z K 7 svn:log V 26 Kill debug that crept in. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-02T18:20:46.911184Z K 7 svn:log V 72 Merge 190563 Load the right microcode for RS780 Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-02T18:21:41.231810Z K 7 svn:log V 174 Merge 190565 We don't know what these pages are going to be used for, they should be un-cached. This got lost somewhere with all the bus_dma fixups. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-02T19:27:56.226958Z K 7 svn:log V 156 Retire two flags that haven't been used since OLDCARD was retired (well, since before OLDCARD was retired, since I removed their use somewhat before that). END K 10 svn:author V 5 peter K 8 svn:date V 27 2009-04-02T21:16:20.789722Z K 7 svn:log V 148 vn_vptocnp() unlocks the name cache and forgets to re-lock it before returning in one error case, and mistakenly unlocks it for the umount -f case. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T21:23:04.743164Z K 7 svn:log V 133 Don't crash when we have an invalid count number. PR: bin/32686 Submitted by: Jaakko Heinonen MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T21:44:55.267647Z K 7 svn:log V 52 Signed/unsigned fixes, should be WARNS=2 clean now. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T21:51:54.562436Z K 7 svn:log V 69 Remove a warning which is supposed to have been removed on 20030301. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T21:58:34.548684Z K 7 svn:log V 135 MFC revisions 162191, 166134, and 172259: Avoid memory leaks, properly handle malloc/realloc failures, and remove duplicate includes. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-02T22:04:44.877066Z K 7 svn:log V 177 nt a warning when blackhole and reject are used together. Update arp.8 manual page syntax. PR: 125896 Submitted by: Marc Olzheim Approved by: re (kib), sam END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-04-02T22:17:02.798366Z K 7 svn:log V 51 Properly handle malloc() failures. PR: bin/83338 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-04-03T00:10:19.416758Z K 7 svn:log V 5 MFH. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-04-03T00:12:14.209057Z K 7 svn:log V 370 MFC r190587: It seems that RTL8168D and RTL8102EL requires additional settle time to complete RL_PHYAR register write. Accessing RL_PHYAR register right after the write causes errors for subsequent PHY register accesses. Tested by: george at luckytele dot com, Steve Wills < STEVE at stevenwills dot com > Approved by: re (Kostik Belousov) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-03T02:28:11.510006Z K 7 svn:log V 21 Remove more debug... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-03T03:04:26.019883Z K 7 svn:log V 87 Merge 190488 from head: Fix shared memory packet movement. Approved by: re@ (kostik) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-04-03T03:25:00.785848Z K 7 svn:log V 567 MFC r190541: fix a bug of uses after free. Pointed by: dchagin MFC r190544: handles more exceptional cases when the driver failed to attach. MFC r190550: corrects a error message. MFC r190590: fix a bug that it passed a incorrect flag BUS_DMA_ALLOCNOW to create a device specific DMA tag. On amd64 it could exhaust all of bounce pages when bus_dma_tag_create(9) is called at malo_pci_attach() then as result in next turn it returns ENOMEM. This fix a attach fail on amd64. Pointed by: yongari Tested by: dchagin Approved by: re (kib) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-03T05:54:49.916263Z K 7 svn:log V 213 The 9 bytes immediately prior to the partition table can contain signatures or disk serial numbers. Don't assume those to be zero in all cases. This fixes a false negative. Tested by: avatar@mmlab.cse.yzu.edu.tw END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-04-03T10:15:00.624688Z K 7 svn:log V 42 - Correct the comment. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-04-03T10:38:24.667800Z K 7 svn:log V 326 MFC rev. 188464. Check for device_set_devclass() errors and skip driver probe/attach if any. Attach called without devclass set crashes the system. On attach/resume some ATA drivers sometimes trying to create duplicate adX device. It is surely their own problem, but it is not a reason to crash here. Approved by: re (kib) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-04-03T13:35:54.469770Z K 7 svn:log V 48 - Fix spacing in the comment. Reported by: jhb END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-04-03T16:02:13.459532Z K 7 svn:log V 223 MFC r190422: - Add proper error checking and printing to the CVSMode code when reading and writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-04-03T18:00:19.006365Z K 7 svn:log V 264 o update dwds mcast handling after hoisting ieee80211_encap: frames need to be encapsulated before dispatching to the driver o eliminate M_WDS now that we call ieee80211_encap directly and can supply the wds vap to indicate a 4-address frame should be created END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-03T19:17:23.870720Z K 7 svn:log V 698 Allow the NULL, RTLD_SELF and RTLD_NEXT handles to work with dlfunc(3). dlfunc() called dlsym() to do the work, and dlsym() determines the dso that originating the call by the return address. Due to this, dlfunc() operated as if the caller is always the libc. To fix this, move the dlfunc() to rtld, where it can call the internal implementation of dlsym, and still correctly fetch return address. Provide usual weak stub for the symbol from libc for static binaries. dlfunc is put to FBSD_1.0 symver namespace in the ld.so export to override dlfunc@FBSD_1.0 weak symbol, exported by libc. Reported, analyzed and tested by: Tijl Coosemans PR: standards/133339 Reviewed by: kan END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-03T19:21:39.728006Z K 7 svn:log V 130 A little more cleanup from AMD, if we don't have the right microcode there is no reason to mess with the chip. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-04-03T19:23:14.018846Z K 7 svn:log V 57 Add support for RV790 (HD 4890) asics MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-03T19:46:12.016257Z K 7 svn:log V 124 Add a how argument to root_mount_hold() so it can be passed NOWAIT and be called in situations where sleeping isnt allowed. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-03T19:49:33.595816Z K 7 svn:log V 210 Add interleaving root hold tokens from the CAM probe to disk_create and geom provider tasting. This is needed for disk attachments that happen after threads are running in the boot process. Tested by: rnoland END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-04-03T20:46:32.270833Z K 7 svn:log V 15 fix whitespace END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-04-03T21:13:18.273178Z K 7 svn:log V 464 Set SO_NOSIGPIPE on sockets used by phttpget. Without this, if (1) phttpget is attempting to download enough files that it can't send all the requests at once, and (2) the remote server forcibly closes the connection, resulting in RST packets being sent, phttpget will receive a SIGPIPE and terminate without downloading all of the files. This is probably responsible for a number of hard-to-reproduce errors with portsnap and freebsd-update. MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-04-03T23:52:47.550221Z K 7 svn:log V 110 Catch up with recent locking changes. PR: 132546 Submitted by: pluknet Reviewed by: alc END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-04-04T00:22:44.389281Z K 7 svn:log V 315 Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge mode provided, for example, on the PowerPC 970 (G5), as well as on related CPUs like the POWER3 and POWER4. This also adds support for various built-in hardware found on Apple G5 hardware (e.g. the IBM CPC925 northbridge). Reviewed by: grehan END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-04-04T00:26:01.232733Z K 7 svn:log V 343 The Serverworks SATA chipsets used in Apple G5 systems require requiring the ATA status register with a 4-byte read request. This updates it, and subsequent 1-byte reads will return the correct result. This commit adds a hack to do this, which is currently ifdef'd powerpc, although Linux and Darwin do this unconditionally on all platforms. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-04-04T00:56:41.097167Z K 7 svn:log V 32 Merge r189729:190682 from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-04T02:12:37.294070Z K 7 svn:log V 611 PowerPC, meet kernel core dumps. The support is based on a generic dumper that creates an ELF core file and uses PMAP functions to scan and iterate over memory chunks, as well as handle memory mappings used during dumping. the PMAP layer can choose to return physical memory chunks or virtual memory chunks. For minidumps, the chunks should be virtual. The default MMU I/F implementation for the scan_md() method returns NULL. Thus, when a PMAP implementation does not implement the required methods, an empty core file is created. Here, empty means having an ELF header only. Obtained from: Juniper Networks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-04-04T04:28:01.584886Z K 7 svn:log V 23 Update copyright info. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-04-04T04:46:32.730990Z K 7 svn:log V 102 Remove redundant cruft from alq.h and document overloaded meaning of the size parameter for alq_open. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-04-04T04:48:24.183989Z K 7 svn:log V 18 Minor style nits. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-04-04T11:23:00.684734Z K 7 svn:log V 94 Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX chipsets. Reviewed by: sam END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-04-04T11:43:32.770665Z K 7 svn:log V 674 Many bug fixes (from the IETF hack-fest): - PR-SCTP had major issues when skipping through a multi-part message. o Did not look at socket buffer. o Did not properly handle the reassmebly queue. o The MARKED segments could interfere and un-skip a chunk causing a problem with the proper FWD-TSN. o No FR of FWD-TSN's was being done. - NR-Sack code was basically disabled. It needed fixes that never got into the real code. - CMT code had issues when the two paths were NOT the same b/w. We found a few small bugs, but also the critcal one here was not dividing the rwnd amongst the paths. Obtained from: Michael Tuexen and myself at the IETF hack-fest ;-) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-04-04T12:19:52.292960Z K 7 svn:log V 255 When removing or renaming snaphost, do not delve into request_cleanup(). The later may need blocks from the underlying device that belongs to normal files, that should not be locked while snap lock is held. Reported and tested by: pho MFC after: 1 month END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-04-04T15:26:32.509850Z K 7 svn:log V 62 Do not obliterate QQI with MAXRESP. Found during MLDv2 port. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-04-04T15:32:23.754535Z K 7 svn:log V 214 Fix mbuf chain layout pessimization: in the case where a single mbuf is allocated due to m_getcl() returning NULL, we already call MH_ALIGN, so do not increment m->m_data in this case. Found during MLDv2 port. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-04-04T15:48:09.113766Z K 7 svn:log V 20 Fixed NAME section. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-04-04T16:03:28.794682Z K 7 svn:log V 281 - Style: size_t can't be negative. - Don't exit with a zero status code when no jails are configured on a system. - Style: simplify some code constructs. - If a single jail cannot be found, let the caller print a nicer diagnostic message. Reviewed by: bz MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-04-04T17:01:32.628464Z K 7 svn:log V 246 - Add the support for the Asus A3F and A3E device - Fix style for A3N and for a comment Submitted by: Akira Funahashi Tested by: Marcin Nowak , Diego Sardina PR: kern/128634 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-04-04T17:05:17.793117Z K 7 svn:log V 175 Modularize the Macintosh built-in ATA along the lines of the rest of the ATA system as an optional atamacio device. PR: powerpc/133161 Submitted by: Bruce Cran END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-04-04T17:48:38.501660Z K 7 svn:log V 104 Revert change 190655 temporarily. It breaks many setups where nullfs is used and needs to be revisited. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-04-04T19:06:52.750948Z K 7 svn:log V 210 Don't let trailing empty lines overwrite the result of the last command with 0. This affects the built-ins eval, fc, and trap and also the string passed to sh with the -c option. Submitted by: Jilles Tjoelker END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-04-04T20:08:08.288046Z K 7 svn:log V 129 Temporary hack to unbreak user/group lookups; use a larger buffer for getpwuid_r/getgrgid_r. This needs to be dynamically sized. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-04-04T20:58:18.165706Z K 7 svn:log V 180 Fixup the parameters to audit_submit(3) the order is errno then return value. This bug went un-noticed for so long because EPERM == 1 MFC after: 1 week Spotted by: sson, rwatson END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-04T22:01:43.753217Z K 7 svn:log V 188 Implement kernel core dump support for Book-E processors. Both raw physical memory dumps and virtual minidumps are supported. The default being minidumps. Obtained from: Juniper Networks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-04T22:03:19.820241Z K 7 svn:log V 68 First round of cleanups. There's a lot of NetBSDism in this header. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-04T22:05:36.580176Z K 7 svn:log V 40 Add sysarch.h. It's included by drm(4). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-04-04T22:23:03.298854Z K 7 svn:log V 841 Perform a dummy stwcx. when we switch contexts. The context being switched out may hold a reservation. The stwcx. will clear the reservation. This is architecturally recommended. The scenario this addresses is as follows: 1. Thread 1 performs a lwarx and as such holds a reservation. 2. Thread 1 gets switched out (before doing the matching stwcx.) and thread 2 is switched in. 3. Thread 2 performs a stwcx. to the same reservation granule. This will succeed because the processor has the reservation even though thread 2 didn't do the lwarx. Note that on some processors the address given the stwcx. is not checked. On these processors the mere condition of having a reservation would cause the stwcx. to succeed, irrespective of whether the addresses are the same. The dummy stwcx. is especially important for those processors. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-04-04T23:12:14.513912Z K 7 svn:log V 900 Retire VM_PROT_READ_IS_EXEC. It was intended to be a micro-optimization, but I see no benefit from it today. VM_PROT_READ_IS_EXEC was only intended for use on processors that do not distinguish between read and execute permission. On an mmap(2) or mprotect(2), it automatically added execute permission if the caller specified permissions included read permission. The hope was that this would reduce the number of vm map entries needed to implement an address space because there would be fewer neighboring vm map entries that differed only in the presence or absence of VM_PROT_EXECUTE. (See vm/vm_mmap.c revision 1.56.) Today, I don't see any real applications that benefit from VM_PROT_READ_IS_EXEC. In any case, vm map entries are now organized as a self-adjusting binary search tree instead of an ordered list. So, the need for coalescing vm map entries is not as great as it once was. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-04-05T00:24:49.579176Z K 7 svn:log V 170 Revert c190007 at the request of Ruslan. It was not correct because ar had been moved from cross tools to bootstrap tools when bsd ar was introduced. Submitted by: ru@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-04-05T00:51:59.779463Z K 7 svn:log V 123 MFC: Don't put "install-info" to the list of install-tools if we're installing with -DWITHOUT_INFO. Approved by: re (kib) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-04-05T09:27:19.943063Z K 7 svn:log V 467 Fix KBI breakage by r190520 which affects older linux.ko binaries: 1) Move the new field (brand_note) to the end of the Brandinfo structure. 2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer is valid. 3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old modules won't have the flag set, so the new field brand_note would be ignored. Suggested by: jhb Reviewed by: jhb Approved by: kib (mentor) MFC after: 6 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T12:41:59.421540Z K 7 svn:log V 215 Send multicast on p2p interfaces if they can and are not prohibited from doing so with no_rip_mcast in /etc/gateways. This allows routed(8) to work with the way ports/security/openvpn employs the tun(4) interface. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T13:48:06.596539Z K 7 svn:log V 97 Remove newlines from string argument of __COPYRIGHT(), it results in assembler warning messages. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T14:01:39.380679Z K 7 svn:log V 48 Use to manage the interface list. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T14:15:05.401505Z K 7 svn:log V 61 Kick WARNS level up to 6 by fixing various trivial warnings. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T15:06:02.057970Z K 7 svn:log V 51 Convert list of remote interfaces to LIST_* macros END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-04-05T15:24:27.588588Z K 7 svn:log V 141 Improve a bit reass documentation: -document fragment handling sysctls -mention some caveats about fragments handling (and to deal with it) END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T15:55:09.784769Z K 7 svn:log V 65 Modernize prototypes (ie: no extern) Make lots of stuff static. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T16:01:56.030910Z K 7 svn:log V 21 Some constifications END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T17:12:13.238514Z K 7 svn:log V 83 Fix casts which are not by definition safe, but which malloc(3) makes safe for us. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-04-05T17:33:07.816069Z K 7 svn:log V 85 Add some consts, remove some unused stuff and other attempts to calm FlexeLint down. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:01.467621Z K 7 svn:log V 125 MFp4 //depot/projects/usb@159562 Reapply r190173 with compilation fixed on 64bit arches. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:07.350633Z K 7 svn:log V 129 MFp4 //depot/projects/usb@159671 Fix interrupt register setting on the atmegadci controller. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:16.366081Z K 7 svn:log V 138 MFp4 //depot/projects/usb@159673 Fix a corner case around stalling SETUP packets in device side mode. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:25.879388Z K 7 svn:log V 126 MFp4 //depot/projects/usb@159674 Fix more corner cases around reception of SETUP packets. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:36.931221Z K 7 svn:log V 95 MFp4 //depot/projects/usb@159677 Remove redundant locking. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:18:47.263194Z K 7 svn:log V 123 MFp4 //depot/projects/usb@159700 Get rid of the last CALLOUT_RETURNUNLOCKED reference. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:00.156477Z K 7 svn:log V 112 MFp4 //depot/projects/usb@159797 Remove unused field in "struct usb2_pipe". Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:10.169468Z K 7 svn:log V 160 MFp4 //depot/projects/usb@159806 Properly name usb2_uref_location() so that it is not confused with usb2_unref_location() . Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:19.929159Z K 7 svn:log V 117 MFp4 //depot/projects/usb@159811 First patch in a series of memory save patches. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:30.679996Z K 7 svn:log V 109 MFp4 //depot/projects/usb@159863 Speed up the endpoint descriptor search Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:42.354831Z K 7 svn:log V 112 MFp4 //depot/projects/usb@159864 Fix possible deadlock with UGEN at detach. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:19:52.088973Z K 7 svn:log V 216 MFp4 //depot/projects/usb@159866 - memory usage reduction by only allocating the required USB pipes and USB interfaces. - cleanup some USB parsing functions to be more flexible. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:03.726931Z K 7 svn:log V 230 MFp4 //depot/projects/usb@159871 - bugfixes after the memory usage reduction patch - Use "udev->pipes_max" instead of USB_EP_MAX - Use correct "bmRequestType" for getting the config descriptor. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:13.260050Z K 7 svn:log V 128 MFp4 //depot/projects/usb@159897 Add new endpoint direction values for use with usb2_config Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:24.623923Z K 7 svn:log V 134 MFp4 //depot/projects/usb@159908 Reduce the amount of memory used by better sizing buffer arrays. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:38.342376Z K 7 svn:log V 603 MFp4 //depot/projects/usb@159909 - make usb2_power_mask_t 16-bit - remove "usb2_config_sub" structure from "usb2_config". To compensate for this "usb2_config" has a new field called "usb_mode" which select for which mode the current xfer entry is active. Options are: a) Device mode only b) Host mode only (default-by-zero) c) Both modes. This change was scripted using the following sed script: "s/\.mh\././g". - the standard packet size table in "usb_transfer.c" is now a function, hence the code for the function uses less memory than the table itself. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:49.758995Z K 7 svn:log V 192 MFp4 //depot/projects/usb@159922 Refactor how we interface with the root HUB. This cuts around 1200 lines of code totally and saves one thread per USB bus. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:20:58.495991Z K 7 svn:log V 119 MFp4 //depot/projects/usb@159925 Cast variables properly for non-32-bit platforms. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:21:08.741915Z K 7 svn:log V 109 MFp4 //depot/projects/usb@159926 Minor code factorisation in atmegadci.c Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-04-05T18:21:21.593601Z K 7 svn:log V 226 MFp4 //depot/projects/usb@159946 Some cancelable flags are always true. Substitute these away. These cancelable flags were mostly useful with the root HUB which is now handled differently. Submitted by: Hans Petter Selasky END