summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* various formating fixes, use NUL for NUL bytes..jmg2014-03-091-29/+37
| | | | | | | | | | | | | | | drop out dated perf numbers (can't imagine people are still running Pentium MMX 166's anymore)... bump date... drop max length of salt of 8 since _PASSWORD_LEN is now large, 128.. and state the max length of the salt depends upon the module, sha-{256,512} have a max salt of 16.. recommend 8 characters of salt instead of just 2... MFC after: 1 week
* Remove all dregs of a per-thread undefined-exception-mode stack. This isian2014-03-096-36/+2
| | | | | | | | | | | | | | | | | | a leftover from the days when a low-level debugger had hooks in the undefined exception vector and needed stack space to function. These days it effectively isn't used because we switch immediately to the svc32 mode stack on exception entry. For that, the single undef mode stack per core that gets set up at init time works fine. The stack wasn't necessary but it was harmful, because the space for it was carved out of the normal per-thread svc32 stack, in effect cutting that 8K stack in half. If svc32 mode used more than 4k of stack space it wandered down into the undef mode stack, and then an undef exception would overwrite a couple words on the stack while switching to svc32 mode, corrupting the scv32 stack. Having another stack abut the bottom of the svc32 stack also effectively mooted the guard page below the stack. This work is based on analysis and patches submitted by Juergen Weiss.
* Rework the VFP code that handles demand-based save and restore of state.ian2014-03-095-164/+102
| | | | | | | | | | | | | | | | | | | The old code was full of complexity that would only matter if the kernel itself used the VFP hardware. Now that's reduced to either killing the userland process or panicking the kernel on an illegal VFP instruction. This removes most of the complexity from the assembler code, reducing it to just calling the save code if the outgoing thread used the VFP. The routine that stores the VFP state now takes a flag that indicates whether the hardware should be disabled after saving state. Right now it always is, but this makes the code ready to be used by get/set_mcontext() (doing so will be addressed in a future commit). Remove the arm-specific pc_vfpcthread from struct pcpu and use the MI field pc_fpcurthread instead. Reviewed by: cognet
* Remove bogus define that causes compile errors. Most of the definesimp2014-03-091-1/+0
| | | | | for SAM9X are going away soonish anyway (once FDT works), but until then...
* Fix panic "_mtx_lock_sleep: recursed on non-recursive mutex ttymtx" caused whenneel2014-03-091-2/+1
| | | | | acquiring the tty lock in bvm_tty_close(). Instead just assert that the tty lock is held before calling callout_reset().
* Update board definition for WANDBOARD-QUAD to match crochet.gjb2014-03-091-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Follow r262916 with one more config file that references a renamed common.cian2014-03-091-1/+1
|
* install: Use posix_spawnp() for starting strip and improve error messages.jilles2014-03-081-20/+29
|
* Back out r262921. I don't know what I was thinking, but it is lame.imp2014-03-081-1/+1
|
* sh: Successfully do nothing when killing a terminated job.jilles2014-03-084-2/+19
| | | | | | If a job has terminated but is still known, silently do nothing when using the kill builtin with the job specifier. Formerly, the shell called kill() with the process group ID that might have been reused.
* Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().rpaulo2014-03-081-3/+4
| | | | MFC after: 3 days
* Fix another bug in multicast filtering. i.MX uses 6 bits from MSB inhrs2014-03-081-2/+3
| | | | | | | LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32. Tested by: Takanori Sawada PR: arm/187179
* Move AIC related stuff to own file.imp2014-03-088-66/+203
|
* Properly round on unmapping.imp2014-03-081-1/+5
|
* Make at91_soc_id() public.imp2014-03-082-1/+2
|
* Set the baud rate if it isn't 0 (meaning it has been specified) notimp2014-03-081-1/+1
| | | | | only if it is 0 (meaning that it hasn't been specified and is likely to turn off the UART's transmitter).
* Make clock optional on uart nodes. It is a FreeBSD-specific extention,imp2014-03-081-1/+4
| | | | and won't be present in vendor supplied dts files.
* Add commented out dts for sam9260ek as well as early printf support.imp2014-03-081-0/+10
|
* Initial cut for DTS on the hl201 board.imp2014-03-081-0/+44
|
* - Make runq_steal_from more aggressive. Previously it would examine onlyjeff2014-03-081-16/+11
| | | | | | | | | | | a single priority queue. If that queue had a thread or threads which could not be migrated we would fail to steal load. This could cause starvation in situations where cores are idle. Submitted by: Doug Kilpatrick <dkilpatrick@isilon.com> Tested by: pho Reviewed by: mav Sponsored by: EMC / Isilon Storage Division
* Move all the files named foo/common.c to foo/foo_common.c, asimp2014-03-0820-16/+16
| | | | | | appropriate for each of the 'foo' in the tree. This will allow us to compile them together (although symbol conflicts prevent us from doing that today, this just fixes the file name collision).
* Partial revert of change 262914. I screwed up subversion syntax withasomers2014-03-073-40/+43
| | | | | | | | | | perforce syntax and committed some unrelated files. Only devd files should've been committed. Reported by: imp Pointy hat to: asomers MFC after: 3 weeks X-MFC-With: r262914
* sbin/devd/devd.8asomers2014-03-075-56/+59
| | | | | | | | | | sbin/devd/devd.cc Add a -q flag to devd that will suppress syslog logging at LOG_NOTICE or below. Requested by: ian@ and imp@ MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* cddl/contrib/opensolaris/lib/libuutil/common/uu_avl.casomers2014-03-071-0/+1
| | | | | | | | | Fix a memory leak in uu_avl_pool_create: pthread_mutex_init without a corresponding pthread_mutex_destroy. It shows up, among other places, when doing "zfs list". MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* Take a group name on the command-line if available.dteske2014-03-071-0/+8
|
* Fix copy/paste error in a comment.dteske2014-03-071-1/+1
|
* Change dipatch words from group* to *Group to backward compatible withdteske2014-03-071-3/+3
| | | | ye-olden sysinstall(8).
* Strip arm/conf/DEFAULTS down to just items that are mandatory for runningian2014-03-0747-5/+139
| | | | | | | the architecture. Move the other contents into each of the individual config files. Requested by: imp
* Rewrite groupmgmt -- hooking it into the scripting system with dispatchdteske2014-03-0711-440/+827
| | | | | commands groupAdd, groupDelete, and groupEdit. Getting rid of the awkward- to-use `groupinput' bolt-on which Ron and I talked about rewriting.
* Fix the arm sys_sigreturn(): its argument is a struct ucontext, not aian2014-03-073-7/+8
| | | | | | | | | | | | | | struct sigframe containing the struct ucontext. The signal trampoline return code on the other hand DOES have just a struct sigframe on the stack to work with, so have it get a pointer to the ucontext out of there to pass along to sys_sigreturn. In other words, make everything work right whether sys_sigreturn is invoked from the trampoline or from userland code calling sigreturn(2). Submitted by: Takashi Komatsu <komatsu.taka@jp.panasonic.com> Reviewed by: cognet
* Comment -- to go with NL global introduced (but not mentioned) by r262901dteske2014-03-071-0/+3
|
* s/__number/__num/ for code clarify but more to prevent localization ofdteske2014-03-071-11/+19
| | | | __number if passed as the var_to_set argument.
* Centralize function name. Update a comment while here.dteske2014-03-071-4/+5
|
* Make f_show_err non-fatal.dteske2014-03-071-4/+1
|
* Fix incorrect return status if var_to_set and var_to_get are the same.dteske2014-03-071-1/+1
|
* Fix a typo in a comment.dteske2014-03-071-1/+1
|
* Add missing local declaration.dteske2014-03-071-2/+2
|
* Allow dispatched reswords to carry arguments. Fix a comment while here.dteske2014-03-072-9/+8
|
* kern/Makefileasomers2014-03-072-34/+31
| | | | | | | | | | | | Set WARNS=5 for all files in this directory kern/unix_seqpacket_test.c Fix compiler warnings. Most were benign, but rcvbuf_oversized wasn't working as intended because I forgot to set the buffer sizes. MFC after: 2 weeks Reported by: pho Sponsored by: Spectra Logic Corporation
* wlanstats: Add some logic to translate from a vap to its parent device.eadler2014-03-071-0/+18
| | | | | | | This isn't entirely correct (as the device may not necc. be called wlan*) but this will be further worked into a combined ath, iwn, wlan, etc. tool. Discussed with: jhb, adrian
* - Export panel info to DTSbr2014-03-072-13/+166
| | | | | - Reset all the layers before setup first one - Enable display
* libc man pages: Remove reference to non-existent FreeBSD Securityeadler2014-03-073-8/+0
| | | | | | Architecture MFC After: 3 days
* Fix support for increased logical sector size (4K-native drives).mav2014-03-072-7/+12
| | | | | | | | | | - Logical sector size is measured in words, not bytes. - If physical sector is not bigger then logical sector, it does not mean it should be set equal to 512 bytes, but set to logical sector. PR: misc/187269 Submitted by: Ravi Pokala <rpokala@panasas.com> MFC after: 1 week
* Add driver for Port control and interrupts (PORT).br2014-03-075-35/+306
| | | | | PORT is responsible for external interrupts management, so move IRQ lines from GPIO driver.
* Open the uart emulation's backing tty in non-blocking mode.grehan2014-03-071-1/+1
| | | | | | | | | | | This fixes the issue of bhyve appearing to halt when using nmdm ports for the console, until a connection is made to the other end. bhyveload already does this. Reported by: Many. MFC after: 3 weeks.
* wlanstats: add helpeadler2014-03-071-2/+11
| | | | | - add a help (-h) flag - move usage into itsown function
* Slight if reordering to make error branch last.imp2014-03-071-3/+3
|
* Add option TMPFS to arm/conf/DEFAULTS, remove it from the few configsian2014-03-0711-10/+3
| | | | | that have it individually. Concensus on freebsd-arm@ is that it should be included in all ARM kernels.
* fts: Don't abort if an empty pathname is given.jilles2014-03-061-5/+1
| | | | | | | | | | | Make fts_open(3) treat an empty pathname like any other pathname that cannot be lstatted because of [ENOENT]. It is rather confusing if rm -rf file1 "" file2 does not remove file1 and file2. PR: bin/187264 MFC after: 2 weeks
* When calculating the MPU freq, make sure not to overflow by using a uint64_t.cognet2014-03-061-1/+1
| | | | | PR: arm/187223 Submitted by: Svatopluk Kraus <onwahe@gmail.com>
OpenPOWER on IntegriCloud