1. 17 2月, 2013 9 次提交
  2. 06 2月, 2013 2 次提交
  3. 28 1月, 2013 1 次提交
  4. 14 1月, 2013 1 次提交
  5. 13 1月, 2013 1 次提交
    • D
      ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible · 638591cd
      Dave Martin 提交于
      This patch fixes aes-armv4.S and sha1-armv4-large.S to work
      natively in Thumb.  This allows ARM/Thumb interworking workarounds
      to be removed.
      
      I also take the opportunity to convert some explicit assembler
      directives for exported functions to the standard
      ENTRY()/ENDPROC().
      
      For the code itself:
      
        * In sha1_block_data_order, use of TEQ with sp is deprecated in
          ARMv7 and not supported in Thumb.  For the branches back to
          .L_00_15 and .L_40_59, the TEQ is converted to a CMP, under the
          assumption that clobbering the C flag here will not cause
          incorrect behaviour.
      
          For the first branch back to .L_20_39_or_60_79 the C flag is
          important, so sp is moved temporarily into another register so
          that TEQ can be used for the comparison.
      
        * In the AES code, most forms of register-indexed addressing with
          shifts and rotates are not permitted for loads and stores in
          Thumb, so the address calculation is done using a separate
          instruction for the Thumb case.
      
      The resulting code is unlikely to be optimally scheduled, but it
      should not have a large impact given the overall size of the code.
      I haven't run any benchmarks.
      Signed-off-by: NDave Martin <dave.martin@linaro.org>
      Tested-by: David McCullough <ucdevel@gmail.com> (ARM only)
      Acked-by: NDavid McCullough <ucdevel@gmail.com>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      638591cd
  6. 08 1月, 2013 10 次提交
  7. 07 1月, 2013 12 次提交
  8. 06 1月, 2013 1 次提交
  9. 04 1月, 2013 3 次提交
    • C
      arm64: Always select ARM_AMBA and GENERIC_GPIO · 25c92a37
      Catalin Marinas 提交于
      Needed for most SoCs.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      25c92a37
    • M
      microblaze: Update microblaze defconfigs · d0e04540
      Michal Simek 提交于
      The main reason is 0-day testing system which can directly
      use these defconfigs for testing.
      
      Enable support for all xilinx drivers which Microblaze
      can use and disable dependency on external rootfs.cpio.
      There is only one exception which is axi ethernet driver
      which still uses NO_IRQ which is not defined for Microblaze.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      d0e04540
    • M
      microblaze: Fix pci compilation and sparse warnings · f7eaacc1
      Michal Simek 提交于
      Warning log:
        CHECK   arch/microblaze/pci/pci-common.c
      arch/microblaze/pci/pci-common.c:290:14: warning: Using plain integer as NULL pointer
      arch/microblaze/pci/pci-common.c:1127:6: warning: symbol
      'pcibios_allocate_bus_resources' was not declared. Should it be static?
      arch/microblaze/pci/pci-common.c:1436:61: warning: incorrect type in argument 3 (different base types)
      arch/microblaze/pci/pci-common.c:1436:61:    expected unsigned int [unsigned] [usertype] offset
      arch/microblaze/pci/pci-common.c:1436:61:    got void [noderef] <asn:2>*
        CC      arch/microblaze/pci/pci-common.o
      arch/microblaze/pci/pci-common.c: In function 'pci_proc_domain':
      arch/microblaze/pci/pci-common.c:825:25: warning: unused variable 'hose' [-Wunused-variable]
      arch/microblaze/pci/pci-common.c: In function 'pcibios_allocate_bus_resources':
      arch/microblaze/pci/pci-common.c:1182:1: warning: label 'clear_resource' defined but not used [-Wunused-label]
      arch/microblaze/pci/pci-common.c: In function 'pcibios_setup_phb_resources':
      arch/microblaze/pci/pci-common.c:1436:2: warning: passing argument 3 of
      'pci_add_resource_offset' makes integer from pointer without a cast [enabled by default]
      include/linux/pci.h:999:6: note: expected 'resource_size_t' but argument is of type 'void *'
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      f7eaacc1