Commit Graph

236767 Commits

Author SHA1 Message Date
christos 8bfaa68572 From Martin Natano @bitrig: Use execve(2) instead of system to apply patches
that require rcs command execution instead system(3) to avoid malicious
filenames in patches causing bad things to happen. In the process, lose SCCS
support. It is not like we are shipping sccs commands for that to work.
2015-07-24 18:56:00 +00:00
nonaka 22b9180f78 Use pci_intr_alloc(). 2015-07-24 15:43:38 +00:00
hannken bc85f6dde2 Operation pmap_tlb_processpacket() uses x86_ipi(.., LAPIC_DEST_ALLEXCL, ...)
when cpuset "target" equals "kcpuset_running".  During boot, while some CPUs
are not running yet, this will result in more IPI interrupts than expected
and "pmap_tlb_pendcount" related KASSERTs fire.

Compare the cpuset "target" against "kcpuset_attached", as this set represents
the CPUs LAPIC_DEST_ALLEXCL will notify.

Should fix PR port-amd64/47437
2015-07-24 15:20:37 +00:00
pooka 5ede295be8 Since the rump kernel does not know when the container it's running in
actually halts, print "halted" in the hypercall.
2015-07-24 14:11:11 +00:00
maxv 6647020bbc Unused inits (harmless).
Found by Brainy.
2015-07-24 13:02:52 +00:00
maxv 7ad874c499 typo (comment) 2015-07-24 12:29:55 +00:00
knakahara 63ee2a18ca fix typo. reported by nonaka@n.o 2015-07-24 07:40:58 +00:00
ozaki-r 0e93629237 Fix rtfree-ing wrong rtentry 2015-07-24 07:36:29 +00:00
mrg d4842dda23 un-obsolete xf86-video-intel-old components that were being installed
but deleted by postinstall.
2015-07-24 07:13:34 +00:00
dholland adca8af59e More lfs superblock accessors.
(This changes the rest of the code over; all the accessors were
already added.)

The difference between this commit and the previous one is arbitrary,
but the previous one passed the regression tests on its own so I'm
keeping it separate to help with any bisections that might be needed
in the future.
2015-07-24 06:59:31 +00:00
dholland f59b8f4b3a Switch to accessor functions for elements of the LFS on-disk
superblock. This will allow switching between 32/64 bit forms on the
fly; it will also allow handling LFS_EI reasonably tidily. (That
currently doesn't work on the superblock.)

It also gets rid of cpp abuse in the form of fake structure member
macros.

Also, instead of doing sleep/wakeup on &lfs_avail and &lfs_nextseg
inside the on-disk superblock, add extra elements to the in-memory
struct lfs for this. (XXX: these should be changed to condvars, but
not right now)

XXX: this migrates a structure needed by the lfs code in libsa (struct
salfs) into lfs.h, where it doesn't belong, but for the time being
this is necessary in order to allow the accessors (and the various
lfs macros and other goop that relies on them) to compile.
2015-07-24 06:56:41 +00:00
dholland 656ac806f0 Rearrange the structures in the lfs bootbollocks slightly.
This generates the same output (at least on amd64) but will be more
robust until we're ready to deploy lfs64 bootblocks too.

XXX: I don't think these actually work right now, and the logic for
picking between v1 and v2 lfs formats (which is not related to ffsv1
vs. ffsv2) is definitely broken. But I haven't made it any worse.
2015-07-24 06:53:24 +00:00
dholland c63e51c9e7 ulfs2_dinode, having never actually been used with lfs, doesn't have a
di_inumber field. Fix that. First preliminary step on PR 50000.
2015-07-24 06:51:46 +00:00
knakahara b9b0fe1ae3 fix pci_intr_alloc(..., NULL, 0). reported nonaka@n.o 2015-07-24 06:49:58 +00:00
martin c626bf992a Pass the device, not the struct softc to config_found().
Avoids a crash at attach time, PR port-i386/50076.
2015-07-24 06:17:10 +00:00
ryo 3cc9aab310 KNF 2015-07-24 05:20:01 +00:00
ryo ae00560ff5 - fix sc_ev_missing_ticks over-counting.
- don't use 64bit division, because it has expensive cost on gcc/arm
  whether it is a constant or not.

'delta' is usually taken a value around sc_autoinc depending on timing
of read. therefore 'delta / sc->sc_autoinc' would be count too much.
2015-07-24 05:19:13 +00:00
matt 49cb8763aa If we are sending a window probe and there's unacked data in the socket, make
sure at least the persist timer is running.
2015-07-24 04:33:50 +00:00
matt 6de0fc0ff8 Make sure that snd_win doesn't go negative. 2015-07-24 04:31:20 +00:00
mrg 1f8bf413af libdri2.a is still installed. 2015-07-24 04:29:27 +00:00
jmcneill f74c15ad09 use SDHC_FLAG_NO_TIMEOUT 2015-07-23 23:53:14 +00:00
jmcneill 3cc75aa740 Add a SDHC_FLAG_NO_TIMEOUT quirk to handle spurious timeouts on Tegra K1
during data transfers. While here, increase the soft timeout for DMA
transfers from 1s to 3s.
2015-07-23 23:52:54 +00:00
jmcneill a0ed8809cc Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.
2015-07-23 18:22:05 +00:00
riz e3d8d886ce Implement "status" command for postfix - makes tools like ansible
happier.
2015-07-23 17:12:16 +00:00
jmcneill 80bbdecc5c no need for exact match on tmds mode, just use the closest match 2015-07-23 15:43:06 +00:00
skrll 46b3ff0205 More defines 2015-07-23 15:08:19 +00:00
skrll 3259c0d7d8 CAR_PLLD_BASE_REG defines 2015-07-23 15:07:31 +00:00
jmcneill 53bd7bda47 add Tegra124 HDMI support 2015-07-23 14:31:05 +00:00
jmcneill 1e8904dc9e fix some clocks; many periph dividers are in units of 0.5x not 1x, use PLLD2 for DC, use correct pldiv value for PLLD2 2015-07-23 14:30:06 +00:00
ozaki-r 7dd2779b49 Reflect a fix for bridge
Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.

Bonus: the fix for PR 48104 also fixes another uknown failure.
2015-07-23 11:05:34 +00:00
ozaki-r 18566c8cca Fix PR 48104
So far bridge cannot receive frames via a member interface when the frames
come from another member interface. So when we assign an IP address to
a member interface, hosts connected to another member interface cannot
ping to the IP address. That behavior isn't expected. See PR 48104 for
more realistic examples of this issue.

The change does:
- drop M_PROMISC before ether_input, which allows a bridge member interface
  to receive a frame coming from another bridge member interface
- receive broadcast/multicast frames via all bridge member interfaces,
  which is required to receive IPv6 multicast packets destined to a
  multicast group belonging to a bridge member interface that is different
  from a packet arrival interface

roy@ helped testing of the fix, thanks!
2015-07-23 10:52:34 +00:00
hannken 56b07d2782 union_unmount: use vfs_vnode_iterator to count attached vnodes. 2015-07-23 09:45:21 +00:00
mrg 0aac484359 remove some duplication; pointed out by pgoyette. 2015-07-23 09:37:59 +00:00
msaitoh 34e6d56081 Fix a bug that I21[01] NVM revision >= 3.25 can't be attached.
Reported by MATSUI Yoshihiro.
2015-07-23 08:29:58 +00:00
msaitoh a38a7538bb The WM_F_EEPROM_EERDEEWR is not required on iNVM device. 2015-07-23 08:24:07 +00:00
mrg cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
mrg 8dc8986a69 remove obsolete directories (that are always removed by postinstall at
the end of the build.)
2015-07-23 07:45:44 +00:00
mrg 08c866994a add rstart and showfont. 2015-07-23 07:44:46 +00:00
mrg c73007bdff remove obsolete tools and comments. 2015-07-23 07:36:54 +00:00
mrg 57b7c10bc0 copy reachovers and mostly update for modern xorg. showfont builds
but rstart doesn't quite yet...
2015-07-23 07:34:38 +00:00
mrg 1d32bc8471 delete obsolete reachovers. 2015-07-23 07:33:33 +00:00
mrg d9b30e28a9 build libXpresent. 2015-07-23 05:46:39 +00:00
mrg 1dfb3d9037 link against Xinerama now that xterm 318 would prefer to. 2015-07-23 05:45:09 +00:00
mrg 8e27198081 add libXpresent. 2015-07-23 05:44:26 +00:00
mrg 82690547ac update for ark 0.7.5. 2015-07-23 02:04:09 +00:00
pgoyette f54820aed9 Sync descriptive text with actual game definition. 2015-07-23 01:19:20 +00:00
mrg 7873bb551a update for libxcb 1.11. 2015-07-23 01:06:32 +00:00
mrg 39fd47d868 delete obsolete vga and radeonhd drivers. 2015-07-22 16:37:33 +00:00
nonaka c7506b40a5 iwm(4) can read the firmware image from disk when interface up.
This change is useful for full-disk encryption environment.
2015-07-22 15:18:01 +00:00
maxv 1e2d60e127 Memory leak, triggerable from an unprivileged user. 2015-07-22 14:25:39 +00:00