236073 Commits

Author SHA1 Message Date
matt
30cfeea882 Don't .set mips3 if we are >= mips3 already
Use dins if we have it rather than two shifts.
2015-06-04 05:58:17 +00:00
martin
dbff044260 Cosmetics: simplify MKCOMPAT default settings 2015-06-04 05:56:23 +00:00
matt
0b039635ea Add a verbose message when booting secondary cpus.
Fix octeon cpu_info_alloc
2015-06-04 05:32:05 +00:00
matt
87864334a1 Fix J/JAL address calculation to not throw the top 32-bits. 2015-06-04 05:23:40 +00:00
matt
a48618d72c minor constification 2015-06-04 05:22:10 +00:00
matt
461aac584c If booting a MULTIPROCESSOR kernel, use the llsc atomic primitives 2015-06-04 05:21:09 +00:00
matt
ca3785c328 Use syncw on OCTEON 2015-06-04 02:28:06 +00:00
matt
16d5806089 Use ei/di on mipsNNr2 where possible. 2015-06-04 02:27:25 +00:00
matt
1c685487f4 Add a lot of missing mipsNNr2 instruction + cavium specific instructions. 2015-06-04 02:26:49 +00:00
pgoyette
cadd54e581 Fix typo - from Kamil Rytarowski 2015-06-04 01:58:30 +00:00
rmind
d6bf72e999 npfctl: fix the from/to port mess up when showing the rules. 2015-06-03 23:36:05 +00:00
enami
aeb1240e20 Fix expand() to process successive escape sequences correctly. 2015-06-03 23:15:22 +00:00
pgoyette
5ff76cc8e2 Add some additional cat pages that are generated by the MKCATPAGES
build option.

Pointed out by Kamil Rytarowski on current-users@
2015-06-03 23:09:49 +00:00
matt
8a05251ba0 Save a few instructions and use ei on mipsNNr2. 2015-06-03 17:55:26 +00:00
martin
80e8cba3b7 Make querying the disk geometry fail silently if called for a non-exitent
disk.
XXX: DIOCGDISKINFO returns strange error codes
2015-06-03 17:53:23 +00:00
christos
7919272009 remove interface example from remote config. 2015-06-03 15:13:15 +00:00
christos
0f0c1e0113 dissallow interface spec in remote config (since we check against the remote
address, it does not make sense).
2015-06-03 15:11:40 +00:00
christos
5b656e8273 prefer our gettext version 2015-06-03 14:42:51 +00:00
pooka
65a710860e Add a "default" alias for RUMP_NBCOMPAT, in case "default" and "all"
stop being the same thing in the future.
2015-06-03 14:40:11 +00:00
wiz
9424727910 Add missing .El and other minor fixes. 2015-06-03 14:38:38 +00:00
christos
c3b6f86ce5 Add a gettext implementation from William Orr. 2015-06-03 14:32:16 +00:00
manu
4c4ecb7844 Fix dot-lookup when readdir does not provide inodes
Some filesystems do not provide inode numbers through readdir (FUSE mounts
without -o use_ino). We therefore have to lookup each directory entry to
get the missing numbers.

dot and double-dot are exceptions, as we already know the values. Moreover,
the lookup code does not expect to get requests for dot and will abort
perfused(8) when it gets some. In order to fix that, we just check for
dot and double-dot special case and use the known values instead of sending
a lookup.
2015-06-03 14:07:05 +00:00
pooka
9322d6a704 add rump kernel component for the auich driver
contributed by Robert Millan <rmh@freebsd.org> via private email
2015-06-03 14:06:19 +00:00
pooka
439ccf317e implement bus_dmamem_free()
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-06-03 13:55:42 +00:00
pooka
64f1a6830b Demand that rumpcomp_userfeatures_pci.h is available for providing
information about the hypercall interface implementation.
2015-06-03 13:43:23 +00:00
pooka
57bf183be4 Rework how the external hypercalls are specified, more in the direction of
something general.  I'm not sure if it's entirely general yet (since PCI
is the only place to use it), but at least a step in the right direction.
2015-06-03 13:41:56 +00:00
martin
de7496de88 Include <sys/socketvar.h> for softnet_lock. 2015-06-03 13:06:26 +00:00
skrll
3d98d1434c Oops fix PBASE for non-A80 2015-06-03 12:22:41 +00:00
skrll
403f56e25b Use arm_dmb. No functional change 2015-06-03 11:43:18 +00:00
skrll
86356fc64e AWIN_SDRAM_PBASE is actually 0x20000000 2015-06-03 11:38:33 +00:00
pooka
7a8f766478 Add "all" and "none" as acceptable RUMP_NBCOMPAT value aliases to
undefined and empty, respectively.
2015-06-03 10:49:14 +00:00
pooka
f70d97a184 Annual update of deleting one entry. At this rate the TODO will be
empty in 2038!
2015-06-03 10:23:08 +00:00
jmcneill
731c66cc7d Add kernel config for Olimex A20-OLinuXino-LIME2 2015-06-03 10:01:56 +00:00
jmcneill
684275fceb Olimex A20-OLinuXino-LIME2 support, from Greg Willatt <gpw26@mrao.cam.ac.uk> 2015-06-03 10:01:32 +00:00
joerg
9f6289a4f6 Fix typo in PPC macro. 2015-06-03 10:00:55 +00:00
hsuenaga
b2a4d4f392 add kernel config of if_mvxpe(new ethernet) and mvxpsec(new cryptographic).
still disabled by default. I need to do more test...
2015-06-03 04:31:46 +00:00
hsuenaga
1a8031e111 add new cryptographic accelerator driver 'mvxpsec.'
this driver controls CESA unit as same as mvcesa, but uses DMA engines and
does CBC operations, HMAC operations by hardware. about 2 kbytes of data
are processed at one. supported algorithms are:

 - DES-CBC, 3DES-CBC, AES-CBC
 - HMAC-SHA1, HMAC-MD5

non-CBC algorithm such as AES-GCM is not supported by CESA's acceleration
engine. mvcesa is still useful to implement such algorithms as combination of
accelerated block cipher and software chaining.
2015-06-03 04:20:02 +00:00
hsuenaga
149ad0c83b reduce magic numbers. SDRAM address space attribute register has cache coherency
control bits. this bit is important for AURORA_IO_CACHE_COHERENCY.
2015-06-03 04:00:06 +00:00
hsuenaga
ea5bc4c33e separate buffer management codes 'mvxpbm.c' from if_mvxpe.c.
the buffer management(ex. fill the rx descriptors/buffers) is done by H/W in
ARMADA XP/380, and is done by S/W in ARMADA 370. the H/W BM support is not yet
implemented, so all devices use the S/W management mode at this time.
2015-06-03 03:55:47 +00:00
hsuenaga
9400e05df8 move Marvell ARMADA SoC's device driver definitions from arm/marvell
to dev/marvell.
2015-06-03 03:34:38 +00:00
hsuenaga
7d6cdecd7e initialize ARMADA XP's Mbus address decoder and code clean up
probably we need more sophisticated Mbus driver or KPI...
2015-06-03 03:25:51 +00:00
hsuenaga
761e6dbd62 dump Mbus settins on boot if AV_VERBOSE or AV_DEBUG is enabled. 2015-06-03 03:04:21 +00:00
hsuenaga
4a166ec266 add ARMADA XP's Soc internal bus(Mbus) address decoder initialization function.
some versions of u-boot initializes the address decoder incorrectly(probably
these values are come from Kirkwood SoC or older.) the codes generates
SoC's default address spaces and some modifications for NetBSD's assumption.

add error interrupt definitions, interrupt name strings for 'vmstat -e',
verbose output of Mbus settings for such low-level debugging of SoC.
2015-06-03 02:53:19 +00:00
hsuenaga
6a90cab23e initialize sdcache operations for PJ4B.
otherwise the kernel crashes without 'options L2CACHE_ENABLE.'
2015-06-03 02:30:11 +00:00
hsuenaga
99a3c13a27 Obtain softnet_lock before entering IP networking stack from gif software
interrupt.
2015-06-03 02:17:51 +00:00
christos
acb599fdb6 Strip the debug symbols via a temporary file, atomically replacing the full
random access archive to avoid races.
2015-06-02 23:00:25 +00:00
snj
9106b578b7 prune bogus comma from Nm args 2015-06-02 21:03:46 +00:00
christos
7d0f8c792d restore address length before printing. 2015-06-02 20:52:00 +00:00
christos
14ccb7c1cc remove duplicate declaration 2015-06-02 15:36:45 +00:00
christos
0804279dff Adjust API to a more modern readline (Ryo Onodera) 2015-06-02 15:35:31 +00:00