mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
Fix some typos in documentation (most of them found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Hongren (Zenithal) Zheng <i@zenithal.me> Message-id: 20220812075642.1200578-1-sw@weilnetz.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2daf518dd1
commit
120f765e03
@ -297,7 +297,7 @@ by using ``-machine graphics=off``.
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
In QEMU versions 6.1, 6.2 and 7.0, the ``nvme-ns`` generates an EUI-64
|
In QEMU versions 6.1, 6.2 and 7.0, the ``nvme-ns`` generates an EUI-64
|
||||||
identifer that is not globally unique. If an EUI-64 identifer is required, the
|
identifier that is not globally unique. If an EUI-64 identifier is required, the
|
||||||
user must set it explicitly using the ``nvme-ns`` device parameter ``eui64``.
|
user must set it explicitly using the ``nvme-ns`` device parameter ``eui64``.
|
||||||
|
|
||||||
``-device nvme,use-intel-id=on|off`` (since 7.1)
|
``-device nvme,use-intel-id=on|off`` (since 7.1)
|
||||||
|
@ -108,7 +108,7 @@ Slot 0 contains a backend storage header that identifies the contents
|
|||||||
as ERST and also facilitates efficient access to the records.
|
as ERST and also facilitates efficient access to the records.
|
||||||
Depending upon the size of the backend storage, additional slots will
|
Depending upon the size of the backend storage, additional slots will
|
||||||
be designated to be a part of the slot 0 header. For example, at 8KiB,
|
be designated to be a part of the slot 0 header. For example, at 8KiB,
|
||||||
the slot 0 header can accomodate 1021 records. Thus a storage size
|
the slot 0 header can accommodate 1021 records. Thus a storage size
|
||||||
of 8MiB (8KiB * 1024) requires an additional slot for use by the
|
of 8MiB (8KiB * 1024) requires an additional slot for use by the
|
||||||
header. In this scenario, slot 0 and slot 1 form the backend storage
|
header. In this scenario, slot 0 and slot 1 form the backend storage
|
||||||
header, and records can be stored starting at slot 2.
|
header, and records can be stored starting at slot 2.
|
||||||
@ -196,5 +196,5 @@ References
|
|||||||
[2] "Unified Extensible Firmware Interface Specification",
|
[2] "Unified Extensible Firmware Interface Specification",
|
||||||
version 2.1, October 2008.
|
version 2.1, October 2008.
|
||||||
|
|
||||||
[3] "Windows Hardware Error Architecture", specfically
|
[3] "Windows Hardware Error Architecture", specifically
|
||||||
"Error Record Persistence Mechanism".
|
"Error Record Persistence Mechanism".
|
||||||
|
@ -28,9 +28,9 @@ With the same software configuration as a hardware key,
|
|||||||
the guest OS can use all the functionalities of a secure key as if
|
the guest OS can use all the functionalities of a secure key as if
|
||||||
there was actually an hardware key plugged in.
|
there was actually an hardware key plugged in.
|
||||||
|
|
||||||
CanoKey QEMU provides much convenience for debuging:
|
CanoKey QEMU provides much convenience for debugging:
|
||||||
|
|
||||||
* libcanokey-qemu supports debuging output thus developers can
|
* libcanokey-qemu supports debugging output thus developers can
|
||||||
inspect what happens inside a secure key
|
inspect what happens inside a secure key
|
||||||
* CanoKey QEMU supports trace event thus event
|
* CanoKey QEMU supports trace event thus event
|
||||||
* QEMU USB stack supports pcap thus USB packet between the guest
|
* QEMU USB stack supports pcap thus USB packet between the guest
|
||||||
@ -102,8 +102,8 @@ and find CanoKey QEMU there:
|
|||||||
|
|
||||||
You may setup the key as guided in [6]_. The console for the key is at [7]_.
|
You may setup the key as guided in [6]_. The console for the key is at [7]_.
|
||||||
|
|
||||||
Debuging
|
Debugging
|
||||||
========
|
=========
|
||||||
|
|
||||||
CanoKey QEMU consists of two parts, ``libcanokey-qemu.so`` and ``canokey.c``,
|
CanoKey QEMU consists of two parts, ``libcanokey-qemu.so`` and ``canokey.c``,
|
||||||
the latter of which resides in QEMU. The former provides core functionality
|
the latter of which resides in QEMU. The former provides core functionality
|
||||||
|
@ -83,7 +83,7 @@ CXL Fixed Memory Windows (CFMW)
|
|||||||
A CFMW consists of a particular range of Host Physical Address space
|
A CFMW consists of a particular range of Host Physical Address space
|
||||||
which is routed to particular CXL Host Bridges. At time of generic
|
which is routed to particular CXL Host Bridges. At time of generic
|
||||||
software initialization it will have a particularly interleaving
|
software initialization it will have a particularly interleaving
|
||||||
configuration and associated Quality of Serice Throtling Group (QTG).
|
configuration and associated Quality of Service Throttling Group (QTG).
|
||||||
This information is available to system software, when making
|
This information is available to system software, when making
|
||||||
decisions about how to configure interleave across available CXL
|
decisions about how to configure interleave across available CXL
|
||||||
memory devices. It is provide as CFMW Structures (CFMWS) in
|
memory devices. It is provide as CFMW Structures (CFMWS) in
|
||||||
@ -98,7 +98,7 @@ specification defined register interface called CXL Host Bridge
|
|||||||
Component Registers (CHBCR). The location of this CHBCR MMIO
|
Component Registers (CHBCR). The location of this CHBCR MMIO
|
||||||
space is described to system software via a CXL Host Bridge
|
space is described to system software via a CXL Host Bridge
|
||||||
Structure (CHBS) in the CEDT ACPI table. The actual interfaces
|
Structure (CHBS) in the CEDT ACPI table. The actual interfaces
|
||||||
are identical to those used for other parts of the CXL heirarchy
|
are identical to those used for other parts of the CXL hierarchy
|
||||||
as CXL Component Registers in PCI BARs.
|
as CXL Component Registers in PCI BARs.
|
||||||
|
|
||||||
Interfaces provided include:
|
Interfaces provided include:
|
||||||
@ -143,7 +143,7 @@ CXL Memory Devices - Type 3
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
CXL type 3 devices use a PCI class code and are intended to be supported
|
CXL type 3 devices use a PCI class code and are intended to be supported
|
||||||
by a generic operating system driver. They have HDM decoders
|
by a generic operating system driver. They have HDM decoders
|
||||||
though in these EP devices, the decoder is reponsible not for
|
though in these EP devices, the decoder is responsible not for
|
||||||
routing but for translation of the incoming host physical address (HPA)
|
routing but for translation of the incoming host physical address (HPA)
|
||||||
into a Device Physical Address (DPA).
|
into a Device Physical Address (DPA).
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ Notes:
|
|||||||
ranges of the system physical address map. Each CFMW has
|
ranges of the system physical address map. Each CFMW has
|
||||||
particular interleave setup across the CXL Host Bridges (HB)
|
particular interleave setup across the CXL Host Bridges (HB)
|
||||||
CFMW0 provides uninterleaved access to HB0, CFW2 provides
|
CFMW0 provides uninterleaved access to HB0, CFW2 provides
|
||||||
uninterleaved acess to HB1. CFW1 provides interleaved memory access
|
uninterleaved access to HB1. CFW1 provides interleaved memory access
|
||||||
across HB0 and HB1.
|
across HB0 and HB1.
|
||||||
|
|
||||||
(2) **Two CXL Host Bridges**. Each of these has 2 CXL Root Ports and
|
(2) **Two CXL Host Bridges**. Each of these has 2 CXL Root Ports and
|
||||||
@ -282,7 +282,7 @@ Example topology involving a switch::
|
|||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
| Switch 0 USP as PCI 0d:00.0 |
|
| Switch 0 USP as PCI 0d:00.0 |
|
||||||
| USP has HDM decoder which direct traffic to |
|
| USP has HDM decoder which direct traffic to |
|
||||||
| appropiate downstream port |
|
| appropriate downstream port |
|
||||||
| Switch BUS appears as 0e |
|
| Switch BUS appears as 0e |
|
||||||
|x__________________________________________________|
|
|x__________________________________________________|
|
||||||
| | | |
|
| | | |
|
||||||
@ -366,7 +366,7 @@ An example of 4 devices below a switch suitable for 1, 2 or 4 way interleave::
|
|||||||
Kernel Configuration Options
|
Kernel Configuration Options
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
In Linux 5.18 the followings options are necessary to make use of
|
In Linux 5.18 the following options are necessary to make use of
|
||||||
OS management of CXL memory devices as described here.
|
OS management of CXL memory devices as described here.
|
||||||
|
|
||||||
* CONFIG_CXL_BUS
|
* CONFIG_CXL_BUS
|
||||||
|
Loading…
Reference in New Issue
Block a user