summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-05-22Make amaps use less kernel memoryStefan Kempf
This is achieved by grouping amap slots into chunks that are allocated on-demand by pool(9). Endless "fltamapcopy" loops because of kmem shortage should be solved now. The kmem savings are also important to later enable vmm(4) to use larged shared memory mappings for guest VM RAM. This adapts libkvm also because the amap structure layout has changed. Testing and fix of libkvm glitch in initial diff by tb@ Feedback and "time to get this in" kettenis@
2016-05-21Implement openprom(4) for armv7.Mark Kettenis
ok deraadt@
2016-05-21Remove the -x flag from mount_msdos and always assume the execute bitMartin Natano
for readable directories, while making it subject to the mask option (-m in mount_msdos), so it is still possible to mount with non-executable directories, but with semantics that are easier to comprehend. This makes directory listings with default mount options work again. ok deraadt@
2016-05-21by default, files were made executable. that does not make sense today.Theo de Raadt
noone should be executing a binary from a msdos filesystem, considering the mountpoint tracking permission mode model ok natano krw
2016-05-21Fix logic bug in DUID generation - we want to generate DUIDs until we haveJoel Sing
one that is not a duplicate and not a zero DUID. ok krw@
2016-05-21Remove another erroneous VOP_CLOSE/vput, which was missed with the lastJoel Sing
commit. While here, also be consistent with the goto labels used.
2016-05-21Cleanup some of the DUID code and refactor for readability.Joel Sing
ok krw@ kettenis@
2016-05-21Dynamically attach imxiic(4) and use the FDT to enumerate devices on i2cMark Kettenis
busses. Users of the CuBox-i and Hummingboard now need to boot with an FDT to see the RTC. ok jsg@, patrick@
2016-05-21Make the TX path of cnmac(4) MP-safe and add some ifq oactive logic.Visa Hankala
Feedback from dlg@, ok mpi@
2016-05-21panic() if an incoming packet does not consist of one buffer. ThisVisa Hankala
makes the number of buffers visible.
2016-05-21Free the cache if the string cannot be retrieved. This allows thePatrick Wildt
fallback method to actually do its work and look up the strings via the vendor and product id. Regression noticed and ok tb@, ok mpi@
2016-05-21syncReyk Floeter
2016-05-21Add ids found in x1 carbon 2016:Reyk Floeter
- GMM (intel skylake general mixture model) - ISH (intel 100 series integrated sensor hub) - RTS525A (realtek card reader, not supported by rtsx(4))
2016-05-21Add a wireless driver capability flag for devices which scan 2GHz and 5GHzStefan Sperling
bands in a single scan offload request. This will be used by iwm(4) soon. ok kettenis@, earlier version ok phessler@
2016-05-21Copy dtb files to miniroots and install disk. Increase the ramdisk sizeJonathan Gray
and force long filenames on the first mount of fat 16 filesystems so this works. U-boot scripts have not yet been changed to load these files. ok kettenis@
2016-05-21<sys/localedef.h> isn't needed for ddb structinfoPhilip Guenther
ok millert@ deraadt@ schwarze@
2016-05-21hand-massage sendsig() and sys_sigreturn() to be much more similarTheo de Raadt
2016-05-21hand-massage sendsig() and sys_sigreturn() to be much more similarTheo de Raadt
2016-05-21hand-massage sendsig() and sys_sigreturn() to be much more similar.Theo de Raadt
ok guenther kettenis
2016-05-20Add compatible string to board id mappings for almost all of the otherJonathan Gray
board ids we match on. ok patrick@
2016-05-20Add a workaround for software reset described in the TI docs where weJonathan Gray
have to poll for software reset bits to be set after writing before polling for them to clear. This seems to resolve problems with ommmc sometimes not attaching properly with recent u-boot versions. Adapted from FreeBSD svn rev 275950. ok kettenis@
2016-05-20Ooops, fix the OpenBSD tag.Marcus Glocker
2016-05-20Hook up smu(4) to the thermal management framework.Marcus Glocker
ok kettenis
2016-05-20Add a thermal management framework for macppc which controls the fan speedMarcus Glocker
based on the temperature sensor values. A driver can register it fans or temperature sensors there. Ported from FreeBSD. ok deraadt kettenis
2016-05-20Change the identification string to "nxp,pcf8523" as this is what is storedMark Kettenis
in the FDT.
2016-05-20Fix pasto; v4l2_buf.flags = V4L2_MEMORY_MMAP -> V4L2_BUF_FLAG_MAPPED.Marcus Glocker
From Patrick Keshishian, thanks!
2016-05-20Attempt to allocate 32MB at the lowest address that is aligned on a 256MBMark Kettenis
border. Our kernel currently relies on being loaded at the start of physical memory. Hopefully this algorithm achieves that. In the future I hope to make it possible to load the kernel at any 256MB aligned border such that the algorithm works even if the lowest 32MB are not available.
2016-05-20Please int3 guards around unused debug splx versions so we can stopTheo de Raadt
paying attention to those specific aligns. ok mlarkin
2016-05-20Remove dead assignment/unused variable.Joel Sing
2016-05-20Set "openbsd.bootduid" property of "/chosen" to the DUID of the boot disk.Mark Kettenis
ok patrick@, jsg@
2016-05-20For FDT-based boots, look for a "openbsd,bootduid" property of the /chosenMark Kettenis
node. If it is present, copy its value into the bootduid variable for DUID-based boot disk selection. ok patrick@, jsg@
2016-05-20check we allocated the cq, not the sq, after trying to allocate the cqDavid Gwynne
found by NONAKA Kimihiro while he was porting nvme to netbsd.
2016-05-20regenMike Larkin
2016-05-20Add Xeon-D devices. Move one item that was out of order to the right placeMike Larkin
and fix a typo in an earlier E5 device ID.
2016-05-20split the ACPI resume trampoline into code and data pages, and protectMike Larkin
with proper permissions. Same treatment was done on amd64 last year, i386 is catching up. This diff has been in snaps for a few days, no regressions reported. ok deraadt@
2016-05-20resyncChris Cappuccio
2016-05-20Hello LTE Airprime/Sierra Aircard 313U, Netgear/Sierra Aircard 770SChris Cappuccio
2016-05-20add init_mainbus() hooks for the other armv7 platformsJonathan Gray
2016-05-19Let setroot() pick the boot disk based on the DUID provided in bootduid ifMark Kettenis
a boot disk has not been selected by its caller. ok jsing@, millert@
2016-05-19Make fdt_node_add_property() behave like fdt_node_set_property() if theMark Kettenis
property already exists.
2016-05-19Fix the previous commit which made work queue entries get released tooVisa Hankala
early. octeon_eth_recv() will release them in case of packet drop.
2016-05-19Disable dynamic short buffering to make all RX data land on buffersVisa Hankala
taken from the packet data pool.
2016-05-19Remove sysctl net.inet6.ip6.v6onlyJeremie Courreges-Anglas
This sysctl is a no-op, read-only since it was introduced. There are no plans to support IPv4-mapped addresses on OpenBSD, thus this sysctl is meaningless. Noticed by djm@, ok claudio@ mpi@ sthen@ henning@
2016-05-19Remove the PHYTEC phyFLEX support code, patrick says he no longerJonathan Gray
has the hardware for the eval kit. ok patrick@
2016-05-19All msg buf counters are long, so lmin(9) should be used for them.Alexander Bluhm
OK deraadt@ natano@
2016-05-19Match compatible strings for utilite which identifies as "cm-fx6" inJonathan Gray
fdt/u-boot, and nitrogen6x which shares a board id with sabre lite but has a different compatible string. ok patrick@ kettenis@
2016-05-19Use OF_is_compatible(9). Simplifies the code and should make pci withinMark Kettenis
a guest domain on a Fujitsu M10 work.
2016-05-19Implement OF_is_compatible(9).Mark Kettenis
2016-05-19Do not check if source address is available when the UDP6 socket is boundVincent Gross
to [::]. We should be able to send from a socket bound to [::] while using sockets bound to specified addresses for reception. Spotted with regress/usr.sbin/syslogd/args-client-bind-only6.pl test case. "makes sense to me" millert@, ok benno@, ok bluhm@
2016-05-18Kill trailing whitespaces.Alexander Bluhm