summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-12-30Remove unused headers.Jeremie Courreges-Anglas
ISA and PIO don't really fit in the ARM landscape. Suggested by patrick@ and kettenis@, ok deraadt@
2016-12-30Ansify pmap_copy().Visa Hankala
2016-12-30When entering a mapping on write access, compute the PTE after makingVisa Hankala
the page dirty. This lets the system avoid an extra TLB modify fault because the TLB mapping now allows writes immediately. Noticed by miod@
2016-12-30Fix EFI_CALL() to pass the arguments properly when number of arguments is 0.YASUOKA Masahiko
From pulse.purge at gmail.com
2016-12-30Fix EFI_CALL() to pass the arguments properly when number of arguments is 0.YASUOKA Masahiko
From pulse.purge at gmail.com
2016-12-29Eliminate 68 unused static variables that gcc complains about.Kenneth R Westerback
ok deraadt@
2016-12-29In pf_refragment6() use the valid route from pf_route6() insteadAlexander Bluhm
of calling rtalloc() again. OK mpi@
2016-12-29Get rid of recursive splsoftnet() in in6_ifattach_linklocal().Martin Pieuchot
ok visa@
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
splsoftnet()/splx() until the known issues are fixed. In other words, stop using a rwlock since it creates a deadlock when chrome is used. Issue reported by Dimitris Papastamos and kettenis@ ok visa@
2016-12-29Release the NET_LOCK() before calling unp_connect(). It is not possibleMartin Pieuchot
to hold it during VFS operations as NFS might try to grab it. Problem also reported by Siegfried Rudzio on bugs@. ok visa@
2016-12-29Use __func__ instead of explicit function name in panic messages.Alexander Bluhm
2016-12-28Fix white spaces. No binary change.Alexander Bluhm
2016-12-28Use the generic clock framework.Mark Kettenis
ok jsg@, patrick@
2016-12-28In pf_find_state() pkt_sk was set to NULL if pkt_sk->reverse wasAlexander Bluhm
not valid. This did not work as the value of pkt_sk must be used later to establish the link. So discard the packet statekey only if it is invalid itself and use it to establish the reverse link. From Christiano Haesbaert; OK sashan@
2016-12-28Better check for a valid route than for an existing route in pfAlexander Bluhm
route-to by calling rtisvalid(). Make pf_route() and pf_route6() similar and move the rtalloc() call to the same place. OK mpi@
2016-12-27Move nd6 timer initialisation to nd6_init() and call timeout_set()Alexander Bluhm
only once during init. OK mpi@
2016-12-27Add cast to silence warnings generated by clang.Mark Kettenis
ok mpi@
2016-12-27Add support for the 2nd sxipio(4) device on the Allwinner A80.Mark Kettenis
2016-12-26Allow using 11n mode with APs that do not advertise support for all of MCS 0-7.Stefan Sperling
ok phessler@ tb@
2016-12-26When calculating the set of MCS rates below a particular MCS, skip ratesStefan Sperling
which are not supported by both peers, as already done elsewhere. ok phessler@ tb@
2016-12-26Typo, "more then" -> "more than"Jeremie Courreges-Anglas
2016-12-26Fix typo, happend -> happenedJeremie Courreges-Anglas
2016-12-26Fix typo.Mark Kettenis
2016-12-26Pass through cacheline size information to guest. This was pointed outMike Larkin
to me by Christian Barthel who was encountering failures running Java on amd64 vmm(4) guests. Apparently Java queries the cacheline info and if we report "0", Java aborts. Verified on amd64 vmm(4) guest.
2016-12-24Make the boot programs support booting from softraid on 4K byte sectorYASUOKA Masahiko
disks. test gonzalo ok tom krw jsing
2016-12-24Add support for the 2nd sxipio(4) device on the Allwinner H3.Mark Kettenis
2016-12-24Remove some unused variables that have been removed upstream as well.Mark Kettenis
Fixes some clang warnings. ok jsg@
2016-12-24Put a bit more unused code under #ifdef notyet to prevent a clang warning.Mark Kettenis
2016-12-24Grab the NET_LOCK() before calling ipsp_process_done() as it ends upMartin Pieuchot
in ip_output(). Found the hardway by and ok kettenis@
2016-12-24The unit of the parition offset in disklabel is number of sectors in theYASUOKA Masahiko
sector size, not in 512 byte blocks. tested by gonzalo.
2016-12-24Match on "arm,gic-400" another GICv2 compat string.Jonathan Gray
ok patrick@ kettenis@
2016-12-23Define HAL_OPCODE using enum ieee80211_opmode to prevent clang from warningMark Kettenis
about an implicit enum conversion. ok stsp@
2016-12-23Replace function names with __func__ in debug prints to make grepAlexander Bluhm
happy.
2016-12-23Add missing sentinel.Mark Kettenis
ok deraadt@
2016-12-23Fix white spaces. No binary change.Alexander Bluhm
2016-12-23Hide static inline functions that are only used in debug code behind the sameMark Kettenis
#ifdef as the debug code itself. Prevents clang from warning about these functions being unused. ok stsp@, deraadt@
2016-12-23Do not call timeout_set(9) multiple times for nd6_slowtimo(), especiallyMartin Pieuchot
whem timeout_set_proc(9) is what we need. Found the hardway by and ok visa@, ok mikeb@, bluhm@
2016-12-23Implement disk detachingMike Belopuhov
2016-12-23Tweaks suggested by miod@Visa Hankala
2016-12-23Update and add wide character support types.Patrick Wildt
2016-12-23The code to retrieve the interrupt ID only works if the amount of IRQsPatrick Wildt
supported by the controller is not too big. Otherwise the mask will be wrong and the calculated IRQ as well. Split the dynamic mask into two pieces. First of all use a static mask to remove the bits we don't want to look at. Then we use that value to check for spurious or false IRQs. ok jsg@
2016-12-23Convert the sector number in the patition table to the sector numberYASUOKA Masahiko
in 512 byte blocks. This fixes efiboot to read disklabel on 4K sector size disk properly. tested by gonzalo@
2016-12-23The efi disk i/o to read sectors properly when the sector size is notYASUOKA Masahiko
512. The problem actually had happened on macbookair7,1. reported and tested by gonzalo@.
2016-12-22Extend the size of user virtual address space from 2GB to 1TB on mips64Visa Hankala
by adding another level to page directories. This improves ASLR and complements W^X added earlier on some systems, giving a notable update to the architecture's security. Besides, there is now more room for running tasks that hog memory. Testing help from deraadt@ and fcambus@. Platforms tested: loongson, octeon, sgi/IP27 and sgi/IP30 (IP30 also with 4KB pages).
2016-12-22Release the NET_LOCK() before namei(9) as a workaround to let NFS bootMartin Pieuchot
work without assert. ok visa@, bluhm@
2016-12-22Validate the OFP header to make sure it always have a sane size, alsoRafael Zalamena
make sure to not accept anything else outside of the header size boundaries. ok reyk@
2016-12-22Grab the netlock when device is opened; ok mpi, rzalamenaMike Belopuhov
2016-12-22Remove all splsoftnet() from ND6 converting the non-recrusive ones toMartin Pieuchot
NET_LOCK(). ok bluhm@
2016-12-22Revert workaround for NFS boot, it triggers the following assert:Martin Pieuchot
swakeup sowakeup sowwakeup unp_connect2 unp_connect uipc_usrreq soconnect sys_connect reported by stsp@, tb@ and RT Thrush
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
ok mpi@