aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/dec
AgeCommit message (Collapse)AuthorFilesLines
2006-07-13[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.Ralf Baechle2-3/+1
Signed-off-by: Ralf Baechle <[email protected]> ---
2006-07-13[MIPS] Eleminate interrupt migration helper use.Ralf Baechle2-3/+3
> #define hw_interrupt_type irq_chip > typedef struct irq_chip hw_irq_controller; > #define no_irq_type no_irq_chip > typedef struct irq_desc irq_desc_t; Signed-off-by: Ralf Baechle <[email protected]>
2006-07-02[PATCH] irq-flags: MIPS: Use the new IRQF_ constantsThomas Gleixner1-2/+2
Use the new IRQF_ constants and remove the SA_INTERRUPT define Signed-off-by: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel3-3/+0
Signed-off-by: Jörn Engel <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
2006-06-29[PATCH] genirq: rename desc->handler to desc->chipIngo Molnar2-3/+3
This patch-queue improves the generic IRQ layer to be truly generic, by adding various abstractions and features to it, without impacting existing functionality. While the queue can be best described as "fix and improve everything in the generic IRQ layer that we could think of", and thus it consists of many smaller features and lots of cleanups, the one feature that stands out most is the new 'irq chip' abstraction. The irq-chip abstraction is about describing and coding and IRQ controller driver by mapping its raw hardware capabilities [and quirks, if needed] in a straightforward way, without having to think about "IRQ flow" (level/edge/etc.) type of details. This stands in contrast with the current 'irq-type' model of genirq architectures, which 'mixes' raw hardware capabilities with 'flow' details. The patchset supports both types of irq controller designs at once, and converts i386 and x86_64 to the new irq-chip design. As a bonus side-effect of the irq-chip approach, chained interrupt controllers (master/slave PIC constructs, etc.) are now supported by design as well. The end result of this patchset intends to be simpler architecture-level code and more consolidation between architectures. We reused many bits of code and many concepts from Russell King's ARM IRQ layer, the merging of which was one of the motivations for this patchset. This patch: rename desc->handler to desc->chip. Originally i did not want to do this, because it's a big patch. But having both "desc->handler", "desc->handle_irq" and "action->handler" caused a large degree of confusion and made the code appear alot less clean than it truly is. I have also attempted a dual approach as well by introducing a desc->chip alias - but that just wasnt robust enough and broke frequently. So lets get over with this quickly. The conversion was done automatically via scripts and converts all the code in the kernel. This renaming patch is the first one amongst the patches, so that the remaining patches can stay flexible and can be merged and split up without having some big monolithic patch act as a merge barrier. [[email protected]: build fix] [[email protected]: another build fix] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-06-19[MIPS] Make timer interrupt frequency configurable from kconfig.Atsushi Nemoto1-1/+1
Make HZ configurable. DECSTATION can select 128/256/1024 HZ, JAZZ can only select 100 HZ, others can select 100/128/250/256/1000/1024 HZ if not explicitly specified). Also remove all mach-xxx/param.h files and update all defconfigs according to current HZ value. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-06-19[MIPS] Cleanup memory managment initialization.Ralf Baechle1-1/+1
Historically plat_mem_setup did the entire platform initialization. This was rather impractical because it meant plat_mem_setup had to get away without any kind of memory allocator. To keep old code from breaking plat_setup was just renamed to plat_setup and a second platform initialization hook for anything else was introduced. Signed-off-by: Ralf Baechle <[email protected]>
2006-04-19[MIPS] Rewrite all the assembler interrupt handlers to C.Ralf Baechle2-10/+3
Saves like 1,600 lines of code, is way easier to debug, compilers frequently do a better job than the cut and paste type of handlers many boards had. And finally having all the stuff done in a single place also means alot of bug potencial for the MT ASE is gone. The only surviving handler in assembler is the DECstation one; I hope Maciej will rewrite it. Signed-off-by: Ralf Baechle <[email protected]>
2006-04-19[MIPS] Replace redundant declarations of _end by <asm/sections.h>.Ralf Baechle1-1/+2
Signed-off-by: Ralf Baechle <[email protected]>
2006-04-19[MIPS] Rewrite spurious_interrupt from assembler to C.Ralf Baechle1-1/+3
Signed-off-by: Ralf Baechle <[email protected]>
2006-03-28[PATCH] RTC: Remove RTC UIP synchronization on MIPS-based DECMatt Mackall1-36/+11
Move real_year inside the read loop and move the spinlock up as well Signed-off-by: Matt Mackall <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-03-27[PATCH] mips: fixed collision of rtc function nameYoichi Yuasa1-2/+2
Fix the collision of rtc function name. Signed-off-by: Yoichi Yuasa <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-03-22[PATCH] remove set_page_count() outside mm/Nick Piggin1-1/+1
set_page_count usage outside mm/ is limited to setting the refcount to 1. Remove set_page_count from outside mm/, and replace those users with init_page_count() and set_page_refcounted(). This allows more debug checking, and tighter control on how code is allowed to play around with page->_count. Signed-off-by: Nick Piggin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-03-21[MIPS] War on whitespace: cleanup initial spaces followed by tabs.Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again.Ralf Baechle1-1/+2
Signed-off-by: Ralf Baechle <[email protected]>
2005-11-07Use rtc_lock to protect RTC operationsAtsushi Nemoto1-2/+22
Many RTC routines were not protected against each other, so there are potential races, for example, ntp-update against /dev/rtc. This patch fixes them using rtc_lock. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Make static what ought to be static.Maciej W. Rozycki1-7/+7
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Use physical addresses at the interface level, letting drivers remapMaciej W. Rozycki7-39/+66
them as appropriate. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Actual handlers for bus errors for Pmax and 3min.Maciej W. Rozycki2-0/+338
Signed-off-by: Ralf Baechle <[email protected]> diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c new file mode 100644
2005-10-29System-specific handling of bus errors for DECstation variationsMaciej W. Rozycki4-19/+29
supporting parity errors only for memory (Pmax/3min/Maxine). Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional clean-ups for the ECC handler. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix types for firmware arguments. Don't define unneeded messages.Maciej W. Rozycki1-7/+9
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Deal with the bloody KSEG vs CKSEG horror...Maciej W. Rozycki3-9/+10
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29There is NO port I/O space on the DECstation. Minor clean-ups.Maciej W. Rozycki1-5/+9
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29This interrupt is *always* handled -- MIPS_BE_DISCARD just meansMaciej W. Rozycki1-1/+1
no further action wanted. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Get rid of early_init. There's more need to make this form ofRalf Baechle1-3/+1
initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle <[email protected]>
2005-09-05[PATCH] mips: nuke trailing whitespaceRalf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-05[PATCH] mips: clean up 32/64-bit configurationRalf Baechle2-5/+5
Start cleaning 32-bit vs. 64-bit configuration. Signed-off-by: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds22-0/+2831
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!