Commit Graph

239739 Commits

Author SHA1 Message Date
pgoyette
d3bd91aea2 Descend into new raid module, and update sets lists. 2015-12-26 01:00:01 +00:00
pgoyette
e05b240459 Modularize the raidframe driver, including rework of the unit attach
code to permit detaching (and possible module unloading).  Also,
convert tsleep()/wakeup() locking to use cv_wait_sig()/cv_broadcast().

Tested in non-modular, modular-builtin, and modular-loaded-at-runtime
environments.
2015-12-26 00:58:45 +00:00
christos
0941badb50 PR/50593: dieter roelants: fix unexpanded definitions in xterm(1) 2015-12-25 18:50:48 +00:00
christos
3f78fc62e3 make this compile for c++ 2015-12-25 16:19:38 +00:00
wiz
6471a2935e Simplify usage for gpt show. 2015-12-25 12:16:03 +00:00
martin
53078a2022 Add a -a flag to the show command, so we can display the full GPT with
all information in one go.
2015-12-25 10:59:56 +00:00
ozaki-r
a9e6d8e441 Add some tests for sysctl net.inet.ip.*
- net.inet.ip.redirect
- net.inet.ip.directed-broadcast (and net.inet.icmp.bmcastecho)
- net.inet.ip.ttl

From suzu-ken@IIJ (with tweaks by me)
2015-12-25 08:22:28 +00:00
knakahara
6d50f36d54 use satosin{,6} macros instead of casts. 2015-12-25 06:47:56 +00:00
christos
3feb613f34 get rid of dup fenv. 2015-12-25 06:03:06 +00:00
christos
522db2ab36 move fenv inside ifdef 2015-12-25 06:02:10 +00:00
christos
94ed82768d remove dup fenv 2015-12-25 06:01:38 +00:00
msaitoh
b8537bdf10 Modify comment for 82544 Errata 9 "Certain register cannot be written with
particular alignments in PCI-X bus operation".
2015-12-25 05:45:40 +00:00
christos
714768c886 We stuck the generation number eons ago before the inode, so we broke
inode printing in nfs file handles.
2015-12-25 04:50:21 +00:00
msaitoh
0263b84cb0 - Fix RAL table's size of PCH2 and PCH_LPT.
- PCH_LPT (and newer device) is required to check FWSM_WLOCK_MAC bit to
  determine the range of the RAL.
- Fix typo in comment and modify comment by tnn@.
- Rename wm_check_reset_block() to wm_phy_resetisblocked() and make it returns
  bool. No functional change.
2015-12-25 04:50:16 +00:00
marty
a8082a0bd6 XU4 I2C snapshot
This is a complete, but untested, driver; except that it needs to be able
to configure gpios and, afaict, we don't yet have an fdtbus_gpio_* function
that will do that.
2015-12-24 21:30:05 +00:00
marty
09101f82f1 XU4 interrupt combiner
Written but untested.  I'm still confused about how to handle two things:

1) at interrupt disestablishment, where do I get an interrupt number so
   that I can disable the interrupt on the combiner?

2) How is interrupt multiplexing handled?  I don't seem to have any sort of
   interrupt dispatch routine that takes the 1 interrupt that reaches the
   gic and turn it into one of eight combined interrupts to call the
   established interrupt for the original uncombined interrupt source.
2015-12-24 21:20:17 +00:00
martin
ac62bbaf8f Fix output in an error case 2015-12-24 17:35:57 +00:00
christos
57ad4ba3e2 explicit casts to time_t, since we are going from unsigned -> signed. 2015-12-24 15:53:06 +00:00
christos
c316d7b24a little size_t/ssize_t... 2015-12-24 15:52:37 +00:00
christos
52fb74a7cb add fenv.h 2015-12-24 14:16:46 +00:00
msaitoh
19d53e8d95 - Add DDR4E, LPDDR3 and LPDDR4.
- Check NVDIMM hybrid.
- add DDR4's tWR and tWTR.
- Print cycle time with aprint_verbose on DDR4 as DDR[23].
2015-12-24 14:16:18 +00:00
christos
176b7bf263 add m68k, default types. 2015-12-24 14:13:59 +00:00
christos
d5137ecf34 fenv for m68k 2015-12-24 14:12:39 +00:00
christos
64bdb50ef0 add fenv for m68k 2015-12-24 14:12:12 +00:00
jmcneill
cf0b2cc745 use "watchdog" clock if not defined in fdt 2015-12-24 12:47:38 +00:00
christos
9700ed8d5c rearrange... 2015-12-24 04:16:00 +00:00
knakahara
257075d266 fix amd64/conf/ALL build failure 2015-12-24 03:41:03 +00:00
knakahara
26cfaca81e fix the following softint parallel operation problem.
(0) softint handler "handler A" is established
(1) CPU#X does softint_schedule() for "handler A"
    - the softhand_t is set SOFTINT_PENDING flag
    - the softhand_t is NOT set SOFTINT_ACTIVE flag yet
(2) CPU#X begins other H/W interrupt processing
(3) CPU#Y does softint_disestablish() for "handler A"
    - waits until softhand_t's SOFTINT_ACTIVE of all CPUs is clear
    - the softhand_t is set not SOFTINT_ACTIVE but SOFTINT_PENDING,
      so CPU#Y does not wait
    - unset the function of "handler A"
(4) CPU#X does softint_execute()
    - the function of "handler A" is already clear, so panic
2015-12-24 02:27:14 +00:00
christos
11804462b9 fix whitespace 2015-12-24 01:41:27 +00:00
christos
e9e496746f fix comment, from kre 2015-12-24 01:41:19 +00:00
marty
ab4448fde0 XU4 GPIO Review Changes
Implement suggestions from Jared.
2015-12-24 01:10:51 +00:00
wiz
dde3b33e50 Mark as using c++ using LIBISCXX instead of manual workaround.
The workaround was confused when MKLLVM was set, but HAVE_LLVM was not.

Solution suggested by joerg.
2015-12-24 00:36:43 +00:00
christos
7c83b624ee We need to check if the inode is initialized for ffsv2 when we translate a
filehandle to a vnode. This can come from nfs and it could be out of range.
In that case we read garbage from the disk, end up trying to free bogus data
when we put the vnode back and we crash.
XXX: pullup-7
2015-12-23 23:31:28 +00:00
christos
63d557bad4 Use the original nfsd. 2015-12-23 18:42:23 +00:00
christos
813c1f3886 Rump-ify. 2015-12-23 18:41:54 +00:00
christos
b9bb57fc06 ggr, make debug static. I hate that the copy of this and the original
source has diverged so much!
2015-12-23 18:10:39 +00:00
christos
f0a61ce65f add get_net.c 2015-12-23 18:10:10 +00:00
christos
ce8e119589 Split out get_net function so that it is easily testable. Restore
functionality where 1.2.3/24 -> 1.2.3.0/24 not 1.2.0.3/24 now that
getaddrinfo(3) parses old-style incomplete dotted quads as old
style addresses.
2015-12-23 16:19:49 +00:00
jmcneill
e4e341b591 Implement OF_finddevice, now ofctl -p <path to node> works 2015-12-23 13:42:24 +00:00
jmcneill
8c6ade7fd1 get rid of HDAUDIO_FLAG_NO_STREAM_RESET hack 2015-12-23 12:45:06 +00:00
jmcneill
07ee0d855d HDAUDIO_FLAG_NO_STREAM_RESET hack no longer required 2015-12-23 12:44:06 +00:00
jmcneill
65ddbe033a fix divider calculations for hdmi, and treat clock ID 211 as pll_p_out0 instead of directly pll_p 2015-12-23 12:43:25 +00:00
jmcneill
72ca8a5122 explicitly set high cursor/winbuf address bits when setting modes 2015-12-23 11:58:10 +00:00
jmcneill
485e0c4047 fdtbus depends on clk 2015-12-23 11:31:45 +00:00
martin
266bbe8d78 David Binderman in PR 50578: fix resource leak in an error branch. 2015-12-23 10:56:29 +00:00
wiz
fca9124183 Hardcode some dates to make this more MKREPRO safe. 2015-12-23 10:43:35 +00:00
pgoyette
8094e0dce5 New files, in preparation for modularized version of raidframe driver.
(Driver changes to be committed on the weekend.)
2015-12-23 08:14:06 +00:00
christos
dd01c08e97 remove some stuff we don't have; rename rc command variable. 2015-12-23 04:38:00 +00:00
pgoyette
69c1560ae5 Revert previous 2015-12-23 00:13:57 +00:00
pgoyette
3139a51881 If we attempt to autoload a driver module, make sure we return an error
if it fails.  Otherwise we might end up calling a builtin-but-disabled
driver module and that can generate all sorts of issues...
2015-12-22 23:54:37 +00:00