Commit Graph

197645 Commits

Author SHA1 Message Date
imp
a08374e360 Add device node for SDRAMC device. Currently just claims device's
resources.
2014-02-28 02:59:51 +00:00
imp
d25562aaf7 Add fdt binding for nand for Atmel parts. This does little more than
match the device. Pinctrl will need to be added before this will work,
in addition to migrating the current board_foo.c method of configuring
these pins to something else. Non-FDT systems won't be affected, yet.
2014-02-28 02:38:04 +00:00
markj
a7aada62d5 4478 dtrace_dof_maxsize is far too small
illumos/illumos-gate@d339a29bb4

PR:		187027
MFC after:	1 week
2014-02-28 02:04:41 +00:00
markj
e1cf3907f0 4478 dtrace_dof_maxsize is far too small
illumos/illumos-gate@d339a29bb4
2014-02-28 01:53:37 +00:00
imp
52a247ab30 Correct initial import script 2014-02-28 01:33:03 +00:00
imp
d6ec517004 Initial import of DTS files from Linux 2014-02-28 01:32:44 +00:00
imp
c6fbf5a85a Initial import of Linux/Vendor DTS files for various embedded boards. 2014-02-28 01:31:35 +00:00
ian
b9d85cb3a1 Add an armv7 implementation of cpu_sleep(). The arm11/armv6 implementation
we've been using was actually just spinning due to ARM having redefined
the old 'wait for interrupt' operation via the system coprocessor as a nop
and replacing it with a WFI instruction.
2014-02-28 00:41:55 +00:00
ian
b517c5faad Add some rudimentary voltage control to go with the rudimentary frequency
control.  If we have to scale back the frequency due to temperature, it
will help to lower the voltage as well.
2014-02-28 00:26:57 +00:00
ian
f029324d5b Supply a DELAY() implementation via weak linkage, so that SoC-specific
code can supply a better implementation.  A SoC with variable CPU frequency
is likely to use a fixed-frequency timer for DELAY() (but still use the
mpcore private timers as eventtimers).

Also remove spaces from the eventtimer and timecounter names.
2014-02-28 00:23:04 +00:00
ian
f1b5b23676 All our current ARM multi-core systems have all cores in one package with
a shared L2 cache, reflect that in the common cpu_topo() routine.
2014-02-28 00:17:03 +00:00
dim
38fa7d76e5 Pull in r202422 from upstream llvm trunk (by Roman Divacky):
Lower FNEG just like FABS to fneg[ds] and fmov[ds], thus avoiding
  expensive libcall. Also, Qp_neg is not implemented on at least
  FreeBSD. This is also what gcc is doing.
2014-02-27 23:17:00 +00:00
ian
67c7973b9f Initialize the Low Power Mode bits to keep the ARM cores running during WFI. 2014-02-27 22:55:33 +00:00
delphij
8d9721842c MFV r262570:
4626 libzfs memleak in zpool_in_use()

illumos/illumos-gate@fb13f48f1d

MFC after:	2 weeks
2014-02-27 21:50:46 +00:00
mav
42ee1c87f6 Restore SIM freeze/release match, broken at r253549.
This fixes problem with SIM left in frozen state after reinit, for example,
after firmware update.

MFC after:	1 week
2014-02-27 21:48:34 +00:00
brueffer
cf915d203f Add tws(4) to the hardware notes.
MFC after:	3 days
2014-02-27 21:47:20 +00:00
imp
db4b3717cf Move to dist, per layout standards 2014-02-27 21:46:31 +00:00
delphij
64e8417413 Get rid of the 'chan' from softc structure and use the latter
directly as sleep channel.

PR:		kern/174684
Submitted by:	jmg
MFC after:	2 weeks
2014-02-27 21:41:52 +00:00
brueffer
9f063680a1 Add missing includes and remove two unused ones.
Reviewed by:	loos
MFC after:	1 week
2014-02-27 21:01:10 +00:00
delphij
674c3fdb51 4626 libzfs memleak in zpool_in_use()
illumos/illumos-gate@fb13f48f1d
2014-02-27 20:00:26 +00:00
br
0b84389952 Do not setup interrupt handler (polling is used). 2014-02-27 18:13:07 +00:00
jilles
6891107e84 sh: Do not corrupt internal representation if LINENO inner expansion fails.
Example:
  f() { : ${LINENO+$((1/0))}; }
and call this function twice.
2014-02-27 16:54:43 +00:00
loos
4b7832497a Add geom_uncompress to the list of available geom modules on loader.conf.
Approved by:	adrian (mentor)
2014-02-27 13:31:54 +00:00
loos
d1171b1cee Fix a leftover of r260523. Remove the unnecessary dependency to zlib.h.
Approved by:	adrian (mentor)
2014-02-27 13:29:26 +00:00
loos
c23018483d Inspired by r262522, fix make depend. This fixes the build of gpio modules.
Approved by:	adrian (mentor)
2014-02-27 13:26:41 +00:00
des
1da073f26b We install the tool, so why not the man page?
MFC after:	3 days
2014-02-27 13:05:56 +00:00
hselasky
3e00ce691a Clear the knote list before destroying it.
Add seldrain() to wakeup any pollers.

Submitted by:	Kohji Okuno <okuno.kohji@jp.panasonic.com>
MFC after:	2 weeks
2014-02-27 12:11:43 +00:00
mav
252788294b Pass proper pointer to bus_dmamem_free() in mps_iocfacts_free().
Passing there pointer into the middle of allocated area caused kernel
panic during reinit, for example, after firmware upgrade.

MFC after:	1 week
2014-02-27 11:34:26 +00:00
br
ffacc2e731 Add driver for Inter-Integrated Circuit (I2C). 2014-02-27 09:59:15 +00:00
hselasky
d56f1a0d6d Add missing call to "knlist_destroy()".
Found by:	John-Mark Gurney <jmg@funkthat.com>
MFC after:	2 weeks
2014-02-27 09:15:58 +00:00
hselasky
64ee519d5d Add support for kqfilter to USB character devices.
Submitted by:	Kohji Okuno <okuno.kohji@jp.panasonic.com>
MFC after:	2 weeks
2014-02-27 08:57:37 +00:00
imp
41708e21b8 Don't complain about missing prototypes to ease bootstrap issues. 2014-02-27 08:21:28 +00:00
imp
5c6b8c9969 Style(9) nit: Use tab here. 2014-02-27 08:19:19 +00:00
jhibbits
5873400b7c Fix callchain capture for hwpmc(4). While here, some style(9) fixes, too.
MFC after:	2 weeks
2014-02-27 04:45:29 +00:00
bjk
72f229df57 syncer(4) is a kernel process, not a user process
Noticed by: Geoffrey Thomas <gthomas@mokafive.com>
Approved by:	hrs (mentor)
2014-02-27 04:06:34 +00:00
markj
b76098bbce Fix the struct reg mappings for i386 and amd64, which differ between illumos
and FreeBSD.

Submitted by:	Prashanth Kumar <pra_udupi@yahoo.co.in>
MFC after:	2 weeks
2014-02-27 01:24:47 +00:00
markj
451c3aecb6 Move some files that are identical on i386 and amd64 to an x86 subdirectory
rather than keeping duplicate copies.

Discussed with:	avg
MFC after:	1 week
2014-02-27 01:04:35 +00:00
eadler
65fff60055 I had some unrelated (wrong) changes to makewhatis. Undo them. 2014-02-27 00:52:34 +00:00
eadler
ea79ffcf4b linprocfs: add support for /sys/kernel/random/uuid
PR:		kern/186187
Submitted by:	Fernando <fernando.apesteguia@gmail.com>
MFC After:	2 weeks
2014-02-27 00:43:10 +00:00
dim
09b56e694e Merge from head up to r262536. 2014-02-26 22:26:40 +00:00
dim
7d90591117 Pull in r202179 from upstream clang trunk:
Pass the sparc architecture variant to the assembler.
2014-02-26 22:21:01 +00:00
dim
cf2831323c Pull in r202177 from upstream clang trunk (by Roman Divacky):
Give sparcv9 the ability to set the target cpu. Change it from
  accepting -march which doesnt exist on sparc gcc to -mcpu. While here
  adjust a few tests to not write an unused temporary file.
2014-02-26 22:18:33 +00:00
ian
6765240e8d Replace many pasted identical definitions of cpu_initclocks() with a common
implementation in arm/machdep.c.  Most arm platforms either don't need to
do anything, or just need to call the standard eventtimer init routines.
A generic implementation that does that is now provided via weak linkage.
Any platform that needs to do something different can provide a its own
implementation to override the generic one.
2014-02-26 22:06:10 +00:00
jilles
cd2fb30b68 sh: Make expari() static. 2014-02-26 21:38:42 +00:00
neel
040588f2e5 Document the "-a" and "-x" options to match the changes in r262236.
Reviewed by:	grehan
2014-02-26 19:14:54 +00:00
ian
509a9dbc3f Minor tweaks to the imx GPT timer...
- Don't use spaces or dots in the eventtimer or timecounter names.
   They turn into sysctl node names, and it's just confusing.
 - Use comparator #3 instead of #1 for one-shot events.  There's an
   extra 1-cycle penalty in the hardware for accessing the registers
   for comparator 1, no point in paying that penalty.
 - Lower the quality of the eventtimer from 1000 to 800, because the
   device can't support PERCPU timers and some other device in the system
   may be able to provide that.
2014-02-26 18:29:14 +00:00
des
8a82f5b94f MFV (r262529): fix is_upper() predicate
MFC after:	1 week
2014-02-26 17:14:02 +00:00
des
4baac54a79 Merge upstream r763: fix is_upper() predicate. 2014-02-26 17:06:54 +00:00
emaste
eaac5257ea Update LLDB snapshot to upstream r202189
Highlights include (upstream revs in parens):

- Improvements to the remote GDB protocol client
  (r196610, r197579, r197857, r200072, and others)

- Bug fixes for big-endian targets
  (r196808)

- Initial support for libdispatch (GCD) queues in the debuggee
  (r197190)

- Add "step-avoid-libraries" setting
  (r199943)

- IO subsystem improvements (including initial work on a curses gui)
  (r200263)

- Support hardware watchpoints on FreeBSD
  (r201706)

- Improved unwinding through hand-written assembly functions
  (r201839)

- Handle DW_TAG_unspecified_parameters for variadic functions
  (r202061)

- Fix Ctrl+C interrupting a running inferior process
  (r202086, r202154)

- Various bug fixes for memory leaks, LLDB segfaults, the C++ demangler,
  ELF core files, DWARF debug info, and others.

Sponsored by:	DARPA, AFRL
2014-02-26 16:09:54 +00:00
pho
af7c4f180d Added a regression test for r234131.
Discussed with:	 asomers
Sponsored by:	EMC / Isilon storage division
2014-02-26 09:08:25 +00:00