1. 04 Nov, 2019 14 commits
    • Eric Joyner's avatar
      net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN · e81998f4
      Eric Joyner authored
      A couple of drivers and one place in if.c use ETH_ADDR_LEN, even though
      net/ethernet.h provides an equivalent ETHER_ADDR_LEN definition.
      Cleanup all of the locations which refer to ETH_ADDR_LEN to use the
      standard ETHER_ADDR_LEN instead.
      Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
      Submitted by:	Jacob Keller <jacob.e.keller@intel.com>
      Reviewed by:	erj@, jpaetzel@
      Sponsored by:	Intel Corporation
      Differential Revision:	https://reviews.freebsd.org/D21239
    • Ed Maste's avatar
      libpmc: jevents: handle empty descriptoin · 6a2a926d
      Ed Maste authored
      PR:		241258
      Reported by:	sigsys @ gmail.com
      Obtained from:	github.com/andikleen/pmu-tools commit bb3c77ed61
      MFC after:	3 days
    • Ed Maste's avatar
      arm64 linuxulator: default to RW stack (no X) · d4f55cc8
      Ed Maste authored
      This matches Linux's default arm64 data / stack permissions.
      MFC after:	1 week
      Sponsored by:	The FreeBSD Foundation
    • Brooks Davis's avatar
      Remove an outdated assertion. · aaa3243f
      Brooks Davis authored
      The exclusive lock assertion became incorrect due to changes in lock
      scope in r354155.
      Discussed with:	jeffr
      Sponsored by:	DARPA, AFRL
    • Dimitry Andric's avatar
      Merge commit 97e362607 from llvm git (by Nemanja Ivanovic): · 23209776
      Dimitry Andric authored
        [PowerPC] Do not emit HW loop if the body contains calls to
        These two intrinsics are lowered to calls so should prevent the
        formation of CTR loops. In a subsequent patch, we will handle all
        currently known intrinsics and prevent the formation of HW loops if
        any unknown intrinsics are encountered.
        Differential revision: https://reviews.llvm.org/D68841
      This should fix an "invalid CRT loop" assertion when building the
      www/node port for powerpc64.
      Requested by:	Alfredo Dal'Ava Júnior <alfredo.junior@eldorado.org.br>
      MFC after:	1 month
      X-MFC-With:	r353358
    • Andrew Gallatin's avatar
      Add tunable to allow interrupts on hyperthreaded cores · bb7aaac3
      Andrew Gallatin authored
      Enabling interrupts on htt cores has benefits to workloads which are primarily
      interrupt driven by increasing the logical cores available for interrupt handling.
      The tunable is named machdep.hyperthreading_intr_allowed
      Reviewed by:	kib, jhb
      Sponsored by:	Netflix
      Differential Revision:	https://reviews.freebsd.org/D22233
    • Gleb Smirnoff's avatar
      In nd6_timer() enter the network epoch earlier. The defrouter_del() may · d6dbfed8
      Gleb Smirnoff authored
      call into leaf functions that require epoch.  Since the function is already
      run in non-sleepable context, it should be safe to cover it whole with epoch.
      Reported by:	syzcaller
    • Hans Petter Selasky's avatar
      Enable device class group attributes in the LinuxKPI. · 76354fa4
      Hans Petter Selasky authored
      Bump the __FreeBSD_version to force recompilation of
      external kernel modules due to structure change.
      Differential Revision:	https://reviews.freebsd.org/D21564
      Submitted by:	Greg V <greg@unrelenting.technology>
      MFC after:	1 week
      Sponsored by:	Mellanox Technologies
    • Cy Schubert's avatar
      Document contrib updates: · 4b42eaf7
      Cy Schubert authored
      sqlite3 is updated to sqlite3-3.30.1.
      WPA is updated from 2.8 to 2.9.
    • Andriy Gapon's avatar
      zfs: enable SPA_PROCESS on the kernel side · eb819923
      Andriy Gapon authored
      The purpose of this change is to group kernelthreads specific to a
      particular ZFS pool under a kernel process.  There can be many dozens of
      threads per pool.  This change improves observability of those threads.
      This change consists of several subchanges:
      1. illumos taskq_create_proc can now pass its process parameter to
      taskqueue.  Also, use zfsproc instead of NULL for taskq_create.  Caveat:
      zfsproc might not be initialized yet.  But in that case it is still NULL,
      so not worse than before.
      2. illumos sys/proc.h: kthread id is stored in t_did field, not t_tid.
      3. zfs: enable SPA_PROCESS on the kernel side.  The change is a bit hairy
      as newproc() is implemented privately to spa.c.  I couldn't think of a
      better way to populate process name than to poke inside the argument for
      the process routine.
      4. illumos thread_create: allow assigning thread to process other than
      5. zfs: expose spa_proc to other users, assign sync and quiesce threads
      to it.
      Pool-specific threads created using (relatively new) zthr mechanism are
      still assigned to the zfskern process rather than to a respective
      zpool-xxx process.  I am going to address this a bit later.
      Reviewed by:	no one
      MFC after:	5 weeks
      Relnotes:	perhaps
      Differential Revision: https://reviews.freebsd.org/D9720
    • Toomas Soome's avatar
      loader: show APFS partition type name · 124003d5
      Toomas Soome authored
      Add small visual aid in lsdev output.
    • Kyle Evans's avatar
      patch(1): give /dev/null patches special treatment · 50dacbf6
      Kyle Evans authored
      We have a bad habit of duplicating contents of files that are sourced from
      /dev/null and applied more than once... take the more sane (in most ways)
      GNU route and complain if the file exists and offer reversal options.
      This still falls short a little bit as selecting "don't reverse, apply
      anyway" will still give you duplicated file contents. There's probably other
      issues as well, but awareness is the first step to happiness.
      MFC after:	2 weeks
      Differential Revision:	https://reviews.freebsd.org/D21535
    • Vladimir Kondratyev's avatar
    • Justin Hibbits's avatar
      powerpc/pmap: Make use of tlb1_mapin_region in pmap_mapdev_attr() · 730de0f7
      Justin Hibbits authored
      tlb1_mapin_region() and pmap_mapdev_attr() do roughly the same thing -- map
      a chunk of physical address space(memory or MMIO) into virtual, but do it in
      differing ways.  Unify the code, settling on pmap_mapdev_attr()'s algorithm,
      to simplify and unify the logic.  This fixes a bug with growing the kernel
      mappings in mmu_booke_bootstrap(), where part of the mapping was not getting
      done, leading to a hang when the unmapped VAs were accessed.
  2. 03 Nov, 2019 26 commits