SVNews

NOTE: This service is experimental and subject to change! Use at your own risk!

Year:   Month: - or - Filter committers: - or -
Filter paths:
Include diffs if smaller than lines.

2010 - 03 - 19   (today)
05:40:47 - r205310
(3 hours 22 minutes ago)
by imp
Affects:  /head/gnu/usr.bin/gdb/arch/arm/nm-fbsd.h
Fix typo in comment
03:30:19 - r205309
(5 hours 33 minutes ago)
by kmacy
Affects:  /user/kmacy/head_page_lock/sys/vm/vm_object.c
remove gratuitous vm_page_io_start() calls
01:38:03 - r205308
(7 hours 25 minutes ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/mmu_oea64.c
Remove a redundant mtx_assert()
01:16:53 - r205307
(7 hours 46 minutes ago)
by delphij
Affects:  /head/sys/i386/conf/GENERIC
SSE is enabled by default about 5 years ago so there is no point pretending
that we support I486 and I586 CPUs in the GENERIC kernel, users wants these
support would have to build a custom kernel to explicitly disable SSE
anyways.

MFC after:      1 month
00:51:48 - r205306
(8 hours 11 minutes ago)
by delphij
Affects:  /user/delphij/libz/Makefile
/user/delphij/libz/zconf.h
/user/delphij/libz/zlib.h
This is a working version of the zlib version 1.2.4 but there are still some
rough edges that needs to be improved.  Specifically:

 - zlib now uses off_t instead of long.  So far I am fairly confident that
   this *should* work just fine but still needs further testing, etc.

 - The change from long to off_t requires users to rebuild all their binaries
   if linked with zlib.  (Should we avoid the shared library version bump?)

 - We diveraged a little bit from official zlib's definition for their 64-bit
   variants.  Technically we should have all these stuff without the 64 prefix
   since our off_t is 64 bit from the day 0 of FreeBSD 2.x, which is derived
   from 4.4BSD-Lite, while version 7.21 92/05/13 14:44:26 mckusick bumped
   it to 64-bit.  Currently this is done with some direct changes in zlib.h
   and hack in zconf.h.

 - We need to import zlib's versioned symbols, perhaps the same of Linux's
   one provided with the distribution, or our own (since we bumped shared
   library version).
00:33:49 - r205305
(8 hours 29 minutes ago)
by delphij
Affects: 
(34 files)
/user/delphij/libz/*
Merge changes from zlib 1.2.4.  Bump shared library version number.
00:29:52 - r205304
(8 hours 33 minutes ago)
by yongari
Affects: 
(6 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/bce/*
MFC r202717:
  - Added a workaround for NC-SI management firmware that would allow
    frames to be accepted while the driver is resetting the hardware.
    This failure is generally observed when broadcast frames are received
    during driver load and will generate "Unable to write CTX memory"
    errors.
  - Small changes to driver flags display.

PR:     kern/135836, kern/140684
00:26:45 - r205303
(8 hours 36 minutes ago)
by yongari
Affects: 
(8 files)
/stable/8/sys/*
MFC r202717:
  - Added a workaround for NC-SI management firmware that would allow
    frames to be accepted while the driver is resetting the hardware.
    This failure is generally observed when broadcast frames are received
    during driver load and will generate "Unable to write CTX memory"
    errors.
  - Small changes to driver flags display.

PR:     kern/135836, kern/140684
00:19:55 - r205302
(8 hours 43 minutes ago)
by delphij
Affects:  /user/delphij/libz
Create a custom branch where I will be able to do the merge.
00:18:53 - r205301
(8 hours 44 minutes ago)
by yongari
Affects: 
(6 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/bce/*
MFC r194781:
  - Added code to read bootcode firwmare version.
  - Created dedicated shared memory access routines.
2010 - 03 - 18   (yesterday)
21:00:53 - r205300
(12 hours 2 minutes ago)
by davidch
Affects:  /head/sys/dev/bce/if_bce.c
/head/sys/dev/bce/if_bcefw.h
/head/sys/dev/bce/if_bcereg.h
- Added support for 5709S/5716S PHYs.
- Update copyright to 2010.
- Add new debug code for RV2P block.
- Improve output formatting for various debug functions.

MFC after:      2 weeks
20:57:57 - r205299
(12 hours 5 minutes ago)
by davidch
Affects:  /head/sys/dev/mii/brgphy.c
/head/sys/dev/mii/brgphyreg.h
/head/sys/dev/mii/miidevs
- Added support for 5709S/5716S PHYs.

Submitted by:   pyunyh
MFC after:      2 weeks
20:30:25 - r205298
(12 hours 33 minutes ago)
by kmacy
Affects:  /head/sys/vm/uma_int.h
turn 205266 in to a no-op until the problem can be properly diagnosed
20:15:34 - r205297
(12 hours 47 minutes ago)
by jkim
Affects:  /head/sys/compat/x86bios/x86bios.c
Detect illegal access to unmapped memory within real mode emulator to aid
debugging.  Update copyright date while I am here.
20:13:04 - r205296
(12 hours 50 minutes ago)
by ed
Affects:  /head/usr.sbin/jls/jls.c
Properly progress through the list of IPv6 addresses using in6_addr size.

Right now if a jail has multiple IPv6 addresses, it will print them
shifting only 4 bytes at a time. Example:

        2001:4dd0:ff41::b23f:a9
        2001:4dd0:ff41::b23f:aa

Becomes:

        2001:4dd0:ff41::b23f:a9
        ff41::b23f:a9:2001:4dd0

By casting to in6_addr, it uses the correct offsets.

MFC after:      1 week
19:10:03 - r205295
(13 hours 53 minutes ago)
by yongari
Affects: 
(4 files)
/stable/8/sbin/ifconfig/ifconfig.8
/stable/8/sbin/ifconfig/ifconfig.c
/stable/8/sbin/ifconfig/ifvlan.c
MFC r204150:
  Add TSO support on VLAN in fconfig(8).
19:04:04 - r205294
(13 hours 59 minutes ago)
by yongari
Affects: 
(8 files)
/stable/8/sys/*
MFC r204149:
  Add TSO support on VLANs. Intentionally separated IFCAP_VLAN_HWTSO
  from IFCAP_VLAN_HWTAGGING. I think some hardwares may be able to
  TSO over VLAN without VLAN hardware tagging.
  Driver changes and userland support will follow.
19:00:37 - r205293
(14 hours 2 minutes ago)
by yongari
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/msk/if_msk.c
MFC r202826-202827,204146

r202826:
  s/Mhz/MHz/g

  Submitted by: N.J. Mann <njm <> njm dot me dot uk >

r202827:
  Yukon Ultra2 has 125MHz clock.

r204146:
  Correct inversed programming of ethernet hardware address on
  big-endian architecture.

  Submitted by: C. Jayachandran <c.jayachandran at gmail dot com> (initial
version)
19:00:35 - r205292
(14 hours 2 minutes ago)
by dougb
Affects: 
(58 files)
/head/contrib/bind9/*
/head/lib/bind/config.h
Update to 9.6.2-P1, the latest patchfix release which deals with
the problems related to the handling of broken DNSSEC trust chains.

This fix is only relevant for those who have DNSSEC validation
enabled and configure trust anchors from third parties, either
manually, or through a system like DLV.
18:58:24 - r205291
(14 hours 5 minutes ago)
by yongari
Affects: 
(7 files)
/stable/8/sys/*
MFC r202826-202827,204146

r202826:
  s/Mhz/MHz/g

  Submitted by: N.J. Mann <njm <> njm dot me dot uk >

r202827:
  Yukon Ultra2 has 125MHz clock.

r204146:
  Correct inversed programming of ethernet hardware address on
  big-endian architecture.

  Submitted by: C. Jayachandran <c.jayachandran at gmail dot com> (initial
version)
18:58:17 - r205290
(14 hours 5 minutes ago)
by dougb
Affects:  /head/Makefile
For those of us mere mortals who do not aspire to the lofty heights
of kernel hackery, add MAKE_JUST_WORLDS so that we can take part in
the 'make universe' goodnes without using unecessary time and resources.
18:52:18 - r205289
(14 hours 11 minutes ago)
by yongari
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/bge/if_bge.c
MFC r203358,203716:

r203358:
  PCI express device status register has W1C feature. Writing 0 has
  no effect. Make sure to clear error bits by writing 1. [1]
  While I'm here use predefined value instead of hardcodig magic
  vlaue.

  Submitted by: msaitoh at NetBSD [1]

r203716:
  Move device specific flag configuration to attach routine.
  The softc obtained in device probe wouldn't be the same one used in
  device attach. Drivers should not assume any values stored in softc
  structure in probe routine will be available for its attach routine.
18:50:20 - r205288
(14 hours 13 minutes ago)
by yongari
Affects: 
(7 files)
/stable/8/sys/*
MFC r203358,203716:

r203358:
  PCI express device status register has W1C feature. Writing 0 has
  no effect. Make sure to clear error bits by writing 1. [1]
  While I'm here use predefined value instead of hardcodig magic
  vlaue.

  Submitted by: msaitoh at NetBSD [1]

r203716:
  Move device specific flag configuration to attach routine.
  The softc obtained in device probe wouldn't be the same one used in
  device attach. Drivers should not assume any values stored in softc
  structure in probe routine will be available for its attach routine.
18:45:45 - r205287
(14 hours 17 minutes ago)
by yongari
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/pci/pcireg.h
MFC r203355:
  Add more bit definitions to PCI express device control and device
  status register.
18:44:08 - r205286
(14 hours 19 minutes ago)
by yongari
Affects: 
(7 files)
/stable/8/sys/*
MFC r203355:
  Add more bit definitions to PCI express device control and device
  status register.
18:38:53 - r205285
(14 hours 24 minutes ago)
by yongari
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/bge/if_bge.c
MFC r202821-202822.

r202821:
  Fix a long standing ASF heartbeat sending bug. The initial
  implementation of heartbeat interval was 2 but there was typo which
  caused the heartbeat is sent approximately every 5 seconds. This
  caused unintended controller reset by firmware because firmware
  thought OS was crashed.

  Submitted by: Floris Bos < info <> je-eigen-domein dot nl >
  Tested by:    Andrzej Tobola < ato <> iem dot pw dot edu dot pl >

r202822:
  Use new handshake command for BCM5750 or new controllers.
18:35:28 - r205284
(14 hours 28 minutes ago)
by yongari
Affects: 
(7 files)
/stable/8/sys/*
MFC r202821-202822.

r202821:
  Fix a long standing ASF heartbeat sending bug. The initial
  implementation of heartbeat interval was 2 but there was typo which
  caused the heartbeat is sent approximately every 5 seconds. This
  caused unintended controller reset by firmware because firmware
  thought OS was crashed.

  Submitted by: Floris Bos < info <> je-eigen-domein dot nl >
  Tested by:    Andrzej Tobola < ato <> iem dot pw dot edu dot pl >

r202822:
  Use new handshake command for BCM5750 or new controllers.
17:00:44 - r205283
(16 hours 2 minutes ago)
by mlaier
Affects: 
(12 files)
/stable/8/sys/*
MFC r203834 and r205197: Make ALTQ work for drbr consumers.
16:55:47 - r205282
(16 hours 7 minutes ago)
by rpaulo
Affects:  /stable/7/sys/net80211/ieee80211.h
Fix HTCAP's SM power save bits to match the ones in HEAD.

PR:             144476
Submitted by:   Alexander Egorenkov <egorenar at gmail.com>
15:28:17 - r205281
(17 hours 35 minutes ago)
by rpaulo
Affects:  /head/sys/net80211/ieee80211_ht.c
Unbreak build by removing a code bit that is only related to other code
in my branch.
14:54:31 - r205280
(18 hours 8 minutes ago)
by syrinx
Affects:  /head/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt
/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def
Add support for retrieving labeled pf filter rule counters.

PR:             bin/132847
Submitted by:   Szalai Andras <szalai (dot) bandi (at) gmail.com>
13:11:43 - r205279
(19 hours 51 minutes ago)
by pjd
Affects:  /head/sys/geom/gate/g_gate.c
Simplify loops.
11:53:32 - r205278
(21 hours 9 minutes ago)
by raj
Affects: 
(7 files)
/stable/8/sys/*
MFC r205027

Let detailed info about CPU features print on Marvell Sheeva CPU as well.

Provide missing entry in the cpu_classes[].

Reported by:    Maks Verver
11:06:38 - r205277
(21 hours 56 minutes ago)
by rpaulo
Affects: 
(4 files)
/head/sys/net80211/*
Fix a couple of bugs with 802.11n:
o Process the BAR frame on the adhoc, mesh and sta modes
o Fix the format of the ADDBA reply frame
o Fix references to the spec section numbers

Also, print the all the MCS rates in bootverbose.

Sponsored by:   iXsystems, Inc.
Obtained from:  //depot/user/rpaulo/80211n/...
09:09:59 - r205276
(23 hours 53 minutes ago)
by bz
Affects:  /head/sys/net/if_llatbl.c
Add ddb support to the "new" link layer code ("new-arp"):
 - show all lltables [1] (optional flag to also show the llentries as well)
 - show lltable <struct lltable *>
 - show llentry <struct llentry *>

MFC after:      6 days
07:35:20 - r205275
(1 day 1 hour ago)
by ed
Affects:  /head/sys/dev/mii/mii.c
Remove an unneeded variable.

Reported by:    tinderbox
07:28:02 - r205274
(1 day 1 hour ago)
by hrs
Affects:  /releng/7.3/release/doc/en_US.ISO8859-1/relnotes/article.sgml
Update relnotes for 7.3R (first round):
        ddb(8) pager support for show_geom*,
        deadlock involving malloc(3) and fork(2) fixed,
        gptzfsboot added,
        zfsboot # of fd increased,
        hwpmc added,
        s/k8temp/amdtemp/,
        pci(4) improvement,
        bge(4) panic on shutdown fixed,
        cxgb upgraded,
        fxp(4)+TSO IP length issue fixed,
        nfe(4) improved,
        nge(4) improved,
        net.inet.ip.fw.default_to_accept added,
        NFS client negative pathname lookup cache added,
        vfs.flushbufqtarget added,
        Bluetooth(3) HCI API support,
        btpand(8) -d device name support,
        chflags(1) -h bugfix,
        cpuset -x option,
        dhclient NUL-terminated text bugfix,
        fdisk(8) size qualifiers support,
        fetch(1) *_TIMEOUT and HTTPS parameters bugfix,
        find(1) -L + -delete bugfix,
        ktrace(1) new record for  sysctl,
        fdopendir(3) added,
        feature_present(3) added,
        man(1) UTF-8 support,
        mergemaster now passes -L to mtree(8),
        newfs_msdos(8) non-CHS media support,
        pkill now ignores itself and ancestors, -a option added,
        ps -p option added,
        pwd_mkdb -C now checks MAXLOGNAME,
        rtld(1) LD_ELF_HINTS_PATH support,
        sysinstall(8) comma-separated list of interfaces in netDev,
        tzdata2009i,
        sendmail 8.14.4, and
        pkg_info(1) segfault fix.

Approved by:    re (implicitly)
00:27:17 - r205273
(1 day 8 hours ago)
by delphij
Affects:  /head/lib/libstand/bzipfs.c
/head/lib/libstand/gzipfs.c
Remove two pieces of code (one disabled in revision 39665 and another derived
from the first one) that is not used for the last 12 years.
00:23:39 - r205272
(1 day 8 hours ago)
by qingli
Affects:  /head/usr.sbin/ppp/arp.c
Need to set the proper flag bit when inserting ARP
entries into the kernel.

MFC after:      3 days
2010 - 03 - 17   (2 days ago)
22:57:58 - r205271
(1 day 10 hours ago)
by jmallett
Affects: 
(4 files)
/head/bin/ps/*
o) Add a keyword to displaying elapsed time in integer seconds, "etimes".
o) Give slightly better (i.e. any) documentation of the format of "etime".

Reviewed by:    jilles
22:45:53 - r205270
(1 day 10 hours ago)
by imp
Affects:  /head/sys/dev/mii/mii.c
Remove two instances of the evil hack to get the ifnet.  mii_ifp is
set early enough that we don't need to do these hacks anymore.
22:45:09 - r205269
(1 day 10 hours ago)
by marius
Affects:  /head/sys/sparc64/include/dcr.h
/head/sys/sparc64/sparc64/cheetah.c
o Add support for UltraSparc-IV+:
  - Swap the configuration of the first and second large dTLB as with
    US-IV+ these can only hold entries of certain page sizes each, which
    we happened to chose the non-working way around.
  - Additionally ensure that the large iTLB is set up to hold 8k pages
    (currently this happens to be a NOP though).
  - Add a workaround for US-IV+ erratum #2.
  - Turn off dTLB parity error reporting as otherwise we get seemingly
    false positives when copying in the user window by simulating a
    fill trap on return to usermode. Given that these parity errors can
    be avoided by disabling multi issue mode and the problem could be
    reproduced with a second machine this appears to be a silicon bug of
    some sort.
  - Add a membar #Sync also before the stores to ASI_DCACHE_TAG. While
    at it, turn of interrupts across the whole cheetah_cache_flush() for
    simplicity instead of around every flush. This should have next to no
    impact as for cheetah-class machines we typically only need to flush
    the caches a few times during boot when recovering from peeking/poking
    non-existent PCI devices, if at all.
  - Just use KERNBASE for FLUSH as we also do elsewhere as the US-IV+
    documentation doesn't seem to mention that these CPUs also ignore the
    address like previous cheetah-class CPUs do. Again the code changing
    LSU_IC is executed seldom enough that the negligible optimization of
    using %g0 instead should have no real impact.

  With these changes FreeBSD runs stable on V890 equipped with US-IV+
  and -j128 buildworlds in a loop for days are no problem. Unfortunately,
  the performance isn't were it should be as a buildworld on a 4x1.5GHz
  US-IV+ V890 takes nearly 3h while on a V440 with (theoretically) less
  powerfull 4x1.5GHz US-IIIi it takes just over 1h. It's unclear whether
  this is related to the supposed silicon bug mentioned above or due to
  another issue. The documentation (which contains a sever bug in the
  description of the bits added to the context registers though) at least
  doesn't mention any requirements for changes in the CPU handling besides
  those implemented and the cache as well as the TLB configurations and
  handling look fine.
o Re-arrange cheetah_init() so it's easier to add support for SPARC64
  V up to VIIIfx CPUs, which only require parts of this initialization.
22:12:12 - r205268
(1 day 10 hours ago)
by qingli
Affects:  /head/sys/dev/mii/mii.c
Set the device capabilities to include dynamic link-state for
those modern drivers.

Reviewed by:    imp (and suggested by imp)
MFC after:      3 days
21:19:30 - r205267
(1 day 11 hours ago)
by gavin
Affects: 
(6 files)
/stable/7/share/man/man4/man4.i386/acpi_sony.4
/stable/7/sys/*
Merge r203622 from head:

  Add support for a few more Sony-specific ACPI features (default display
  brightness, wired LAN power and bass gain), and update the description of
  one previously unknown feature (display contrast).  While here, expand on
  a comment and remove two defines left over from an old version of the code.

  Also update man page to document the above changes, and correct grammar.

PR:             kern/127581
21:18:28 - r205266
(1 day 11 hours ago)
by kmacy
Affects:  /head/sys/vm/uma_int.h
Cache line align various structures and move volatile counters to
not share a cache line with (mostly) immutable state

Reviewed by:    jeff@
MFC after:      7 days
21:11:48 - r205265
(1 day 11 hours ago)
by delphij
Affects: 
(2 files)
/stable/7/include/dirent.h
MFC 178256:

Add prototype for fdopendir().

Requested by:   naddy
21:10:09 - r205264
(1 day 11 hours ago)
by kmacy
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
- cache line align arcs_lock array (h/t Marius Nuennerich)
- fix ARCS_LOCK_PAD to use architecture defined CACHE_LINE_SIZE
- cache line align buf_hash_table ht_locks array

MFC after:      7 days
21:00:39 - r205263
(1 day 12 hours ago)
by marius
Affects:  /head/sys/sparc64/include/ver.h
Add macros for the VER.impl of SPARC64 II to VIIIfx.
20:39:21 - r205262
(1 day 12 hours ago)
by gavin
Affects: 
(9 files)
/stable/8/share/man/man4/acpi_sony.4
/stable/8/sys/*
Merge r203622 from head:

  Add support for a few more Sony-specific ACPI features (default display
  brightness, wired LAN power and bass gain), and update the description of
  one previously unknown feature (display contrast).  While here, expand on
  a comment and remove two defines left over from an old version of the code.

  Also update man page to document the above changes, and correct grammar.

PR:             kern/127581
20:32:13 - r205261
(1 day 12 hours ago)
by gavin
Affects: 
(2 files)
/stable/6/sbin/growfs/growfs.c
Merge r201401 from head:

  Remove dead code.  This section of code is only run in the
  (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
  loop is redundant.

Merge 203835 from head:

  When growing a UFS1 filesystem, we need to initialise all inodes in any new
  cylinder groups that are created.  When the filesystem is first created,
  newfs always initialises the first two blocks of inodes, and then in the
  UFS1 case will also initialise the remaining inode blocks.  The changes in
  growfs.c 1.23 broke the initialisation of all inodes, seemingly based on
  this implementation detail in newfs(8).  The result was that instead of
  initialising all inodes, we would actually end up initialising all but the
  first two blocks of inodes.  If the filesystem was grown into empty
  (all-zeros) space then the resulting filesystem was fine, however when
  grown onto non-zeroed space the filesystem produced would appear to have
  massive corruption on the first fsck after growing.
  A test case for this problem can be found in the PR audit trail.

  Fix this by once again initialising all inodes in the UFS1 case.

PR:             bin/115174
Submitted by:   "Nate Eldredge" <nge cs.hmc.edu>
Reviewed by:    mjacob
20:30:37 - r205260
(1 day 12 hours ago)
by gavin
Affects: 
(2 files)
/stable/7/sbin/growfs/growfs.c
Merge r201401 from head:

  Remove dead code.  This section of code is only run in the
  (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
  loop is redundant.

Merge 203835 from head:

  When growing a UFS1 filesystem, we need to initialise all inodes in any new
  cylinder groups that are created.  When the filesystem is first created,
  newfs always initialises the first two blocks of inodes, and then in the
  UFS1 case will also initialise the remaining inode blocks.  The changes in
  growfs.c 1.23 broke the initialisation of all inodes, seemingly based on
  this implementation detail in newfs(8).  The result was that instead of
  initialising all inodes, we would actually end up initialising all but the
  first two blocks of inodes.  If the filesystem was grown into empty
  (all-zeros) space then the resulting filesystem was fine, however when
  grown onto non-zeroed space the filesystem produced would appear to have
  massive corruption on the first fsck after growing.
  A test case for this problem can be found in the PR audit trail.

  Fix this by once again initialising all inodes in the UFS1 case.

PR:             bin/115174
Submitted by:   "Nate Eldredge" <nge cs.hmc.edu>
Reviewed by:    mjacob
20:27:35 - r205259
(1 day 12 hours ago)
by gavin
Affects: 
(2 files)
/stable/8/sbin/growfs/growfs.c
Merge r203835 from head:

  When growing a UFS1 filesystem, we need to initialise all inodes in any new
  cylinder groups that are created.  When the filesystem is first created,
  newfs always initialises the first two blocks of inodes, and then in the
  UFS1 case will also initialise the remaining inode blocks.  The changes in
  growfs.c 1.23 broke the initialisation of all inodes, seemingly based on
  this implementation detail in newfs(8).  The result was that instead of
  initialising all inodes, we would actually end up initialising all but the
  first two blocks of inodes.  If the filesystem was grown into empty
  (all-zeros) space then the resulting filesystem was fine, however when
  grown onto non-zeroed space the filesystem produced would appear to have
  massive corruption on the first fsck after growing.
  A test case for this problem can be found in the PR audit trail.

  Fix this by once again initialising all inodes in the UFS1 case.

PR:             bin/115174
Submitted by:   "Nate Eldredge"  <nge cs.hmc.edu>
Reviewed by:    mjacob
20:23:14 - r205258
(1 day 12 hours ago)
by marius
Affects: 
(5 files)
/head/sys/sparc64/include/*
/head/sys/sparc64/sparc64/*
- Add TTE and context register bits for the additional page sizes supported
  by UltraSparc-IV and -IV+ as well as SPARC64 V, VI, VII and VIIIfx CPUs.
- Replace TLB_PCXR_PGSZ_MASK and TLB_SCXR_PGSZ_MASK with TLB_CXR_PGSZ_MASK
  which just is the complement of TLB_CXR_CTX_MASK instead of trying to
  assemble it from the page size bits which vary across CPUs.
- Add macros for the remainder of the SFSR bits, which are useful for at
  least debugging purposes.
20:17:25 - r205257
(1 day 12 hours ago)
by gavin
Affects: 
(2 files)
/stable/7/usr.bin/find/function.c
Merge r203865 from head:

  The -newerXB option was being interpreted the same as the -newerXm option
  as a check for F_TIME2_B was missing.  Fix this.

PR:             bin/138245
Submitted by:   "David E. Cross"  <crossd cs.rpi.edu>
20:16:28 - r205256
(1 day 12 hours ago)
by gavin
Affects: 
(2 files)
/stable/8/usr.bin/find/function.c
Merge r203865 from head:

  The -newerXB option was being interpreted the same as the -newerXm option
  as a check for F_TIME2_B was missing.  Fix this.

PR:             bin/138245
Submitted by:   "David E. Cross"  <crossd cs.rpi.edu>
20:13:09 - r205255
(1 day 12 hours ago)
by gallatin
Affects:  /head/sys/dev/mxge/if_mxge.c
Fix 2 bugs in mxge_attach()

- Don't leak slice resources when mxge_alloc_rings() fails

- Start taskq threads only after we know attach will succeed.  At
  boot time, taskqueue_terminate() will loop infinately, waiting
  for the threads to exit, and hang the system.

Submitted by: Panasas
MFC After: 3 days
20:01:01 - r205254
(1 day 13 hours ago)
by marius
Affects:  /head/sys/sparc64/pci/schizo.c
/head/sys/sparc64/pci/schizovar.h
- Add quirk handling for Sun Fire V1280. The firmware of these machines
  provides no ino-bitmap properties so forge them using the default set
  of controller interrupts and let schizo_setup_intr() take care of the
  children, hoping for non-fancy routing.
- Add quirk handling for Sun Fire V890. When booting these machines from
  disk a Schizo comes up with PCI error residing which triggers as soon
  as we register schizo_pci_bus() even when clearing it from all involved
  registers (it's no longer indicated once we're in schizo_pci_bus()
  though). Thus make PCI bus errors non-fatal until we actually touch the
  bus. With this change schizo_pci_bus() typically triggers once during
  attach in this case. Obviously this approach isn't exactly race free
  but it's about the best we can do about this problem as we're not
  guaranteed that the interrupt will actually trigger on V890 either, as
  it certainly doesn't when for example netbooting them.
20:00:22 - r205253
(1 day 13 hours ago)
by kmacy
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
use CACHE_LINE_SIZE instead of hardcoding 128 for lock pad

pointed out by Marius Nuennerich and jhb@
18:53:58 - r205252
(1 day 14 hours ago)
by mjacob
Affects:  /head/sys/cam/scsi/scsi_sg.c
We actually can generate a host number.

MFC after:      1 month
18:28:27 - r205251
(1 day 14 hours ago)
by bz
Affects: 
(4 files)
/head/sys/netinet/*
Add pcb reference counting to the pcblist sysctl handler functions
to ensure type stability while caching the pcb pointers for the
copyout.

Reviewed by:    rwatson
MFC after:      7 days
15:31:06 - r205250
(1 day 17 hours ago)
by obrien
Affects:  /head/share/dict/web2
Add "Massachusetts".
09:52:26 - r205249
(1 day 23 hours ago)
by kib
Affects: 
(2 files)
/stable/8/tools/regression/posixsem/posixsem.c
MFC r205148:
Make it compile on LP64 arches.
08:56:13 - r205248
(2 days ago)
by jmallett
Affects:  /user/jmallett/octeon/sys/mips/mips/trap.c
As with page faults, for now emit something in the log about reserved
instructions.

Sponsored by:   Packet Forensics
08:55:29 - r205247
(2 days ago)
by jmallett
Affects:  /user/jmallett/octeon/sys/mips/mips/vm_machdep.c
Enable 64-bit operations for threads as well.  There are a multitude of sins
surrounding this that are not yet fixed, including:
o) The multiple copies of status register and other coprocessor-related bits.
o) The fact that all of these bits are spelled out here at all rather than
   included in some KERNEL_STATUS and USER_STATUS definitions.
o) The fact that these things are under "TARGET_OCTEON" rather than something
   related to ABI, since the only thing that should restrict whether user
   programs can use 64-bit instructions is whether the kernel can save and
   restore 64-bit registers.
o) The fact that many things here enable 64-bit virtual addresses for
   supervisor mode, which FreeBSD has never used (although we can and should
   consider repurposing those address spaces when the time is right.)
o) All of the duplication of logic wrt setting up PCBs and trapframes in
   this file.  (To say nothing of the varying styles that makes it easy to
   miss these differences.)
o) The lack of any assertions about the state of the status register for user
   threads with INVARIANTS on.

Sponsored by:   Packet Forensics
07:26:59 - r205246
(2 days 1 hour ago)
by dougb
Affects: 
(3 files)
/stable/7/usr.sbin/mergemaster/mergemaster.8
/stable/7/usr.sbin/mergemaster/mergemaster.sh
MFC r205145:

Make it more clear in the docs that -a is not compatible with -iFU,
and enforce this in the code. Apparently a lot of users mistakenly
combine -a with these flags and are then mystified that no changes
were made.

While I'm here, fix a trailing space in mergemaster.8
07:26:00 - r205245
(2 days 1 hour ago)
by dougb
Affects: 
(3 files)
/stable/8/usr.sbin/mergemaster/mergemaster.8
/stable/8/usr.sbin/mergemaster/mergemaster.sh
MFC r205145:

Make it more clear in the docs that -a is not compatible with -iFU,
and enforce this in the code. Apparently a lot of users mistakenly
combine -a with these flags and are then mystified that no changes
were made.

While I'm here, fix a trailing space in mergemaster.8
07:16:27 - r205244
(2 days 1 hour ago)
by lstewart
Affects:  /user/lstewart/alq_varlen_head/sys/sys/alq.h
Catch up with code changes.

Sponsored by:   FreeBSD Foundation
07:08:57 - r205243
(2 days 1 hour ago)
by lstewart
Affects: 
(4 files)
/user/lstewart/alq_varlen_head/tools/test/README
/user/lstewart/alq_varlen_head/tools/test/alq/Makefile
/user/lstewart/alq_varlen_head/tools/test/alq/alq_varlen_test.c
Commit ALQ testing code.

Sponsored by:   FreeBSD Foundation
06:41:10 - r205242
(2 days 2 hours ago)
by lstewart
Affects:  /user/lstewart/alq_varlen_head/sys/kern/kern_alq.c
Remove debugging printfs.

Sponsored by:   FreeBSD Foundation
06:20:40 - r205241
(2 days 2 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/gen/_setjmp.S
Remove another redundant abort call.
05:59:21 - r205240
(2 days 3 hours ago)
by lstewart
Affects:  /user/lstewart/alq_varlen_head/share/man/man9/alq.9
Update man page in light of changes in previous commit.

Sponsored by:   FreeBSD Foundation
05:54:46 - r205239
(2 days 3 hours ago)
by dougb
Affects:  /vendor/bind9/9.6.2-P1
Tag the 9.6.2-P1 release
05:53:04 - r205238
(2 days 3 hours ago)
by dougb
Affects: 
(56 files)
/vendor/bind9/dist/*
Vendor import of BIND 9.6.2-P1
03:02:48 - r205237
(2 days 6 hours ago)
by lstewart
Affects:  /user/lstewart/alq_varlen_head/sys/kern/kern_alq.c
/user/lstewart/alq_varlen_head/sys/sys/alq.h
- Rework the way thread ordering is enforced so that it actually behaves as
  expected (issue discovered during detailed testing). Ordering is now an
  off-by-default option that can be enabled at ALQ creation time using the
  ALQ_ORDERED flag.

- Add an alq_open_flags() KPI call to allow the new ALQ_ORDERED flag to be
  specified. alq_open() is now implemented as a wrapper around alq_open_flags.

- Rename alq_postn() to alq_post_flags() to keep the naming consistent.

- Keep a record of some useful debugging printf's (will be removed in a later
  diff).

- Remove some no longer relevant assertions.

- Introduce the AQ_VARLEN flag, used internally to indicate the ALQ is variable
  length message capable.

- Protect alq_getn/alq_post from 0 length writes so that the "use less than you
  asked for" feature works in contexts where no data may be generated.

Sponsored by:   FreeBSD Foundation
02:48:14 - r205236
(2 days 6 hours ago)
by mjacob
Affects: 
(4 files)
/head/sys/dev/isp/*
Put gone device timer into a structure tag that can hold more than 32 seconds.
Oops.

Untangle some of the confusion about what role means when it's in the
FCPARAM/SDPARAM
or isp_fc/isp_spi structures. This fixed a problem about seeing targets appear
if you've
turned off autologin and find them, or rather don't, via camcontrol rescan.

MFC after:      1 month
00:53:58 - r205235
(2 days 8 hours ago)
by marcel
Affects: 
(180 files)
/projects/altix/lib/libstand
/projects/altix/sys/*
Merge svn+ssh://svn.freebsd.org/base/head@205234
00:37:15 - r205234
(2 days 8 hours ago)
by marcel
Affects: 
(13 files)
/head/sys/ia64/ia64/*
/head/sys/ia64/include/*
Revamp the interrupt code based on the previous commit:
o   Introduce XIV, eXternal Interrupt Vector, to differentiate from
    the interrupts vectors that are offsets in the IVT (Interrupt
    Vector Table). There's a vector for external interrupts, which
    are based on the XIVs.

o   Keep track of allocated and reserved XIVs so that we can assign
    XIVs without hardcoding anything. When XIVs are allocated, an
    interrupt handler and a class is specified for the XIV. Classes
    are:
    1.  architecture-defined: XIV 15 is returned when no external
        interrupt are pending,
    2.  platform-defined: SAL reports which XIV is used to wakeup
        an AP (typically 0xFF, but it's 0x12 for the Altix 350).
    3.  inter-processor interrupts: allocated for SMP support and
        non-redirectable.
    4.  device interrupts (i.e. IRQs): allocated when devices are
        discovered and are redirectable.

o   Rewrite the central interrupt handler to call the per-XIV
    interrupt handler and rename it to ia64_handle_intr(). Move
    the per-XIV handler implementation to the file where we have
    the XIV allocation/reservation. Clock interrupt handling is
    moved to clock.c. IPI handling is moved to mp_machdep.c.

o   Drop support for the Intel 8259A because it was broken. When
    XIV 0 is received, the CPU should initiate an INTA cycle to
    obtain the interrupt vector of the 8259-based interrupt. In
    these cases the interrupt controller we should be talking to
    WRT to masking on signalling EOI is the 8259 and not the I/O
    SAPIC. This requires adriver for the Intel 8259A which isn't
    available for ia64. Thus stop pretending to support ExtINTs
    and instead panic() so that if we come across hardware that
    has an Intel 8259A, so have something real to work with.

o   With XIVs for IPIs dynamically allocatedi and also based on
    priority, define the IPI_* symbols as variables rather than
    constants. The variable holds the XIV allocated for the IPI.

o   IPI_STOP_HARD delivers a NMI if possible. Otherwise the XIV
    assigned to IPI_STOP is delivered.
2010 - 03 - 16   (3 days ago)
23:19:55 - r205233
(2 days 9 hours ago)
by pjd
Affects:  /head/usr.bin/find/find.1
Better way to find out available file system types is to use lsvfs(1).
Using 'sysctl vfs' is not only ugly, but is also not reliable - not all
file system types create entries in vfs sysctl tree.

Reviewed by:    imp
MFC after:      1 week
22:28:07 - r205232
(2 days 10 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/sys/Makefile.inc
/user/jmallett/octeon/lib/libc/mips/sys/shmat.S
Remove special shmat.  NetBSD only has per-arch shmat because one of their
architectures uses a different ABI for it.  FreeBSD doesn't.
22:17:21 - r205231
(2 days 10 hours ago)
by kmacy
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h
- reduce contention by breaking up ARC state locks in to 16 for data
  and 16 for metadata
- export L2ARC tunables as sysctls
- add several kstats to track L2ARC state more precisely
- avoid holding a contended lock when atomically incrementing a
  contended counter (no lock protection needed for atomics)
21:44:21 - r205230
(2 days 11 hours ago)
by rdivacky
Affects:  /projects/clangbsd/share/mk/bsd.own.mk
Temporarily disconnect libobjc. First of all it cant be
built with clang because of missing builtin_apply which
is broken even with gcc on majority of platforms and second
of all because it seems that the future for objc is either
ports or base but libobjc2 by David Chisnall anyway.
21:41:25 - r205229
(2 days 11 hours ago)
by rdivacky
Affects:  /projects/clangbsd/share/mk/bsd.own.mk
default to WITH_CLANG and WITH_CLANG_IS_CC
21:30:29 - r205228
(2 days 11 hours ago)
by rdivacky
Affects:  /projects/clangbsd/gnu/usr.bin/cc/Makefile.inc
Build with clang. I dont know if the miscompilation is gone
but gcc is not used for pretty much anything now.
21:28:54 - r205227
(2 days 11 hours ago)
by rdivacky
Affects:  /projects/clangbsd/gnu/lib/libgcc/Makefile
Build with clang, add -fheinous-gnu-extensions.
21:24:53 - r205226
(2 days 11 hours ago)
by rdivacky
Affects: 
(518 files)
/projects/clangbsd/contrib/llvm/*
/projects/clangbsd/usr.bin/clang/lib/*
Merge from vendor and update the build infrastructure.
20:42:54 - r205225
(2 days 12 hours ago)
by kib
Affects: 
(5 files)
/head/tools/regression/mqueue/*
Add missing headers. While there, arrange headers alphabetically.

MFC after:      3 days
20:41:45 - r205224
(2 days 12 hours ago)
by kib
Affects:  /head/tools/regression/aio/aiotest/aiotest.c
Add missing headers.

MFC after:      3 days
19:59:14 - r205223
(2 days 13 hours ago)
by jkim
Affects:  /head/sys/fs/fdescfs/fdesc_vnops.c
Fix a long standing regression of readdir(3) in fdescfs(5) introduced
in r1.48.  We were stopping at the first null pointer when multiple file
descriptors were opened and one in the middle was closed.  This restores
traditional behaviour of fdescfs.

MFC after:      3 days
17:59:12 - r205222
(2 days 15 hours ago)
by qingli
Affects: 
(5 files)
/head/sbin/ifconfig/ifconfig.c
/head/sys/net/*
Verify interface up status using its link state only
if the interface has such capability. The interface
capability flag indicates whether such capability
exists. This approach is much more backward compatible.
Physical device driver changes will be part of another
commit.

Also updated the ifconfig utility to show the LINKSTATE
capability if present.

Reviewed by:    rwatson, imp, juli
MFC after:      3 days
17:45:16 - r205221
(2 days 15 hours ago)
by yongari
Affects:  /head/sys/dev/bge/if_bge.c
Revert r205090.
It's hard to know when the mail box register write will get flushed to
the hardware and it may take longer.

Pointed out by: scottl
16:55:12 - r205220
(2 days 16 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/mmu_oea64.c
Revise the locking. The per-page PVO lists are protected by the VM
page queue lock, so protecting them with the table lock is unnecessary.
Replace the table locking paranoia with mtx_assert() paranoia.

This eliminates the last LOR is the 64-bit MMU code.
16:52:15 - r205219
(2 days 16 hours ago)
by rdivacky
Affects: 
(169 files)
/vendor/clang/dist/*
Update clang to r98631.
16:51:38 - r205218
(2 days 16 hours ago)
by rdivacky
Affects: 
(425 files)
/vendor/llvm/dist/*
Update LLVM to r98631.
16:48:58 - r205217
(2 days 16 hours ago)
by rdivacky
Affects:  /projects/clangbsd/sys/boot/i386/boot2/boot2.c
sprinkle __attribute__ ((noinline)) around
16:30:24 - r205216
(2 days 16 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/trap_subr64.S
Fix a typo.

Submitted by:   Andreas Tobler
16:11:16 - r205215
(2 days 16 hours ago)
by nwhitehorn
Affects: 
(5 files)
/projects/ppc64/sys/powerpc/aim/*
/projects/ppc64/sys/powerpc/powerpc/genassym.c
Correct a final nit with USER_SR handling: USER_ADDR is no longer at
USER_SR << 28 on powerpc64, so make sure to invalidate the correct
SLB entry when switching threads.
16:01:19 - r205214
(2 days 17 hours ago)
by jhb
Affects: 
(6 files)
/head/sys/amd64/*
/head/sys/i386/*
- Extend the machine check record structure to include several fields useful
  for parsing model-specific and other fields in machine check events
  including the global machine check capabilities and status registers,
  CPU identification, and the FreeBSD CPU ID.
- Report these added fields in the console log of a machine check so that
  a record structure can be reconstituted from the console messages.
- Parse new architectural errors including memory controller errors.

MFC after:      1 week
15:55:41 - r205213
(2 days 17 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/include/vmparam.h
Move VM_MAXUSER_ADDRESS back below 4 GB. Something is still truncating
entries in argv[] to 32-bit values, and I can't figure out what it is
right now.

As of this commit, I have unbroken everything broken with these SLB changes
and have a functional desktop again.
15:52:38 - r205212
(2 days 17 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/trap_subr64.S
Explicitly set the CPU to 64-bit mode on reset. This makes SMP come
up a little further on Apple hardware.

Submitted by:   Andreas Tobler
15:50:31 - r205211
(2 days 17 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/mmu_oea64.c
/projects/ppc64/sys/powerpc/aim/trap_subr64.S
After rereading the manual, realize that slbia invalidates only SLB
slots 1-63, leaving slot 0 intact. This could trigger an SLB parity error,
which is why the kernel could not boot before. Follow slbia with explicit
invalidation of SLB slot 0.

While here, remove the other source of machine checks by fixing a typo
that made large pages running off the ends of the large pages not
actually marked guarded.
15:27:58 - r205210
(2 days 17 hours ago)
by jhb
Affects:  /head/sys/i386/include/specialreg.h
Use unsigned long long constants for fields in 64-bit machine check
registers instead of unsigned long constants.

MFC after:      3 days
14:44:33 - r205209
(2 days 18 hours ago)
by nwhitehorn
Affects: 
(4 files)
/projects/ppc64/sys/powerpc/aim/*
/projects/ppc64/sys/powerpc/include/*
Fix a panoply of bugs, and get us booting again on real G5 hardware.
11:38:07 - r205208
(2 days 21 hours ago)
by uqs
Affects:  /head/share/man/man4/sysmouse.4
- Use `Va' for variables instead of `Dv'.
- Correctly spell negative values.
- Also fixes make manlint.

Found by:       make manlint
Reviewed by:    ru
Approved by:    philip (mentor)
06:12:30 - r205207
(3 days 2 hours ago)
by mckusick
Affects: 
(7 files)
/projects/quota64/*
Debugging nits found while testing the new 64-bit quota code.
05:13:20 - r205206
(3 days 3 hours ago)
by joerg
Affects: 
(2 files)
/stable/8/usr.sbin/powerd/powerd.8
r205170: then -> than
04:36:11 - r205205
(3 days 4 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/Symbol.map
/user/jmallett/octeon/lib/libc/mips/net
Remove unused assembly hton functions.
04:31:57 - r205204
(3 days 4 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/gen/setjmp.S
Get rid of some bogus REG_PROLOGUE / REG_EPILOGUE.

Remove duplicate abort.

Sponsored by:   Packet Forensics
04:31:13 - r205203
(3 days 4 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/sys/ptrace.S
Make ptrace save/restore gp properly like cerror.

Sponsored by:   Packet Forensics
01:52:03 - r205202
(3 days 7 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/sys/cerror.S
Properly save and restore the GP on the stack in __cerror, rather than using
PIC_PROLOGUE which simply saves and restores it to a temporary register, as is
sufficient for syscalls but not for function calls.

Submitted by:   C. Jayachandran (original version)
01:48:40 - r205201
(3 days 7 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/sys/brk.S
Put __sys_brk in text, not data.
00:50:57 - r205200
(3 days 8 hours ago)
by delphij
Affects:  /head/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
Merge OpenSolaris revision 9396:f41cf682d0d3:

6830813 zfs list -t all fails assertion

*Note that this is only a partial merge of this revision addressing only
this one issue.*

PR:             bin/144720
Submitted by:   mm
Approved by:    pjd
Obtained from:  OpenSolaris
MFC after:      1 month
00:49:37 - r205199
(3 days 8 hours ago)
by delphij
Affects:  /head/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
/head/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.h
/head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
Merge OpenSolaris revision 9365:7838a22eccd6:

PSARC/2009/171 zfs list -d and zfs get -d
6762432 zfs list --depth

PR:             bin/144720
Submitted by:   mm
Approved by:    pjd
Obtained from:  OpenSolaris
MFC after:      1 month
00:48:27 - r205198
(3 days 8 hours ago)
by delphij
Affects: 
(4 files)
/head/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
/head/cddl/contrib/opensolaris/lib/libzfs/common/*
Merge OpenSolaris revision 8802:010b31dd4c53:

6773366 "zfs list" memory consumption can be further reduced

PR:             bin/144720
Submitted by:   mm
Approved by:    pjd
Obtained from:  OpenSolaris
MFC after:      1 month
2010 - 03 - 15   (4 days ago)
21:15:03 - r205197
(3 days 11 hours ago)
by mlaier
Affects:  /head/sys/net/if_var.h
Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834.

MFC after:      3 days
20:25:28 - r205196
(3 days 12 hours ago)
by joel
Affects:  /head/share/man/man4/urio.4
Switch to our preferred license.

Approved by:    Dirk-Willem Van Gulik <dirkx@webweaving.org>
20:05:24 - r205195
(3 days 12 hours ago)
by delphij
Affects:  /vendor/libz/1.2.4
Tag for zlib 1.2.4.
20:04:28 - r205194
(3 days 12 hours ago)
by delphij
Affects: 
(48 files)
/vendor/libz/dist/*
Vendor import of zlib 1.2.4 (trimmed).
19:59:16 - r205193
(3 days 13 hours ago)
by raj
Affects: 
(8 files)
/stable/8/sys/*
MFC r205028

 Fix ARM cache handling yet more.

 1) vm_machdep.c: remove the dangling allocations so they do not
    un-necessarily turn off the cache upon consecutive access.

 2) busdma_machdep.c: remove the same amount than shadow mapped.

Reported by:    Maks Verver
Submitted by:   Mark Tinguely
Reviewed by:    Grzegorz Bernacki
19:51:24 - r205192
(3 days 13 hours ago)
by raj
Affects: 
(8 files)
/stable/8/sys/*
MFC r204764

Provide correct TCLK value for Kirkwood A1 silicon revision.

While there improve SOC ID output accordingly.

Obtained from:  Semihalf
19:13:52 - r205191
(3 days 13 hours ago)
by marius
Affects: 
(4 files)
/stable/6/sys/contrib/pf
/stable/6/sys/dev/cxgb
/stable/6/sys/dev/gem/if_gem.c
MFC: r204222

According to the Linux sungem driver, in case of Apple (K2) GMACs
GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered
down the chip so the internal transceiver has to be hardcoded. This
is also in line with the AppleGMACEthernet driver, which just doesn't
distinguish between internal/external transceiver and MDIO/MDI1
respectively in the first place. Tested by: Andreas Tobler
19:13:49 - r205190
(3 days 13 hours ago)
by marius
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/gem/if_gem.c
MFC: r204222

According to the Linux sungem driver, in case of Apple (K2) GMACs
GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered
down the chip so the internal transceiver has to be hardcoded. This
is also in line with the AppleGMACEthernet driver, which just doesn't
distinguish between internal/external transceiver and MDIO/MDI1
respectively in the first place. Tested by: Andreas Tobler
19:13:36 - r205189
(3 days 13 hours ago)
by marius
Affects: 
(7 files)
/stable/8/sys/*
MFC: r204222

According to the Linux sungem driver, in case of Apple (K2) GMACs
GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered
down the chip so the internal transceiver has to be hardcoded. This
is also in line with the AppleGMACEthernet driver, which just doesn't
distinguish between internal/external transceiver and MDIO/MDI1
respectively in the first place. Tested by: Andreas Tobler
19:04:56 - r205188
(3 days 13 hours ago)
by marius
Affects: 
(5 files)
/stable/6/sys/contrib/pf
/stable/6/sys/dev/cxgb
/stable/6/sys/dev/mii/*
MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
19:04:51 - r205187
(3 days 13 hours ago)
by marius
Affects: 
(6 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/mii/*
MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
19:04:44 - r205186
(3 days 13 hours ago)
by marius
Affects: 
(8 files)
/stable/8/sys/*
MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
18:33:32 - r205185
(3 days 14 hours ago)
by marius
Affects: 
(3 files)
/stable/6/lib/libc/sparc64/fpu/fpu.c
/stable/6/lib/libc/sparc64/fpu/fpu_emu.h
MFC: r204974, r205002

- The OPSZ macro actually only does the right thing for int32 and int64
  operands but not for double and extended double ones. Instead of trying
  to fix the macro just nuke it and unroll the loops in the correct way
  though as extended double operands turn out to be the only special case.
- For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded
  after setting type accordingly as it's generally decoded using the low
  2 bits as the type, which are 0 for these three instructions.
- Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be
  re-decoded using not only the operand mask appropriate for int64 but
  also the correct register number encoding.
- Use const where appropriate.
- Wrap long lines.

Submitted by:   Peter Jeremy (partly)
18:33:23 - r205184
(3 days 14 hours ago)
by marius
Affects: 
(4 files)
/stable/7/lib/libc/sparc64/fpu/fpu.c
/stable/7/lib/libc/sparc64/fpu/fpu_emu.h
/stable/7/lib/libc/stdtime
MFC: r204974, r205002

- The OPSZ macro actually only does the right thing for int32 and int64
  operands but not for double and extended double ones. Instead of trying
  to fix the macro just nuke it and unroll the loops in the correct way
  though as extended double operands turn out to be the only special case.
- For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded
  after setting type accordingly as it's generally decoded using the low
  2 bits as the type, which are 0 for these three instructions.
- Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be
  re-decoded using not only the operand mask appropriate for int64 but
  also the correct register number encoding.
- Use const where appropriate.
- Wrap long lines.

Submitted by:   Peter Jeremy (partly)
18:32:57 - r205183
(3 days 14 hours ago)
by marius
Affects: 
(4 files)
/stable/8/lib/libc/sparc64/fpu/fpu.c
/stable/8/lib/libc/sparc64/fpu/fpu_emu.h
/stable/8/lib/libc/stdtime
MFC: r204974, r205002

- The OPSZ macro actually only does the right thing for int32 and int64
  operands but not for double and extended double ones. Instead of trying
  to fix the macro just nuke it and unroll the loops in the correct way
  though as extended double operands turn out to be the only special case.
- For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded
  after setting type accordingly as it's generally decoded using the low
  2 bits as the type, which are 0 for these three instructions.
- Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be
  re-decoded using not only the operand mask appropriate for int64 but
  also the correct register number encoding.
- Use const where appropriate.
- Wrap long lines.

Submitted by:   Peter Jeremy (partly)
18:27:51 - r205182
(3 days 14 hours ago)
by luigi
Affects: 
(20 files)
/user/luigi/ipfw3-r8/sbin/ipfw/*
/user/luigi/ipfw3-r8/sys/*
almost completed merge of ipfw3 from HEAD into my working tree
18:26:09 - r205181
(3 days 14 hours ago)
by luigi
Affects:  /head/sbin/ipfw/dummynet.c
accept lower case m as a synonym for Mega (bit/s or bytes/s).
18:22:19 - r205180
(3 days 14 hours ago)
by jkim
Affects: 
(7 files)
/stable/8/sys/*
MFC:    r204235

Fix FBIO_ADPINFO ioctl on amd64.
18:20:51 - r205179
(3 days 14 hours ago)
by luigi
Affects:  /head/sbin/ipfw/ipfw2.c
print correctly commands of the form

        ipfw add 100 allow ip from { 1.2.3.4 or 5.6.7.8 }

(note that the above example could be better written as

        ipfw add 100 allow dst-ip 1.2.3.4,5.6.7.8

Submitted by:   Riccardo Panicucci
18:09:21 - r205178
(3 days 14 hours ago)
by luigi
Affects:  /head/sys/netinet/ipfw/ip_dummynet.c
small fixes to estimate the buffer size when requesting all pipes/flows.
17:55:46 - r205177
(3 days 15 hours ago)
by luigi
Affects: 
(3 files)
/user/luigi/ipfw3-r8/release/picobsd/floppy.tree/dhclient-script
/user/luigi/ipfw3-r8/release/picobsd/floppy.tree/sbin/dhclient-script
MFStable
17:54:53 - r205176
(3 days 15 hours ago)
by luigi
Affects:  /user/luigi/ipfw3-r8/release/picobsd/floppy.tree/dhclient-script
/user/luigi/ipfw3-r8/release/picobsd/floppy.tree/sbin
MFStable
17:54:01 - r205175
(3 days 15 hours ago)
by luigi
Affects: 
(3 files)
/stable/8/release/picobsd/floppy.tree/dhclient-script
/stable/8/release/picobsd/floppy.tree/sbin/dhclient-script
and wrong place too!
17:52:55 - r205174
(3 days 15 hours ago)
by luigi
Affects:  /stable/8/release/picobsd/floppy.tree/dhclient-script
/stable/8/release/picobsd/floppy.tree/sbin
wrong name for this file...
17:14:27 - r205173
(3 days 15 hours ago)
by luigi
Affects: 
(8 files)
/head/sbin/ipfw/dummynet.c
/head/sys/netinet/ip_fw.h
/head/sys/netinet/ipfw/*
+ implement (two lines) the kernel side of 'lookup dscp N' to use the
  dscp as a search key in table lookups;

+ (re)implement a sysctl variable to control the expire frequency of
  pipes and queues when they become empty;

+ add 'queue number' as optional part of the flow_id. This can be
  enabled with the command

        queue X config mask queue ...

  and makes it possible to support priority-based schedulers, where
  packets should be grouped according to the priority and not some
  fields in the 5-tuple.
  This is implemented as follows:
  - redefine a field in the ipfw_flow_id (in sys/netinet/ip_fw.h) but
    without changing the size or shape of the structure, so there are
    no ABI changes. On passing, also document how other fields are
    used, and remove some useless assignments in ip_fw2.c

  - implement small changes in the userland code to set/read the field;

  - revise the functions in ip_dummynet.c to manipulate masks so they
    also handle the additional field;

There are no ABI changes in this commit.
16:53:09 - r205172
(3 days 16 hours ago)
by marcel
Affects:  /head/sys/ia64/ia64/machdep.c
Have cpu_throw() loop on blocked_lock as well. This bug has existed
a long time and has gone unnoticed just as long, because I kept
using sched_4bsd (due to sched_ule not working with preemption),
but GENERIC had sched_ule by default -- including SMP.

While here, remove unused inclusion of <machine/clock.h>, remove
totally bogus inclusion of <i386/include/specialreg.h>.
16:39:52 - r205171
(3 days 16 hours ago)
by jh
Affects: 
(2 files)
/stable/8/usr.bin/xlint/lint1/scan.l
MFC r204872: Pass the correct size to memset().

PR:             bin/128094
16:06:52 - r205170
(3 days 16 hours ago)
by joerg
Affects:  /head/usr.sbin/powerd/powerd.8
then -> than

MFC after:      1 day
15:43:35 - r205169
(3 days 17 hours ago)
by luigi
Affects:  /head/sbin/ipfw/ipfw2.c
/head/sbin/ipfw/ipfw2.h
Implement "lookup dscp N" which does a lookup of the DSCP (top 6 bits
of ip->ip_tos) in a table. This can be useful to direct traffic to
different pipes/queues according to the DSCP of the packet, as follows:

    ipfw add 100 queue tablearg lookup dscp 3 // table 3 maps dscp->queue

This change is a no-op (but harmless) until the two-line kernel
side is committed, which will happen shortly.
15:33:32 - r205168
(3 days 17 hours ago)
by bruno
Affects:  /stable/8/sys/kern/kern_thr.c
MFC r204519:
Deliver siginfo when signal is generated by thr_kill(2) (SI_USER with properly
filled si_uid and si_pid).

PR:             141956
14:20:16 - r205167
(3 days 18 hours ago)
by attilio
Affects:  /head/sys/dev/aac/aac.c
Make the code more readable and compiling on 64-bits arch different
than amd64.

Sponsored by:   Sandvine Incorporated
Submitted by:   emaste
MFC:            2 weeks
X-MFC:          r205160
09:40:23 - r205166
(3 days 23 hours ago)
by luigi
Affects:  /user/luigi/ipfw3-r8/sys/netgraph/ng_ipfw.h
/user/luigi/ipfw3-r8/sys/netinet/in.h
/user/luigi/ipfw3-r8/sys/netinet/ip_var.h
missing changes to let the kernel compile
08:58:35 - r205165
(4 days ago)
by phk
Affects:  /head/lib/libc/gen/daemon.c
Comment a fine point, so it does not get lost when people borrow code
from FreeBSD for other purposes.
00:29:15 - r205164
(4 days 8 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/mmu_oea64.c
Set memory access as guarded on large page direct maps that edge into
physical memory holes, and optimize moea64_kextract(), thereby avoiding
a LOR at boot.
00:27:40 - r205163
(4 days 8 hours ago)
by nwhitehorn
Affects:  /head/sys/powerpc/aim/mmu_oea64.c
Fix two small bugs. The PowerPC 970 does not support non-coherent memory
access, and reflects this by autonomously writing LPTE_M into PTE entries.
As such, we should not panic if LPTE_M changes by itself. While here,
fix a harmless typo in moea64_sync_icache().
2010 - 03 - 14   (5 days ago)
23:52:30 - r205162
(4 days 9 hours ago)
by marcel
Affects: 
(5 files)
/projects/altix/sys/boot/ia64/common/*
/projects/altix/sys/boot/ia64/efi/conf.c
/projects/altix/sys/boot/ia64/ski/*
Add ia64_elf_obj to file_formats[] and unify the SKI and EFI
support by moving the definition from the separate conf.c to
the common exec.c.
23:23:57 - r205161
(4 days 9 hours ago)
by yongari
Affects:  /head/sys/dev/msk/if_msk.c
It seems PCI_OUR_REG_[1-5] registers are not mapped on PCI
configuration space on Yukon Ultra(88E8056) such that accesses to
these registers were NOPs which in turn make msk(4) instable on
this controller. Use indirect access method to access
PCI_OUR_REG_[1-5] registers. This should fix a long standing
instability bug which prevented msk(4) working on Yukon Ultra.
Special thanks to koitsu who gave me remote access to his system.

PR:     kern/114631, kern/116853
MFC after:      1 week
22:38:18 - r205160
(4 days 10 hours ago)
by attilio
Affects:  /head/sys/dev/aac/aac.c
Checkin a facility for specifying a passthrough FIB from userland.
arcconf tool by Adaptec already seems to use for identifying the
Serial Number of the devices.
Some simple things (like FIB setup and bound checks) are retrieved
from the Adaptec's driver, but this implementation is quite different
because it does use the normal buffer dmat area for loading segments
and not a special one (like the Adaptec's one does).

Sponsored by:   Sandvine Incorporated
Discussed with: emaste, scottl
Reviewed by:    emaste, scottl
MFC:            2 weeks
21:14:25 - r205159
(4 days 11 hours ago)
by nwhitehorn
Affects: 
(5 files)
/projects/ppc64/sys/powerpc/aim/*
/projects/ppc64/sys/powerpc/include/pmap.h
/projects/ppc64/sys/powerpc/powerpc/bus_machdep.c
Use a large-page-mapped direct mapped region on powerpc64 if possible.
This is a fairly sweeping change and has doubtless broken many things,
but this should be the last major change to the MMU code.
19:04:42 - r205158
(4 days 13 hours ago)
by imp
Affects:  /head/sys/mips/conf/AR71XX
Go ahead and add USB support to the generic config.
18:59:11 - r205157
(4 days 14 hours ago)
by rwatson
Affects: 
(6 files)
/head/sys/netinet/*
Abstract out initialization of most aspects of struct inpcbinfo from
their calling contexts in {IP divert, raw IP sockets, TCP, UDP} and
create new helper functions: in_pcbinfo_init() and in_pcbinfo_destroy()
to do this work in a central spot.  As inpcbinfo becomes more complex
due to ongoing work to add connection groups, this will reduce code
duplication.

MFC after:      1 month
Reviewed by:    bz
Sponsored by:   Juniper Networks
16:03:36 - r205156
(4 days 16 hours ago)
by gavin
Affects: 
(4 files)
/stable/7/bin/cp/cp.1
/stable/7/bin/cp/cp.c
/stable/7/bin/cp/utils.c
Merge r202461 from head:

  Implement an "-x" option to cp(1), for compatibility with Linux and
  feature parity with du(1) and similar:  When set, cp(1) will not traverse
  mount points.

PR:             bin/88056
Initial patch by: Graham J Lee  <leeg teaching.physics.ox.ac.uk>
15:49:04 - r205155
(4 days 17 hours ago)
by gavin
Affects:  /head/share/man/man4/ndis.4
Add extra Xrefs

PR:             docs/114184
Submitted by:   Julian Stacey  <jhs berklix.org>
MFC after:      1 week
14:24:35 - r205154
(4 days 18 hours ago)
by jilles
Affects:  /head/bin/sh/eval.c
/head/tools/regression/bin/sh/builtins/command11.0
/head/tools/regression/bin/sh/errors/redirection-error6.0
sh: Do not abort on a redirection error on a compound command.

Redirection errors on subshells already did not abort the shell because
the redirection is executed in the subshell.

Other shells seem to agree that these redirection errors should not abort
the shell.

Also ensure that the redirections will be cleaned up properly in cases like
  command eval '{ shift x; } 2>/dev/null'

Example:
  { echo bad; } </var/empty/x; echo good
13:51:12 - r205153
(4 days 19 hours ago)
by jilles
Affects:  /head/tools/regression/bin/sh/errors/redirection-error5.0
sh: Add test for redirection error on subshell (should not abort).
13:32:40 - r205152
(4 days 19 hours ago)
by gavin
Affects: 
(5 files)
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/compat/linprocfs/linprocfs.c
/stable/7/sys/contrib/*
Merge r183385 from head (by cognet)

  Advertise bit 26 as sse2.

PR:             kern/130724
Approved by:    cognet
13:29:09 - r205151
(4 days 19 hours ago)
by kib
Affects:  /head/tools/regression/posixsem2/semtest.c
Remove dot at the end of errx() message.

Noted by:       bde
MFC after:      3 days
13:07:40 - r205150
(4 days 19 hours ago)
by jilles
Affects: 
(7 files)
/stable/8/sys/*
MFC r204410: Include terminated threads in ps's process cpu time field.

When a kinfo_proc is filled, first fill_kinfo_proc_only() fills in
ki_runtime using p->p_rux.rux_runtime (all cpu time used by the process
including terminated threads). If information for a specific thread is
requested, fill_kinfo_thread() then overwrites this with the thread's
td->td_runtime (good). If not, fill_kinfo_aggregate() overwrote it with
the sum of all threads' td->td_runtime which does not include terminated
threads.

This affects ps(1)'s TIME field, not its %CPU field nor anything in
top(1).
13:05:48 - r205149
(4 days 19 hours ago)
by kib
Affects:  /head/tools/regression/posixsem2/semtest.c
Adjust style, fix typo, do not print errno because it is meaningless there.
This test fails for now.

MFC after:      3 days
13:04:09 - r205148
(4 days 19 hours ago)
by kib
Affects:  /head/tools/regression/posixsem/posixsem.c
Make it compile on LP64 arches.

MFC after:      3 days
10:24:03 - r205147
(4 days 22 hours ago)
by edwin
Affects: 
(94 files)
/head/tools/regression/usr.bin/Makefile
/head/tools/regression/usr.bin/ncal/*
Create regression tests for ncal:

- A couple of tests to check if the layout of the generated calenders
  is correct.

- A couple of tests to see if impossible combinations for -3, -A,
  -m, -y etc properly abort.

- A couple of test to confirm that the order of -A, -B, -3 etc give
  the right number of months.
10:18:58 - r205146
(4 days 22 hours ago)
by ed
Affects: 
(8 files)
/head/ObsoleteFiles.inc
/head/include/*
/head/lib/libcompat/*
Trim down libcompat by removing <regexp.h>.

Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's <regex.h>, some application use both <regex.h> and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using <regex.h>. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.
05:22:46 - r205145
(5 days 3 hours ago)
by dougb
Affects:  /head/usr.sbin/mergemaster/mergemaster.8
/head/usr.sbin/mergemaster/mergemaster.sh
Make it more clear in the docs that -a is not compatible with -iFU,
and enforce this in the code. Apparently a lot of users mistakenly
combine -a with these flags and are then mystified that no changes
were made.

While I'm here, fix a trailing space in mergemaster.8
02:54:36 - r205144
(5 days 6 hours ago)
by marcel
Affects:  /projects/altix/sys/conf/files.ia64
Add link_elf_obj.c for support of ET_REL objects.
02:50:24 - r205143
(5 days 6 hours ago)
by marcel
Affects:  /projects/altix/sys/boot/common/Makefile.inc
Include load_elf64_obj.c on ia64. This adds the fundamental support
for ET_REL objects.
02:45:45 - r205142
(5 days 6 hours ago)
by marcel
Affects: 
(2 files)
/projects/altix/lib/libstand
Pull-in libstand as well...
02:13:11 - r205141
(5 days 6 hours ago)
by weongyo
Affects:  /head/sys/dev/bwn/if_bwn.c
enables S/W beacon miss handler.

Reported by:    imp
01:57:32 - r205140
(5 days 7 hours ago)
by weongyo
Affects:  /head/sys/net80211/ieee80211_proto.c
/head/sys/net80211/ieee80211_sta.c
/head/sys/net80211/ieee80211_tdma.c
fixes a broken software beacon miss handler.  There is a race to check
vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task is
enqueued by taskqueue.

Reviewed by:    rpaulo
00:32:18 - r205139
(5 days 8 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/powerpc/aim/slb.c
Don't spill existing SLB entries. We can't handle this yet, and it results
in randomly demapping bits of the kernel. Which is bad.

Reported by:    Andreas Tobler
2010 - 03 - 13   (6 days ago)
22:53:17 - r205138
(5 days 10 hours ago)
by jilles
Affects:  /head/bin/sh/eval.c
/head/tools/regression/bin/sh/errors/redirection-error4.0
sh: Do not abort on a redirection error if there is no command word.

Although simple commands without a command word (only assignments and/or
redirections) are much like special builtins, POSIX and most shells seem to
agree that redirection errors should not abort the shell in this case. Of
course, the assignments persist and assignment errors are fatal.

To get the old behaviour portably, use the ':' special builtin.
To get the new behaviour portably, given that there are no assignments, use
the 'true' regular builtin.
22:37:07 - r205137
(5 days 10 hours ago)
by simon
Affects:  /head/crypto/openssl/apps/openssl.cnf
Readd $FreeBSD$ to the OpenSSL config file as that's useful for
mergemaster.

Suggested by:   dougb
22:30:52 - r205136
(5 days 10 hours ago)
by jilles
Affects:  /head/tools/regression/bin/sh/errors/assignment-error1.0
sh: Add test for assignment errors (e.g. trying to change a readonly var).
We currently ignore readonly status for assignments before regular builtins
and external programs (these assignments are not persistent anyway), so just
check that the readonly variable really is not changed.
The test depends on the command builtin changes for 'command :'.
22:30:37 - r205135
(5 days 10 hours ago)
by nwhitehorn
Affects:  /projects/ppc64/sys/conf/files.powerpc64
/projects/ppc64/sys/powerpc/aim/slb.c
Missed a file.

Reported by:    Andreas Tobler
21:53:48 - r205134
(5 days 11 hours ago)
by kmacy
Affects:  /head/sys/modules/zfs/Makefile
make UMA the default allocator for ZFS buffers - this avoids
a great deal of contention in kmem_alloc

MFC after:      7 days
21:52:21 - r205133
(5 days 11 hours ago)
by kmacy
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
fix compilation under ZIO_USE_UMA
21:41:52 - r205132
(5 days 11 hours ago)
by kmacy
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c
Don't bottleneck on acquiring the stream locks - this avoids a massive
drop off in throughput with large numbers of simultaneous reads

MFC after:      7 days
21:28:14 - r205131
(5 days 11 hours ago)
by nwhitehorn
Affects: 
(4 files)
/projects/ppc64/sys/powerpc/aim/*
/projects/ppc64/sys/powerpc/include/*
Provide a mechanism for handling kernel SLB spills that does not fill me
with terror to imagine.
20:43:11 - r205130
(5 days 12 hours ago)
by jilles
Affects:  /head/bin/sh/parser.c
sh: Fix longjmp clobber warnings in parser.c.

Make parsebackq a function instead of an emulated nested function.
This puts the setjmp usage in a smaller function where it is easier to avoid
bad optimizations.
19:30:29 - r205129
(5 days 13 hours ago)
by simon
Affects: 
(280 files)
/head/secure/lib/libcrypto/*
/head/secure/lib/libssl/*
/head/secure/usr.bin/openssl/man/*
Regenerate manual pages for OpenSSL 0.9.8m.

MFC after:      3 weeks
19:22:41 - r205128
(5 days 13 hours ago)
by simon
Affects: 
(241 files)
/head/crypto/openssl/*
/head/secure/lib/libssl/Makefile
Merge OpenSSL 0.9.8m into head.

This also "reverts" some FreeBSD local changes so we should now
be back to using entirely stock OpenSSL.  The local changes were
simple $FreeBSD$ lines additions, which were required in the CVS
days, and the patch for FreeBSD-SA-09:15.ssl which has been
superseded with OpenSSL 0.9.8m's RFC5746 'TLS renegotiation
extension' support.

MFC after:      3 weeks
18:34:19 - r205127
(5 days 14 hours ago)
by marcel
Affects:  /projects/altix/sys/conf/kern.pre.mk
Go out on a limb and build the kernel proper as a relocatable as well.
This has some bigger consequences, but again it's much more easy to
work with relocatables in a NUMA environment.

In particular, the effects of this change are:
1.  We can't load kernels any more -- not a big deal for Altix, because
    we couldn't load kernels in the first place. We needed to load the
    kernel at a fixed physical address (= 64M) and on Altix there's no
    physical memory at that address.
2.  The kernel object size increased by ~39%. The debug kernel object
    file increased by about ~99%. Lastly, the symbols object file saw
    about a 150% increase. Whether this is acceptable or not is left
    for later to decide -- after we can compare the memory footprint.
3.  The loader can't check for ET_EXEC to determine if the object is
    the kernel proper or not. Consequently, we have no entry point. It
    feels acceptable to expect the entry point to be called "__start"
    or something along those lines. The kernel proper is the object
    file that contains that symbol.
18:14:51 - r205126
(5 days 14 hours ago)
by rnoland
Affects:  /head/sys/dev/drm/i915_drv.h
Fix build after typo.

Reported by:    Sergey V. Dyatko <sergey.dyatko@gmail.com>
MFC after:      3 days
18:06:17 - r205125
(5 days 14 hours ago)
by ed
Affects: 
(5 files)
/head/lib/libcompat/4.1/*
/head/lib/libcompat/4.3/cfree.c
Small style(9) cleanups.
16:37:17 - r205124
(5 days 16 hours ago)
by ticso
Affects: 
(7 files)
/stable/8/sys/*
MFC 204462,204463,204476: fix multicast hashes
16:15:15 - r205123
(5 days 16 hours ago)
by marcel
Affects:  /projects/altix/sys/conf/kmod.mk
Build kernel modules as relocatable objects. They are much
more easy to work with in a NUMA environment.

This commit effectively breaks module support. The breakage
is fixed when the loader and kernel know how to load and
relocate the object files on ia64.
15:10:07 - r205122
(5 days 17 hours ago)
by jkoshy
Affects:  /head/sys/sys/pmc.h
Correct a typo.

Submitted by:   Rahul Saxena <rahul dot k dot saxena at gmail dot com>
12:02:44 - r205121
(5 days 21 hours ago)
by jh
Affects:  /head/etc/rc.d/tmp
Use an unique directory name instead of hardcoded /tmp/.diskless.
A malicious user could create a file named /tmp/.diskless and cause
the script to misbehave.

PR:             conf/141258
Reported by:    Jon Passki
MFC after:      1 week
11:51:18 - r205120
(5 days 21 hours ago)
by rnoland
Affects:  /head/sys/dev/drm/drm_pciids.h
/head/sys/dev/drm/i915_drv.h
/head/sys/dev/drm/i915_reg.h
Add support for Intel Pineview chips, aka IGD

Slightly modified version of the submitted patch.

PR:             143427
Submitted by:   Mamoru Sumida <msumida@mvc.biglobe.ne.jp>
MFC after:      3 days
11:17:39 - r205119
(5 days 21 hours ago)
by brucec
Affects:  /head/contrib/top/utils.c
Change the 'amt' parameter in format_k2 from int to unsigned long long
to match the values passed in and prevent the SIZE field being corrupted
when more than 2TB is allocated.

PR:             bin/129706
Approved by:    rrs (mentor)
MFC after:      1 week
11:08:57 - r205118
(5 days 21 hours ago)
by brucec
Affects:  /head/sbin/sysctl/sysctl.c
Free the memory allocated via strdup.

PR:             bin/113881
Submitted by:   Alexander Drozdov  dzal_mail mtu-net.ru
Approved by:    rrs (mentor)
MFC after:      1 week
11:06:47 - r205117
(5 days 21 hours ago)
by ed
Affects: 
(2007 files)
/user/ed/newcons/*
MFH the Newcons branch.
09:21:00 - r205116
(5 days 23 hours ago)
by ed
Affects: 
(9 files)
/head/sys/*
Remove COMPAT_43TTY from stock kernel configuration files.

COMPAT_43TTY enables the sgtty interface. Even though its exposure has
only been removed in FreeBSD 8.0, it wasn't used by anything in the base
system in FreeBSD 5.x (possibly even 4.x?). On those releases, if your
ports/packages are less than two years old, they will prefer termios
over sgtty.
04:55:47 - r205115
(6 days 4 hours ago)
by jmallett
Affects:  /head/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
o) Use octeon_fpa_alloc_phys in a situation in which we don't need a usable
   pointer, rather than octeon_fpa_alloc.
o) Report half duplex status properly.
o) Do not unconditionally update the last known link status in the softc.  If
   report_link isn't set, when octeon_rgmx_config_speed is called the first
   time it will tell the driver (essentially) that we have already marked the
   interface up.  Likewise, don't change media speed and duplex if only the
   link status is at issue. [1]
o) Remove manual changing of link state and let octeon_rgmx_config_speed do the
   heavy lifting. [1]

Reviewed by:    [1] imp
Sponsored by:   Packet Forensics
04:00:36 - r205114
(6 days 5 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/libc/mips/gen/Makefile.inc
/user/jmallett/octeon/lib/libc/mips/gen/_ctx_start.S
/user/jmallett/octeon/lib/libc/mips/gen/makecontext.c
Add an implementation, only compile-tested, of makecontext with ABI-correct
argument encoding from NetBSD.
03:06:48 - r205113
(6 days 5 hours ago)
by imp
Affects:  /head/lib/Makefile
Make this conform to the other top-level Makefile subdir listings with
one file per line.

Suggested by: bde
02:10:20 - r205112
(6 days 6 hours ago)
by jmallett
Affects:  /head/lib/csu/mips/crti.S
Fix spelling of noreorder.
02:09:15 - r205111
(6 days 6 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/lib/csu/mips/crti.S
Fix spelling of noreorder.
01:18:33 - r205110
(6 days 7 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
Report half duplex status properly.
01:09:14 - r205109
(6 days 7 hours ago)
by jmallett
Affects:  /user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
o) Do not unconditionally update the last known link status in the softc.  If
   report_link isn't set, when octeon_rgmx_config_speed is called the first
   time it will tell the driver (essentially) that we have already marked the
   interface up.  Likewise, don't change media speed and duplex if only the
   link status is at issue.
o) Remove manual changing of link state and let octeon_rgmx_config_speed do the
   heavy lifting.

Sponsored by:   Packet Forensics
00:15:06 - r205108
(6 days 8 hours ago)
by delphij
Affects:  /head/lib/libc/string/strlen.c
Correct bugs fixed but not merged from my own tree.

Pointy hat to:  delphij
MFC after:      1 month

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 24 ms, 203 revisions printed. Current time is 2010-03-19 09:03:28. All times are in UTC/GMT.