summaryrefslogtreecommitdiff
path: root/sys/arch/evbmips
AgeCommit message (Collapse)Author
2023-06-10Trailing whitespace.skrll
2023-06-09INSTALL_*: correct a path in a commentgutteridge
2023-02-23mips: Add missing barriers in cpu_switchto.riastradh
Details in comments. PR kern/57240 XXX pullup-8 XXX pullup-9 XXX pullup-10
2023-02-09Adjust _all_ cinclude of *.local filesabs
- Ensure always at end - Use tab rather than spaces - Add consistent comment "Pull in optional local configuration - always at end" The only functional change is that a local file which tried to override an existing setting (eg with "no foo") would have failed in some cases before, but now will work
2022-12-28evbmips/mipssim: on mips64, probe for additional memory.he
Probe for memory from above the ISA I/O hole and up to 16GB, which acording to simonb@ is a somewhat arbitrary limit. This makes it possible to specify e.g. "-m 2g" to qemu, and have that memory be probed instead of being clamped to 508MB.
2022-12-28mipssim_dma.c: set _bounce_thresh so that bounce buffering works.he
Suggested by jmcneill@, thanks!
2022-11-27Bump MSGBUFSIZE to 32k; 4k just about overflows "by default" with qemuhe
and mipssim-virtio machine type.
2022-11-15Enable CD9660; noticed by he@.simonb
2022-09-29swwdog(4): Add to GENERIC kernels.riastradh
Plus a handful of others that I'm familiar with. Lots of special- purpose kernels should probably have this too but I'm not going through all the arm, mips, and ppc evaluation board kernels to see which ones are relevant. Omitted from systems I know to be very small: - sun2/GENERIC - dreamcast/GENERIC Feel free to remove it from others that need to be kept smaller. Compile-tested a few of these just in case: - alpha/GENERIC - amd64/GENERIC - evbmips/OCTEON - i386/GENERIC - riscv/GENERIC PR kern/29702
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2022-05-28fix various typos in comments.andvar
2022-03-16Add the increasingly spreading __HIDE_DELAY kludge to evbmips.simonb
2022-03-04fix few typos in comments for word "because".andvar
2022-03-03mips: Carefully use device_set_private for cpuN.riastradh
But don't do it in cpu_attach_common because the callers aren't set up right -- instead leave a comment about what's wrong, to be dealt with later.
2022-03-03mips: Use device_set_private in a few drivers.riastradh
2022-02-12sys: Fix various abuse of struct device internals.riastradh
Will help to make struct device opaque later.
2022-01-22Ensure bus_dmatag_subregion is called with an inclusive max_addrskrll
everywhere.
2022-01-22Trailing whitespaceskrll
2021-12-26fix various typos, mainly in comments.andvar
2021-12-17Correct copypaste comment grammar.skrll
2021-12-17Trailing whitespaceskrll
2021-11-16Use 50Hz ticks so that time works accurately on hosts with 100Hz ticks.simonb
Note: The 20Kc CPU isn't handled correctly by QEMU, use the 5Kc CPU for a 64-bit guest for accurate time.
2021-11-16Use CPU frequencies defined in QEMU for mipssim - 6 MHz for 64-bitsimonb
guests and 12 MHz for 32-bit guests.
2021-11-03Catch up with member renamingskrll
2021-08-20fix various typos in comments and log messages.andvar
2021-08-07Merge thorpej-cfargs2.thorpej
2021-08-02fix various typos in comments and log messages.andvar
2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and ↵andvar
log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
2021-06-29Remove uscanner(4) drivernia
This exists for compatibility with a Linux interface which was apparently deprecated in Linux 2.6. There are various mailing list threads going back to 2004 where the usefulness of this driver is discussed, but the conclusion is that scanner software has all moved to using ugen(4) instead, and enabling this driver will not help you scan things.
2021-06-15Add some more useful options to MIPSSIMnia
In particular, MAKEDEV fails if tmpfs isn't available, and having compat_netbsd32 but no SysV shared memory causes some dmesg spam.
2021-05-05The watchdog setup code isn't used (yet), so don't compile in thesimonb
octeon_nmi_stack that it uses either.
2021-04-29Don't force all MALTA kernels to be compiled with -mips64 when theysimonb
also support MIPS32-only CPU configs.
2021-04-24Merge thorpej-cfargs branch:thorpej
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments. Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.) Remove unnecessary or redundant interface attributes where they're not needed. There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles) ...and a sentinel value CFARG_EOL. Add some extra sanity checking to ensure that interface attributes aren't ambiguous. Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
2021-04-18enable a few more "generic" items in this configuration, mostlymrg
from what pmax GENERIC enables, but not nearly all of it: - enable OVERLAY, UMAPFS, FDESC, LFS, UNION, PUFFS (and putter), and add some more commented out entries - enable DISKLABEL_EI and FFS_EI - turn on GATEWAY and ppp(4) options - add commented ALTQ section
2021-04-12remove shadowed (common) declarations of various libsa variablesmrg
from various boot programs. for macppc and zaurus, avoid building with -fcommon any more.
2021-03-15- 32 bit mips uses oabi, don't force it to n32.christos
- compile assembly code with soft-float to kill linker warnings
2021-03-14Specify the emulation explicitly (n32) so this builds when the defaultchristos
emulation changes.
2021-02-17Trailing whitespaceskrll
2021-02-17Use the PCI_MAPREG_TYPE macro. Same binary after change.skrll
2021-02-16Whitespace nit.simonb
2021-02-16I forgot to add the needed conf files for the mipssim virtio additionreinoud
2021-02-15Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by areinoud
local patch starting at Qemu-5.1.0nb12
2021-02-08Comment out HZ=512. This was only intended to be enabled for profiling.simonb
2021-02-08Correct the comment at the top of these config files identifying whatsimonb
they run on.
2021-01-27Add support for the QEMU MIPS "mipssim" simulator.simonb
TODO- mipsnet network driver (root on md(4) only for now).
2021-01-21add a commented out compat_ossaudio wherever there's compat_linuxnia
requested by mrg
2020-11-21malloc(9) -> kmem(9)thorpej
2020-10-25Normalize some machine dependent CPU frequenct sysctl variables.nia
This moves machdep.*.frequency.* to machdep.cpu.frequency.*. This was proposed on tech-kern some time ago. The intention is to allow third-party tools such as estd and conky to more easily and reliably fetch or modify the current CPU frequency without iterating through various machine-dependent variables to check their presence.
2020-09-27vether: Add to kernel configurationsroy
It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out.
2020-08-17Add some compile time asserts for endianness on boards/systems thatsimonb
only support a single endianness.