Commit Graph

238981 Commits

Author SHA1 Message Date
martin
c6240a4b43 PR 32999: adjust VM parameters for 64 bit kernel/userlands.
Limit old binaries (i.e. processes not using topdown VA layout) to 2 GB
data size.
Use the same limits as native sparc for netbsd32 emulation - we need to
revisit this, but currently automatic test runs in this environment
fail big time, so there is no easy way to verify any changes.
2015-11-15 20:35:33 +00:00
plunky
11e6538c0e Antti is Kantee 2015-11-15 19:44:31 +00:00
pooka
d97f016d89 Always descend into component directories for rumpdescribe. 2015-11-15 16:54:16 +00:00
bouyer
d4845d0072 Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbjörn Granlund on port-xen@
2015-11-15 14:42:03 +00:00
jmcneill
8bb09c02f2 If we are going to be doing read/modify/write in triple-buffered mode, make sure we don't read back the buffered values and not the active ones 2015-11-15 14:39:12 +00:00
pooka
33a1fe2a2d describe => rumpdescribe 2015-11-15 13:50:10 +00:00
isaki
e95d7bfcc6 Correct the x68k's Backspace key behavior.
With this fix, the Backspace key on x68k keyboard erases
previous one character, instead of outputting '^?' character.
Reported by Yasushi Oshima (two months ago..)
2015-11-15 06:43:17 +00:00
pgoyette
276f2f0e73 Add the newly-created wapbl module to the sets list. 2015-11-15 03:13:18 +00:00
pgoyette
d00d1cd7dc Actually create the wapbl module, since it works. 2015-11-15 03:12:14 +00:00
pgoyette
3b2f494e00 Enable the module's MODULE_CMD_FINI action. It actually works as
intended.
2015-11-15 03:09:39 +00:00
pgoyette
4873380492 If file system ffs is built with WAPBL defined, make sure that the
module depends on the wapbl module.

No impact to users of built-in ffs file system code, as the WAPBL
#define will cause inclusion of the code in the kernel.

A standard build of the modular ffs file system code will #define
WAPBL, so the module will only work on a kernel which was also
built with WAPBL defined (or, once I commit it, with a dynamically-
loaded wapbl module).
2015-11-15 01:39:23 +00:00
jmcneill
023beee979 set vbus-gpio property on tegrausbphy, not ehci 2015-11-14 23:32:31 +00:00
jmcneill
a0176ff23b tegracec can get physical address from tegradrm now 2015-11-14 23:17:39 +00:00
jmcneill
1f22c2f2a0 expose HDMI from HDMI VSDB as physical-address device property when available 2015-11-14 23:16:41 +00:00
jmcneill
1bd7164caf parse_hdmi_vsdb: read the HDMI physical address from the HDMI VSDB and store it on the connector 2015-11-14 23:15:44 +00:00
jmcneill
90a76f7b4b sleep before asking the PMIC to power off 2015-11-14 23:04:30 +00:00
pgoyette
7935b6fc9b Enable installation of amd64 on an lfsv2 partition.
XXX Other ports will need similar changes to arch/.../md.h after testing!

XXX The mount_lfs warning about lfs being experimental may confuse or
XXX corrupt the sysinst display window.
2015-11-14 23:00:17 +00:00
pgoyette
4746239292 Remove historic references to wapbl. 2015-11-14 22:03:54 +00:00
jmcneill
8d283e7ccb hdmi_audio_infoframe_pack: Initialize the entire output buffer.
hdmi_infoframe_checksum: Fix HDMI infoframe checksum calculations.
2015-11-14 18:04:05 +00:00
christos
fb472d3ca7 refresh 2015-11-14 16:25:48 +00:00
maxv
1433b9b2e5 KNF, and fix some comments 2015-11-14 14:01:23 +00:00
christos
803cade3fe PR/50428: Rin Okuyama: support SA_RESTORER flag for rt_sigaction(2) in the
ports that support it.
2015-11-14 13:29:35 +00:00
jmcneill
6f6f55f60c support video=<mode> kernel cmdline for setting HDMI-A-1 preferred video mode 2015-11-14 13:28:53 +00:00
jmcneill
82a3fba4cf Support command-line modes by picking up connector modes from the device
properties. The connector name is the key name in the device properties
dictionary.
2015-11-14 13:27:29 +00:00
jmcneill
6737f07729 Hardware cursor support. 2015-11-14 11:55:36 +00:00
bouyer
a83db5274c Wait 20ms for the PLL to stabilize after enabling it.
Fixes occasional bogus size report for my SD card.
2015-11-14 10:32:40 +00:00
pgoyette
78da7b9d09 Always include the "vfs" attribute (module). Although all of the
ufs/xxx file systems depend on the vfs attribute, it is not required
that any file system actually be built-in to the kernel.  (At least
on some architectures, file system modules can be loaded at boot
time.)
2015-11-14 07:31:13 +00:00
marty
4b1d0b9529 SNAPSHOT: DOES NOT BOOT
First crack at configuration files for the Hardkernel ODROID XU4.

This kernel hangs attempting to write to the console early in boot.
2015-11-14 07:15:58 +00:00
jakllsch
d7a3612ef4 Jetson TK1 u-boot sets up PCI IO space in an impossible-to-use
configuration.  As we're already allocating resources on the PCI
bus, set up our own mapping of PCI address spaces into the ARM
address space.  We rely on a potential overlap of address space
windows to allow us to use the same bus_space_tag for PCI Memory
and IO spaces.

The PCI attachment of the onboard re(4) uses PCI IO space in
preference to PCI Memory space for register accessses.  As IO space
was impossible to use, we had to avoid IO space.  This is now no
longer the case, so set up and enable IO space for PCI devices.

Also, map ROM BARs.
2015-11-14 03:44:52 +00:00
pgoyette
ceb937987d Fix obvious typo - even though it is inside a #ifdef notyet ... #endif 2015-11-14 03:25:53 +00:00
jakllsch
abb2550c2b Correct TEGRA_PCIE_A[123] window definitions. Replace existing
usages thereof (and related bus space handles, etc.) with more
appropriate names.
2015-11-14 02:10:10 +00:00
jakllsch
2d20fb4592 Increment TEGRA_PCIE_SIZE
It's a size, not a last-valid-offset.
2015-11-14 02:00:42 +00:00
jakllsch
7db0ebe36b add more AFI BAR register offsets 2015-11-14 01:38:58 +00:00
jakllsch
cd9c845187 We don't need to use any particular value, but use the actual interrupt
number for the PCI_INTERRUPT_LINE.
2015-11-14 01:31:08 +00:00
christos
01186a5b06 PR/50426: Dave Tyson: Fix ntp reported version. 2015-11-13 20:31:27 +00:00
christos
2e3d23cd2c redo previous, not needed. 2015-11-13 19:13:50 +00:00
jakllsch
d87d62cffa Limit configuration space access to the non-emulated busses to legacy
PCI_CONF_SIZE.  Extended configuration access is possible, we just have
to implement it without wasting up to 256MiB of KVA.
2015-11-13 18:58:17 +00:00
jakllsch
6ec5e36849 validate emulated bus 0 configuration space access more carefully 2015-11-13 18:52:16 +00:00
jakllsch
719b0036a7 drop white space on empty line 2015-11-13 18:23:17 +00:00
christos
4ae24fd01a Handle 0b locally since anyway this is not portable. 2015-11-13 16:04:58 +00:00
phx
d91190d038 Make sure the graphics device which has the console gets wsdisplay0,
otherwise neither virtual terminals nor Xorg's wsfb driver will work.
2015-11-13 16:04:07 +00:00
christos
01e84cc634 comment out 0{b,B} handling. 2015-11-13 16:02:07 +00:00
christos
53ba0e3d35 revert 0b documentation. 2015-11-13 16:00:32 +00:00
christos
50ccfe1eab Generalize the test, compare on the protocol semantics instead of the name
since it could be udp6...
2015-11-13 15:23:17 +00:00
christos
6cd5630e13 Do proper accounting for the extra -1 slot. Perhaps this is too confusing
and it would be better to just access the array with [fd + 1] instead?
2015-11-13 15:22:12 +00:00
pooka
d5e7c6e861 Fix bug in readdir loop condition.
Reading all dirents using a small buffer and multiple calls now works.

Bug found by "Shamar" on #rumpkernel
2015-11-13 13:36:54 +00:00
tron
25c8e9abea Remove now unnecessary cast. 2015-11-13 11:43:26 +00:00
tron
7655e3065e Don't try to use listen(2) on a UDP socket which will always fail.
Previously this was not a problem because the return value of listen(2)
was ignored. With this fix amd(8) no longer fails to start with the
error message "cannot create rpc/udp service".

TL;DR: Make amd(8) work again
2015-11-13 11:23:08 +00:00
tron
65a6071730 Avoid broken state if realloc(3) fails. 2015-11-13 10:43:32 +00:00
wiz
455c3673bc Family is singular, so use singular form of verb. 2015-11-13 09:56:27 +00:00