Commit Graph

227879 Commits

Author SHA1 Message Date
riastradh
6d57a82821 Fix fencepost. 2014-06-11 19:35:46 +00:00
riastradh
f4b89c3d32 Fix various mistakes in yesterday's commit.
- Set mem->am_nseg, particularly before trying to use it.
- Avoid error-prone local copies in agp_i810_bind_memory_main.
- Omit missing DMA unload/free in agp_i810_unbind_memory.
2014-06-11 17:15:18 +00:00
riastradh
dc8077bc78 Ignore result of agp_i810_unbind_page in agp_i810_unbind_memory. 2014-06-11 17:02:09 +00:00
riastradh
a7475de57c Back out previous mistake.
If you mixed `cvs diff' and `cvs commit' in your shell history,
remember to hit C-p the right number of times before RET.  Oops.
2014-06-11 17:01:31 +00:00
joerg
24bd8eb084 Remove KVM related options. 2014-06-11 17:01:04 +00:00
riastradh
4dc18807c4 Add missing bus_dmamap_destroy. 2014-06-11 16:58:29 +00:00
riastradh
95aecd5c8b Add missing bus_dmamap_destroy. 2014-06-11 16:48:15 +00:00
christos
a5d2792650 Add a little color. In order to minimize logic differences, keep 0 as the
empty board value, and since 7 is white, turn white into black (0) when
painting.
2014-06-11 16:47:39 +00:00
riastradh
aa4d50801e Check bounds more carefully to avoid integer overflow. 2014-06-11 16:45:06 +00:00
joerg
375882325f Remove KVM support. 2014-06-11 14:57:55 +00:00
reinoud
79ea3a7d02 Remove the exyo_usb_locinfo structure as exyousb becomes usb2 only 2014-06-11 14:54:32 +00:00
joerg
671b0aebb8 Use hw.iostats and not kvm. 2014-06-11 14:51:49 +00:00
reinoud
f40b322b68 Add USB2HOST aliases for exynos4 and exynos5 from where the ehci/ohci/phy are
referenced from
2014-06-11 14:49:50 +00:00
joerg
49cf844ece Add a const for the oid list. 2014-06-11 14:05:28 +00:00
riastradh
0141ebf2d3 Don't trust the MSAC register after all; use the GMADR BAR size.
Previously this read the MSAC register from the wrong PCI device.
Experiments reveal that even on the right PCI device, per the
datasheet, the GMADR BAR size is correct.

Not clear that the driver has any business reading any of these GMCH
registers to discern the aperture size -- seems to me they are meant
to be written by the BIOS to determine the GMADR BAR size.  Lacking a
variety of hardware to test, though, I'll leave this as is for now...
2014-06-11 14:04:48 +00:00
riastradh
f394f86ba3 Fix sense of conditional for GTTMMADR size. 2014-06-11 13:15:44 +00:00
martin
eb04decfe5 Some more errno remapping: if the NFS server is unreachable because we have
no route to it, assume there are no quotas. While this might sound like
an impossible scenario, it actually happens inside rump tests when we have
a virtual shmif network but are querying quotas for / which happens to
be on NFS (but of course outside of the shmif setup).
This fixes tests/fs/nfs/t_rquotad on diskless clients.
2014-06-11 08:43:01 +00:00
njoly
b57ed5cec0 Regen. 2014-06-11 07:05:35 +00:00
njoly
3e45a9a143 Add Intel new vendor id, and Rate Matching Hub devices. 2014-06-11 07:05:03 +00:00
matt
be37e1361f Fix typo & include mct_reg.h 2014-06-11 05:54:54 +00:00
matt
d852904749 Add a KASSERT to make sure the counter is running. 2014-06-11 05:50:46 +00:00
matt
0eea0fade8 Exynos5 needs the MCT running to have the Global Timer operate. 2014-06-11 05:43:39 +00:00
riastradh
0b80476a5b Rework agp_i810 memory binding.
Principal reason is that the GTT size is not necessarily the same as
the aperture size: the GPU may have a bigger virtual address space
than the CPU can see through the aperture.

While here, factor the code a little more legibly and name some magic
constants.
2014-06-10 22:02:58 +00:00
christos
957638f2a5 centralize the double match warning. 2014-06-10 22:01:40 +00:00
joerg
e7270251ac netiso is dead. 2014-06-10 20:23:21 +00:00
matt
5d10384c13 Fix SDRAM base 2014-06-10 20:17:33 +00:00
phx
6a6a965d56 Fix SCSI reads beyond block 0x1fffff, by writing the READ_10/READ_16 opcode
into the correct scsipi_rw_10/scsipi_rw_16 command structure.
2014-06-10 18:37:26 +00:00
palle
6edc4e999c sun4v: make cpu_initclocks() work on sun4v - %tick and %stick on sun4v systems are read-only. ok martin@ 2014-06-10 18:27:41 +00:00
dholland
d7edebe630 Log state transitions. 2014-06-10 17:19:48 +00:00
dholland
106e29fe05 Add a SIGHUP handler; upon SIGHUP do an extra nag_servers on any
domain that's in DEAD state. This lets you explicitly rescue ypbind
from its exponential backoff when you know the world's back up.
2014-06-10 17:19:36 +00:00
dholland
f69eb308e3 Instead of using magic numbers in what looks like a boolean
(dom_alive), create a state enumeration (domainstates) and use it
instead.

Instead of three states (new, alive, and, effectively, 'troubled') go
to five: new, alive, pinging, lost, and dead.

Domains start in the NEW state. When we get a reply from a server, the
state goes to ALIVE. The state is set to PINGING when we ping the
server (once a minute normally) and if the ping times out, it goes to
LOST. If we stay lost for a minute, go to DEAD, and in DEAD, do
exponential backoff of nag_servers calls.

Getting rid of the broken logic attached to the 'troubled' state fixes
PR 15355 (ypbind defeats disk idle spindown) -- it will now only
rewrite the binding file when the binding changes.

Also, fix the HEURISTIC code so it doesn't trigger except in ALIVE
state. I think this was the source of a lot of the spamming behavior
seen in PR 32519, which is now fixed.

Might also fix PR 23135 (broadcast ypbind sometimes fails to find
servers).
2014-06-10 17:19:22 +00:00
dholland
ff58b21755 Load up with comments. 2014-06-10 17:19:12 +00:00
dholland
aed51c4afc Don't rake up the default domain until after processing arguments.
Processing arguments just sets flags -- may as well do it first, and
this way detection of silly errors isn't contingent on having things
fully configured and operating.
2014-06-10 17:19:00 +00:00
dholland
af0d2ab5da While there are times it's appropriate to call a state variable
"evil", this isn't one of them. Since the logic involved is to wait
until the default domain binds before backgrounding, call the variable
"started" instead.
2014-06-10 17:18:45 +00:00
dholland
acc6243e9f Factor out some rpc validation code. 2014-06-10 17:18:18 +00:00
dholland
4363781772 Don't store the default domain name in a global. While running we
really don't care which domain is the system's default domain.
2014-06-10 17:18:02 +00:00
matt
e6d398986f Shrink core size so we can fit audio in. 2014-06-10 17:09:42 +00:00
martin
b7650b1af5 Check for invalid mount arguments early and gracefully fail the mount.
Spotted by pooka@
2014-06-10 16:10:59 +00:00
martin
269c704651 Make sure to expand "freepages" to 64bit before shifting to byte values -
on rump we may have all our virtual address space "free".
Pointed out by pooka@.
2014-06-10 15:44:27 +00:00
riastradh
daa87cdc9f Another round of weed-whacking for agp_i810.
- Make struct agp_i810_softc::gatt specific to i810 chipsets; use other
members of struct agp_i810_softc for non-i810 chipsets.

- agp_i810_init detects and sets isc->gtt_size.

- Map GTT based on the GTT size detected by agp_i810_init.

- Sprinkle some comments particularly about questionable calculations.
2014-06-10 14:00:56 +00:00
martin
7c2f361f8e Properly initialize arguments for the tmpfs mounted in this test.
Pointed out by pooka@.
2014-06-10 13:15:18 +00:00
wiz
5c327eed5f Add missing Nm section which was breaking makemandb indexing of the man page.
From Abhinav Upadhyay.
2014-06-10 11:36:41 +00:00
joerg
8bd28826e9 Reflect reality. 2014-06-10 10:00:26 +00:00
joerg
539332ecd5 Introduce new sysctls for obtaining interface-specific addresses:
- net.sdl for the active link-layer adddress (the MAC)
- net.ether.multicast for the Ethernet multicast addresses
- net.inet6.multicast for the IPv6 multicast groups
- net.inet6.multicast_kludge for temporarily removed multicast groups

Use this sysctls for replacing the kmem grovelling in ifmcstat(8).
2014-06-10 09:38:30 +00:00
wiz
e6ff3b17b8 Sort SEE ALSO, add NetBSD-specific history. 2014-06-10 07:26:19 +00:00
he
f693807fd8 Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser.  Fixes build for sun2.
2014-06-10 04:28:39 +00:00
hikaru
500ee91377 Note vmx(4). 2014-06-10 03:47:57 +00:00
hikaru
73c29dd7cc Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4). 2014-06-10 01:42:38 +00:00
he
68eb80a8fe When linking statically (as for sun2), need to list -lrump also
after -lrumpuser, because rump_pub_lwproc_switch is used in the
latter and defined in the former.
2014-06-09 18:22:05 +00:00
phx
e7ab4b8e66 printslots() -> printPCIslots(). Make it compile with -DDEBUG. 2014-06-09 17:35:01 +00:00