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

sparc: Fix typos

Fix typos, most reported by "codespell arch/sparc". Only touches
comments, no code changes.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: sparclinux@vger.kernel.org
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240103231605.1801364-9-helgaas@kernel.org

authored by

Bjorn Helgaas and committed by
Andreas Larsson
3cc208ff 0f199194

+27 -27
+3 -3
arch/sparc/include/asm/hypervisor.h
··· 430 430 * ERRORS: No errors defined. 431 431 * 432 432 * Return the hypervisor ID handle for the current CPU. Use by a 433 - * virtual CPU to discover it's own identity. 433 + * virtual CPU to discover its own identity. 434 434 */ 435 435 #define HV_FAST_CPU_MYID 0x16 436 436 ··· 1221 1221 * EBADALIGNED software state description is not correctly 1222 1222 * aligned 1223 1223 * 1224 - * This allows the guest to report it's soft state to the hypervisor. There 1224 + * This allows the guest to report its soft state to the hypervisor. There 1225 1225 * are two primary components to this state. The first part states whether 1226 1226 * the guest software is running or not. The second containts optional 1227 1227 * details specific to the software. ··· 1502 1502 * configuration error of some sort. 1503 1503 * 1504 1504 * The dump services provide an opaque buffer into which the 1505 - * hypervisor can place it's internal state in order to assist in 1505 + * hypervisor can place its internal state in order to assist in 1506 1506 * debugging such situations. The contents are opaque and extremely 1507 1507 * platform and hypervisor implementation specific. The guest, during 1508 1508 * a core dump, requests that the hypervisor update any information in
+1 -1
arch/sparc/include/asm/ldc.h
··· 13 13 * or data becomes available on the receive side. 14 14 * 15 15 * For non-RAW links, if the LDC_EVENT_RESET event arrives the 16 - * driver should reset all of it's internal state and reinvoke 16 + * driver should reset all of its internal state and reinvoke 17 17 * ldc_connect() to try and bring the link up again. 18 18 * 19 19 * For RAW links, ldc_connect() is not used. Instead the driver
+2 -2
arch/sparc/include/asm/mmu_context_64.h
··· 93 93 94 94 /* We have to be extremely careful here or else we will miss 95 95 * a TSB grow if we switch back and forth between a kernel 96 - * thread and an address space which has it's TSB size increased 96 + * thread and an address space which has its TSB size increased 97 97 * on another processor. 98 98 * 99 99 * It is possible to play some games in order to optimize the ··· 118 118 * 119 119 * At that point cpu0 continues to use a stale TSB, the one from 120 120 * before the TSB grow performed on cpu1. cpu1 did not cross-call 121 - * cpu0 to update it's TSB because at that point the cpu_vm_mask 121 + * cpu0 to update its TSB because at that point the cpu_vm_mask 122 122 * only had cpu1 set in it. 123 123 */ 124 124 tsb_context_switch_ctx(mm, CTX_HWBITS(mm->context));
+1 -1
arch/sparc/include/asm/switch_to_64.h
··· 15 15 * for l0/l1. It will use one for 'next' and the other to hold 16 16 * the output value of 'last'. 'next' is not referenced again 17 17 * past the invocation of switch_to in the scheduler, so we need 18 - * not preserve it's value. Hairy, but it lets us remove 2 loads 18 + * not preserve its value. Hairy, but it lets us remove 2 loads 19 19 * and 2 stores in this critical code path. -DaveM 20 20 */ 21 21 #define switch_to(prev, next, last) \
+1 -1
arch/sparc/kernel/irq_64.c
··· 980 980 * 981 981 * On SMP this gets invoked from the CPU trampoline before 982 982 * the cpu has fully taken over the trap table from OBP, 983 - * and it's kernel stack + %g6 thread register state is 983 + * and its kernel stack + %g6 thread register state is 984 984 * not fully cooked yet. 985 985 * 986 986 * Therefore you cannot make any OBP calls, not even prom_printf,
+1 -1
arch/sparc/kernel/kprobes.c
··· 230 230 return regs->tnpc; 231 231 } 232 232 233 - /* If INSN is an instruction which writes it's PC location 233 + /* If INSN is an instruction which writes its PC location 234 234 * into a destination register, fix that up. 235 235 */ 236 236 static void __kprobes retpc_fixup(struct pt_regs *regs, u32 insn,
+1 -1
arch/sparc/kernel/ldc.c
··· 1854 1854 * This seems the best behavior because this allows 1855 1855 * a user of the LDC layer to start with a small 1856 1856 * RX buffer for ldc_read() calls and use -EMSGSIZE 1857 - * as a cue to enlarge it's read buffer. 1857 + * as a cue to enlarge its read buffer. 1858 1858 */ 1859 1859 err = -EMSGSIZE; 1860 1860 break;
+1 -1
arch/sparc/kernel/leon_pci_grpci2.c
··· 586 586 REGSTORE(regs->io_map, REGLOAD(regs->io_map) & 0x0000ffff); 587 587 588 588 /* set 1:1 mapping between AHB -> PCI memory space, for all Masters 589 - * Each AHB master has it's own mapping registers. Max 16 AHB masters. 589 + * Each AHB master has its own mapping registers. Max 16 AHB masters. 590 590 */ 591 591 for (i = 0; i < 16; i++) 592 592 REGSTORE(regs->ahbmst_map[i], priv->pci_area);
+1 -1
arch/sparc/kernel/of_device_64.c
··· 560 560 * 561 561 * If we hit a bus type or situation we cannot handle, we 562 562 * stop and assume that the original IRQ number was in a 563 - * format which has special meaning to it's immediate parent. 563 + * format which has special meaning to its immediate parent. 564 564 */ 565 565 pp = dp->parent; 566 566 ip = NULL;
+1 -1
arch/sparc/kernel/pci.c
··· 311 311 /* We can't actually use the firmware value, we have 312 312 * to read what is in the register right now. One 313 313 * reason is that in the case of IDE interfaces the 314 - * firmware can sample the value before the the IDE 314 + * firmware can sample the value before the IDE 315 315 * interface is programmed into native mode. 316 316 */ 317 317 pci_read_config_dword(dev, PCI_CLASS_REVISION, &class);
+2 -2
arch/sparc/kernel/pci_impl.h
··· 19 19 * each with one (Sabre) or two (PSYCHO/SCHIZO) PCI bus modules 20 20 * underneath. Each PCI bus module uses an IOMMU (shared by both 21 21 * PBMs of a controller, or per-PBM), and if a streaming buffer 22 - * is present, each PCI bus module has it's own. (ie. the IOMMU 22 + * is present, each PCI bus module has its own. (ie. the IOMMU 23 23 * might be shared between PBMs, the STC is never shared) 24 - * Furthermore, each PCI bus module controls it's own autonomous 24 + * Furthermore, each PCI bus module controls its own autonomous 25 25 * PCI bus. 26 26 */ 27 27
+2 -2
arch/sparc/kernel/pci_schizo.c
··· 145 145 146 146 /* This is __REALLY__ dangerous. When we put the 147 147 * streaming buffer into diagnostic mode to probe 148 - * it's tags and error status, we _must_ clear all 148 + * its tags and error status, we _must_ clear all 149 149 * of the line tag valid bits before re-enabling 150 150 * the streaming buffer. If any dirty data lives 151 151 * in the STC when we do this, we will end up ··· 275 275 pbm->name, type_string); 276 276 277 277 /* Put the IOMMU into diagnostic mode and probe 278 - * it's TLB for entries with error status. 278 + * its TLB for entries with error status. 279 279 * 280 280 * It is very possible for another DVMA to occur 281 281 * while we do this probe, and corrupt the system
+1 -1
arch/sparc/kernel/perf_event.c
··· 979 979 980 980 static void sparc_pmu_start(struct perf_event *event, int flags); 981 981 982 - /* On this PMU each PIC has it's own PCR control register. */ 982 + /* On this PMU each PIC has its own PCR control register. */ 983 983 static void calculate_multiple_pcrs(struct cpu_hw_events *cpuc) 984 984 { 985 985 int i;
+1 -1
arch/sparc/kernel/prom_irqtrans.c
··· 394 394 iclr = schizo_ino_to_iclr(pbm_regs, ino); 395 395 396 396 /* On Schizo, no inofixup occurs. This is because each 397 - * INO has it's own IMAP register. On Psycho and Sabre 397 + * INO has its own IMAP register. On Psycho and Sabre 398 398 * there is only one IMAP register for each PCI slot even 399 399 * though four different INOs can be generated by each 400 400 * PCI slot.
+1 -1
arch/sparc/kernel/psycho_common.c
··· 50 50 spin_lock(&stc_buf_lock); 51 51 52 52 /* This is __REALLY__ dangerous. When we put the streaming 53 - * buffer into diagnostic mode to probe it's tags and error 53 + * buffer into diagnostic mode to probe its tags and error 54 54 * status, we _must_ clear all of the line tag valid bits 55 55 * before re-enabling the streaming buffer. If any dirty data 56 56 * lives in the STC when we do this, we will end up
+1 -1
arch/sparc/kernel/signal_32.c
··· 473 473 * 474 474 * %g7 is used as the "thread register". %g6 is not used in 475 475 * any fixed manner. %g6 is used as a scratch register and 476 - * a compiler temporary, but it's value is never used across 476 + * a compiler temporary, but its value is never used across 477 477 * a system call. Therefore %g6 is usable for orig_i0 storage. 478 478 */ 479 479 if (pt_regs_is_syscall(regs) && (regs->psr & PSR_C))
+1 -1
arch/sparc/kernel/signal_64.c
··· 494 494 * 495 495 * %g7 is used as the "thread register". %g6 is not used in 496 496 * any fixed manner. %g6 is used as a scratch register and 497 - * a compiler temporary, but it's value is never used across 497 + * a compiler temporary, but its value is never used across 498 498 * a system call. Therefore %g6 is usable for orig_i0 storage. 499 499 */ 500 500 if (pt_regs_is_syscall(regs) &&
+1 -1
arch/sparc/mm/srmmu.c
··· 1513 1513 1514 1514 /* 1515 1515 * We need this to make sure old viking takes no hits 1516 - * on it's cache for dma snoops to workaround the 1516 + * on its cache for dma snoops to workaround the 1517 1517 * "load from non-cacheable memory" interrupt bug. 1518 1518 * This is only necessary because of the new way in 1519 1519 * which we use the IOMMU.
+1 -1
arch/sparc/mm/tsb.c
··· 385 385 * will not trigger any longer. 386 386 * 387 387 * The TSB can be anywhere from 8K to 1MB in size, in increasing powers 388 - * of two. The TSB must be aligned to it's size, so f.e. a 512K TSB 388 + * of two. The TSB must be aligned to its size, so f.e. a 512K TSB 389 389 * must be 512K aligned. It also must be physically contiguous, so we 390 390 * cannot use vmalloc(). 391 391 *
+3 -3
arch/sparc/net/bpf_jit_comp_32.c
··· 300 300 * 301 301 * The most common case is to emit a branch at the end of such 302 302 * a code sequence. So this would be two instructions, the 303 - * branch and it's delay slot. 303 + * branch and its delay slot. 304 304 * 305 305 * Therefore by default the branch emitters calculate the branch 306 306 * offset field as: ··· 309 309 * 310 310 * This "addrs[i] - 8" is the address of the branch itself or 311 311 * what "." would be in assembler notation. The "8" part is 312 - * how we take into consideration the branch and it's delay 312 + * how we take into consideration the branch and its delay 313 313 * slot mentioned above. 314 314 * 315 315 * Sometimes we need to emit a branch earlier in the code 316 316 * sequence. And in these situations we adjust "destination" 317 317 * to accommodate this difference. For example, if we needed 318 - * to emit a branch (and it's delay slot) right before the 318 + * to emit a branch (and its delay slot) right before the 319 319 * final instruction emitted for a BPF opcode, we'd use 320 320 * "destination + 4" instead of just plain "destination" above. 321 321 *