Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-28 | Enable TCP/UDP checksum offloading on packet transmission. | Visa Hankala | |
ok mpi@ | |||
2015-10-28 | Add proper padding to packets that the hardware does not recognize as | Visa Hankala | |
IP, to avoid memory alignment issues in the IP stack. ok miod@, mpi@ | |||
2015-10-25 | arp_ifinit() is no longer needed. | Martin Pieuchot | |
2015-10-24 | Make use of hardware RX checksum validation. | Visa Hankala | |
ok naddy@ | |||
2015-10-23 | Allocate a new major for tap(4) also note that pseudo-device tun is for tap | Claudio Jeker | |
as well. OK dlg@ mpi@ | |||
2015-10-15 | Let the rx path of cnmac run without the kernel lock. To avoid the need | Visa Hankala | |
of a mutex, the path no longer cleans up the queue of tx requests. ok mpi@ | |||
2015-10-08 | Remove the sc_soft_req_cnt field because the number of tx requests is | Visa Hankala | |
already tracked in sc_sendq. Replace the sc_flush logic with a simple Fetch-and-Add store that avoids an unnecessary IOBDMA transaction. ok uebayasi@ | |||
2015-10-03 | correct a memory leak in error code path. | Sebastien Marie | |
noticed by miod@ ok visa@ | |||
2015-09-30 | Use #ifndef _MACHINE_DISKLABEL_H_ everywhere. Replace _ARM_DISKLABEL_H_ | Kenneth R Westerback | |
and _SH_DISKLABEL_H_ with _MACHINE_DISKLABEL_H_. Add the guard to loongson and octeon. The #defines are not used anywhere else in the tree so no functional change. | |||
2015-09-30 | Use consistant whitespace/comments for #define'ing LABELSECTOR, | Kenneth R Westerback | |
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change. | |||
2015-09-27 | Use readdisksector() instead of manual buf initialization. These are | Kenneth R Westerback | |
identical to the amd64 change already committed. ok deraadt@ | |||
2015-09-26 | xheart_splx() has to restore the interrupt mask even on secondary CPUs | Visa Hankala | |
because each core has a separate mask. Otherwise the IPI can be left disabled accidentally on a non-primary CPU when the core uses the rendezvous mutex: 1. splraise(IPL_IPI) soft-masks the IPI. 2. An IPI hits and the CPU enters the interrupt handler. 3. The handler hard-masks the IPI. 4. The interrupt is not processed because of the CPU's current IPL. The IPI is left hard-masked on leaving the handler. 5. splx(s) lowers the IPL below IPL_IPI. However, the interrupt's hardware mask is left unchanged because of the CPU_IS_PRIMARY() check in xheart_splx(). After this, the system will eventually hang because the CPU does not respond to IPI requests of other cores. While here, fix a similar situation with CIU interrupts on octeon. This might save a few moments of debugging once non-primary CPUs are allowed to process CIU interrupts. ok miod@ | |||
2015-09-26 | Let MP-safe interrupt handlers run without the kernel lock on octeon. | Visa Hankala | |
ok kettenis@ | |||
2015-09-22 | Make sure the openbsd.randomdata section is located before the edata symbol. | Miod Vallat | |
2015-09-14 | Fix more ifmedia64 fallout in the kernel. It's hiding everywhere... | Stefan Sperling | |
2015-09-13 | intr_barrier(9) for loongson, octeon and sgi. | Mark Kettenis | |
2015-09-09 | The mplock implementations on MP-enabled mips64 platforms, octeon and | Visa Hankala | |
sgi, are identical. Put one implementation in mips64 and drop the platform-specific copies, to remove duplicated code. ok miod@ | |||
2015-09-01 | Increase transfer FIFOs for dwc2, to improve USB performance. The new | Visa Hankala | |
values are from dwc2 of NetBSD. ok jmatthew@, jasper@ | |||
2015-08-20 | Use the IPD Clock Count register as a timecounter, making the clock | Visa Hankala | |
tick in Octeon MP land. ok pirofti@, miod@, uebayasi@ | |||
2015-08-19 | Halt extra cores on SP kernel, to avoid trashing the system if there | Visa Hankala | |
is more than one active CPU. Additionally pick an init core at runtime. This allows booting the system with a set of CPUs that does not contain core 0, at least in terms of the early-stage boot code. ok jasper@ (a while ago) | |||
2015-08-18 | Unbreak Octeon kernel config after r1.25 of files.mips64. | Visa Hankala | |
Feedback and ok miod@ | |||
2015-08-05 | Add octrtc(4) to RAMDISK. | Paul Irofti | |
Okay deraadt@, jasper@. | |||
2015-08-03 | add amdcf(4) here too; unbreaks RAMDISK | Jasper Lievisse Adriaanse | |
ok pirofti@ | |||
2015-07-21 | Let octeon kernel compile again with the MP_LOCKDEBUG option. | Visa Hankala | |
ok miod@ | |||
2015-07-20 | Add a new flash driver for Octeon that allows access to the internal | Paul Irofti | |
memory on (at least) D-Link DSR500 machines. This follows the CFI specification with code borrowed from zrouter (FreeBSD). The idea, once the current driver is thoroughly tested, would be to move it to MI land. The prerequisites to MI are width, shift and row detection and handling. In the long run I hope to be able to also add wdc support. For now write support is disabled. Okay miod@, deraadt@. | |||
2015-07-20 | it's unlikely we'll run on physical octeon hardware that's little endian; | Jasper Lievisse Adriaanse | |
therefore remove unneeded ifdef blocks. ok miod@ pirofti@ | |||
2015-07-19 | rework how iobus(4) finds and attaches devices. | Jasper Lievisse Adriaanse | |
this allows us to get rid of the static list of children devices, using only a lookup table for address hints where needed. as a bonus this removes the 'octcf0: [..] not configured' mesage on machines w/o octcf(4). tested by pirofti@ on DSR-500 and ERL by me ok miod@ | |||
2015-07-19 | don't check for the name in attach_args being NULL; nothing should call | Jasper Lievisse Adriaanse | |
their match functions with (g)aa_name not set. ok miod@ | |||
2015-07-19 | Register the IPI handler early enough for the correct idle_mask to | visa | |
propagate to all threads. Otherwise early-started kernel threads run IPIs disabled, which will lead to a deadlock soon after other cores have started. ok miod@ pirofti@ | |||
2015-07-19 | set usb vendor string to 'Octeon' instead of '' | Jasper Lievisse Adriaanse | |
ok pirofti@ | |||
2015-07-19 | remove pointless cast | Jasper Lievisse Adriaanse | |
ok pirofti@ | |||
2015-07-17 | remove obsolete INET kernel option | Ted Unangst | |
2015-07-17 | Remove {LOAD,COUNT}_TEXTA from libsa loadfile, it only made sense for a.out | Miod Vallat | |
kernels and we no longer have any. | |||
2015-07-16 | make a comment more safe, there's no CRIME there. | Jasper Lievisse Adriaanse | |
2015-07-15 | Ditch the octeon simulator non-sense. | Paul Irofti | |
Discussed with miod@. | |||
2015-07-15 | Refix memory handling for machines with less than 256M broken by revision 1.64. | Paul Irofti | |
Allows my DSR-500 to boot again. Okay miod@. | |||
2015-07-13 | Do not attempt to configure octhci, superseded by dwc2 | Miod Vallat | |
2015-07-08 | unify the mutex implementations on all the mips64 platforms. | David Gwynne | |
this basically copies the sgi implementation to mips64 and removes it from the rest. this way they get an optimised UP mutex implementation and correct asserts on all platforms. ok miod@ jmatthew@ | |||
2015-07-03 | Put the newline at the right place. | Miod Vallat | |
2015-06-30 | Add "sd" to be specifiedit as "rootdev=" boot parameter. | YASUOKA Masahiko | |
ok jmatthew | |||
2015-06-28 | enable octdwctwo and add umass | Jonathan Matthew | |
2015-06-25 | Re-enable memory above 256mb now that uvm_pmr_get1page() has been fixed. | Jonathan Matthew | |
From Visa Hankala. | |||
2015-06-24 | Increment if_ipackets in if_input(). | Martin Pieuchot | |
Note that pseudo-drivers not using if_input() are not affected by this conversion. ok mikeb@, kettenis@, claudio@, dlg@ | |||
2015-06-11 | convert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif to | Jonathan Matthew | |
store the sgl address, allowing rcvif to be removed. ok mpi@ dlg@ uebayasi@ | |||
2015-05-23 | use & not && when testing lcr bits | Jonathan Gray | |
tested by jmatthew ok pirofti@ jmatthew@ jasper@ | |||
2015-05-04 | fix device numbering comments, no binary change | Jonathan Matthew | |
2015-05-01 | Do not grab the kernel lock for clock interrupts. Help and ok kettenis@ | Miod Vallat | |
2015-04-30 | Convert to if_input(). | Martin Pieuchot | |
Tested by jmatthew@ | |||
2015-04-26 | Get dwc2 working on octeon. | Jonathan Matthew | |
- transplant the clock setup code from octhci - add a bus space tag to deal with dwc2 using little endian addressing - bump up the rx fifo size, necessary for umass/sd to work tested on an edgerouter lite, which can almost boot by itself now ok uebayasi@ (various parts), miod@ (bus space bits) | |||
2015-03-19 | Let it compile! | Martin Pieuchot | |