rmacklem
dc4905f459
Remove the old NFS client and server from head,
...
which means that the NFSCLIENT and NFSSERVER
kernel options will no longer work. This commit
only removes the kernel components. Removal of
unused code in the user utilities will be done
later. This commit does not include an addition
to UPDATING, but that will be committed in a
few minutes.
Discussed on: freebsd-fs
2014-12-23 00:47:46 +00:00
loos
6e107d58e3
Remove some leftovers from OMAP3 support.
2014-12-22 16:29:15 +00:00
loos
922c7aafd7
Simplify the use of locks where possible, remove the locking when it is not
...
required.
Simplify the code a little bit.
Reviewed by: andrew (previous version)
2014-12-22 16:12:55 +00:00
ian
b0e38c1022
Replace the clock divisor terms with values that also result in a 1 MHz
...
clock, but actually work on real hardware, unlike the original set of
values I chose.
PR: 195009
Submitted by: Scott Ellis <jumpnowtek@gmail.com>
2014-12-22 00:50:01 +00:00
ian
4fe84e7e6c
Add -march=armv7a to the kernel compile for all ARM systems which are v7a.
...
Submitted by: Michal Meloun <meloun@miracle.cz>
2014-12-21 23:48:32 +00:00
andrew
3950b58647
Fix the unwinder to get past functions with no stack but may cause an
...
exception. In this case no registers will be updated but the link register
will be copied to the program counter to be used to find the calling
function. In this case the program counter may be updated and we should
continue with the trace.
2014-12-21 21:38:12 +00:00
andrew
d9cef61ec2
Pull out the fdt mapping code into intr.c. The arm_intrng branch also
...
defines this function allowing the mapping method to change when we move
to it.
2014-12-21 21:27:12 +00:00
ian
147cc19bb7
Eliminate a redundant declaration.
2014-12-21 21:23:53 +00:00
ian
cf023dc91d
Remove a volatile qualifier on return type that is ignored and results in
...
a -Wreturn-type warning when compiled with gcc.
2014-12-21 21:11:54 +00:00
andrew
b3cb39f709
Further reduce the diff between the arm_intrng gic driver and the version
...
in head.
2014-12-21 17:25:21 +00:00
andrew
d30ba58918
Reduce the diff between the lpc interrupt controller in head and arm_intrng
2014-12-21 16:59:41 +00:00
andrew
3b21070a36
Reduce the diff in the Ti aintc between head and arm_intrng
2014-12-21 16:48:57 +00:00
andrew
fa36c9abf0
Reduce the diff between head and arm_intrng with the bcm2835 interrupt
...
controller.
2014-12-21 16:35:42 +00:00
andrew
86c28c2515
Reduce the diff to the arm_intrng project branch by having the read/write
...
macros take the softc they are accessing.
2014-12-21 16:21:56 +00:00
andrew
811e82813c
Fix the indentation to simplify comparing the ARM config files.
2014-12-21 11:55:40 +00:00
andrew
1a9a1211e3
tart to clean up the armv6 kernel configs by reducing the diff between
...
them in the first sections and the later FDT support.
Differential Revision: https://reviews.freebsd.org/D1346
Reviewed by: rpaulo (earlier version)
2014-12-21 11:37:00 +00:00
rpaulo
d78172d28f
Driver for CPU frequency/voltage control on the Raspberry Pi.
...
Differential Revision: https://reviews.freebsd.org/D1025
Submitted by: Daisuke Aoyama aoyama@peach.ne.jp
Reviewed by: ian (earlier version), rpaulo
MFC after: 1 month
Relnotes: yes
2014-12-20 19:15:10 +00:00
andrew
4ae61b139e
Clean up the style of the CUBIEBOARD2 config file
2014-12-20 18:42:20 +00:00
andrew
32f3706a69
Clean up to use the standard style of "options \t" and "device\t\t"
2014-12-20 18:15:23 +00:00
ian
7814dfac2f
Add a new sdhci quirk, SDHCI_QUIRK_WAITFOR_RESET_ASSERTED, to work around
...
TI OMAP controllers which will return the reset-in-progress bit as zero if
you read the status register too fast after setting the reset bit.
The zero is apparently from a stale snapshot of the internal state presented
in the interface register, and leads to a false indication that the reset
is complete when it either hasn't started yet or is in-progress. The
workaround is to first loop until the bit is seen as asserted, then do the
normal loop waiting to see it de-asserted.
Submitted by: Michal Meloun <meloun@miracle.cz>
2014-12-20 01:13:13 +00:00
ian
c3d000169b
Rewrap long lines; no functional changes.
...
Submitted by: Michal Meloun <meloun@miracle.cz>
2014-12-19 23:24:54 +00:00
ian
e666523a3e
Add code to set and reset open-drain mode on the bus when requested.
...
Submitted by: Michal Meloun <meloun@miracle.cz>
2014-12-19 23:13:46 +00:00
br
4b27a87b84
Fix typo.
2014-12-15 12:15:18 +00:00
br
3c08ea0611
Follow r275792 eliminating fdt_data_verify().
2014-12-15 11:57:39 +00:00
ian
8f2224905c
Fix the watchdog timeout calculation to prevent wrap. The RPi hardware
...
can't do a timeout bigger than 15 seconds. The code wasn't checking for
this and because bitmasking was involved the requested timeout was
basically adjusted modulo-16. That led to things like a 128 second
timeout actually being a 9 second timeout, which accidentally worked fine
until watchdogd was changed to only pet the dog once every 10 seconds.
2014-12-10 04:54:43 +00:00
br
b236515e57
o Add BERI Virtio Networking Frontend (if_vtbe)
...
o Move similar block/networking methods to common file
o Follow r275640 and correct MMIO registers width
o Pass value to MMIO platform_note method.
Sponsored by: DARPA, AFRL
2014-12-09 16:39:21 +00:00
andrew
4d4320d537
Include sys/kernel.h to pick up the definition of hz. subr_syscall.c uses
...
it after r275616.
X-MFC with: r275616
2014-12-09 10:21:31 +00:00
zbb
be64c52822
Fix buffer overflow in Marvell PCI/PCIe driver
...
Buffer overflow occured when more than one MSI was allocated.
Submitted by: Wojciech Macek <wma@semihalf.com>
Obtained from: Semihalf
2014-12-07 21:02:45 +00:00
andrew
876738c744
Use the unified syntax when generating assembly for clang. The clang 3.5
...
integrated assembler only accepts it.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-06 11:59:35 +00:00
andrew
c1ae279650
Switch to a .cpu directive. These will work when clang 3.5 is imported
...
where the .arch directive is a nop.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:23:51 +00:00
andrew
b30233c8b9
Switch to an armv6k cpu, without this clang 3.5 complains "bx lr" is
...
unsupported as it needs a newer cpu.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:19:17 +00:00
andrew
9282442391
Place the literal pool after a RET otherwise clang 3.5 tries to put it too
...
far away from a ldr psuedo instruction. With this clang will place the
literal value here where it's close enough to be loaded.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:14:05 +00:00
andrew
9c539f3dab
Set the alignment to 4-bytes after a string as clang 3.5 can switch to
...
thumb mode if this is incorrect.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:11:25 +00:00
andrew
a0c22b9f10
Use the unified syntax in a few more assembly files
...
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:08:36 +00:00
andrew
c8144eca01
Add missing END macros to some of the xscale functions.
...
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-05 19:04:08 +00:00
andrew
b7064605f4
Switch to unified syntax so these can be built with clang 3.5.
...
MFC after: 1 week
Sponsored by: ABT Systems Ltd
2014-12-02 18:37:04 +00:00
andrew
eb2b82c507
Use the APSR_nzcv format of mrc. The clang integrated assembler doesn't
...
support the old usage of r15.
Sponsored by: ABT Systems Ltd
2014-12-02 18:35:34 +00:00
andrew
42bfaca3f8
Fix the name of the coprocessor to include the "p" prefix, the clang
...
integrated assembler expects this.
MFC after: 1 Week
Sponsored by: ABT Systems Ltd
2014-12-02 18:20:53 +00:00
andrew
a51bf776e5
Pull in the NetBSD global offset table handling code. Clang 3.5 creates
...
relocations the linker complains about.
Obtained from: NetBSD
MFC after: 1 Week
2014-12-01 21:04:26 +00:00
rpaulo
52b859da5f
Allow multiple devices to mmap. It's impossible to prevent this with
...
checks on the open/close functions.
MFC after: 1 week
2014-12-01 19:48:23 +00:00
andrew
45f9f39749
Correctly a few incorrect uses of ENTRY/EENTRY and END/EEND
...
Sponsored by: ABT Systems Ltd
2014-11-30 12:25:04 +00:00
andrew
1409e27fc7
Remove extra labels, ENTRY_NP already provides them.
...
Sponsored by: ABT Systems Ltd
2014-11-30 12:20:24 +00:00
andrew
443d4e8f9b
Update _ENTRY to use _EENTRY to reduce the common code.
2014-11-29 19:31:23 +00:00
andrew
6c403c8a16
Some device tree configurations place the generic timer under the root
...
of the tree and not under simplebus. Update the driver to handle this.
Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week
2014-11-28 11:49:26 +00:00
andrew
c4cd8cf0ef
We don't use the hypervisor interrupt, make it optional in the device tree.
...
Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week
2014-11-28 11:45:53 +00:00
br
bd01596633
Add new devices to the config.
2014-11-25 16:24:31 +00:00
br
58f9305267
o Add PIO and vtblk mmio device info to the tree
...
o Add FPGA memory window to static dev mappings
o Fix whitespace
2014-11-25 16:06:19 +00:00
emaste
fda27c9937
Revert r274772: it is not valid on MIPS
...
Reported by: sbruno
2014-11-25 03:50:31 +00:00
ian
c08cf8d671
The arm PJ4B cpu is armv7 architecture, not v6.
...
If this feels like deja vu... the last time this was fixed in this file
only ARM_MMU_V6 was fixed, this time it's ARM_ARCH_V6 (and this time I
searched for other occurrances of pj4b in here).
2014-11-24 01:13:58 +00:00
ian
2cb1b07d69
When doing a PREREAD sync of an mbuf-type dma buffer, do a writeback of
...
the first cacheline if the buffer start address is not on a cacheline
boundary. Normally a buffer which is not cacheline-aligned is bounced,
but a special rule applies for mbufs, which are always misaligned due to
the header. We know the cpu will not write to the header while dma is in
progress (so we've been told anyway), but it may have written to the
header shortly before starting a read, so we need to flush that write out
to memory before invalidating the whole buffer.
In collaboration with Mical Meloun and Svata Kraus.
2014-11-22 03:03:11 +00:00