Commit Graph

251107 Commits

Author SHA1 Message Date
para 2c8d4f6106 pool_init does not copy its name argument
therefore don't pass in a stack allocated buffer

vmstat -mv shows pool(s) with broken name(s)

use the name argument passed into wqinput_create directly
which is a static string in all 4 callee cases

(workqueue_create/workqueue_init copies the name argument)
2017-06-02 19:10:19 +00:00
martin bdc5add69f Update to rawrite32 1.0.5 (new signatures to avoid scary windows
warnings)
2017-06-02 18:19:33 +00:00
abhinav e796b9d453 Fix typo 2017-06-02 17:42:51 +00:00
jmcneill ccba8120e3 Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this
kernel can be found in the sysutils/dtb-arm-vexpress package as
vexpress-v2p-ca15-tc1.dtb
2017-06-02 15:22:47 +00:00
jmcneill 636d239ab9 gpiokeys depends on sysmon_envsys and sysmon_power 2017-06-02 15:09:16 +00:00
jmcneill 1f383b3950 Add fdt glue for ARM PrimeCell UART (PL011). 2017-06-02 14:30:58 +00:00
jmcneill faf8273e90 Allow platform code to specify the UART frequency for consinit 2017-06-02 13:53:28 +00:00
jmcneill e9d9683705 Fix interrupt-map support on vexpress-a15 and try to avoid unnecessary
calls to kmem_alloc.
2017-06-02 13:12:33 +00:00
jmcneill 0bd802df72 Add fdt glue for ARM PrimeCell Multimedia Card Interface (MMCI). 2017-06-02 11:04:01 +00:00
jmcneill 4060e118b0 Separate clock frequency from maximum supported bus frequency. 2017-06-02 11:01:15 +00:00
jmcneill 5e4a054956 Add fdt glue for SMSC LAN9118 ethernet. 2017-06-02 10:46:07 +00:00
knakahara 6623cb2c35 rename crypto_mtx to cryptodev_mtx
It is used by cryptodev.c and ocryptodev.c only.
2017-06-02 09:46:57 +00:00
msaitoh 11e4957659 - Print NVM Image Version, PHY FW Revision, NVM Map version and OEM NVM
Image version
- s/TrackID/ETrackID/
2017-06-02 08:16:52 +00:00
ozaki-r 4ce45a7981 Assert inph_locked on ipsec_pcb_skip_ipsec (was IPSEC_PCB_SKIP_IPSEC)
The assertion confirms SP caches are accessed under inph lock (solock).
2017-06-02 03:41:20 +00:00
ozaki-r a11fe34388 Rename IPSEC_PCBHINT_MAYBE to IPSEC_PCBHINT_UNKNOWN
MAYBE is maybe unclear.
2017-06-02 03:39:28 +00:00
ozaki-r e808b63b2d Get rid of redundant NULL check (NFC) 2017-06-02 03:34:10 +00:00
ozaki-r 401fa112b3 Tweak header file inclusions 2017-06-02 03:32:51 +00:00
kre f0acc68ec6 Add a new test case "nested_arith" (that is, things like $(( 1 + $(( 2 )) ))
which will currently fail (some of the sub-tests, but this one stops on
first failure, so the test simply fails.)  This will be corrected later today.
2017-06-02 01:50:48 +00:00
kre 3782bd48c9 Add 3 new subtests to the shell_params test case. These test currently
broken behaviour (so for now, 3 of 15 subtests will fail).   This will
be corrected later today.
2017-06-02 01:48:13 +00:00
kre 06627d31e7 One more weird test of parsing (and correctly understanding) words
whose meaning is defined entirely by context.

For those who read commit messages, and want a (small) challenge,
work out where (and what) to insert as punctuation/operator chars
in the following to produce 3 ines of output, and what those will be:

	for in in in do in do case in in in echo do do echo in esac done

(There are no comments, quotes of any kind, or any kind of sub-shell,
including cmd substitutions)  With correct non alpha-numeric chars added,
it works.
2017-06-02 01:45:06 +00:00
kre bdbf3d66ba Guard against EVN being set, and possibly referencing an unset
variable, when we are running tests with sh -u
2017-06-02 01:38:44 +00:00
ozaki-r 243e38c0a1 Change the prefix of function names of SADB API handlers to key_api_
By doing so we can easily distinguish them from other utility functions.
And so we can easily know that they are all called from key_parse and
applied assumptions that the arguments are always non-NULL and they
are always called from userland, i.e., never called from interrupt
context (softint). As a result, we can omit some tedious assertions
in the functions.
2017-06-02 01:22:50 +00:00
ozaki-r 56383415f1 Add IPSEC_KEY_DEBUG
Enable the debugging feature of IPsec key (sysctl net.key.debug)
on rump kernels if the ATF test is run with IPSEC_KEY_DEBUG=true.
2017-06-02 01:18:51 +00:00
jmcneill 1fe21ada46 The "ranges" property provides a means of translating between the
address space of a bus and the address space of the bus node's parent.
Translate addresses using these rules in fdtbus_get_reg{,64}.
2017-06-02 01:07:53 +00:00
jmcneill 35bef7bd3d Rewrite interrupt-map support based on ePAPR spec. 2017-06-02 00:55:26 +00:00
chs ffb3d80455 localcount_init() can't fail because percpu_alloc() can't fail.
remove the check and change the return type to void.
2017-06-02 00:32:12 +00:00
jmcneill 2a1124ac80 FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.
2017-06-02 00:16:27 +00:00
jmcneill b7a940d982 Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.
2017-06-02 00:09:56 +00:00
jmcneill ffb2c722ea Allow devices to attach to cpu devices 2017-06-02 00:01:00 +00:00
jmcneill f180d8b138 Configure IRQ for active high polarity, push-pull driver. 2017-06-01 17:01:18 +00:00
jmcneill 7a1bfe1520 Add flags to control IRQ polarity and buffer type. These can be set by
the bus glue to switch to active high and/or push-pull configurations.
2017-06-01 16:59:20 +00:00
jmcneill 29dd01c1ca The sdmmc layer will send single requests up to MAXPHYS (65536) in size.
The length field on PL180/PL181 is 16-bit, and can only support up to
65535 byte transfers.

Workaround this for now by setting the SMC_CAPS_SINGLE_ONLY flag to only
do single block (512-byte) transfers. While here set SMC_CAPS_4BIT_MODE
as well.
2017-06-01 16:57:12 +00:00
perseant d4f6523beb Add tests for btowc(3)/wctob(3) and enable compilation of the test for
digittoint(3).

The digittoint(3) test is skipped since we don't provide that function yet.

One of the test cases for btowc(3) is also skipped, since it tests conversion
to Unicode---whereas our wchar_t representation is locale-dependent.
2017-06-01 15:45:02 +00:00
pgoyette 478585ac27 Update sets lists for new modules 2017-06-01 09:59:13 +00:00
pgoyette 1e50c1dc0e Add the modules for audio, midi, and sequencer 2017-06-01 09:58:27 +00:00
ozaki-r ab52e45ac5 Simplify; we can assume the arguments are always non-NULL 2017-06-01 09:50:35 +00:00
pgoyette ab66491cc5 Add infrastructure for modularization of audio, midi, and sequencer 2017-06-01 09:44:30 +00:00
knakahara 993fdeeca1 swcrypto0 was initialized twice. Fix like pseudo network interfaces.
ok by pgoyette@n.o.
2017-06-01 08:49:35 +00:00
ozaki-r 946f090610 Test TCP communications over IPsec transport mode with ESP or AH
This tests SP caches of PCB.
2017-06-01 03:56:47 +00:00
ozaki-r 8504d69233 Remove a unused local variable 2017-06-01 03:51:47 +00:00
ozaki-r e59c7bb717 Return a return value of key_senderror as usual 2017-06-01 03:51:08 +00:00
chs fd34ea77eb remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
2017-06-01 02:45:05 +00:00
maya f884dce8b6 Omit mention of a script that doesn't actually exist anywhere
pointed out by xmj, thanks
2017-06-01 02:03:07 +00:00
chs 1f0e167178 vmem_alloc() with VM_SLEEP cannot fail, so percpu_alloc() cannot fail either. 2017-05-31 23:54:17 +00:00
chs c85613c074 assert that vmem_alloc() with VM_SLEEP does not fail. 2017-05-31 23:53:30 +00:00
maya f4f257830c Don't prefix include guards by _, suggested by riastradh 2017-05-31 22:02:06 +00:00
maya 42fe4e0ac7 The previous change might actually be less generic.
prepend by _MAKE, to be sure.
2017-05-31 21:15:47 +00:00
maya 0de6456123 Use less generic include guards 2017-05-31 21:07:03 +00:00
christos 79e2355ab8 Adjust to prototype. 2017-05-31 17:56:00 +00:00
kre fb5aa4f691 And now do what 1.128 should have done, and put back the (now re-)used
variable that had earlier been deleted, when it's use was removed in
1.126, but wasn't restored in 1.127.
2017-05-31 14:41:07 +00:00