Skip to content
Commits on May 29, 2016
  1. ieee80211.9: Fix .Nm

    Sascha Wildner committed May 29, 2016
  2. Remove an unused manual page.

    Sascha Wildner committed May 29, 2016
  3. @ivadasz

    gpio_acpi: Turn this into a child device of gpio_intel.

    * This makes gpio_intel much more independent from gpio_acpi.
    * Less adjustments needed in gpio drivers for using gpio_acpi.
    * Some slight cleanup, and refactoring turning device_t args to
      struct gpio_acpi_softc * args.
    ivadasz committed May 11, 2016
Commits on May 28, 2016
  1. @ivadasz

    gpio_acpi: Add allocate/release functions for GpioIo pins.

    * This slightly simplifies the read_pin and write_pin functions, and
      configuration errors should now be found when allocating the pin,
      instead of causing a panic in read_pin() or write_pin().
    ivadasz committed Apr 30, 2016
  2. @ivadasz

    gpio_acpi: Factor out gpio_acpi_check_gpioint().

    * gpio_acpi_check_gpioint() can be reused for the device-driver facing
      interface for dealing with gpio acpi-resources.
    ivadasz committed May 28, 2016
  3. kernel - Align virtual_start, workaround possible HW VM bugs

    * virtual_start is 2MB-aligned at the kernel load's end address.
      The page table mappings prior to this address are 2MB mappings.
      Additional SYSMAP()d space is reserved in early boot, such as
      the CMAP entries and the dmesg buffer.  The page table mappings
      in this area should all be 4K pages.
    * Kernel virtual memory beyond the SYSMAP()d space is available for
      general allocation, but positioned such that only kldload modules will
      try to use it specifically.  Sascha (swildner) found that any initial
      kldload done after boot in vmware player 7.1.4 build-3848939 running
      on a i7-4770K based host would panic.
      A kernel core of this panic appears to show a corrupt pte in a location
      where the pte should have been read as 0.
    * Doing an additional 2MB alignment of virtual_start after the SYSMAP()s
      appears to work around this corruption, which is this commit.  This
      means that the first general allocation in the kernel load portion of
      the kernel_map will be shifted to the next 2MB boundary past the SYSMAP()s.
    * I can only speculate that the hardware is somehow getting confused, but
      I can't really fathon how it is getting confused because the SYSMAP
      reservations should all be using 4KB pages.
    Matthew Dillon committed May 28, 2016
  4. Some more cleanup in comments etc. after the an(4) removal.

    Sascha Wildner committed May 28, 2016
  5. ieee80211_vap.9: Fix date.

    Sascha Wildner committed May 28, 2016
  6. Various typo and wording fixes.

    Sascha Wildner committed May 28, 2016
  7. virtio - fix contigmalloc muff last commit

    * Have to use M_WAITOK for contigmalloc, not M_INTWAIT.
    Reported-by: tuxillo
    Matthew Dillon committed May 27, 2016
  8. Sync ACPICA with Intel's version 20160527.

    * Temporarily reverted the new arbitrary bit length/alignment support
      in AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There
      have been a number of regressions with the new code that need to be
      fully resolved and tested before this support can be finally
      integrated into ACPICA. Apologies for any inconveniences these
      issues may have caused.
    * The ACPI message macros are not configurable (ACPI_MSG_ERROR,
    * Fixed a couple of GCC warnings associated with the use of the
      -Wcast-qual option. Adds a new return macro, return_STR.
      Jung-uk Kim.
    For a more detailed list, please see sys/contrib/dev/acpica/changes.txt.
    Sascha Wildner committed May 28, 2016
  9. virtio - vtblk_finish_bio() called with serializer held

    * vtblk_finish_bio() was being improperly called with the
      serializer held in the strategy error path.
    * Note that biodone() is properly called without the
      serializer held in the normal completion path.
    Matthew Dillon committed May 27, 2016
  10. virtio - Fix a few porting issues and bugs

    * vtblk_maximum_segments() was really buggy.  It was
      adding the base min segments to blkcfg->seg_max,
      miscalculating values for the case where the F_SEG_MAX
      feature is not in the feature list.
      This could result in virtio imploding on a too-small
    * Fix situations where M_NOWAIT is improperly used.
    * At least use 16-byte alignment for contigmalloc()'s.
    Matthew Dillon committed May 27, 2016
Commits on May 27, 2016
  1. @ivadasz

    virtio_blk: Add support for indirect buffers.

    Taken-From: FreeBSD
    ivadasz committed Oct 31, 2015
Commits on May 26, 2016
  1. ieee80211*.9: Fix some prototypes in the manual pages.

    Sascha Wildner committed May 26, 2016
  2. kernel - Augment pte assertion with additional info

    * Augment the invalid PTE assertion to print additional info.  This bug was
      thought to have been squashed but we received a recent report of it still
      occurring (on an older cpu).
    Matthew Dillon committed May 26, 2016
  3. Sync wlan driver manual pages with FreeBSD.

    Sascha Wildner committed May 26, 2016
  4. @ivadasz

    if_iwm - valid_{tx,rx}_ant from radio_cfg is only needed for 8000 fam…

    * The "if (!data->valid_tx_ant || !data->valid_rx_ant) {" check was getting
      triggered with a 3165 chipset.
    ivadasz committed May 25, 2016
  5. tcp: Make setsockopt(2) TCP_{NODELAY,NOPUSH,NOOPT,FASTKEEP} asynchronous

    This makes all network system calls used by nginx asynchronous and greatly
    improves nginx performance.
    For 1 requests/connection (30K concurrent connections), this commit gives
    12% improvement for 16KB web object (was 16.8Gbps, now 19.2Gbps, which
    maxes out 2x10Ge).  And it gives 19% improvement for 1KB web object (was
    156Kreqs/s, now 186Kreqs/s).
    Sepherosa Ziehau committed May 26, 2016
Commits on May 25, 2016
  1. ral - Add missing BUS_DMA_NOWAIT to bus_dmamap_load_mbuf_segment() calls

    * Add missing BUS_DMA_NOWAIT to bus_dmamap_load_mbuf_segment() calls.
    * NOTE: FreeBSD original code in #else not modified, but probably needs
      the same change (to bus_dmamap_load_mbuf_sg()).
    Matthew Dillon committed May 25, 2016
  2. kernel/wpi: Fix build with WPI_DEBUG.

    Sascha Wildner committed May 25, 2016
  3. kernel/ath_hal: Add missing __printflike().

    Sascha Wildner committed May 25, 2016
  4. @kusumi

    sys/vfs/hammer: Remove unnecessary =NULL;

    resx is only used (or should be declared) in else{} scope.
    kusumi committed May 25, 2016
  5. @kusumi

    sys/vfs/hammer: Don't store negative free/avail for statfs/statvfs

    f_bfree and f_bavail (these two equal on HAMMER) are likely to
    be negative when the filesystem usage has reached its limit or
    almost reaches limit.
    There is no point in having negative values by using internally
    reserved size (means not physically finalized with actual data),
    so force 0 instead of -.
    Note that this doesn't fix ENOSPC issues.
    -- before this commit
     # df -T /HAMMER
     Filesystem  Type   1K-blocks      Used Avail Capacity  Mounted on
     TEST        hammer 116359168 116363168 -4000   100%    /HAMMER
    -- with this commit
     # df -T /HAMMER
     Filesystem  Type   1K-blocks      Used Avail Capacity  Mounted on
     TEST        hammer 116359168 116359168     0   100%    /HAMMER
    kusumi committed May 25, 2016
  6. @kusumi

    sys/vfs/hammer: Add warning messages on ENOSPC

    Add warning messages if the blockmap allocator finds ENOSPC.
    B-Tree functions may also return ENOSPC, but those are results
    of failure in blockmap allocation on node split.
    _hammer_checkspace() doesn't have this warning for now.
    This gets called by many of the syscalls before inmemory/ondisk
    file operations start, so it's pretty obvious without bunch of
    "No space left" in dmesg.
    kusumi committed May 25, 2016
  7. @kusumi

    sys/vfs/hammer: Remove vfs.hammer.count_extra_space_used

    This was added in a7e9bef in 2008 for debugging.
    Exposing this to userspace isn't useful for users anyway considering
    this is a sum of several internal parameters on resource usage.
    kusumi committed May 25, 2016
Commits on May 24, 2016
Something went wrong with that request. Please try again.