Age | Commit message (Collapse) | Author |
|
ok jsg@, patrick@
|
|
|
|
|
|
Build testing assistance from deraadt@
|
|
|
|
by the controller. Needed as the bus_clock callback is called with
SDMMC_TIMING_HIGHSPEED even if the controller capability is not set.
Required to raise the bus width on pandaboard which doesn't have the
highspeed capability.
As anything other than 1 bit mode results in the emmc on the bbb
timing out waiting for command completion, limit higher bus
modes to the first hsmmc controller. This at least lets 4 bit
modes work with sd cards on bbb and pandaboard.
|
|
turns on a peripheral's power and functionality.
ok kettenis@
|
|
"free commit" kettenis@
|
|
the machine.
ok kettenis@
ok tom@ on previous version
|
|
|
|
provides information about the four big clocks that are part of
this SoC. Attach it early as the serial console needs it and the
core clock is after the console in the device tree.
ok kettenis@
|
|
ported from sparc64. For now, it works without hardware acceleration,
but otherwise it is usable enough as a console and with X.
Diff from Miod's hoard
|
|
OK mlarkin@ stefan@
|
|
Make sure we pass 0 as the board ID instead of random garbage if we don't
find a matching compatible string.
ok jsg@
|
|
|
|
broadwell/skylake bug.
|
|
longer needed, including the imx board IDs.
ok patrick@, jsg@
|
|
assuming that the 'a' partition starts at the same location as the
volume header partition #0.
Diff from Miod Vallat
|
|
launch with valid vmcs" issue some people have been seeing when launching
vmm(4) VMs.
tested by reyk@
|
|
means that even though the hardware in the end never leaves the 32-bit
address space, some addresses used solely in the device tree can be
bigger than 32-bit. As bus_space_map(9) takes addresses of size
bus_addr_t, which is 32-bit on ARMv7, we cannot pass those virtual
addresses to the parent bus, even though it will be mapped back into a
32-bit address in the end. To work around this, make bus_space_map(9)
take a 64-bit address. Since this is implemented as a macro and
function pointer we can safely do that without harming any other
architecture.
ok kettenis@ deraadt@
|
|
i386. As newer ARMs where we use device tree from the get go don't
necessarily have a 'platform', this will allow drivers to hook
themselves as a way to reset the CPU.
ok jsg@ kettenis@ tom@
|
|
child_return() like on other archs, so cpu_fork() doesn't need to
touch them.
ok kettenis@ deraadt@
|
|
|
|
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).
Feedback from and ok kettenis@ tom@ on an earlier version.
|
|
"ifconfig: SIOCSETVLAN: No buffer space available" when creating vlan
interfaces without first lowering the mtu. Reported by Steven Chamberlain,
diagnosed by mikeb@, patch from Brad. ok bmercer@
|
|
ok deraadt@ tom@ patrick@
|
|
controller. This register controls whether the controller is in device or
host mode on many dual role controllers and gets reset during a reset of
the controller, placing the controller in (non-functional) idle mode. By
saving and restoring it, we keep the controller in host mode. Since this is
a non-standard register, add a new EHCIF_USBMODE flag and only do the save and
restore if it has been set.
Makes the upper "OTG" port of the Cubox-i work.
ok mpi@, jsg@
|
|
|
|
seem to provide a video BIOS in kseg0.
|
|
by using Loongson EFI.
Regression testing on Loongson 2F by fcambus@
|
|
|
|
|
|
|
|
ok patrick@, jsg@
|
|
Problem noted by Sami (sami.tikkanen (at) haxaa.net)
ok deraadt@
|
|
Add sysctl kern.allowkmem (default 0) which controls the ability to open
/dev/mem or /dev/kmem at securelevel > 0. Over 15 years we converted 99%
of utilities in the tree to operate on sysctl-nodes (either by themselves
or via code hiding in the guts of -lkvm).
pstat -d and -v & procmap are affected and continued use of them will
require kern.allowkmem=1 in /etc/sysctl.conf. acpidump (and it's
buddy sendbug) are affected, but we'll work out a solution soon.
There will be some impact in ports.
ok kettenis guenther
|
|
OK jca@, deraadt@
|
|
flush that wasn't needed
|
|
|
|
ok guenther@
|
|
ok patrick@ (for armv7), deraadt@
|
|
address of the end of the symbol table. This will make it possible to get
rid of the code in the bootloader that patches up the kernel with the updated
esym value.
ok tom@, patrick@
|
|
can easily determine that the value passed is valid and use it to initialize
the kernel symbol tableo.
ok tom@, patrick@
|
|
of an array to a null pointer that is always false. Found with clang.
ok jsg@
|
|
generates calls to these functions when compiling an armv7 kernel.
Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.
ok patrick@, guenther@
|
|
before imxocotp(4), delay reading the temperature sensor calibration
information until after imxocotp(4) attaches.
|
|
string literal" warning from clang and matches what we do on amd64.
|
|
mii(4). Should fix the link negotiation issues that people have been seeing.
ok jsg@, mikeb@, guenther@
|
|
|
|
Based on a similar diff in bitrig.
No binary change when compiled with gcc.
ok patrick@
|