253459 Commits

Author SHA1 Message Date
maxv
f54b02d72d Reinitialize the PAT MSR when waking up, otherwise the write-combined
pages become write-through.
2017-09-23 10:00:00 +00:00
jakllsch
20dcc53ed7 use more symbolic register bits 2017-09-22 20:25:51 +00:00
jakllsch
0fba28799f Add more Tegra124 XUSB PADCTL register bits. 2017-09-22 20:23:22 +00:00
jakllsch
a32d5e4570 Update #include guard #define after move. 2017-09-22 19:11:47 +00:00
jmcneill
6933952435 Enable regulators at attach 2017-09-22 18:13:36 +00:00
jmcneill
5fe95616f5 Enable max77620pmic and tcagpio 2017-09-22 18:13:16 +00:00
jmcneill
15f5428a45 Add GPIO drivers for MAX77620 and TCA9539 as found in Jetson TX1 2017-09-22 18:12:31 +00:00
macallan
342dcf6b03 add uni_n, ki2c etc., commented out svwsata, wdc, smu
should be somewhat more useful now
2017-09-22 18:09:48 +00:00
macallan
40df262473 remove sgsmix since it can't occur on bandit-based hardware, add valkyriefb
and videopll instead
2017-09-22 17:56:07 +00:00
khorben
4855508aad Typo 2017-09-22 15:37:13 +00:00
jmcneill
50506f2028 Print an error if we fail to acquire a regulator 2017-09-22 15:33:21 +00:00
jmcneill
0e6fbb046c Replace unused mpio driver with a more generic interface for pinmux, and
add Tegra210 pinmux support.
2017-09-22 14:36:22 +00:00
jmcneill
92ef8122c8 Print an error if we can't acquire a clock or reset 2017-09-22 11:01:24 +00:00
jmcneill
b267dde7c7 #define<tab> 2017-09-22 10:55:43 +00:00
jmcneill
ea2e72dcd0 add USB2_TRK and HSIC_TRK clocks 2017-09-22 10:54:44 +00:00
skrll
0ff2fca96d Typo 2017-09-22 06:31:02 +00:00
joerg
0e5b5aa88a Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too. 2017-09-22 06:05:20 +00:00
ozaki-r
82d5516b2e Remove the global lock for rtcache
Thanks to removal of LIST_ENTRY of struct route, rtcaches are accessed only by
their users. And in existing usages a rtcache is guranteed to be not accessed
simultaneously. So the rtcache framework doesn't need any exclusion controls
in itself.
2017-09-22 05:05:32 +00:00
macallan
1ba4702854 add quick path for timebase-frequency detection
deal with differences in /u4 reg property encoding vs. /uni-n, so this works
on my G5 now
2017-09-22 04:45:56 +00:00
macallan
176e683b45 no more special treatment for dbcool 2017-09-22 04:11:24 +00:00
macallan
cce95d6c6e all i2c controllers support direct config now, so get rid of hard wired
i2c buses and addresses
2017-09-22 04:09:06 +00:00
macallan
7dde0073e7 use direct config 2017-09-22 04:07:34 +00:00
macallan
0ce5566bbf switch to direct configuration 2017-09-22 04:01:41 +00:00
macallan
6ea5686d26 direct configure i2c devices 2017-09-22 04:00:58 +00:00
macallan
a85dca9642 move i2c devices to iic, add valkyriefb and videopll 2017-09-22 03:15:08 +00:00
macallan
3c954dd9fa no more special attachment for dbcool, deq attaches to iic now 2017-09-22 03:11:43 +00:00
macallan
8cadda8486 attach to iic, use direct config 2017-09-22 03:10:46 +00:00
macallan
3fe6d9dafc follow sparc64 and do direct config for i2c-devices
while there, make sure we play nice with smbus single byte reads
2017-09-22 03:09:51 +00:00
macallan
a380c9d9c1 add more names for direct config 2017-09-22 03:04:17 +00:00
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