Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] SGI Altix : fix pcibr_dmamap_ate32() bug
[IA64] Fix CPU freq displayed in /proc/cpuinfo
[IA64] Fix wrong assumption about irq and vector in msi_ia64.c
[IA64] BTE error timer fix

+15 -10
+2 -2
arch/ia64/kernel/msi_ia64.c
··· 76 77 set_irq_msi(irq, desc); 78 dest_phys_id = cpu_physical_id(first_cpu(cpu_online_map)); 79 - vector = irq; 80 81 msg.address_hi = 0; 82 msg.address_lo = ··· 110 111 static int ia64_msi_retrigger_irq(unsigned int irq) 112 { 113 - unsigned int vector = irq; 114 ia64_resend_irq(vector); 115 116 return 1;
··· 76 77 set_irq_msi(irq, desc); 78 dest_phys_id = cpu_physical_id(first_cpu(cpu_online_map)); 79 + vector = irq_to_vector(irq); 80 81 msg.address_hi = 0; 82 msg.address_lo = ··· 110 111 static int ia64_msi_retrigger_irq(unsigned int irq) 112 { 113 + unsigned int vector = irq_to_vector(irq); 114 ia64_resend_irq(vector); 115 116 return 1;
+1 -1
arch/ia64/kernel/setup.c
··· 640 "features : %s\n" 641 "cpu number : %lu\n" 642 "cpu regs : %u\n" 643 - "cpu MHz : %lu.%06lu\n" 644 "itc MHz : %lu.%06lu\n" 645 "BogoMIPS : %lu.%02lu\n", 646 cpunum, c->vendor, c->family, c->model,
··· 640 "features : %s\n" 641 "cpu number : %lu\n" 642 "cpu regs : %u\n" 643 + "cpu MHz : %lu.%03lu\n" 644 "itc MHz : %lu.%06lu\n" 645 "BogoMIPS : %lu.%02lu\n", 646 cpunum, c->vendor, c->family, c->model,
+3 -3
arch/ia64/sn/kernel/bte_error.c
··· 78 * There are errors which still need to be cleaned up by 79 * hubiio_crb_error_handler 80 */ 81 - mod_timer(recovery_timer, HZ * 5); 82 BTE_PRINTK(("eh:%p:%d Marked Giving up\n", err_nodepda, 83 smp_processor_id())); 84 return 1; ··· 95 icrbd.ii_icrb0_d_regval = 96 REMOTE_HUB_L(nasid, IIO_ICRB_D(i)); 97 if (icrbd.d_bteop) { 98 - mod_timer(recovery_timer, HZ * 5); 99 BTE_PRINTK(("eh:%p:%d Valid %d, Giving up\n", 100 err_nodepda, smp_processor_id(), 101 i)); ··· 150 status = BTE_LNSTAT_LOAD(bte); 151 if ((status & IBLS_ERROR) || !(status & IBLS_BUSY)) 152 continue; 153 - mod_timer(recovery_timer, HZ * 5); 154 BTE_PRINTK(("eh:%p:%d Marked Giving up\n", err_nodepda, 155 smp_processor_id())); 156 return 1;
··· 78 * There are errors which still need to be cleaned up by 79 * hubiio_crb_error_handler 80 */ 81 + mod_timer(recovery_timer, jiffies + (HZ * 5)); 82 BTE_PRINTK(("eh:%p:%d Marked Giving up\n", err_nodepda, 83 smp_processor_id())); 84 return 1; ··· 95 icrbd.ii_icrb0_d_regval = 96 REMOTE_HUB_L(nasid, IIO_ICRB_D(i)); 97 if (icrbd.d_bteop) { 98 + mod_timer(recovery_timer, jiffies + (HZ * 5)); 99 BTE_PRINTK(("eh:%p:%d Valid %d, Giving up\n", 100 err_nodepda, smp_processor_id(), 101 i)); ··· 150 status = BTE_LNSTAT_LOAD(bte); 151 if ((status & IBLS_ERROR) || !(status & IBLS_BUSY)) 152 continue; 153 + mod_timer(recovery_timer, jiffies + (HZ * 5)); 154 BTE_PRINTK(("eh:%p:%d Marked Giving up\n", err_nodepda, 155 smp_processor_id())); 156 return 1;
+6 -2
arch/ia64/sn/pci/pcibr/pcibr_dma.c
··· 96 } 97 98 /* 99 - * If we're mapping for MSI, set the MSI bit in the ATE 100 */ 101 - if (dma_flags & SN_DMA_MSI) 102 ate |= PCI32_ATE_MSI; 103 104 ate_write(pcibus_info, ate_index, ate_count, ate); 105
··· 96 } 97 98 /* 99 + * If we're mapping for MSI, set the MSI bit in the ATE. If it's a 100 + * TIOCP based pci bus, we also need to set the PIO bit in the ATE. 101 */ 102 + if (dma_flags & SN_DMA_MSI) { 103 ate |= PCI32_ATE_MSI; 104 + if (IS_TIOCP_SOFT(pcibus_info)) 105 + ate |= PCI32_ATE_PIO; 106 + } 107 108 ate_write(pcibus_info, ate_index, ate_count, ate); 109
+3 -2
include/asm-ia64/sn/pcibr_provider.h
··· 21 #define IS_PCI_BRIDGE_ASIC(asic) (asic == PCIIO_ASIC_TYPE_PIC || \ 22 asic == PCIIO_ASIC_TYPE_TIOCP) 23 #define IS_PIC_SOFT(ps) (ps->pbi_bridge_type == PCIBR_BRIDGETYPE_PIC) 24 25 26 /* ··· 54 * Bridge PMU Address Transaltion Entry Attibutes 55 */ 56 #define PCI32_ATE_V (0x1 << 0) 57 - #define PCI32_ATE_CO (0x1 << 1) 58 - #define PCI32_ATE_PREC (0x1 << 2) 59 #define PCI32_ATE_MSI (0x1 << 2) 60 #define PCI32_ATE_PREF (0x1 << 3) 61 #define PCI32_ATE_BAR (0x1 << 4)
··· 21 #define IS_PCI_BRIDGE_ASIC(asic) (asic == PCIIO_ASIC_TYPE_PIC || \ 22 asic == PCIIO_ASIC_TYPE_TIOCP) 23 #define IS_PIC_SOFT(ps) (ps->pbi_bridge_type == PCIBR_BRIDGETYPE_PIC) 24 + #define IS_TIOCP_SOFT(ps) (ps->pbi_bridge_type == PCIBR_BRIDGETYPE_TIOCP) 25 26 27 /* ··· 53 * Bridge PMU Address Transaltion Entry Attibutes 54 */ 55 #define PCI32_ATE_V (0x1 << 0) 56 + #define PCI32_ATE_CO (0x1 << 1) /* PIC ASIC ONLY */ 57 + #define PCI32_ATE_PIO (0x1 << 1) /* TIOCP ASIC ONLY */ 58 #define PCI32_ATE_MSI (0x1 << 2) 59 #define PCI32_ATE_PREF (0x1 << 3) 60 #define PCI32_ATE_BAR (0x1 << 4)