Commit Graph

232296 Commits

Author SHA1 Message Date
macallan fa629718a1 appease nick 2014-12-23 18:48:52 +00:00
matt a7cfe46ea7 Default to armv7-a when building ODROID kernels so we get the armv7a
instructions.
2014-12-23 18:38:58 +00:00
christos 009d886c38 - consistently install symlinks (like we do for everything else)
- add missing debug libs
2014-12-23 17:50:42 +00:00
christos 931324ada5 - Don't install absolute symlinks
- Add missing debug symlinks
2014-12-23 17:49:59 +00:00
christos b33fe0486a - mesa_dri_drivers.so.0.debug is not obsolete for amd64
- kms_swrast_dri.so.0.debug was missing
2014-12-23 17:48:59 +00:00
macallan a32c0ca555 #include "opt_usb.h" 2014-12-23 16:20:06 +00:00
macallan 32904191a2 use separate debugging flag for interrupts 2014-12-23 16:17:39 +00:00
macallan 260e418f93 more debug defflag-ing 2014-12-23 16:16:49 +00:00
macallan a08011a1be wake up the USB ports before attaching dwctwo
now it finds a root hub
2014-12-23 16:16:03 +00:00
macallan 10ba91a874 yet more registers 2014-12-23 16:15:05 +00:00
joerg 7a390569d2 myasprintf (wtf) passes down a format string, so use __printflike. 2014-12-23 15:47:32 +00:00
macallan 2346a64152 establish interrupt
do some PHY setup, now the hardware actually responds
2014-12-23 15:13:30 +00:00
macallan 2efe8d8430 establish interrupt 2014-12-23 15:12:23 +00:00
macallan 7ede87f785 use defflag-ed debug options
enable USB clocks before attaching dwctwo
2014-12-23 15:11:05 +00:00
macallan 0233a409e7 use defflag-ed debug options 2014-12-23 15:09:13 +00:00
macallan 2ac0d5621f preliminary support for the interrupt controller
didn't get much testing yet
2014-12-23 15:08:25 +00:00
macallan 22dd42d692 use defflag-ed debug options 2014-12-23 15:07:33 +00:00
macallan 1b703f3512 set debug options
uncomment USB ( not functional yet but some hardware setup is done )
2014-12-23 15:06:01 +00:00
macallan bc8a6b8cf1 defflag debug options 2014-12-23 15:05:09 +00:00
macallan 28afb0c864 moar registers 2014-12-23 15:03:56 +00:00
jmcneill 732dd14843 get rid of extra newline at startup 2014-12-23 13:34:40 +00:00
justin 86336f8d9d Add mdconfig to rump listsrcdirs 2014-12-23 13:23:47 +00:00
mrg 7c9962e642 use __func__ in some debug messages. 2014-12-23 11:37:40 +00:00
msaitoh b1ff87d7fa Regen. 2014-12-23 10:55:35 +00:00
msaitoh f7d7ddc2bc Add some Intel 10/40G devices. 2014-12-23 10:55:09 +00:00
jmcneill 2c296d5db2 fix A20/A31 MP 2014-12-22 23:46:50 +00:00
dennis 261e2ee711 Remove note of hack around for riscv compiler problems with
atomics.  This seems to now be fixed.
2014-12-22 21:20:11 +00:00
dennis 298eb8b514 Apply a fix, extracted from the UCB RISC-V gcc sources, for the (known)
problems with compiling atomics for the riscv64 target with gcc.  Remove
the now-unneeded workarounds for the 2 files in libasan that were formerly
failing to compile with the optimizer turned on.
2014-12-22 21:15:48 +00:00
christos 8694ecf440 use symbolic constants (Kamil Rytarowski) 2014-12-22 18:09:20 +00:00
christos acfd168486 remove unused constants (Kamil Rytarowski) 2014-12-22 18:08:39 +00:00
wiz 6c377c63c7 Add clock(9) from Kamil Rytarowski. 2014-12-22 18:02:52 +00:00
christos 0f10d12f2f whitelist O_CLOEXEC flag, should fix lastlogin issue. 2014-12-22 17:01:42 +00:00
dennis 61933bb52e Move enough additional 'w' code into 'uptime' to keep the latter
from double-counting utmp users.
2014-12-22 15:24:14 +00:00
martin ca6af3dc0f Disabel fenv tests for arm, the implementation is incomplete. 2014-12-22 11:21:08 +00:00
nonaka 58634b7e37 pmap->pm_active and pmap->pm_onproc must be destroyed. 2014-12-22 11:11:34 +00:00
ozaki-r 4ad4b3a93d Call ether_input/m_freem without holding a lock or referencing unnecessary objects
When NET_MPSAFE on, a bridge tries to pass up a packet to Layer 3
(or call m_freem) with holding a lock or referencing unnecessary
objects. That causes random lock ups. The change fixes the issue.
2014-12-22 09:42:45 +00:00
manu 8ee430e576 Do not warn about relative path because of trailing slash
libpuffs calls realpath() to obtain an absolute path to use for mounting.
If the obtained path is different from the one given by the caller, a
warning is issued. This included the situation where the path passed by
the caller just have trailing slashes, a situation where we just want them
to be striped without a warning.
2014-12-22 08:16:21 +00:00
mrg 55e0969cef various clean ups for midi and sequencer:
midi specific:
- add reference counting for midi operations, and ensure that
  detach waits for other threads to complete before tearing
  down the device completely.
- in detach, halt midi callouts before destroying them
- re-check sc->dying after sleeping in midiread()
- in real_writebytes(), make sure we're open and not dying
- make sure we drop the interrupt lock before calling any code
  that may want to check thread locks.  this is now safe due to
  the above changes.

sequencer specific:
- avoid caching the midi softc in the sequencer softc.  instead,
  every time we want to use it, look it up again and make sure
  it still exists.


this fixes various crashes i've seen in the usb midi code when
detaching the umidi while it is active.
2014-12-22 07:02:22 +00:00
christos 8de392a9c0 avoid shadowing of recv. 2014-12-22 04:23:58 +00:00
christos 22b6c4fc55 avoid shadowing of log2 on some platforms. 2014-12-22 04:21:47 +00:00
jmcneill d8a2c87b34 read chip ID from SRAM ver reg on A80; the chip ID is 0x1639 2014-12-22 00:07:24 +00:00
mrg da22dd8a36 various umidi clean ups:
- move the contents of umidi{reg,var}.h into umidi.c directly as they
  are not referenced by any other file.
- remove the useless include of umidi{reg,var}.h from umidi_quirks.c.
- add reference counting and wait/broadcast support to the IO paths.
- fix the error handling in midi_attach() and midi_open().
- sprinkle KASSERT() in several places.
- drop the local interrupt lock before calling into various parts of
  the USB code.  fixes lockdebug issues, and likely hangs.
- rename "binded" member as "bound".

with these most of the panics and problems i've seen are gone.  there
is still one lockdebug panic to deal with that happens when unplugging
umidi while midiplay(1) is running.
2014-12-21 23:00:35 +00:00
mrg 6f79699102 fix the midi_if documentation to properly describe the locks that will
be held during various operations.
2014-12-21 22:21:03 +00:00
wiz 2eb17e07ec Use Nx. 2014-12-21 21:10:13 +00:00
christos e32b8a4e6c PR/49428: Travis Paul: Document x option. 2014-12-21 20:14:33 +00:00
jmcneill 9c012e8433 actually initialize mode.vdisplay 2014-12-21 18:36:05 +00:00
jmcneill 2f4075b12d enable awindebe, genfb, wsdisplay 2014-12-21 17:42:12 +00:00
jmcneill d5a4eb2324 add support for re-using a display mode setup by the bootloader 2014-12-21 17:40:59 +00:00
jmcneill 5811a62687 add A80 debe, tcon, hdmi, daudio 2014-12-21 17:40:17 +00:00
jmcneill 4d51f0cc03 add A80 R_DAUDIO irq 2014-12-21 17:38:47 +00:00