docs: add some notes on the sbsa-ref machine
RFC PATCH 1/1 docs: add some notes on the sbsa-ref machine
We should at least document what this machine is about.
--- docs/system/arm/sbsa.rst | 30 ++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 docs/system/arm/sbsa.rst
docs/system/arm/sbsa.rst new file +30 -0
@@ -0,0 +1,30 @@ +Arm Server Base System Architecture Reference board (``sbsa-ref``) +================================================================== + +While the `virt` board is a generic board platform that doesn't match +any real hardware the `sbsa-ref` board intends to look like real +hardware. The `Server Base System Architecture +<https://developer.arm.com/documentation/den0029/latest>` defines a +minimum base line of hardware support and importantly how the firmware +reports that to any operating system. It is a static system that +reports a very minimal DT to the firmware for command line input to +the firmware. As a result it must have a firmware specifically built +to expect a certain hardware layout (as you would in a real machine). + +It is intended to be a machine for developing firmware and testing +standards compliance with operating systems. + +Supported devices +""""""""""""""""" + +The sbsa-ref board supports: + + - A configurable number of Cortex-A57 cpus + - GIC version 3 + - System bus AHCI controller. + - System bus EHCI controller. + - CDROM and hard disc on AHCI bus. + - E1000E ethernet card on PCIE bus. + - VGA display adaptor on PCIE bus. + - A generic SBSA watchdog device +
docs/system/target-arm.rst +1 -0
@@ -79,6 +79,7 @@ undocumented; you can get a complete list by running arm/mps2 arm/musca arm/realview + arm/sbsa-ref arm/versatile arm/vexpress arm/aspeed
Signature · 1 line
2.20.1
Quoted 2 lines · Alex Bennée
We should at least document what this machine is about.
Looks good to me.
Quoted 62 lines
Cc Graeme Gregory <[email protected]>Cc Leif Lindholm <[email protected]>Cc Hongbo Zhang <[email protected]>Cc Shashi Mallela <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- docs/system/arm/sbsa.rst | 30 ++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 docs/system/arm/sbsa.rstdocs/system/arm/sbsa.rst new file +30
-0@@ -0,0 +1,30 @@ +Arm Server Base System Architecture Reference board (``sbsa-ref``) +================================================================== + +While the `virt` board is a generic board platform that doesn't match +any real hardware the `sbsa-ref` board intends to look like real +hardware. The `Server Base System Architecture +<https://developer.arm.com/documentation/den0029/latest>` defines a +minimum base line of hardware support and importantly how the firmware +reports that to any operating system. It is a static system that +reports a very minimal DT to the firmware for command line input to +the firmware. As a result it must have a firmware specifically built +to expect a certain hardware layout (as you would in a real machine). + +It is intended to be a machine for developing firmware and testing +standards compliance with operating systems. + +Supported devices +""""""""""""""""" + +The sbsa-ref board supports: + + - A configurable number of Cortex-A57 cpus + - GIC version 3 + - System bus AHCI controller. + - System bus EHCI controller. + - CDROM and hard disc on AHCI bus. + - E1000E ethernet card on PCIE bus. + - VGA display adaptor on PCIE bus. + - A generic SBSA watchdog device +docs/system/target-arm.rst +1
-0@@ -79,6 +79,7 @@ undocumented; you can get a complete list by running arm/mps2 arm/musca arm/realview + arm/sbsa-ref arm/versatile arm/vexpress arm/aspeedSignature · 1 line
2.20.1
Quoted 1 line · Alex Bennée
We should at least document what this machine is about.
Thanks!
(comments below)
Quoted 18 lines
Cc Graeme Gregory <[email protected]>Cc Leif Lindholm <[email protected]>Cc Hongbo Zhang <[email protected]>Cc Shashi Mallela <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- docs/system/arm/sbsa.rst | 30 ++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 docs/system/arm/sbsa.rstdocs/system/arm/sbsa.rst new file +1
-0@@ -0,0 +1,30 @@ +Arm Server Base System Architecture Reference board (``sbsa-ref``)
docs/system/arm/sbsa.rst line 11
Quoted 10 lines
docs/system/arm/sbsa.rst new file +10
-0+================================================================== + +While the `virt` board is a generic board platform that doesn't match +any real hardware the `sbsa-ref` board intends to look like real +hardware. The `Server Base System Architecture +<https://developer.arm.com/documentation/den0029/latest>` defines a +minimum base line of hardware support and importantly how the firmware +reports that to any operating system. It is a static system that +reports a very minimal DT to the firmware for command line input to +the firmware.
I think you mean the right thing, but ...
"a very minimal DT to the firmware for non-discoverable information
about components affected by the qemu command line" (i.e. cpus and memory)
docs/system/arm/sbsa.rst line 23
Quoted 13 lines
As a result it must have a firmware specifically built
docs/system/arm/sbsa.rst new file +12
-0+to expect a certain hardware layout (as you would in a real machine). + +It is intended to be a machine for developing firmware and testing +standards compliance with operating systems. + +Supported devices +""""""""""""""""" + +The sbsa-ref board supports: + + - A configurable number of Cortex-A57 cpus + - GIC version 3
The intent was always for sbsa-ref to be tracking SBSA development, so I wonder whether we should be documenting specific versions of cpu and gic (and then keep remembering to update the docs).
My short-term plan was to swap the a57 for "max", but documentation-wise, could we just say "number of aarch64 cpus"? Could we refer to the gic as "latest supported emulated"?
/
Leif
Quoted 22 lines
docs/system/arm/sbsa.rst new file +7
-0+ - System bus AHCI controller. + - System bus EHCI controller. + - CDROM and hard disc on AHCI bus. + - E1000E ethernet card on PCIE bus. + - VGA display adaptor on PCIE bus. + - A generic SBSA watchdog device +docs/system/target-arm.rst +1
-0@@ -79,6 +79,7 @@ undocumented; you can get a complete list by running arm/mps2 arm/musca arm/realview + arm/sbsa-ref arm/versatile arm/vexpress arm/aspeedSignature · 1 line
2.20.1
Quoted 52 lines · Leif Lindholm
Quoted 1 line · Alex Bennée
We should at least document what this machine is about.
Thanks!
(comments below)Quoted 18 lines
Cc Graeme Gregory <[email protected]>Cc Leif Lindholm <[email protected]>Cc Hongbo Zhang <[email protected]>Cc Shashi Mallela <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- docs/system/arm/sbsa.rst | 30 ++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 docs/system/arm/sbsa.rstdocs/system/arm/sbsa.rst new file +1
-0@@ -0,0 +1,30 @@ +Arm Server Base System Architecture Reference board (``sbsa-ref``)docs/system/arm/sbsa.rst line 11
Quoted 10 lines
docs/system/arm/sbsa.rst new file +10
-0+================================================================== + +While the `virt` board is a generic board platform that doesn't match +any real hardware the `sbsa-ref` board intends to look like real +hardware. The `Server Base System Architecture +<https://developer.arm.com/documentation/den0029/latest>` defines a +minimum base line of hardware support and importantly how the firmware +reports that to any operating system. It is a static system that +reports a very minimal DT to the firmware for command line input to +the firmware.I think you mean the right thing, but ...
"a very minimal DT to the firmware for non-discoverable information
about components affected by the qemu command line" (i.e. cpus and memory)Quoted 12 lines
As a result it must have a firmware specifically built
docs/system/arm/sbsa.rst new file +11
-0+to expect a certain hardware layout (as you would in a real machine). + +It is intended to be a machine for developing firmware and testing +standards compliance with operating systems. + +Supported devices +""""""""""""""""" + +The sbsa-ref board supports: + + - A configurable number of Cortex-A57 cpus
Quoted 8 lines
Quoted 1 line
+ - GIC version 3
The intent was always for sbsa-ref to be tracking SBSA development, so I wonder whether we should be documenting specific versions of cpu and gic (and then keep remembering to update the docs).
My short-term plan was to swap the a57 for "max", but documentation-wise, could we just say "number of aarch64 cpus"? Could we refer to the gic as "latest supported emulated"?
I'm not sure we want a movable feast... shouldn't we at least provide compatibility for older variations? -cpu max is useful but you can get new features coming out of the blue.
Signature · 1 line
Alex Bennée
Quoted 2 lines · Alex Bennée
We should at least document what this machine is about.
typo and grammar nits only:
docs/system/arm/sbsa.rst line 22
Quoted 6 lines
docs/system/arm/sbsa.rst new file +6
-0+Supported devices +""""""""""""""""" + +The sbsa-ref board supports: + + - A configurable number of Cortex-A57 cpus
"CPUs"
(Also if you take Leif's suggestion, "AArch64" not "aarch64".)
docs/system/arm/sbsa.rst line 25
Quoted 3 lines
docs/system/arm/sbsa.rst new file +3
-0+ - GIC version 3 + - System bus AHCI controller. + - System bus EHCI controller.
Can we be consistent about either ending with a full stop or not in this list? I think the usual style is not to.
docs/system/arm/sbsa.rst line 28
Quoted 3 lines
docs/system/arm/sbsa.rst new file +3
-0+ - CDROM and hard disc on AHCI bus. + - E1000E ethernet card on PCIE bus. + - VGA display adaptor on PCIE bus.
"PCIe"
Quoted 1 line
+ - A generic SBSA watchdog device
thanks
-- PMM