1. 20 12月, 2012 1 次提交
  2. 19 12月, 2012 7 次提交
  3. 18 12月, 2012 9 次提交
  4. 17 12月, 2012 2 次提交
  5. 16 12月, 2012 2 次提交
  6. 15 12月, 2012 2 次提交
  7. 14 12月, 2012 17 次提交
    • J
      s390/pci: performance statistics and debug infrastructure · d0b08853
      Jan Glauber 提交于
      Add support for reading the PCI function measurement block counters
      provided by the hypervisor. Add two s390 debug features, one for
      critical errors and one for tracing and provide wrappers to log data.
      Signed-off-by: NJan Glauber <jang@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      d0b08853
    • S
      blackfin: SEC: clean up SEC interrupt initialization · 86794b43
      Sonic Zhang 提交于
      Append the SEC IRQ after the IVG6, which is consistent to BF5xx SIC.
      Exclude SIC irqchip fucntions from SEC code.
      Call handle_fasteoi_irq in SEC error and fault handler.
      Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: NBob Liu <lliubbo@gmail.com>
      86794b43
    • M
      microblaze: signal: Declare do_notify_resume · 4378bb69
      Michal Simek 提交于
      Fix sparse warning by declaration do_notify_resume function
      called from entry.S.
      Warning:
      arch/microblaze/kernel/signal.c:357:6: warning: symbol
      'do_notify_resume' was not declared. Should it be static?
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      4378bb69
    • M
      microblaze: lib: Add lib function declarations · 9f2a45bd
      Michal Simek 提交于
      Function declarations fix these sparse warnings:
      arch/microblaze/lib/ashldi3.c:5:11: warning: symbol
      	'__ashldi3' was not declared. Should it be static?
      arch/microblaze/lib/muldi3.c:50:8: warning: symbol
      	'__muldi3' was not declared. Should it be static?
      arch/microblaze/lib/cmpdi2.c:5:11: warning: symbol
      	'__cmpdi2' was not declared. Should it be static?
      arch/microblaze/lib/lshrdi3.c:5:11: warning: symbol
      	'__lshrdi3' was not declared. Should it be static?
      arch/microblaze/lib/ashrdi3.c:5:11: warning: symbol
      	'__ashrdi3' was not declared. Should it be static?
      arch/microblaze/lib/ucmpdi2.c:5:11: warning: symbol
      	'__ucmpdi2' was not declared. Should it be static?
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      9f2a45bd
    • M
      microblaze: lib: Remove helper macros · a671de08
      Michal Simek 提交于
      Remove these gcc types and use standard types.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      a671de08
    • M
      microblaze: Add static qualifiers · c0d997fb
      Michal Simek 提交于
      Adding static to internal variables and functions.
      
      Sparse warnings:
      arch/microblaze/kernel/prom.c:55:6: warning:
      	symbol 'stdout' was not declared. Should it be static?
      arch/microblaze/kernel/prom.c:57:12: warning:
      	symbol 'early_init_dt_scan_chosen_serial' was not declared. Should it be static?
        CC      arch/microblaze/kernel/prom.o
      arch/microblaze/kernel/intc.c:102:5: warning:
      	symbol 'xintc_map' was not declared. Should it be static?
        CC      arch/microblaze/kernel/intc.o
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      c0d997fb
    • M
      microblaze: Wire-up new system call kcmp · 05c06741
      Michal Simek 提交于
      Wire-up kcmp syscall.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      05c06741
    • R
      MIPS: PMC-Sierra Yosemite: Remove support. · bdf20507
      Ralf Baechle 提交于
      Nobody seems to be interested anymore and upstream also never had an
      ethernet driver.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bdf20507
    • R
      MIPS: wrppmc: Fix build of PCI code. · 5613d482
      Ralf Baechle 提交于
        CC      arch/mips/wrppmc/pci.o
      /home/ralf/src/linux/linux-mips/arch/mips/wrppmc/pci.c: In function ‘gt64120_pci_init’:
      /home/ralf/src/linux/linux-mips/arch/mips/wrppmc/pci.c:41:6: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors
      
      This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
      -Wunused-but-set-variable to suppress it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5613d482
    • R
      MIPS: IP22/IP28: Fix build of EISA code. · b2f711d4
      Ralf Baechle 提交于
        CC      arch/mips/sgi-ip22/ip22-eisa.o
      /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c: In function ‘ip22_eisa_intr’:
      /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c:77:11: error: variable ‘dma2’ set but not used [-Werror=unused-but-set-variable]
      /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c:77:5: error: variable ‘dma1’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors
      
      This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
      -Wunused-but-set-variable to suppress it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b2f711d4
    • R
      MIPS: RB532: Fix build of prom code. · 66315e15
      Ralf Baechle 提交于
        CC      arch/mips/rb532/prom.o
      /home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c: In function ‘prom_setup_cmdline’:
      /home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c:75:22: error: variable ‘prom_envp’ set but not used [-Werror=unused-but-set-variable]
      
      This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
      -Wunused-but-set-variable to suppress it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      66315e15
    • R
      MIPS: PowerTV: Fix build. · ae1242a5
      Ralf Baechle 提交于
        CC      arch/mips/powertv/init.o
      /home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c: In function ‘mips_nmi_setup’:
      /home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c:80:8: error: variable ‘base’ set but not used [-Werror=unused-but-set-variable]
      /home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c: In function ‘mips_ejtag_setup’:
      /home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c:94:8: error: variable ‘base’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors
      
      As these two functions are, they don't serve any useful purpose so I've
      deleted them entirely.
      
      This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
      -Wunused-but-set-variable to suppress it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      ae1242a5
    • D
      MIPS: IP27: Correct fucked grammar in ops-bridge.c · 686957e7
      Dave Jones 提交于
      I had no idea just how broken IOC3 was until I read this.
      Signed-off-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      686957e7
    • R
      MIPS: Highmem: Fix build error if CONFIG_DEBUG_HIGHMEM is disabled · b99fbc10
      Ralf Baechle 提交于
        CC      arch/mips/mm/highmem.o
      /home/ralf/src/linux/linux-mips/arch/mips/mm/highmem.c: In function ‘__kunmap_atomic’:
      /home/ralf/src/linux/linux-mips/arch/mips/mm/highmem.c:70:6: error: variable ‘type’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors
      
      This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
      -Wunused-but-set-variable to suppress it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b99fbc10
    • R
      MIPS: Fix potencial corruption · a16dad77
      Ralf Baechle 提交于
      Normally r4k_dma_cache_inv should only ever be called with cacheline
      aligned addresses.  If however, it isn't there is the theoretical
      possibility of data corruption.  There is no correct way of handling this
      and anyway, it should only happen if the DMA API is used incorrectly
      so drop
      
      There is a different corruption scenario with these CACHE instructions
      removed but again there is no way of handling this correctly and it can
      be triggered only through incorrect use of the DMA API.
      
      So just get rid of the complexity.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Reported-by: NJames Rodriguez <jamesr@juniper.net>
      a16dad77
    • R
      MIPS: Fix for warning from FPU emulation code · 51d943f0
      Ralf Baechle 提交于
      The default implementation of 'cpu_has_fpu' macro calls
      smp_processor_id() which causes this warning to be printed when
      preemption is enabled:
      
      [    4.664000] Algorithmics/MIPS FPU Emulator v1.5
      [    4.676000] BUG: using smp_processor_id() in preemptible [00000000] code: ini
      [    4.700000] caller is fpu_emulator_cop1Handler+0x434/0x27b8
      
      This problem got introduced in November 2009 by
      af1d2af877ef6c36990671bc86a5b9c5bb50b1da (lmo) [MIPS: Fix emulation of
      64-bit FPU on 64-bit CPUs.] rsp.  da0bac33
      (kernel.org) [MIPS: Fix emulation of 64-bit FPU on FPU-less 64-bit CPUs.]
      in 2.6.32.
      
      Fixed by rewriting cop1_64bit() to return a constant whenever possible
      but most importantly avoid the use pf cpu_has_fpu entirely.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Reported-by: NJayachandran C <jchandra@broadcom.com>
      Initial-patch-by: NJayachandran C <jchandra@broadcom.com>
      Patchwork: https://patchwork.linux-mips.org/patch/4225/
      51d943f0
    • M
      MIPS: Handle COP3 Unusable exception as COP1X for FP emulation · 051ff44a
      Maciej W. Rozycki 提交于
       Our FP emulator is hardcoded for the MIPS IV FP instruction set and does
      not match the FP ISA with the general ISA.  However for the few MIPS IV FP
      instructions that use the COP1X major opcode it relies on the Coprocessor
      Unusable exception to be delivered as a COP1 rather than COP3 exception.
      This includes indexed transfer (LDXC1, etc.) and FP multiply-accumulate
      (MADD.D, etc.) instructions.
      
       All the MIPS I, II, III and IV processors and some newer chips that do not
      implement the FPU use the COP3 exception however.  Therefore I believe the
      kernel should follow and redirect any COP3 Unusable traps to the emulator
      unless an actual FPU part or core is present.
      
       This is a change that implements it.  Any minor opcode encodings that are
      not recognised as valid FP instructions are rejected by the emulator and
      will result in a SIGILL signal being delivered as they currently do.  We
      do not support vendor-specific coprocessor 3 implementations supported
      with MIPS I and MIPS II ISA processors; we never set CP0.Status.CU3.
      
      [Ralf: On MIPS IV processors the kernel always enables the XX bit which
      replaces the CU3 bit off earlier architecture revisions.]
      
       If matching between the CPU and the FPU ISA is considered required one
      day, this can still be done in the emulator itself.  I think the CpU
      exception dispatcher is not the right place to do this anyway, as there
      are further differences between MIPS I, MIPS II, MIPS III, MIPS IV and
      MIPS32 FP ISAs.
      
       Corresponding explanation of this implementation is included within the
      change itself.
      Signed-off-by: NMaciej W. Rozycki <macro@codesourcery.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/project/linux-mips/list/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      051ff44a