Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: sparc: correct spelling

Correct spelling problems for Documentation/sparc/ as reported
by codespell.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Link: https://lore.kernel.org/r/20230129231053.20863-9-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Randy Dunlap and committed by
Jonathan Corbet
810edcd5 7852fe3a

+24 -24
+2 -2
Documentation/sparc/adi.rst
··· 38 38 39 39 ADI is enabled on a set of pages using mprotect() with PROT_ADI flag. 40 40 When ADI is enabled on a set of pages by a task for the first time, 41 - kernel sets the PSTATE.mcde bit fot the task. Version tags for memory 41 + kernel sets the PSTATE.mcde bit for the task. Version tags for memory 42 42 addresses are set with an stxa instruction on the addresses using 43 43 ASI_MCD_PRIMARY or ASI_MCD_ST_BLKINIT_PRIMARY. ADI block size is 44 44 provided by the hypervisor to the kernel. Kernel returns the value of ··· 97 97 Disrupting memory corruption 98 98 ---------------------------- 99 99 100 - When a store accesses a memory localtion that has TTE.mcd=1, 100 + When a store accesses a memory location that has TTE.mcd=1, 101 101 the task is running with ADI enabled (PSTATE.mcde=1), and the ADI 102 102 tag in the address used (bits 63:60) does not match the tag set on 103 103 the corresponding cacheline, a memory corruption trap occurs. By
+22 -22
Documentation/sparc/oradax/dax-hv-api.txt
··· 22 22 functionality offered may vary by virtual machine implementation. 23 23 24 24 The DAX is a virtual device to sun4v guests, with supported data operations indicated by the virtual device 25 - compatibilty property. Functionality is accessed through the submission of Command Control Blocks 25 + compatibility property. Functionality is accessed through the submission of Command Control Blocks 26 26 (CCBs) via the ccb_submit API function. The operations are processed asynchronously, with the status 27 27 of the submitted operations reported through a Completion Area linked to each CCB. Each CCB has a 28 28 separate Completion Area and, unless execution order is specifically restricted through the use of serial- ··· 313 313 314 314 Secondary Input Description 315 315 Format Code 316 - 0 Element is stored as value minus 1 (0 evalutes to 1, 1 evalutes 316 + 0 Element is stored as value minus 1 (0 evaluates to 1, 1 evaluates 317 317 to 2, etc) 318 318 1 Element is stored as value 319 319 ··· 659 659 “Secondary Input Element Size” 660 660 [13:10] Output Format (see Section 36.2.1.1.6, “Output Format”) 661 661 [9:5] Operand size for first scan criteria value. In a scan value 662 - operation, this is one of two potential extact match values. 662 + operation, this is one of two potential exact match values. 663 663 In a scan range operation, this is the size of the upper range 664 664 665 665 ··· 673 673 operand, minus 1. Values 0xF-0x1E are reserved. A value of 674 674 0x1F indicates this operand is not in use for this scan operation. 675 675 [4:0] Operand size for second scan criteria value. In a scan value 676 - operation, this is one of two potential extact match values. 676 + operation, this is one of two potential exact match values. 677 677 In a scan range operation, this is the size of the lower range 678 678 boundary. The value of this field is the number of bytes in the 679 679 operand, minus 1. Values 0xF-0x1E are reserved. A value of ··· 690 690 48 8 Output (same fields as Primary Input) 691 691 56 8 Symbol Table (if used by Primary Input). Same fields as Section 36.2.1.2, 692 692 “Extract command” 693 - 64 4 Next 4 most significant bytes of first scan criteria operand occuring after the 693 + 64 4 Next 4 most significant bytes of first scan criteria operand occurring after the 694 694 bytes specified at offset 40, if needed by the operand size. If first operand 695 695 is less than 8 bytes, the valid bytes are left-aligned to the lowest address. 696 - 68 4 Next 4 most significant bytes of second scan criteria operand occuring after 696 + 68 4 Next 4 most significant bytes of second scan criteria operand occurring after 697 697 the bytes specified at offset 44, if needed by the operand size. If second 698 698 operand is less than 8 bytes, the valid bytes are left-aligned to the lowest 699 699 address. 700 - 72 4 Next 4 most significant bytes of first scan criteria operand occuring after the 700 + 72 4 Next 4 most significant bytes of first scan criteria operand occurring after the 701 701 bytes specified at offset 64, if needed by the operand size. If first operand 702 702 is less than 12 bytes, the valid bytes are left-aligned to the lowest address. 703 - 76 4 Next 4 most significant bytes of second scan criteria operand occuring after 703 + 76 4 Next 4 most significant bytes of second scan criteria operand occurring after 704 704 the bytes specified at offset 68, if needed by the operand size. If second 705 705 operand is less than 12 bytes, the valid bytes are left-aligned to the lowest 706 706 address. 707 - 80 4 Next 4 most significant bytes of first scan criteria operand occuring after the 707 + 80 4 Next 4 most significant bytes of first scan criteria operand occurring after the 708 708 bytes specified at offset 72, if needed by the operand size. If first operand 709 709 is less than 16 bytes, the valid bytes are left-aligned to the lowest address. 710 - 84 4 Next 4 most significant bytes of second scan criteria operand occuring after 710 + 84 4 Next 4 most significant bytes of second scan criteria operand occurring after 711 711 the bytes specified at offset 76, if needed by the operand size. If second 712 712 operand is less than 16 bytes, the valid bytes are left-aligned to the lowest 713 713 address. ··· 721 721 722 722 36.2.1.4. Translate commands 723 723 724 - The translate commands takes an input array of indicies, and a table of single bit values indexed by those 725 - indicies, and outputs a bit vector or index array created by reading the tables bit value at each index in 724 + The translate commands takes an input array of indices, and a table of single bit values indexed by those 725 + indices, and outputs a bit vector or index array created by reading the tables bit value at each index in 726 726 the input array. The output should therefore contain exactly one bit per index in the input data stream, 727 - when outputing as a bit vector. When outputing as an index array, the number of elements depends on the 727 + when outputting as a bit vector. When outputting as an index array, the number of elements depends on the 728 728 values read in the bit table, but will always be less than, or equal to, the number of input elements. Only 729 729 a restricted subset of the possible input format types are supported. No variable width or Huffman/OZIP 730 730 encoded input streams are allowed. The primary input data element size must be 3 bytes or less. ··· 742 742 code in the CCB header. 743 743 744 744 There are two supported formats for the output stream: the bit vector and index array formats (codes 0x8, 745 - 0xD, and 0xE). The index array format is an array of indicies of bits which would have been set if the 745 + 0xD, and 0xE). The index array format is an array of indices of bits which would have been set if the 746 746 output format was a bit array. 747 747 748 748 The return value of the CCB completion area contains the number of bits set in the output bit vector, ··· 1254 1254 submitted CCB, or may apply to a larger scope. The status should not be 1255 1255 interpreted as permanent, and the guest should attempt to submit CCBs in 1256 1256 the future which had previously been unable to be performed. The status 1257 - data provides additional information about scope of the retricted availability 1257 + data provides additional information about scope of the restricted availability 1258 1258 as follows: 1259 1259 Value Description 1260 1260 0 Processing for the exact CCB instance submitted was unavailable, ··· 1330 1330 of other CCBs ahead of the requested CCB, to provide a relative estimate of when the CCB may execute. 1331 1331 1332 1332 The dax return value is only valid when the state is ENQUEUED. The value returned is the DAX unit 1333 - instance indentifier for the DAX unit processing the queue where the requested CCB is located. The value 1333 + instance identifier for the DAX unit processing the queue where the requested CCB is located. The value 1334 1334 matches the value that would have been, or was, returned by ccb_submit using the queue info flag. 1335 1335 1336 1336 The queue return value is only valid when the state is ENQUEUED. The value returned is the DAX 1337 - queue instance indentifier for the DAX unit processing the queue where the requested CCB is located. The 1337 + queue instance identifier for the DAX unit processing the queue where the requested CCB is located. The 1338 1338 value matches the value that would have been, or was, returned by ccb_submit using the queue info flag. 1339 1339 1340 1340 36.3.2.1. Errors 1341 1341 1342 - EOK The request was proccessed and the CCB state is valid. 1342 + EOK The request was processed and the CCB state is valid. 1343 1343 EBADALIGN address is not on a 64-byte aligned. 1344 1344 ENORADDR The real address provided for address is not valid. 1345 1345 EINVAL The CCB completion area contents are not valid. 1346 - EWOULDBLOCK Internal resource contraints prevented the CCB state from being queried at this 1346 + EWOULDBLOCK Internal resource constraints prevented the CCB state from being queried at this 1347 1347 time. The guest should retry the request. 1348 1348 ENOACCESS The guest does not have permission to access the coprocessor virtual device 1349 1349 functionality. ··· 1401 1401 1402 1402 36.3.3.2. Errors 1403 1403 1404 - EOK The request was proccessed and the result is valid. 1404 + EOK The request was processed and the result is valid. 1405 1405 EBADALIGN address is not on a 64-byte aligned. 1406 1406 ENORADDR The real address provided for address is not valid. 1407 1407 EINVAL The CCB completion area contents are not valid. 1408 - EWOULDBLOCK Internal resource contraints prevented the CCB from being killed at this time. 1408 + EWOULDBLOCK Internal resource constraints prevented the CCB from being killed at this time. 1409 1409 The guest should retry the request. 1410 1410 ENOACCESS The guest does not have permission to access the coprocessor virtual device 1411 1411 functionality. ··· 1423 1423 1424 1424 36.3.4.1. Errors 1425 1425 1426 - EOK The request was proccessed and the number of enabled/disabled DAX units 1426 + EOK The request was processed and the number of enabled/disabled DAX units 1427 1427 are valid. 1428 1428 1429 1429