Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle: o Add basic support for the Mediatek/Ralink Wireless SoC family. o The Qualcomm Atheros platform is extended by support for the new QCA955X SoC series as well as a bunch of patches that get the code ready for OF support. o Lantiq and BCM47XX platform have a few improvements and bug fixes. o MIPS has sent a few patches that get the kernel ready for the upcoming microMIPS support. o The rest of the series is made up of small bug fixes and cleanups that relate to various parts of the MIPS code. The biggy in there is a whitespace cleanup. After I was sent another set of whitespace cleanup patches I decided it was the time to clean the whitespace "issues" for once and and that touches many files below arch/mips/. Fix up silly conflicts, mostly due to whitespace cleanups. * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (105 commits) MIPS: Quit exporting kernel internel break codes to uapi/asm/break.h MIPS: remove broken conditional inside vpe loader code MIPS: SMTC: fix implicit declaration of set_vi_handler MIPS: early_printk: drop __init annotations MIPS: Probe for and report hardware virtualization support. MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board MIPS: ath79: add USB controller registration code for the QCA955X SoCs MIPS: ath79: add PCI controller registration code for the QCA955X SoCs MIPS: ath79: add WMAC registration code for the QCA955X SoCs MIPS: ath79: register UART for the QCA955X SoCs MIPS: ath79: add QCA955X specific glue to ath79_device_reset_{set, clear} MIPS: ath79: add GPIO setup code for the QCA955X SoCs MIPS: ath79: add IRQ handling code for the QCA955X SoCs MIPS: ath79: add clock setup code for the QCA955X SoCs MIPS: ath79: add SoC detection code for the QCA955X SoCs MIPS: ath79: add early printk support for the QCA955X SoCs MIPS: ath79: fix WMAC IRQ resource assignment mips: reserve elfcorehdr mips: Make sure kernel memory is in iomem MIPS: ath79: use dynamically allocated USB platform devices ...
This commit is contained in:
@@ -164,7 +164,7 @@ static void show_stacktrace(struct task_struct *task,
|
||||
i = 0;
|
||||
while ((unsigned long) sp & (PAGE_SIZE - 1)) {
|
||||
if (i && ((i % (64 / field)) == 0))
|
||||
printk("\n ");
|
||||
printk("\n ");
|
||||
if (i > 39) {
|
||||
printk(" ...");
|
||||
break;
|
||||
@@ -279,7 +279,7 @@ static void __show_regs(const struct pt_regs *regs)
|
||||
printk("ra : %0*lx %pS\n", field, regs->regs[31],
|
||||
(void *) regs->regs[31]);
|
||||
|
||||
printk("Status: %08x ", (uint32_t) regs->cp0_status);
|
||||
printk("Status: %08x ", (uint32_t) regs->cp0_status);
|
||||
|
||||
if (current_cpu_data.isa_level == MIPS_CPU_ISA_I) {
|
||||
if (regs->cp0_status & ST0_KUO)
|
||||
@@ -441,7 +441,7 @@ asmlinkage void do_be(struct pt_regs *regs)
|
||||
int data = regs->cp0_cause & 4;
|
||||
int action = MIPS_BE_FATAL;
|
||||
|
||||
/* XXX For now. Fixme, this searches the wrong table ... */
|
||||
/* XXX For now. Fixme, this searches the wrong table ... */
|
||||
if (data && !user_mode(regs))
|
||||
fixup = search_dbe_tables(exception_epc(regs));
|
||||
|
||||
@@ -518,7 +518,7 @@ static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode)
|
||||
offset >>= 16;
|
||||
|
||||
vaddr = (unsigned long __user *)
|
||||
((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
|
||||
((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
|
||||
|
||||
if ((unsigned long)vaddr & 3)
|
||||
return SIGBUS;
|
||||
@@ -558,7 +558,7 @@ static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode)
|
||||
offset >>= 16;
|
||||
|
||||
vaddr = (unsigned long __user *)
|
||||
((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
|
||||
((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
|
||||
reg = (opcode & RT) >> 16;
|
||||
|
||||
if ((unsigned long)vaddr & 3)
|
||||
@@ -739,7 +739,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
|
||||
current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X;
|
||||
|
||||
/* Restore the hardware register state */
|
||||
own_fpu(1); /* Using the FPU again. */
|
||||
own_fpu(1); /* Using the FPU again. */
|
||||
|
||||
/* If something went wrong, signal */
|
||||
process_fpemu_return(sig, fault_addr);
|
||||
@@ -966,7 +966,7 @@ int cu2_notifier_call_chain(unsigned long val, void *v)
|
||||
}
|
||||
|
||||
static int default_cu2_call(struct notifier_block *nfb, unsigned long action,
|
||||
void *data)
|
||||
void *data)
|
||||
{
|
||||
struct pt_regs *regs = data;
|
||||
|
||||
@@ -974,7 +974,7 @@ static int default_cu2_call(struct notifier_block *nfb, unsigned long action,
|
||||
default:
|
||||
die_if_kernel("Unhandled kernel unaligned access or invalid "
|
||||
"instruction", regs);
|
||||
/* Fall through */
|
||||
/* Fall through */
|
||||
|
||||
case CU2_EXCEPTION:
|
||||
force_sig(SIGILL, current);
|
||||
@@ -1029,10 +1029,10 @@ asmlinkage void do_cpu(struct pt_regs *regs)
|
||||
/*
|
||||
* Old (MIPS I and MIPS II) processors will set this code
|
||||
* for COP1X opcode instructions that replaced the original
|
||||
* COP3 space. We don't limit COP1 space instructions in
|
||||
* COP3 space. We don't limit COP1 space instructions in
|
||||
* the emulator according to the CPU ISA, so we want to
|
||||
* treat COP1X instructions consistently regardless of which
|
||||
* code the CPU chose. Therefore we redirect this trap to
|
||||
* code the CPU chose. Therefore we redirect this trap to
|
||||
* the FP emulator too.
|
||||
*
|
||||
* Then some newer FPU-less processors use this code
|
||||
@@ -1044,9 +1044,9 @@ asmlinkage void do_cpu(struct pt_regs *regs)
|
||||
/* Fall through. */
|
||||
|
||||
case 1:
|
||||
if (used_math()) /* Using the FPU again. */
|
||||
if (used_math()) /* Using the FPU again. */
|
||||
own_fpu(1);
|
||||
else { /* First time FPU user. */
|
||||
else { /* First time FPU user. */
|
||||
init_fpu();
|
||||
set_used_math();
|
||||
}
|
||||
@@ -1114,7 +1114,7 @@ asmlinkage void do_mcheck(struct pt_regs *regs)
|
||||
show_regs(regs);
|
||||
|
||||
if (multi_match) {
|
||||
printk("Index : %0x\n", read_c0_index());
|
||||
printk("Index : %0x\n", read_c0_index());
|
||||
printk("Pagemask: %0x\n", read_c0_pagemask());
|
||||
printk("EntryHi : %0*lx\n", field, read_c0_entryhi());
|
||||
printk("EntryLo0: %0*lx\n", field, read_c0_entrylo0());
|
||||
@@ -1181,7 +1181,7 @@ asmlinkage void do_dsp(struct pt_regs *regs)
|
||||
asmlinkage void do_reserved(struct pt_regs *regs)
|
||||
{
|
||||
/*
|
||||
* Game over - no way to handle this if it ever occurs. Most probably
|
||||
* Game over - no way to handle this if it ever occurs. Most probably
|
||||
* caused by a new unknown cpu type or after another deadly
|
||||
* hard/software error.
|
||||
*/
|
||||
@@ -1705,7 +1705,7 @@ void __init trap_init(void)
|
||||
|
||||
#if defined(CONFIG_KGDB)
|
||||
if (kgdb_early_setup)
|
||||
return; /* Already done */
|
||||
return; /* Already done */
|
||||
#endif
|
||||
|
||||
if (cpu_has_veic || cpu_has_vint) {
|
||||
@@ -1799,7 +1799,7 @@ void __init trap_init(void)
|
||||
* The R6000 is the only R-series CPU that features a machine
|
||||
* check exception (similar to the R4000 cache error) and
|
||||
* unaligned ldc1/sdc1 exception. The handlers have not been
|
||||
* written yet. Well, anyway there is no R6000 machine on the
|
||||
* written yet. Well, anyway there is no R6000 machine on the
|
||||
* current list of targets for Linux/MIPS.
|
||||
* (Duh, crap, there is someone with a triple R6k machine)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user