Home | History | Annotate | only in /src/sys/arch/evbmips/mipssim
History log of /src/sys/arch/evbmips/mipssim
RevisionDateAuthorComments
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file autoconf.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file autoconf.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file com_mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file if_mipsnetreg.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.5 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.4 28-Dec-2022  he evbmips/mipssim: on mips64, probe for additional memory.

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.
 1.3 16-Nov-2021  simonb branches: 1.3.4;
Use CPU frequencies defined in QEMU for mipssim - 6 MHz for 64-bit
guests and 12 MHz for 32-bit guests.
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file machdep.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.3.4.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

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.
 1.4 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.3 24-Apr-2021  thorpej branches: 1.3.8;
Merge thorpej-cfargs branch:

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?).
 1.2 15-Feb-2021  reinoud branches: 1.2.2; 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2.2.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.3.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssim_bus_io.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 28-Dec-2022  he mipssim_dma.c: set _bounce_thresh so that bounce buffering works.

Suggested by jmcneill@, thanks!
 1.1 15-Feb-2021  reinoud branches: 1.1.4; 1.1.20;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1.20.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

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.
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 15-Feb-2021  thorpej file mipssim_dma.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssim_intr.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.4 28-Dec-2022  he evbmips/mipssim: on mips64, probe for additional memory.

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.
 1.3 16-Feb-2021  simonb branches: 1.3.4; 1.3.20;
Whitespace nit.
 1.2 15-Feb-2021  reinoud Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.3.20.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

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.
 1.3.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.3.4.1 16-Feb-2021  thorpej file mipssimreg.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssimvar.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.4 03-Nov-2021  skrll Catch up with member renaming
 1.3 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.2 24-Apr-2021  thorpej branches: 1.2.8;
Merge thorpej-cfargs branch:

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?).
 1.1 15-Feb-2021  reinoud branches: 1.1.2; 1.1.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 15-Feb-2021  thorpej file virtio_mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1.2.1 27-Mar-2021  thorpej - config_found_ia() -> config_found().
- virtio only carries a single interface attribute, so no need to
specify it explicitly.
 1.2.8.1 04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed