···22------------------------3344Required properties:55-- comapatible: Should be "ibm,opal-rtc"55+- compatible: Should be "ibm,opal-rtc"6677Optional properties:88- wakeup-source: Decides if the wakeup is supported or not
+1-1
arch/powerpc/crypto/aes-spe-regs.h
···1818#define rLN r7 /* length of data to be processed */1919#define rIP r8 /* potiner to IV (CBC/CTR/XTS modes) */2020#define rKT r9 /* pointer to tweak key (XTS mode) */2121-#define rT0 r11 /* pointers to en-/decrpytion tables */2121+#define rT0 r11 /* pointers to en-/decryption tables */2222#define rT1 r102323#define rD0 r9 /* data */2424#define rD1 r14
+1-1
arch/powerpc/include/asm/book3s/64/mmu-hash.h
···434434 * function. Used in slb_allocate() and do_stab_bolted. The function435435 * computed is: (protovsid*VSID_MULTIPLIER) % VSID_MODULUS436436 *437437- * rt = register continaing the proto-VSID and into which the437437+ * rt = register containing the proto-VSID and into which the438438 * VSID will be stored439439 * rx = scratch register (clobbered)440440 *
+1-1
arch/powerpc/include/asm/eeh.h
···5757/*5858 * The struct is used to trace PE related EEH functionality.5959 * In theory, there will have one instance of the struct to6060- * be created against particular PE. In nature, PEs corelate6060+ * be created against particular PE. In nature, PEs correlate6161 * to each other. the struct has to reflect that hierarchy in6262 * order to easily pick up those affected PEs when one particular6363 * PE has EEH errors.
+1-1
arch/powerpc/include/asm/nohash/32/pte-44x.h
···3232 * - - - - - - U0 U1 U2 U3 W I M G E - UX UW UR SX SW SR3333 *3434 * Newer 440 cores (440x6 as used on AMCC 460EX/460GT) have additional3535- * TLB2 storage attibute fields. Those are:3535+ * TLB2 storage attribute fields. Those are:3636 *3737 * TLB2:3838 * 0...10 11 12 13 14 15 16...31
+2-2
arch/powerpc/include/asm/opal-api.h
···802802};803803804804/*805805- * Candiate image SG list.805805+ * Candidate image SG list.806806 *807807 * length = VER | length808808 */···852852 * with individual elements being 16 bits wide to fetch the system853853 * wide EPOW status. Each element in the buffer will contain the854854 * EPOW status in it's bit representation for a particular EPOW sub855855- * class as defiend here. So multiple detailed EPOW status bits855855+ * class as defined here. So multiple detailed EPOW status bits856856 * specific for any sub class can be represented in a single buffer857857 * element as it's bit representation.858858 */
+1-1
arch/powerpc/include/asm/pmac_feature.h
···210210211211/* PMAC_FTR_SOUND_CHIP_ENABLE (struct device_node* node, 0, int value)212212 * enable/disable the sound chip, whatever it is and provided it can213213- * acually be controlled213213+ * actually be controlled214214 */215215#define PMAC_FTR_SOUND_CHIP_ENABLE PMAC_FTR_DEF(9)216216
+1-1
arch/powerpc/include/asm/processor.h
···224224 unsigned int align_ctl; /* alignment handling control */225225#ifdef CONFIG_PPC64226226 unsigned long start_tb; /* Start purr when proc switched in */227227- unsigned long accum_tb; /* Total accumilated purr for process */227227+ unsigned long accum_tb; /* Total accumulated purr for process */228228#ifdef CONFIG_HAVE_HW_BREAKPOINT229229 struct perf_event *ptrace_bps[HBP_NUM];230230 /*
···9696#define PTE_RPN_SHIFT (PAGE_SHIFT)9797#endif98989999-/* The mask convered by the RPN must be a ULL on 32-bit platforms with9999+/* The mask covered by the RPN must be a ULL on 32-bit platforms with100100 * 64-bit PTEs101101 */102102#if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT)
+1-1
arch/powerpc/include/asm/smu.h
···185185 * x = processor mask186186 * y = op. point index187187 * z = processor freq. step index188188- * I haven't yet decyphered result codes188188+ * I haven't yet deciphered result codes189189 *190190 */191191#define SMU_CMD_POWER_COMMAND 0xaa
+1-1
arch/powerpc/include/asm/tsi108.h
···7777 * nodes if your board uses the Broadcom PHYs7878 */7979#define TSI108_PHY_MV88E 0 /* Marvel 88Exxxx PHY */8080-#define TSI108_PHY_BCM54XX 1 /* Broardcom BCM54xx PHY */8080+#define TSI108_PHY_BCM54XX 1 /* Broadcom BCM54xx PHY */81818282/* Global variables */8383
···139139 * into it.140140 *141141 * That's just wrong.The warning in the core code is142142- * there to tell people to fix their assymetries in142142+ * there to tell people to fix their asymmetries in143143 * their own code, not by abusing the core information144144 * to avoid it.145145 *
+1-1
arch/powerpc/kernel/exceptions-64e.S
···453453 sth r1,PACA_TRAP_SAVE(r13); /* store trap */ \454454 b bad_stack_book3e; /* bad stack error */455455456456-/* WARNING: If you change the layout of this stub, make sure you chcek456456+/* WARNING: If you change the layout of this stub, make sure you check457457 * the debug exception handler which handles single stepping458458 * into exceptions from userspace, and the MM code in459459 * arch/powerpc/mm/tlb_nohash.c which patches the branch here
+1-1
arch/powerpc/kernel/pci_64.c
···82828383 /* If this is not a PHB, we only flush the hash table over8484 * the area mapped by this bridge. We don't play with the PTE8585- * mappings since we might have to deal with sub-page alignemnts8585+ * mappings since we might have to deal with sub-page alignments8686 * so flushing the hash table is the only sane way to make sure8787 * that no hash entries are covering that removed bridge area8888 * while still allowing other busses overlapping those pages
+1-1
arch/powerpc/kernel/process.c
···802802 * this state.803803 * We do this using the current MSR, rather tracking it in804804 * some specific thread_struct bit, as it has the additional805805- * benifit of checking for a potential TM bad thing exception.805805+ * benefit of checking for a potential TM bad thing exception.806806 */807807 if (!MSR_TM_SUSPENDED(mfmsr()))808808 return;
+1-1
arch/powerpc/kernel/rtas-proc.c
···698698/* 699699 * Format: 700700 * ${LETTER}${NUMBER}[[-/]${LETTER}${NUMBER} [ ... ] ]701701- * the '.' may be an abbrevation701701+ * the '.' may be an abbreviation702702 */703703static void check_location_string(struct seq_file *m, const char *c)704704{
+1-1
arch/powerpc/lib/rheap.c
···325325}326326EXPORT_SYMBOL_GPL(rh_init);327327328328-/* Attach a free memory region, coalesces regions if adjuscent */328328+/* Attach a free memory region, coalesces regions if adjacent */329329int rh_attach_region(rh_info_t * info, unsigned long start, int size)330330{331331 rh_block_t *blk;
+2-2
arch/powerpc/mm/hash_native_64.c
···5555 * We need 14 to 65 bits of va for a tlibe of 4K page5656 * With vpn we ignore the lower VPN_SHIFT bits already.5757 * And top two bits are already ignored because we can5858- * only accomadate 76 bits in a 64 bit vpn with a VPN_SHIFT5858+ * only accomodate 76 bits in a 64 bit vpn with a VPN_SHIFT5959 * of 12.6060 */6161 va = vpn << VPN_SHIFT;···605605 * crashdump and all bets are off anyway.606606 *607607 * TODO: add batching support when enabled. remember, no dynamic memory here,608608- * athough there is the control page available...608608+ * although there is the control page available...609609 */610610static void native_hpte_clear(void)611611{
+1-1
arch/powerpc/oprofile/cell/spu_task_sync.c
···5151 * That way we can tell the difference between the5252 * buffer being full versus empty.5353 *5454- * ASSUPTION: the buffer_lock is held when this function5454+ * ASSUMPTION: the buffer_lock is held when this function5555 * is called to lock the buffer, head and tail.5656 */5757 int full = 1;
+1-1
arch/powerpc/perf/core-book3s.c
···992992 * than the previous value it will cause the delta and the counter to993993 * have bogus values unless we rolled a counter over. If a coutner is994994 * rolled back, it will be smaller, but within 256, which is the maximum995995- * number of events to rollback at once. If we dectect a rollback995995+ * number of events to rollback at once. If we detect a rollback996996 * return 0. This can lead to a small lack of precision in the997997 * counters.998998 */
+1-1
arch/powerpc/perf/hv-24x7.c
···12981298 __this_cpu_write(hv_24x7_txn_err, ret);12991299 } else {13001300 /*13011301- * Assoicate the event with the HCALL request index,13011301+ * Associate the event with the HCALL request index,13021302 * so ->commit_txn() can quickly find/update count.13031303 */13041304 i = request_buffer->num_requests - 1;
+1-1
arch/powerpc/perf/hv-24x7.h
···6666 /* -1 if @performance_domain does not refer to a virtual processor */6767 __be32 lpar_cfg_instance_id;68686969- /* size = @result_element_data_size of cointaining result. */6969+ /* size = @result_element_data_size of containing result. */7070 __u64 element_data[1];7171} __packed;7272
+1-1
arch/powerpc/platforms/512x/clock-commonclk.c
···719719 * most one of a mux, div, and gate each into one 'struct clk'720720 * item721721 * - PSC/MSCAN/SPDIF clock generation OTOH already is very722722- * specific and cannot get mapped to componsites (at least not722722+ * specific and cannot get mapped to composites (at least not723723 * a single one, maybe two of them, but then some of these724724 * intermediate clock signals get referenced elsewhere (e.g.725725 * in the clock frequency measurement, CFM) and thus need
+2-2
arch/powerpc/platforms/cell/iommu.c
···178178 * default for now.*/179179#ifdef CELL_IOMMU_STRICT_PROTECTION180180 /* to avoid referencing a global, we use a trick here to setup the181181- * protection bit. "prot" is setup to be 3 fields of 4 bits apprended181181+ * protection bit. "prot" is setup to be 3 fields of 4 bits appended182182 * together for each of the 3 supported direction values. It is then183183 * shifted left so that the fields matching the desired direction184184 * lands on the appropriate bits, and other bits are masked out.···338338 start_seg = base >> IO_SEGMENT_SHIFT;339339 segments = size >> IO_SEGMENT_SHIFT;340340 pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift);341341- /* PTEs for each segment must start on a 4K bounday */341341+ /* PTEs for each segment must start on a 4K boundary */342342 pages_per_segment = max(pages_per_segment,343343 (1 << 12) / sizeof(unsigned long));344344
+1-1
arch/powerpc/platforms/cell/spider-pic.c
···217217 chip->irq_eoi(&desc->irq_data);218218}219219220220-/* For hooking up the cascace we have a problem. Our device-tree is220220+/* For hooking up the cascade we have a problem. Our device-tree is221221 * crap and we don't know on which BE iic interrupt we are hooked on at222222 * least not the "standard" way. We can reconstitute it based on two223223 * informations though: which BE node we are connected to and whether
+2-2
arch/powerpc/platforms/cell/spu_base.c
···6969 * spu_full_list_lock and spu_full_list_mutex held, while iterating7070 * through it requires either of these locks.7171 *7272- * In addition spu_full_list_lock protects all assignmens to7272+ * In addition spu_full_list_lock protects all assignments to7373 * spu->mm.7474 */7575static LIST_HEAD(spu_full_list);···253253 * Setup the SPU kernel SLBs, in preparation for a context save/restore. We254254 * need to map both the context save area, and the save/restore code.255255 *256256- * Because the lscsa and code may cross segment boundaires, we check to see256256+ * Because the lscsa and code may cross segment boundaries, we check to see257257 * if mappings are required for the start and end of each range. We currently258258 * assume that the mappings are smaller that one segment - if not, something259259 * is seriously wrong.
+1-1
arch/powerpc/platforms/cell/spufs/file.c
···866866 * - end of the mapped area867867 *868868 * If the file is opened without O_NONBLOCK, we wait here until869869- * space is availabyl, but return when we have been able to869869+ * space is available, but return when we have been able to870870 * write something.871871 */872872static ssize_t spufs_wbox_write(struct file *file, const char __user *buf,
+1-1
arch/powerpc/platforms/cell/spufs/run.c
···435435436436 /* Note: we don't need to force_sig SIGTRAP on single-step437437 * since we have TIF_SINGLESTEP set, thus the kernel will do438438- * it upon return from the syscall anyawy438438+ * it upon return from the syscall anyway.439439 */440440 if (unlikely(status & SPU_STATUS_SINGLE_STEP))441441 ret = -ERESTARTSYS;
+1-1
arch/powerpc/platforms/cell/spufs/sched.c
···622622623623/**624624 * find_victim - find a lower priority context to preempt625625- * @ctx: canidate context for running625625+ * @ctx: candidate context for running626626 *627627 * Returns the freed physical spu to run the new context on.628628 */
+1-1
arch/powerpc/platforms/powermac/low_i2c.c
···1515 * This file thus provides a simple low level unified i2c interface for1616 * powermac that covers the various types of i2c busses used in Apple machines.1717 * For now, keywest, PMU and SMU, though we could add Cuda, or other bit1818- * banging busses found on older chipstes in earlier machines if we ever need1818+ * banging busses found on older chipsets in earlier machines if we ever need1919 * one of them.2020 *2121 * The drivers in this file are synchronous/blocking. In addition, the
+1-1
arch/powerpc/platforms/powernv/pci-ioda.c
···197197198198 /*199199 * Strip off the segment used by the reserved PE, which is200200- * expected to be 0 or last one of PE capabicity.200200+ * expected to be 0 or last one of PE capability.201201 */202202 r = &phb->hose->mem_resources[1];203203 if (phb->ioda.reserved_pe_idx == 0)
+1-1
arch/powerpc/platforms/pseries/eeh_pseries.c
···22 * The file intends to implement the platform dependent EEH operations on pseries.33 * Actually, the pseries platform is built based on RTAS heavily. That means the44 * pseries platform dependent EEH operations will be built on RTAS calls. The functions55- * are devired from arch/powerpc/platforms/pseries/eeh.c and necessary cleanup has55+ * are derived from arch/powerpc/platforms/pseries/eeh.c and necessary cleanup has66 * been done.77 *88 * Copyright Benjamin Herrenschmidt & Gavin Shan, IBM Corporation 2011.
+1-1
arch/powerpc/platforms/pseries/io_event_irq.c
···113113 * - The owner of an event is determined by combinations of scope,114114 * event type, and sub-type. There is no easy way to pre-sort clients115115 * by scope or event type alone. For example, Torrent ISR route change116116- * event is reported with scope 0x00 (Not Applicatable) rather than116116+ * event is reported with scope 0x00 (Not Applicable) rather than117117 * 0x3B (Torrent-hub). It is better to let the clients to identify118118 * who owns the event.119119 */
+1-1
arch/powerpc/platforms/pseries/setup.c
···367367{368368 /*369369 * Default handler to go into low thread priority and possibly370370- * low power mode by cedeing processor to hypervisor370370+ * low power mode by ceding processor to hypervisor371371 */372372373373 /* Indicate to hypervisor that we are idle. */