docs: powerpc: Fix misspellings and grammar errors

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: He Ying <heying24@huawei.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210326100853.173586-1-heying24@huawei.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
He Ying
2021-03-26 06:08:53 -04:00
committed by Jonathan Corbet
parent abb9c07885
commit f8b427772a
9 changed files with 11 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ should:
a) add your platform support as a _boolean_ option in a) add your platform support as a _boolean_ option in
arch/powerpc/Kconfig, following the example of PPC_PSERIES, arch/powerpc/Kconfig, following the example of PPC_PSERIES,
PPC_PMAC and PPC_MAPLE. The later is probably a good PPC_PMAC and PPC_MAPLE. The latter is probably a good
example of a board support to start from. example of a board support to start from.
b) create your main platform file as b) create your main platform file as

View File

@@ -4,7 +4,7 @@ DAWR issues on POWER9
On POWER9 the Data Address Watchpoint Register (DAWR) can cause a checkstop On POWER9 the Data Address Watchpoint Register (DAWR) can cause a checkstop
if it points to cache inhibited (CI) memory. Currently Linux has no way to if it points to cache inhibited (CI) memory. Currently Linux has no way to
disinguish CI memory when configuring the DAWR, so (for now) the DAWR is distinguish CI memory when configuring the DAWR, so (for now) the DAWR is
disabled by this commit:: disabled by this commit::
commit 9654153158d3e0684a1bdb76dbababdb7111d5a0 commit 9654153158d3e0684a1bdb76dbababdb7111d5a0

View File

@@ -73,7 +73,7 @@ return all-ff's (0xff, 0xffff, 0xffffffff for 8/16/32-bit reads).
This value was chosen because it is the same value you would This value was chosen because it is the same value you would
get if the device was physically unplugged from the slot. get if the device was physically unplugged from the slot.
This includes access to PCI memory, I/O space, and PCI config This includes access to PCI memory, I/O space, and PCI config
space. Interrupts; however, will continued to be delivered. space. Interrupts; however, will continue to be delivered.
Detection and recovery are performed with the aid of ppc64 Detection and recovery are performed with the aid of ppc64
firmware. The programming interfaces in the Linux kernel firmware. The programming interfaces in the Linux kernel

View File

@@ -8,7 +8,7 @@ capabilities and information which can be used by a bootloader or userland.
Types and Descriptors Types and Descriptors
--------------------- ---------------------
The types to be used with the "PowerPC" namesapce are defined in [#f1]_. The types to be used with the "PowerPC" namespace are defined in [#f1]_.
1) PPC_ELFNOTE_CAPABILITIES 1) PPC_ELFNOTE_CAPABILITIES

View File

@@ -207,7 +207,7 @@ Currently the dump will be copied from /proc/vmcore to a new file upon
user intervention. The dump data available through /proc/vmcore will be user intervention. The dump data available through /proc/vmcore will be
in ELF format. Hence the existing kdump infrastructure (kdump scripts) in ELF format. Hence the existing kdump infrastructure (kdump scripts)
to save the dump works fine with minor modifications. KDump scripts on to save the dump works fine with minor modifications. KDump scripts on
major Distro releases have already been modified to work seemlessly (no major Distro releases have already been modified to work seamlessly (no
user intervention in saving the dump) when FADump is used, instead of user intervention in saving the dump) when FADump is used, instead of
KDump, as dump mechanism. KDump, as dump mechanism.

View File

@@ -38,5 +38,5 @@ bit of the entropy to decide the index of the 64M zone. Then we chose a
kernstart_virt_addr kernstart_virt_addr
To enable KASLR, set CONFIG_RANDOMIZE_BASE = y. If KASLR is enable and you To enable KASLR, set CONFIG_RANDOMIZE_BASE = y. If KASLR is enabled and you
want to disable it at runtime, add "nokaslr" to the kernel cmdline. want to disable it at runtime, add "nokaslr" to the kernel cmdline.

View File

@@ -34,7 +34,7 @@ To compile/use :
Some remarks: Some remarks:
- The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100 - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
is not supported, and I'm not sure anyone is interesting in working on it is not supported, and I'm not sure anyone is interested in working on it
so. I didn't took 5xxx because there's apparently a lot of 5xxx that have so. I didn't took 5xxx because there's apparently a lot of 5xxx that have
nothing to do with the MPC5200. I also included the 'MPC' for the same nothing to do with the MPC5200. I also included the 'MPC' for the same
reason. reason.

View File

@@ -40,7 +40,7 @@ and any in-arguments for the hcall are provided in registers *r4-r12*. If values
have to be passed through a memory buffer, the data stored in that buffer should be have to be passed through a memory buffer, the data stored in that buffer should be
in Big-endian byte order. in Big-endian byte order.
Once control is returns back to the guest after hypervisor has serviced the Once control returns back to the guest after hypervisor has serviced the
'HVCS' instruction the return value of the hcall is available in *r3* and any 'HVCS' instruction the return value of the hcall is available in *r3* and any
out values are returned in registers *r4-r12*. Again like in case of in-arguments, out values are returned in registers *r4-r12*. Again like in case of in-arguments,
any out values stored in a memory buffer will be in Big-endian byte order. any out values stored in a memory buffer will be in Big-endian byte order.
@@ -147,7 +147,7 @@ corresponding opcode values please look into the arch specific header [4]_:
| Out: *numBytesRead* | Out: *numBytesRead*
| Return Value: *H_Success, H_Parameter, H_P2, H_P3, H_Hardware* | Return Value: *H_Success, H_Parameter, H_P2, H_P3, H_Hardware*
Given a DRC Index of an NVDIMM, read N-bytes from the the metadata area Given a DRC Index of an NVDIMM, read N-bytes from the metadata area
associated with it, at a specified offset and copy it to provided buffer. associated with it, at a specified offset and copy it to provided buffer.
The metadata area stores configuration information such as label information, The metadata area stores configuration information such as label information,
bad-blocks etc. The metadata area is located out-of-band of NVDIMM storage bad-blocks etc. The metadata area is located out-of-band of NVDIMM storage

View File

@@ -189,7 +189,7 @@ kernel aborted a transaction:
====================== ================================ ====================== ================================
These can be checked by the user program's abort handler as TEXASR[0:7]. If These can be checked by the user program's abort handler as TEXASR[0:7]. If
bit 7 is set, it indicates that the error is consider persistent. For example bit 7 is set, it indicates that the error is considered persistent. For example
a TM_CAUSE_ALIGNMENT will be persistent while a TM_CAUSE_RESCHED will not. a TM_CAUSE_ALIGNMENT will be persistent while a TM_CAUSE_RESCHED will not.
GDB GDB
@@ -271,4 +271,4 @@ with these lines:
hrfid and mtmsrd have the same quirk. hrfid and mtmsrd have the same quirk.
The Linux kernel uses this quirk in it's early exception handling. The Linux kernel uses this quirk in its early exception handling.