253730 Commits

Author SHA1 Message Date
knakahara
d33bbbcb19 fix opencrypto(9) part of PR kern/52515
percpu data use pointers to TAILQ instead of TAILQ itself.
2017-09-22 03:04:06 +00:00
jmcneill
1a0f4b082d More USB3 port init stuff 2017-09-22 01:24:31 +00:00
jmcneill
a182bf1c7a Initialize PLLE 2017-09-22 01:24:05 +00:00
jmcneill
c71a130887 Enable xusb on tegra210 2017-09-21 23:44:48 +00:00
jmcneill
3b12727636 Setup PLLU 2017-09-21 23:44:26 +00:00
jmcneill
bbc92917c9 Fix div calculation and utmip init params 2017-09-21 22:54:39 +00:00
kre
3777c939b3 Handle the new %f (as an addition to the strftime format - -t arg)
correctly, in particular %%f does not contain the %f format, and like
all strftime conversions, %f can occur more than once (not that it is
likely to happen, but just in case...)
2017-09-21 22:53:19 +00:00
skrll
8b9f0f0a11 Spaces to TAB 2017-09-21 19:29:35 +00:00
skrll
39e81be8f1 spaces to TAB 2017-09-21 19:29:14 +00:00
skrll
a1f1d06826 Spaces to TABs 2017-09-21 19:28:37 +00:00
skrll
f4a256fec3 spaces to tabs 2017-09-21 19:28:14 +00:00
kre
79b3cfa2ed KNF, and since this gets compiled as a tool, avoid C99 declarations. 2017-09-21 18:50:08 +00:00
joerg
5db0939512 Change the VSTATE_ASSERT_UNLOCKED code by pushing the potential lock
handling into the backend and doing an optimistic (unlocked) check
first. Always taking the vnode interlock makes this assertion otherwise
very heavy for multi-processor machines. Ride the kernel version bump.
2017-09-21 18:19:44 +00:00
knakahara
5d0cdef5b4 loop_clone_create() must be called after ncpu is counted up for all CPUs.
loop_clone_create() uses ncpu in the following call-path.
    - loop_clone_create()
      - if_attach()
        - if_percpuq_create()
          - softint_establish() // use ncpu
          - percpu_foreach() // use ncpu

However, loopinit() of built-in module is called from
module_init_class(MODULE_CLASS_DRIVER) which is called before ncpu is counted
up in some architectures. So, It is too fast.
On the other hand, it is too late for rump netinet component to call
loop_clone_create() in config_finalize().

As the result, loop_clone_create() shuld be called in loopattach() for built-in
module, and in loopinit() for dynamic module.

XXX need pullup -8 branch
2017-09-21 11:42:17 +00:00
knakahara
9cd884509f update locking notes. 2017-09-21 09:48:15 +00:00
knakahara
1cc266b88d add lock for sclist to exclude ifconfig gifX add/delete and ifconfig gifX tunnel 2017-09-21 09:46:14 +00:00
knakahara
56188c2a5a add lock for percpu route like l2tp(4). 2017-09-21 09:42:03 +00:00
ozaki-r
ddc95c5dde Dump the kernel version for the latest change of struct route
Welcome to 8.99.3
2017-09-21 07:22:03 +00:00
ozaki-r
0092eb7df6 Invalidate rtcache based on a global generation counter
The change introduces a global generation counter that is incremented when any
routes have been added or deleted. When a rtcache caches a rtentry into itself,
it also stores a snapshot of the generation counter. If the snapshot equals to
the global counter, the cache is still valid, otherwise invalidated.

One drawback of the change is that all rtcaches of all protocol families are
invalidated when any routes of any protocol families are added or deleted.
If that matters, we should have separate generation counters based on
protocol families.

This change removes LIST_ENTRY from struct route, which fixes a part of
PR kern/52515.
2017-09-21 07:15:34 +00:00
wiz
598b83d451 Sort options and their descriptions in man page and usage. 2017-09-21 07:07:28 +00:00
ozaki-r
6b704eed1f Remove unnecessary NULL check of rt_ifp
It's always non-NULL.
2017-09-21 04:44:32 +00:00
agc
c77bafde22 Update sys_info to 20170920
+ add a -d <destdir> option, which allows the versions of programs
in a directory tree rooted at "<destdir>" to be reported on, rather
than the programs and libraries rooted under /. This is useful, for
example, for finding out the versions of utilities and libraries
after a build.sh run:

	% sys_info
	awk-20121220
	bind-9.10.5pl2
	bozohttpd-20170201
	bzip2-1.0.6
	calendar-20160601
	dhcpcd-7.0.0-rc1
	dtc-1.4.4
	ftpd-20110904
	g++-5.4.0
	gcc-5.4.0
	grep-2.5.1anb1
	gzip-20170803
	libc-12.208
	...
	% sys_info -d /data/8/build/dest/x86_64
	awk-20121220
	bind-9.10.5pl1
	bozohttpd-20170201
	bzip2-1.0.6
	calendar-20160601
	dhcpcd-7.0.0-rc1
	ftpd-20110904
	g++-5.4.0
	gcc-5.4.0
	grep-2.5.1anb1
	gzip-20150113
	libc-12.207
	...
	%
2017-09-21 01:15:45 +00:00
ginsbach
3cf84fe24e Add SDLC - software/system(s) development life cycle 2017-09-21 00:40:10 +00:00
macallan
a3b7d81bb2 add MAX6690 which seems to be a straight up ADM1032 clone 2017-09-20 22:44:28 +00:00
jmcneill
b7cc54530c parse ports node and configure usb2/usb3/hsic ports 2017-09-20 21:59:23 +00:00
christos
eab473870d PR/52564: Scole Mail: current ofwboot.xcf crashes because of .eh_frame* in .text 2017-09-20 18:44:22 +00:00
kre
ac205bb2d4 Set the default time format for linux mode (-x) in the correct place,
so it only applies to -x (in particular, not to -s) and only if another
time format has not been explicitly selected (earlier in the arg list).

With luck, this will make lots of tests, which depended upon "stat -s"
actually generating correct sh assignment statements, go back to working again.
2017-09-20 17:45:25 +00:00
ozaki-r
960a3e1e52 Add tests of rtcache invalidation 2017-09-20 09:36:20 +00:00
wiz
74d5645f3a whitespace fixes, use Xr. 2017-09-20 08:57:02 +00:00
christos
c5fdb5719f - add the sticky bits to mode
- fix linux Birth for the havenots
code review via email from @@@
2017-09-20 01:23:37 +00:00
jmcneill
496fea9ef2 Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname
2017-09-19 23:18:01 +00:00
jmcneill
4f39fa4e41 fdtbus_get_string: support special 'name' property 2017-09-19 22:55:49 +00:00
christos
952c61b290 - if st_dev/st_rdev == NODEV print -1 instead of unsigned
- update to the latest linux stat(1) format for -x (kind of)
- add the ability to display nanoseconds, like linux does
- change u_intX_t -> uintX_t
2017-09-19 21:45:28 +00:00
jmcneill
a7c423b9ac The xusbpad driver is tegra 124 specific so split it out into a separate
driver. Add (not yet working) tegra 210 support to the xusb driver.
2017-09-19 20:46:12 +00:00
jmcneill
a9c77d21c0 Add some xusb clocks (not working yet) 2017-09-19 20:45:09 +00:00
roy
63dd084043 Note import of dhcpcd-7.0.0-rc2 2017-09-19 19:20:43 +00:00
roy
4777372b1e Sync 2017-09-19 19:19:21 +00:00
roy
2e864d58b0 Import dhcpcd-7.0.0-rc2 with the following changes:
*  dhcp: fixed classless static routes
  *  prefix delegation: build routes after assigning addresses
  *  dhcp: on lease expiration, discover only when carrier
  *  ip6: fix potential segfault when lifetime overflows
  *  dhcp: fix reporting of DNS encoded SIP servers
  *  dhcp6: fix unicast in non master mode
2017-09-19 19:16:48 +00:00
jmcneill
9745661280 Only attach to the phy specified in dt, if possible. 2017-09-19 17:26:45 +00:00
ozaki-r
603defb948 Share a global dummy SP between PCBs
It's never be changed so it can be pre-allocated and shared safely between PCBs.
2017-09-19 02:44:14 +00:00
maya
04676939ae Remove unused macro 2017-09-19 01:22:14 +00:00
phx
eabf26b1cf Fixed feholdexcept() by copying the actual contents of FPSCR to the fenv_t
instead of a double precision floating point representation of it.
2017-09-18 23:21:15 +00:00
jmcneill
cb297a9cf9 Add support for arm,arm1176jzf-s 2017-09-18 16:58:04 +00:00
joerg
6a2fdfeb92 Bump install image sizes. Clang alone adds 100MB+ for a full debug build
and that pushes the full MKDEBUG build over the constraints.
2017-09-18 14:42:16 +00:00
jakllsch
6b34528ad5 Initialize ex_lock and ex_cv only in the not-EX_EARLY case. 2017-09-18 13:22:56 +00:00
roy
ab1cdcdbe2 Allow a subwindow to contain another subwindow.
This reverts r1.37 and allows wip/rtv to work better.
2017-09-18 10:18:13 +00:00
wiz
b2204870d0 Use Dv for non-errno return values (instead of Er). 2017-09-18 08:49:20 +00:00
wiz
cf8f895d5c Remove superfluous Tn. 2017-09-18 08:48:23 +00:00
riastradh
f4b86e3d5e DM: direct message 2017-09-18 03:14:02 +00:00
rtr
525ead1c1c GVFS git virtual file system 2017-09-17 21:55:07 +00:00