mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
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:
parent
abb9c07885
commit
f8b427772a
@ -94,7 +94,7 @@ should:
|
||||
|
||||
a) add your platform support as a _boolean_ option in
|
||||
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.
|
||||
|
||||
b) create your main platform file as
|
||||
|
@ -4,7 +4,7 @@ DAWR issues on POWER9
|
||||
|
||||
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
|
||||
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::
|
||||
|
||||
commit 9654153158d3e0684a1bdb76dbababdb7111d5a0
|
||||
|
@ -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
|
||||
get if the device was physically unplugged from the slot.
|
||||
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
|
||||
firmware. The programming interfaces in the Linux kernel
|
||||
|
@ -8,7 +8,7 @@ capabilities and information which can be used by a bootloader or userland.
|
||||
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
|
||||
|
||||
|
@ -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
|
||||
in ELF format. Hence the existing kdump infrastructure (kdump scripts)
|
||||
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
|
||||
KDump, as dump mechanism.
|
||||
|
||||
|
@ -38,5 +38,5 @@ bit of the entropy to decide the index of the 64M zone. Then we chose a
|
||||
|
||||
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.
|
||||
|
@ -34,7 +34,7 @@ To compile/use :
|
||||
Some remarks:
|
||||
|
||||
- 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
|
||||
nothing to do with the MPC5200. I also included the 'MPC' for the same
|
||||
reason.
|
||||
|
@ -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
|
||||
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
|
||||
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.
|
||||
@ -147,7 +147,7 @@ corresponding opcode values please look into the arch specific header [4]_:
|
||||
| Out: *numBytesRead*
|
||||
| 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.
|
||||
The metadata area stores configuration information such as label information,
|
||||
bad-blocks etc. The metadata area is located out-of-band of NVDIMM storage
|
||||
|
@ -189,7 +189,7 @@ kernel aborted a transaction:
|
||||
====================== ================================
|
||||
|
||||
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.
|
||||
|
||||
GDB
|
||||
@ -271,4 +271,4 @@ with these lines:
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user