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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arc-5.6-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc

Pull ARC fixes from Vineet Gupta:

- Fix __ALIGN_STR and __ALIGN to not use default junk padding

- Misc Kconfig cleanups, header updates

* tag 'arc-5.6-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
ARC: define __ALIGN_STR and __ALIGN symbols for ARC
ARC: show_regs: reduce lines of output
ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARC: fpu: fix randconfig build error reported by 0-day test service
ARC: fix some Kconfig typos
ARC: Cleanup old Kconfig IO scheduler options

+19 -26
+2 -2
arch/arc/Kconfig
··· 154 154 help 155 155 Support for ARC HS38x Cores based on ARCv2 ISA 156 156 The notable features are: 157 - - SMP configurations of upto 4 core with coherency 157 + - SMP configurations of up to 4 cores with coherency 158 158 - Optional L2 Cache and IO-Coherency 159 159 - Revised Interrupt Architecture (multiple priorites, reg banks, 160 160 auto stack switch, auto regfile save/restore) ··· 192 192 help 193 193 In SMP configuration cores can be configured as Halt-on-reset 194 194 or they could all start at same time. For Halt-on-reset, non 195 - masters are parked until Master kicks them so they can start of 195 + masters are parked until Master kicks them so they can start off 196 196 at designated entry point. For other case, all jump to common 197 197 entry point and spin wait for Master's signal. 198 198
-2
arch/arc/configs/nps_defconfig
··· 21 21 CONFIG_MODULE_FORCE_LOAD=y 22 22 CONFIG_MODULE_UNLOAD=y 23 23 # CONFIG_BLK_DEV_BSG is not set 24 - # CONFIG_IOSCHED_DEADLINE is not set 25 - # CONFIG_IOSCHED_CFQ is not set 26 24 CONFIG_ARC_PLAT_EZNPS=y 27 25 CONFIG_SMP=y 28 26 CONFIG_NR_CPUS=4096
-2
arch/arc/configs/nsimosci_defconfig
··· 20 20 CONFIG_KPROBES=y 21 21 CONFIG_MODULES=y 22 22 # CONFIG_BLK_DEV_BSG is not set 23 - # CONFIG_IOSCHED_DEADLINE is not set 24 - # CONFIG_IOSCHED_CFQ is not set 25 23 CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci" 26 24 # CONFIG_COMPACTION is not set 27 25 CONFIG_NET=y
-2
arch/arc/configs/nsimosci_hs_defconfig
··· 19 19 CONFIG_KPROBES=y 20 20 CONFIG_MODULES=y 21 21 # CONFIG_BLK_DEV_BSG is not set 22 - # CONFIG_IOSCHED_DEADLINE is not set 23 - # CONFIG_IOSCHED_CFQ is not set 24 22 CONFIG_ISA_ARCV2=y 25 23 CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs" 26 24 # CONFIG_COMPACTION is not set
-2
arch/arc/configs/nsimosci_hs_smp_defconfig
··· 14 14 CONFIG_KPROBES=y 15 15 CONFIG_MODULES=y 16 16 # CONFIG_BLK_DEV_BSG is not set 17 - # CONFIG_IOSCHED_DEADLINE is not set 18 - # CONFIG_IOSCHED_CFQ is not set 19 17 CONFIG_ISA_ARCV2=y 20 18 CONFIG_SMP=y 21 19 # CONFIG_ARC_TIMERS_64BIT is not set
+2
arch/arc/include/asm/fpu.h
··· 43 43 44 44 #endif /* !CONFIG_ISA_ARCOMPACT */ 45 45 46 + struct task_struct; 47 + 46 48 extern void fpu_save_restore(struct task_struct *p, struct task_struct *n); 47 49 48 50 #else /* !CONFIG_ARC_FPU_SAVE_RESTORE */
+2
arch/arc/include/asm/linkage.h
··· 29 29 .endm 30 30 31 31 #define ASM_NL ` /* use '`' to mark new line in macro */ 32 + #define __ALIGN .align 4 33 + #define __ALIGN_STR __stringify(__ALIGN) 32 34 33 35 /* annotation for data we want in DCCM - if enabled in .config */ 34 36 .macro ARCFP_DATA nm
+1 -1
arch/arc/kernel/setup.c
··· 8 8 #include <linux/delay.h> 9 9 #include <linux/root_dev.h> 10 10 #include <linux/clk.h> 11 - #include <linux/clk-provider.h> 12 11 #include <linux/clocksource.h> 13 12 #include <linux/console.h> 14 13 #include <linux/module.h> 15 14 #include <linux/cpu.h> 15 + #include <linux/of_clk.h> 16 16 #include <linux/of_fdt.h> 17 17 #include <linux/of.h> 18 18 #include <linux/cache.h>
+12 -15
arch/arc/kernel/troubleshoot.c
··· 104 104 if (IS_ERR(nm)) 105 105 nm = "?"; 106 106 } 107 - pr_info(" @off 0x%lx in [%s]\n" 108 - " VMA: 0x%08lx to 0x%08lx\n", 107 + pr_info(" @off 0x%lx in [%s] VMA: 0x%08lx to 0x%08lx\n", 109 108 vma->vm_start < TASK_UNMAPPED_BASE ? 110 109 address : address - vma->vm_start, 111 110 nm, vma->vm_start, vma->vm_end); ··· 119 120 unsigned int vec, cause_code; 120 121 unsigned long address; 121 122 122 - pr_info("\n[ECR ]: 0x%08lx => ", regs->event); 123 - 124 123 /* For Data fault, this is data address not instruction addr */ 125 124 address = current->thread.fault_address; 126 125 ··· 127 130 128 131 /* For DTLB Miss or ProtV, display the memory involved too */ 129 132 if (vec == ECR_V_DTLB_MISS) { 130 - pr_cont("Invalid %s @ 0x%08lx by insn @ 0x%08lx\n", 133 + pr_cont("Invalid %s @ 0x%08lx by insn @ %pS\n", 131 134 (cause_code == 0x01) ? "Read" : 132 135 ((cause_code == 0x02) ? "Write" : "EX"), 133 - address, regs->ret); 136 + address, (void *)regs->ret); 134 137 } else if (vec == ECR_V_ITLB_MISS) { 135 138 pr_cont("Insn could not be fetched\n"); 136 139 } else if (vec == ECR_V_MACH_CHK) { ··· 188 191 189 192 show_ecr_verbose(regs); 190 193 191 - pr_info("[EFA ]: 0x%08lx\n[BLINK ]: %pS\n[ERET ]: %pS\n", 192 - current->thread.fault_address, 193 - (void *)regs->blink, (void *)regs->ret); 194 - 195 194 if (user_mode(regs)) 196 195 show_faulting_vma(regs->ret); /* faulting code, not data */ 197 196 198 - pr_info("[STAT32]: 0x%08lx", regs->status32); 197 + pr_info("ECR: 0x%08lx EFA: 0x%08lx ERET: 0x%08lx\n", 198 + regs->event, current->thread.fault_address, regs->ret); 199 + 200 + pr_info("STAT32: 0x%08lx", regs->status32); 199 201 200 202 #define STS_BIT(r, bit) r->status32 & STATUS_##bit##_MASK ? #bit" " : "" 201 203 202 204 #ifdef CONFIG_ISA_ARCOMPACT 203 - pr_cont(" : %2s%2s%2s%2s%2s%2s%2s\n", 205 + pr_cont(" [%2s%2s%2s%2s%2s%2s%2s]", 204 206 (regs->status32 & STATUS_U_MASK) ? "U " : "K ", 205 207 STS_BIT(regs, DE), STS_BIT(regs, AE), 206 208 STS_BIT(regs, A2), STS_BIT(regs, A1), 207 209 STS_BIT(regs, E2), STS_BIT(regs, E1)); 208 210 #else 209 - pr_cont(" : %2s%2s%2s%2s\n", 211 + pr_cont(" [%2s%2s%2s%2s]", 210 212 STS_BIT(regs, IE), 211 213 (regs->status32 & STATUS_U_MASK) ? "U " : "K ", 212 214 STS_BIT(regs, DE), STS_BIT(regs, AE)); 213 215 #endif 214 - pr_info("BTA: 0x%08lx\t SP: 0x%08lx\t FP: 0x%08lx\n", 215 - regs->bta, regs->sp, regs->fp); 216 + pr_cont(" BTA: 0x%08lx\n", regs->bta); 217 + pr_info("BLK: %pS\n SP: 0x%08lx FP: 0x%08lx\n", 218 + (void *)regs->blink, regs->sp, regs->fp); 216 219 pr_info("LPS: 0x%08lx\tLPE: 0x%08lx\tLPC: 0x%08lx\n", 217 220 regs->lp_start, regs->lp_end, regs->lp_count); 218 221