diff options
author | Paul Mackerras <paulus@samba.org> | 2006-02-23 22:05:47 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-23 22:05:47 -0500 |
commit | a00428f5b149e36b8225b2a0812742a6dfb07b8c (patch) | |
tree | a78869cd67cf78a0eb091fb0ea5d397734bd6738 /arch/powerpc/platforms | |
parent | 774fee58c465ea1c7e9775e347ec307bcf2deeb3 (diff) | |
parent | fb5c594c2acc441f0d2d8f457484a0e0e9285db3 (diff) |
Merge ../powerpc-merge
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/iseries/lpevents.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/maple/pci.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/feature.c | 10 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/Kconfig | 7 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/smp.c | 2 |
6 files changed, 11 insertions, 15 deletions
diff --git a/arch/powerpc/platforms/iseries/lpevents.c b/arch/powerpc/platforms/iseries/lpevents.c index 0b885300d1d1..8ca7b9396355 100644 --- a/arch/powerpc/platforms/iseries/lpevents.c +++ b/arch/powerpc/platforms/iseries/lpevents.c | |||
@@ -184,6 +184,8 @@ void setup_hvlpevent_queue(void) | |||
184 | { | 184 | { |
185 | void *eventStack; | 185 | void *eventStack; |
186 | 186 | ||
187 | spin_lock_init(&hvlpevent_queue.lock); | ||
188 | |||
187 | /* Allocate a page for the Event Stack. */ | 189 | /* Allocate a page for the Event Stack. */ |
188 | eventStack = alloc_bootmem_pages(LpEventStackSize); | 190 | eventStack = alloc_bootmem_pages(LpEventStackSize); |
189 | memset(eventStack, 0, LpEventStackSize); | 191 | memset(eventStack, 0, LpEventStackSize); |
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index 3f8790146b00..3ecc4a652d82 100644 --- a/arch/powerpc/platforms/iseries/setup.c +++ b/arch/powerpc/platforms/iseries/setup.c | |||
@@ -648,6 +648,7 @@ static void yield_shared_processor(void) | |||
648 | * here and let the timer_interrupt code sort out the actual time. | 648 | * here and let the timer_interrupt code sort out the actual time. |
649 | */ | 649 | */ |
650 | get_lppaca()->int_dword.fields.decr_int = 1; | 650 | get_lppaca()->int_dword.fields.decr_int = 1; |
651 | ppc64_runlatch_on(); | ||
651 | process_iSeries_events(); | 652 | process_iSeries_events(); |
652 | } | 653 | } |
653 | 654 | ||
diff --git a/arch/powerpc/platforms/maple/pci.c b/arch/powerpc/platforms/maple/pci.c index 7d4099a34f92..85d6c93659cc 100644 --- a/arch/powerpc/platforms/maple/pci.c +++ b/arch/powerpc/platforms/maple/pci.c | |||
@@ -435,8 +435,8 @@ void __init maple_pci_init(void) | |||
435 | PCI_DN(np)->busno = 0xf0; | 435 | PCI_DN(np)->busno = 0xf0; |
436 | } | 436 | } |
437 | 437 | ||
438 | /* Tell pci.c to use the common resource allocation mecanism */ | 438 | /* Tell pci.c to not change any resource allocations. */ |
439 | pci_probe_only = 0; | 439 | pci_probe_only = 1; |
440 | 440 | ||
441 | /* Allow all IO */ | 441 | /* Allow all IO */ |
442 | io_page_mask = -1; | 442 | io_page_mask = -1; |
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index 50ed8890dd33..c8b4a2b115a9 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c | |||
@@ -1644,10 +1644,10 @@ static void intrepid_shutdown(struct macio_chip *macio, int sleep_mode) | |||
1644 | KL0_SCC_CELL_ENABLE); | 1644 | KL0_SCC_CELL_ENABLE); |
1645 | 1645 | ||
1646 | MACIO_BIC(KEYLARGO_FCR1, | 1646 | MACIO_BIC(KEYLARGO_FCR1, |
1647 | /*KL1_USB2_CELL_ENABLE |*/ | ||
1648 | KL1_I2S0_CELL_ENABLE | KL1_I2S0_CLK_ENABLE_BIT | | 1647 | KL1_I2S0_CELL_ENABLE | KL1_I2S0_CLK_ENABLE_BIT | |
1649 | KL1_I2S0_ENABLE | KL1_I2S1_CELL_ENABLE | | 1648 | KL1_I2S0_ENABLE | KL1_I2S1_CELL_ENABLE | |
1650 | KL1_I2S1_CLK_ENABLE_BIT | KL1_I2S1_ENABLE); | 1649 | KL1_I2S1_CLK_ENABLE_BIT | KL1_I2S1_ENABLE | |
1650 | KL1_EIDE0_ENABLE); | ||
1651 | if (pmac_mb.board_flags & PMAC_MB_MOBILE) | 1651 | if (pmac_mb.board_flags & PMAC_MB_MOBILE) |
1652 | MACIO_BIC(KEYLARGO_FCR1, KL1_UIDE_RESET_N); | 1652 | MACIO_BIC(KEYLARGO_FCR1, KL1_UIDE_RESET_N); |
1653 | 1653 | ||
@@ -2181,7 +2181,7 @@ static struct pmac_mb_def pmac_mb_defs[] = { | |||
2181 | }, | 2181 | }, |
2182 | { "PowerMac10,1", "Mac mini", | 2182 | { "PowerMac10,1", "Mac mini", |
2183 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, | 2183 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, |
2184 | PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER, | 2184 | PMAC_MB_MAY_SLEEP, |
2185 | }, | 2185 | }, |
2186 | { "iMac,1", "iMac (first generation)", | 2186 | { "iMac,1", "iMac (first generation)", |
2187 | PMAC_TYPE_ORIG_IMAC, paddington_features, | 2187 | PMAC_TYPE_ORIG_IMAC, paddington_features, |
@@ -2293,11 +2293,11 @@ static struct pmac_mb_def pmac_mb_defs[] = { | |||
2293 | }, | 2293 | }, |
2294 | { "PowerBook5,8", "PowerBook G4 15\"", | 2294 | { "PowerBook5,8", "PowerBook G4 15\"", |
2295 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, | 2295 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, |
2296 | PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE, | 2296 | PMAC_MB_MAY_SLEEP | PMAC_MB_MOBILE, |
2297 | }, | 2297 | }, |
2298 | { "PowerBook5,9", "PowerBook G4 17\"", | 2298 | { "PowerBook5,9", "PowerBook G4 17\"", |
2299 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, | 2299 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, |
2300 | PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE, | 2300 | PMAC_MB_MAY_SLEEP | PMAC_MB_MOBILE, |
2301 | }, | 2301 | }, |
2302 | { "PowerBook6,1", "PowerBook G4 12\"", | 2302 | { "PowerBook6,1", "PowerBook G4 12\"", |
2303 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, | 2303 | PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features, |
diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index e3fc3407bb1f..4e5c8f8d869d 100644 --- a/arch/powerpc/platforms/pseries/Kconfig +++ b/arch/powerpc/platforms/pseries/Kconfig | |||
@@ -9,13 +9,6 @@ config PPC_SPLPAR | |||
9 | processors, that is, which share physical processors between | 9 | processors, that is, which share physical processors between |
10 | two or more partitions. | 10 | two or more partitions. |
11 | 11 | ||
12 | config HMT | ||
13 | bool "Hardware multithreading" | ||
14 | depends on SMP && PPC_PSERIES && BROKEN | ||
15 | help | ||
16 | This option enables hardware multithreading on RS64 cpus. | ||
17 | pSeries systems p620 and p660 have such a cpu type. | ||
18 | |||
19 | config EEH | 12 | config EEH |
20 | bool "PCI Extended Error Handling (EEH)" if EMBEDDED | 13 | bool "PCI Extended Error Handling (EEH)" if EMBEDDED |
21 | depends on PPC_PSERIES | 14 | depends on PPC_PSERIES |
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 8e6b1ed1396e..8d710af50756 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c | |||
@@ -292,7 +292,7 @@ static inline int __devinit smp_startup_cpu(unsigned int lcpu) | |||
292 | if (start_cpu == RTAS_UNKNOWN_SERVICE) | 292 | if (start_cpu == RTAS_UNKNOWN_SERVICE) |
293 | return 1; | 293 | return 1; |
294 | 294 | ||
295 | status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); | 295 | status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, pcpu); |
296 | if (status != 0) { | 296 | if (status != 0) { |
297 | printk(KERN_ERR "start-cpu failed: %i\n", status); | 297 | printk(KERN_ERR "start-cpu failed: %i\n", status); |
298 | return 0; | 298 | return 0; |