21 Jul, 2016

1 commit


28 Jun, 2016

1 commit

  • The ARM allmodconfig build currently warngs because of the
    ux500 crypto driver not working well with the jump label
    implementation that we started using for dynamic debug, which
    breaks building with 'gcc -O0':

    In file included from /git/arm-soc/include/linux/jump_label.h:105:0,
    from /git/arm-soc/include/linux/dynamic_debug.h:5,
    from /git/arm-soc/include/linux/printk.h:289,
    from /git/arm-soc/include/linux/kernel.h:13,
    from /git/arm-soc/include/linux/clk.h:16,
    from /git/arm-soc/drivers/crypto/ux500/hash/hash_core.c:16:
    /git/arm-soc/arch/arm/include/asm/jump_label.h: In function 'hash_set_dma_transfer':
    /git/arm-soc/arch/arm/include/asm/jump_label.h:13:7: error: asm operand 0 probably doesn't match constraints [-Werror]
    asm_volatile_goto("1:\n\t"

    Turning off compiler optimizations has never really been supported
    here, and it's only used when debugging the driver. I have not found
    a good reason for doing this here, other than a misguided attempt
    to produce more readable assembly output. Also, the driver is only
    used in obsolete hardware that almost certainly nobody will spend
    time debugging any more.

    This just removes the -O0 flag from the compiler options.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Herbert Xu

    Arnd Bergmann
     

13 Jun, 2016

1 commit

  • The hash buffer is really HASH_BLOCK_SIZE bytes, someone
    must have thought that memmove takes n*u32 words by mistake.
    Tests work as good/bad as before after this patch.

    Cc: Joakim Bech
    Cc: stable@vger.kernel.org
    Reported-by: David Binderman
    Signed-off-by: Linus Walleij
    Signed-off-by: Herbert Xu

    Linus Walleij
     

11 Mar, 2016

1 commit


22 Dec, 2015

1 commit


14 Oct, 2015

1 commit


21 Sep, 2015

1 commit


06 Mar, 2015

1 commit


22 Dec, 2014

1 commit


15 Dec, 2014

1 commit

  • Pull driver core update from Greg KH:
    "Here's the set of driver core patches for 3.19-rc1.

    They are dominated by the removal of the .owner field in platform
    drivers. They touch a lot of files, but they are "simple" changes,
    just removing a line in a structure.

    Other than that, a few minor driver core and debugfs changes. There
    are some ath9k patches coming in through this tree that have been
    acked by the wireless maintainers as they relied on the debugfs
    changes.

    Everything has been in linux-next for a while"

    * tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits)
    Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries"
    fs: debugfs: add forward declaration for struct device type
    firmware class: Deletion of an unnecessary check before the function call "vunmap"
    firmware loader: fix hung task warning dump
    devcoredump: provide a one-way disable function
    device: Add dev__once variants
    ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
    ath: use seq_file api for ath9k debugfs files
    debugfs: add helper function to create device related seq_file
    drivers/base: cacheinfo: remove noisy error boot message
    Revert "core: platform: add warning if driver has no owner"
    drivers: base: support cpu cache information interface to userspace via sysfs
    drivers: base: add cpu_device_create to support per-cpu devices
    topology: replace custom attribute macros with standard DEVICE_ATTR*
    cpumask: factor out show_cpumap into separate helper function
    driver core: Fix unbalanced device reference in drivers_probe
    driver core: fix race with userland in device_add()
    sysfs/kernfs: make read requests on pre-alloc files use the buffer.
    sysfs/kernfs: allow attributes to request write buffer be pre-allocated.
    fs: sysfs: return EGBIG on write if offset is larger than file size
    ...

    Linus Torvalds
     

24 Nov, 2014

1 commit


10 Nov, 2014

1 commit


20 Oct, 2014

1 commit


01 Aug, 2013

1 commit

  • Logging messages without newlines are possibly interleaved
    with other messages. Add terminating newlines to avoid
    this.

    Other miscellaneous changes:

    Make arrays const to reduce data size
    Add pr_fmt to prefix pr_, remove now unused DEV_DBG_NAME
    Coalesce formats, align arguments
    Remove unnecessary OOM messages as dump_stack is already done
    Remove unnecessary cast of void *
    Change kzalloc(sizeof(struct)...) to kzalloc(sizeof(*var), ...)
    Reduce indents in struct definitions

    Signed-off-by: Joe Perches
    Acked-by: Linus Walleij
    Signed-off-by: Herbert Xu

    Joe Perches
     

03 Jul, 2013

1 commit

  • Pull ARM SoC driver specific changes from Arnd Bergmann:
    "These changes are all driver specific and cross over between arm-soc
    contents and some other subsystem, in these cases cpufreq, crypto,
    dma, pinctrl, mailbox and usb, and the subsystem owners agreed to have
    these changes merged through arm-soc.

    As we proceed to untangle the dependencies between platform code and
    driver code, the amount of changes in this category is fortunately
    shrinking, for 3.11 we have 16 branches here and 101 non-merge
    changesets, the majority of which are for the stedma40 dma engine
    driver used in the ux500 platform. Cleaning up that code touches
    multiple subsystems, but gets rid of the dependency in the end.

    The mailbox code moved out from mach-omap2 to drivers/mailbox is an
    intermediate step and is still omap specific at the moment. Patches
    exist to generalize the subsystem and add other drivers with the same
    API, but those did not make it for 3.11."

    * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (101 commits)
    crypto: ux500: use dmaengine_submit API
    crypto: ux500: use dmaengine_prep_slave_sg API
    crypto: ux500: use dmaengine_device_control API
    crypto: ux500/crypt: add missing __iomem qualifiers
    crypto: ux500/hash: add missing static qualifiers
    crypto: ux500/hash: use readl on iomem addresses
    dmaengine: ste_dma40: Declare memcpy config as static
    ARM: ux500: Remove mop500_snowball_ethernet_clock_enable()
    ARM: ux500: Correct the EN_3v3 regulator's on/off GPIO
    ARM: ux500: Provide a AB8500 GPIO Device Tree node
    gpio: rcar: fix gpio_rcar_of_table
    gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
    gpio-rcar: Reference core gpio documentation in the DT bindings
    clk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2
    ARM: dts: Update Samsung I2S documentation
    ARM: dts: add clock provider information for i2s controllers in Exynos5250
    ARM: dts: add Exynos audio subsystem clock controller node
    clk: samsung: register audio subsystem clocks using common clock framework
    ARM: dts: use #include for all device trees for Samsung
    pinctrl: s3c24xx: use correct header for chained_irq functions
    ...

    Linus Torvalds
     

25 Jun, 2013

5 commits


27 May, 2013

1 commit

  • By providing an OF match table with a suitable compatible string, we
    can ensure the ux500-hasht driver is probed by supplying an associated
    DT node in a given platform's Device Tree.

    Cc: linux-crypto@vger.kernel.org
    Acked-by: Herbert Xu
    Signed-off-by: Lee Jones
    Signed-off-by: Linus Walleij

    Lee Jones
     

24 May, 2013

3 commits

  • The Cryp driver is currently silent and the Hash driver prints the
    name of its probe function unnecessarily. Let's just put a nice
    descriptive one-liner there instead.

    Cc: David S. Miller
    Cc: Andreas Westin
    Cc: linux-crypto@vger.kernel.org
    Acked-by: Herbert Xu
    Acked-by: Arnd Bergmann
    Signed-off-by: Lee Jones
    Signed-off-by: Linus Walleij

    Lee Jones
     
  • The DMA controller currently takes configuration information from
    information passed though dma_channel_request(), but it shouldn't.
    Using the API, the DMA channel should only be configured during
    a dma_slave_config() call.

    Cc: David S. Miller
    Cc: Andreas Westin
    Cc: linux-crypto@vger.kernel.org
    Acked-by: Herbert Xu
    Acked-by: Arnd Bergmann
    Signed-off-by: Lee Jones
    Signed-off-by: Linus Walleij

    Lee Jones
     
  • If we fail to prepare the ux500-hash clock before enabling it the
    platform will fail to boot. Here we insure this happens.

    Cc: David S. Miller
    Cc: Andreas Westin
    Cc: linux-crypto@vger.kernel.org
    Acked-by: Herbert Xu
    Acked-by: Arnd Bergmann
    Acked-by: Ulf Hansson
    Signed-off-by: Lee Jones
    Signed-off-by: Linus Walleij

    Lee Jones
     

03 May, 2013

1 commit

  • Pull crypto update from Herbert Xu:

    - XTS mode optimisation for twofish/cast6/camellia/aes on x86

    - AVX2/x86_64 implementation for blowfish/twofish/serpent/camellia

    - SSSE3/AVX/AVX2 optimisations for sha256/sha512

    - Added driver for SAHARA2 crypto accelerator

    - Fix for GMAC when used in non-IPsec secnarios

    - Added generic CMAC implementation (including IPsec glue)

    - IP update for crypto/atmel

    - Support for more than one device in hwrng/timeriomem

    - Added Broadcom BCM2835 RNG driver

    - Misc fixes

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (59 commits)
    crypto: caam - fix job ring cleanup code
    crypto: camellia - add AVX2/AES-NI/x86_64 assembler implementation of camellia cipher
    crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipher
    crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher
    crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher
    crypto: tcrypt - add async cipher speed tests for blowfish
    crypto: testmgr - extend camellia test-vectors for camellia-aesni/avx2
    crypto: aesni_intel - fix Kconfig problem with CRYPTO_GLUE_HELPER_X86
    crypto: aesni_intel - add more optimized XTS mode for x86-64
    crypto: x86/camellia-aesni-avx - add more optimized XTS code
    crypto: cast6-avx: use new optimized XTS code
    crypto: x86/twofish-avx - use optimized XTS code
    crypto: x86 - add more optimized XTS-mode for serpent-avx
    xfrm: add rfc4494 AES-CMAC-96 support
    crypto: add CMAC support to CryptoAPI
    crypto: testmgr - add empty test vectors for null ciphers
    crypto: testmgr - add AES GMAC test vectors
    crypto: gcm - fix rfc4543 to handle async crypto correctly
    crypto: gcm - make GMAC work when dst and src are different
    hwrng: timeriomem - added devicetree hooks
    ...

    Linus Torvalds
     

08 Apr, 2013

1 commit

  • This removes and
    from the Ux500, merging them into the local include
    "db8500-regs.h" in mach-ux500. There is some impact
    outside the ux500 machine, but most of it is dealt with
    in earlier patches.

    Contains portions of a clean-up patch from Arnd Bergmann.

    Cc: Samuel Ortiz
    Cc: Ulf Hansson
    Acked-by: Mike Turquette
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     

03 Apr, 2013

1 commit


21 Mar, 2013

1 commit


05 Oct, 2012

1 commit

  • Pull crypto update from Herbert Xu:
    - Optimised AES/SHA1 for ARM.
    - IPsec ESN support in talitos and caam.
    - x86_64/avx implementation of cast5/cast6.
    - Add/use multi-algorithm registration helpers where possible.
    - Added IBM Power7+ in-Nest support.
    - Misc fixes.

    Fix up trivial conflicts in crypto/Kconfig due to the sparc64 crypto
    config options being added next to the new ARM ones.

    [ Side note: cut-and-paste duplicate help texts make those conflicts
    harder to read than necessary, thanks to git being smart about
    minimizing conflicts and maximizing the common parts... ]

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (71 commits)
    crypto: x86/glue_helper - fix storing of new IV in CBC encryption
    crypto: cast5/avx - fix storing of new IV in CBC encryption
    crypto: tcrypt - add missing tests for camellia and ghash
    crypto: testmgr - make test_aead also test 'dst != src' code paths
    crypto: testmgr - make test_skcipher also test 'dst != src' code paths
    crypto: testmgr - add test vectors for CTR mode IV increasement
    crypto: testmgr - add test vectors for partial ctr(cast5) and ctr(cast6)
    crypto: testmgr - allow non-multi page and multi page skcipher tests from same test template
    crypto: caam - increase TRNG clocks per sample
    crypto, tcrypt: remove local_bh_disable/enable() around local_irq_disable/enable()
    crypto: tegra-aes - fix error return code
    crypto: crypto4xx - fix error return code
    crypto: hifn_795x - fix error return code
    crypto: ux500 - fix error return code
    crypto: caam - fix error IDs for SEC v5.x RNG4
    hwrng: mxc-rnga - Access data via structure
    hwrng: mxc-rnga - Adapt clocks to new i.mx clock framework
    crypto: caam - add IPsec ESN support
    crypto: 842 - remove .cra_list initialization
    Revert "[CRYPTO] cast6: inline bloat--"
    ...

    Linus Torvalds
     

14 Sep, 2012

1 commit

  • Platform data for device drivers should be defined in
    include/linux/platform_data/*.h, not in the architecture
    and platform specific directories.

    This moves such data out of the nomadik include directories

    Signed-off-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Nicolas Pitre
    Acked-by: Felipe Balbi
    Acked-by: Alessandro Rubini
    Acked-by: Linus Walleij
    Cc: STEricsson
    Cc: Srinidhi Kasagar
    Cc: Herbert Xu
    Cc: "David S. Miller"
    Cc: Dmitry Torokhov
    Cc: David Woodhouse
    Cc: Andreas Westin

    Arnd Bergmann
     

07 Sep, 2012

1 commit


11 Jul, 2012

1 commit


15 May, 2012

2 commits


04 May, 2012

1 commit