Commit Graph

226467 Commits

Author SHA1 Message Date
riastradh
ed98e3febb Remove ifdef for const fix. 2014-04-03 15:16:42 +00:00
riastradh
c5f5d1712d Need <sys/reboot.h> for AB_DEBUG. 2014-04-03 15:16:18 +00:00
riastradh
bbf5a9ab22 Nix accidental whitespace to reduce diff from Linux. 2014-04-03 14:55:53 +00:00
matt
21b604c9f8 Change cpu_tlb_info definition based on PMAP_TLB_MAX instead of MULTIPROCESSOR 2014-04-03 14:46:25 +00:00
riastradh
dfe09fda34 Make i915drmkms grab the console by default. 2014-04-03 14:45:44 +00:00
matt
18fc7d3f42 Compare ASIDs, not pmaps. 2014-04-03 14:23:38 +00:00
riastradh
6b41ce6b2b Enable drm debug output iff boothowto has AB_DEBUG set. 2014-04-03 14:15:05 +00:00
matt
526f2aee72 Add PMAP_TLB_FLUSH_ASID_ON_RESET define 2014-04-03 13:55:34 +00:00
matt
ad2de1daa9 Make this compile on booke again. 2014-04-03 13:54:59 +00:00
skrll
f913003c3d Merge conflicts. 2014-04-03 06:34:58 +00:00
skrll
d9d3aa9368 New dwc2 location - it moved out of staging. 2014-04-03 06:07:22 +00:00
riastradh
c4254364d1 Fix up removal of _DRM_SHM mappings and the hardware lock. 2014-04-03 05:48:02 +00:00
riastradh
ed2e9169d8 Update reachover makefiles and set lists for xf86-video-intel 2.21.15. 2014-04-03 02:51:19 +00:00
riastradh
eb051fdbc0 Link Xorg with -lpthread on x86.
This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration).  It shouldn't hurt, but is not
needed, on any other architecture.
2014-04-03 02:40:45 +00:00
ozaki-r
66441ce925 Include evbarm.conf as same as other conf files
evbarm.conf ensures ${mnt}/boot exists so that it avoids the error:
  /home/builds/ab/HEAD/src/distrib/utils/embedded/mkimage: cannot create \
  /tmp/mkimage.24444a/mnt/boot/cmdline.txt: directory nonexistent
2014-04-03 01:36:20 +00:00
joerg
8886a873b8 Support SH3 in our unwinder. 2014-04-02 22:34:29 +00:00
joerg
8d85521c7b SH3 uses unaligned data in the .eh_frame section, so use memcpy. 2014-04-02 22:22:37 +00:00
tron
0bf30a01f8 Add fix for CVE-2014-0076 taken from OpenSSL GIT repository:
Fix for the attack described in the paper "Recovering OpenSSL
ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack"
by Yuval Yarom and Naomi Benger. Details can be obtained from:
http://eprint.iacr.org/2014/140
2014-04-02 20:27:28 +00:00
wiz
b0b52b7f33 Wording improvement for previous.
From jmc@OpenBSD via Igor Sobrado.
2014-04-02 19:54:30 +00:00
pooka
271d5dd119 use if_initname() instead of homegrown sprintf 2014-04-02 19:44:15 +00:00
pooka
dc8f80f5c3 Put nanosleep() and folks in librump instead of maintaining them in
the separate rumpkern_time component.  Keeping time-related routines
elsewhere lead to some illogical behavior if you didn't think of linking
in rumpkern_time (hands up everyone who checks the return value of
nanosleep()).

Add warnings if rumpkern_time is linked or used.  I'll remove it in a
month or two instead of now since it was part of a buildrump.sh snapshot
and it's nicer if trying to use it gives a warning instead of an error
in the next snapshot.

"everything should be as modular as possible, but no more modular than that"
2014-04-02 19:37:17 +00:00
para
608fba6393 make condition for ENOMEM consistent with allocation requirement 2014-04-02 18:09:10 +00:00
skrll
f32b3d87d2 Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init 2014-04-02 17:36:05 +00:00
matt
790372329e If we are writing PN_XNUM or more phdrs, include one section header and
encode the real # of sections in its sh_info.
2014-04-02 17:19:49 +00:00
justin
95e41b89b5 Add Android support for rump kernel.
Reviewed by pooka@
2014-04-02 17:09:23 +00:00
para
c28aad1c2f bt_refill is and must be called with VM_NOSLEEP set, assert this
fix error path if pool_get returns NULL
2014-04-02 16:14:50 +00:00
matt
1158851feb Mark omd as diagused for the ARM_MMU_EXTENDED case. 2014-04-02 15:45:51 +00:00
seanb
f9c6e7aeaa len argument to strlcpy() was incorrect when copying
out AF_LOCAL sockets in sysctl helper.  The entire
buffer wasn't available since sun_path member is not
at offset 0 in struct sockaddr_un.
2014-04-02 15:35:45 +00:00
skrll
d6885c8bf6 Fix non-DIAGNOSTIC build 2014-04-02 15:35:14 +00:00
pooka
e152ae2df5 fix build on NetBSD. also, prevent fd leak in error path 2014-04-02 15:04:19 +00:00
pooka
90c25cb369 On Linux, poll signalfd() when waiting for a kernel response.
This allows the same type of race-free handling of signals as kqueue()
allows on NetBSD.  One of the noticeable things is that you can now
interrupt rumprun ping mid-interval on Linux.

per suggestion from Justin Cormack
2014-04-02 14:48:03 +00:00
martin
b87a9303be The table of masks applied for each relocation type was wrong for some
relocs with 64bit targets, like GLOB_DAT.
Change some instruction patterns used for PLT slots, so -current
objdump -d shows what the comment says.
Fix encoding of %lox() in PLT slots "close" to -1.
Enhance debug output slightly.
2014-04-02 14:11:25 +00:00
matt
c58d1d6541 Init the page_lock to IPL_VM iff VIPT && arm_cache_prefer_mask != 0 otherwise
use IPL_NONE.  Don't bother with page_lock for KMPAGEs.
2014-04-02 14:05:54 +00:00
pooka
cd76e7c732 Always use sysconf() to query host processor count instead of separate
tricks for each platform.
2014-04-02 13:54:42 +00:00
matt
941a80c94b braces are your friends. use them. 2014-04-02 13:26:22 +00:00
matt
bff56ce22a Really fix locking this time. 2014-04-02 12:36:05 +00:00
matt
1935cf8899 Deal with bus_dmamem_unmap of direct mapped KVA. 2014-04-02 12:28:54 +00:00
matt
646210f0fc Because vector_page might be 0, we have to process the entry L1pt.
Make sure to map the new l2 area after we've grown the kernel.
If msgbufaddr is set, don't alloc space for msgbuf.
2014-04-02 12:04:09 +00:00
matt
48aa269482 Don't map ebsabootinfo.bt_vargp if it is the same address as the vector page 2014-04-02 11:36:50 +00:00
matt
7094c090fa Defer intr evcnt_attach to cpu_configure 2014-04-02 11:35:36 +00:00
wiz
ac632886e5 Apply diff from Igor Sobrado <isd@orion.ciencias.uniovi.es>:
We have written a diff to our ls(1) to recover the traditional behaviour
of -f implying -a.  This change does not only accommodates POSIX.1
but also matches traditional UNIX.

OpenBSD commit message:

CVSROOT:        /cvs
Module name:    src
Changes by:     sobrado@cvs.openbsd.org 2014/03/31 14:54:37

Modified files:
        bin/ls         : ls.1 ls.c

Log message:
restore the traditional behavior of -f implying -a; apparently Keith Bostic
forgot to restore it when the -f flag was put back on 2nd of September 1989,
after being removed on 16th of August as a consequence of issues getting it
working over NFS, so deviation from traditional UNIX behavior in all BSDs
looks like an historical accident; as a side effect, this change accommodates
behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1'').

joint work with jmc@ (who found the inaccuracy in our implementation),
schwarze@ (who provided a detailed tracking of historical facts) and millert@

ok millert@, schwarze@
2014-04-02 10:55:47 +00:00
christos
a3979e7b1b If we are autoconfiguring root, then only change the booted_device if
we booted from one of the components of the root raid set. This allows
us to boot from other media, without forcing the found raid to always
be root. Allow the old behavior with RAIDFRAME_FORCE_ROOT.
XXX: cpu_rootconf() is called twice now, which prints the booted device
message twice. Perhaps we can remember that cpu_rootconf has been called
and avoid calling it twice to avoid that.
2014-04-02 02:17:01 +00:00
christos
563eea7895 - tidy up debugging 2014-04-02 02:14:08 +00:00
riastradh
93797f6cf7 Install compositeext.h and shmint.h from X.org. 2014-04-02 01:22:11 +00:00
ozaki-r
638f5cfbce Get rid of a wrong comma 2014-04-02 00:46:11 +00:00
buhrow
ac40c6e642 Checking in changes to improve error handling. Specifically:
- if commands timeout, clear the queues to the the card and perform a soft
reset on the LSI hardware since when these timeouts occur, the LSI firmware
is not graceful about recovering at all.

- Recover gracefully from more kinds of errors using the same recovery
mechanism listed above.

Also, implement mpt_ioctl() to handle bus reset requests from scsictl(8).
2014-04-01 23:57:54 +00:00
christos
681726d876 add kvno 2014-04-01 21:40:46 +00:00
christos
dcd0e19d19 add glue and man 2014-04-01 21:38:44 +00:00
christos
eac602f603 add kvno 2014-04-01 21:38:26 +00:00
martin
2f8231a7ba Add two missing include files 2014-04-01 19:13:31 +00:00