jmcneill
3f5758c5ce
enable MULTIPROCESSOR
2014-11-05 00:16:19 +00:00
matt
8ec4cbb75b
pmap_tlb_flushD is for !ARM_MMU_EXTENDED only now
2014-11-04 23:58:21 +00:00
pooka
4c554ddcdc
be happy with netbsd*-* to recognize arm--netbsdelf-eabi
...
from pkg/48126, simplified
2014-11-04 23:25:00 +00:00
joerg
4e288682c2
nv_num is not a dev_t, so add explicit cast for the sake of
...
-Wconversion.
2014-11-04 23:02:14 +00:00
joerg
fdcb5b3398
makedev returns ~uint64_t, but val is int64_t. Cast for -Wconversion.
2014-11-04 23:01:23 +00:00
joerg
e7051a1953
To make -Wconversion happy, cast return value of tolower/toupper to
...
char.
2014-11-04 23:00:35 +00:00
matt
c2d23e7280
Fix the stacks used by the other CPU to not overlap with the boot cpu's stacks.
2014-11-04 22:37:09 +00:00
pooka
12956bdef1
More finegrained disklabel macro checks, for FreeBSD
2014-11-04 21:08:12 +00:00
joerg
67ec38504d
Provide prototypes to fix build with clang.
2014-11-04 19:56:44 +00:00
jmcneill
8fae4413f7
RTC base year cannot be 1900 on A31 because the year field is only 6 bits wide; undo r1.5
2014-11-04 19:22:50 +00:00
pooka
23dfcd7408
Use autoconf for rump kernel posix hypercall layer.
...
This gets rid of homegrown hacks and puts all probes in one place.
Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)
2014-11-04 19:05:17 +00:00
jakllsch
9a10c75d3c
Rebase awinrtc(4) year from 1970 to 1900.
...
Fixes +70 year RTC offset when dual booting with Android on Cubietruck.
Also a trailing whitespace fix.
2014-11-04 18:15:11 +00:00
palle
37d005c861
sun4v: Removed a bunch of ifdef SUN4V since the CPU_ISSUN4V already has the necessary logic. Noticed by mrg@
2014-11-04 18:11:42 +00:00
maxv
fc666c5147
Do not release secmodels_lock when it is not held.
...
Sent on tech-kern@, ok lars@
2014-11-04 16:01:58 +00:00
jmcneill
f91ea01db4
This code should be MP-safe. Use IPL_SCHED in place of IPL_DRM/IPL_VM and set
...
D_MPSAFE flag in cdevsw.
2014-11-04 11:27:31 +00:00
manu
ec8879c99e
Restore build with -DDEBUG, and avoid a spurious diagnostic error with -DDEBUG
2014-11-04 09:17:31 +00:00
manu
0c81f4b006
PUFFS direct I/O cache fix
...
There are a few situations where we must take care of the cache if direct
I/O was enabled:
- if we do direct I/O for write but not for read, then any write must
invalidate the cache so that a reader gets the written data and not
the not-updated cache.
- if we used a vnode without direct I/O and it is enabled for writing,
we must flush the cache before compeling the open operation, so that
the cachec write are not lost.
And at inactive time, we wipe direct I/O flags so that a new open without
direct I/O does not inherit direct I/O.
2014-11-04 09:14:42 +00:00
manu
17036f29cb
Fix PUFFS node use-after-reclaim
...
When puffs_cookie2vnode() misses an entry, vcache_get()
creates a new node (puffs_vfsop_loadvnode being called to
initialize the PUFFS part), then it discovers it is VNON,
and tries to vrele() it. vrele() calls VOP_INACTIVE(),
which led us in puffs_vnop_inactive() where we sent a
request to the filesystem for a node that already had been
reclaimed.
The fix is to check for VNON nodes in puffs_vnop_inactive()
and to return without doing anyting. This is suboptimal, but
a better workaround would probably need to modify vcache API,
with an impact on other filesystems. Let us keep it simple.
2014-11-04 09:10:37 +00:00
snj
6f0923dea4
Thankfully, apropos returns all results by default these days. Remove
...
outdated sentence referring to the original (well, old new) limit of 10.
2014-11-04 08:05:21 +00:00
mlelstv
cfe8bb2a9d
Add 'makewedges' option to autodiscover wedges from a changed label.
2014-11-04 08:00:44 +00:00
mlelstv
64c07f5206
support DIOCMWEDGES ioctl.
2014-11-04 07:51:54 +00:00
mlelstv
0c1adb76c8
Implement DIOCMWEDGES ioctl that triggers wedge autodiscovery.
...
Also fix a reference counting bug and clean up some code.
2014-11-04 07:50:39 +00:00
mlelstv
bab799b6cf
get sector size from disk structure.
2014-11-04 07:46:26 +00:00
mlelstv
69a00310d4
Handle disks with non DEV_BSIZE sectors.
2014-11-04 07:45:45 +00:00
mlelstv
6f5687b0bb
Be less noisy when handling wedge name conflicts.
2014-11-04 07:43:00 +00:00
mlelstv
8afe144b7b
Add ioctl to autodiscover wedges.
2014-11-04 07:41:37 +00:00
msaitoh
48b712a059
Add #include <inttypes.h> for intmax_t to fix compile error.
2014-11-04 03:05:43 +00:00
jmcneill
a9c1f0b420
Merge 2e7eeeb59a (diff-528092536eaeb3c5f7ff6dfeed53786d)
...
> drm/i915: set backlight duty cycle after backlight enable for gen4
> For reasons I can't claim to fully understand gen4 seems to require
> backlight duty cycle setting after the backlight has been enabled, or
> else black screen follows. I don't have documentation for the correct
> sequence on gen4 either. Confirmed on Dell Latitude D630 and MacBook4,1.
Without this patch, the screen on my T61 (i965) would be blank at boot
unless I booted with the AC adapter unplugged.
2014-11-04 03:05:36 +00:00
justin
97c0a6f647
PR misc/49356 remove unnecessary references to atf-c/config.h
...
The function included via this header is not used and is removed in
later versions of atf, so let us avoid it.
2014-11-04 00:20:19 +00:00
snj
eaacc1b40b
bump date
2014-11-03 20:16:50 +00:00
snj
b1ca666e4b
fix cksum syntax, CDROM -> CD-ROM, give a specific example of a kernel set
...
rather than kern.tgz, add dd(1) xref for usb images
2014-11-03 20:06:25 +00:00
jakllsch
d8015429ba
ClusterOffset actually needs to be able to be negative.
2014-11-03 18:55:04 +00:00
christos
413e395095
When moving an object to inactive, make sure that we first flush it from
...
the GTT domain in case it belonged there. Also, fix some compilation issues
when turning on WATCH_GTT and WATCH_LISTS, although this is a lost cause;
most of the code has rotted beyond repair.
2014-11-03 16:50:20 +00:00
roy
23e96eacf2
Clear IN6_IFF_DUPLICATED when link goes down or up.
2014-11-03 13:04:12 +00:00
jmcneill
cf9b2d5c9d
add awinir and cir
2014-11-02 23:56:13 +00:00
jmcneill
3a88f574c0
work in progress CIR driver
2014-11-02 23:55:48 +00:00
jmcneill
6561babc1f
A31 CIR IRQ
2014-11-02 23:55:06 +00:00
jmcneill
8c542841d5
CIR regs
2014-11-02 23:54:46 +00:00
jmcneill
71f49b0b72
fix a kassert for pin group L and M on A31; allow pinset request to pass pin pullup/pulldown flags
2014-11-02 23:54:16 +00:00
christos
b5c931e8d2
switch to DRMKMS drivers
2014-11-02 23:14:20 +00:00
christos
c2f78e18ba
propagate drm changes
2014-11-02 23:12:00 +00:00
christos
ceab229958
make DRMKMS the default on GENERIC and comment out the legacy drivers.
2014-11-02 23:08:40 +00:00
palle
b9047e0aa0
sun4v: Implement missing sparc64_ipi_dcache_flush_page_xxx() function. ok martin@
2014-11-02 19:40:06 +00:00
uebayasi
739f155d2f
Revert previous per joerg@'s request.
...
According to him, exposing .data.{read_mostly,cacheline_aligned} is
intentional so that people can easily see which variables are optimized.
2014-11-02 17:58:14 +00:00
hkenken
a0e9f695d2
Add options __HAVE_MM_MD_DIRECT_MAPPED_PHYS and ARM_HAS_VBAR for N900.
2014-11-02 16:07:15 +00:00
matt
549cefa5e6
Avoid using ld -x. Instead use ${OBJCOPY} ${OBJCOPYLIBFLAGS} to string
...
local symbols.
2014-11-02 14:54:27 +00:00
njoly
294822e1e1
Use more markups in AUTHORS section.
2014-11-02 11:28:03 +00:00
martin
54dbcd3be9
Move entries for changes that have been pulled up
2014-11-02 10:21:11 +00:00
christos
cef06a86c8
revert changes, this needed to be done differently.
2014-11-02 02:04:01 +00:00
christos
37d2eba5b8
We need the i810 agp here, intel_gtt has it hard-coded.
2014-11-02 02:03:31 +00:00