{"push_id":879766513,"size":54,"distinct_size":54,"ref":"refs/heads/rebase","head":"6c3dfe93cab31f8fea60798281c1b359a5973a21","before":"eb983ee4bcd801cc8dd21dfadecb25a2838e927b","commits":[{"sha":"5b12a73c1fb036209fe35e2a1d93ecf67ccef576","author":{"email":"1f0aa498f7c1bee2bd6061b97aca51d7b122cec0@iki.fi","name":"Jussi Kivilinna"},"message":"ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures\n\nCommon SHA-1 structures are defined in <crypto/sha.h> for code sharing.\n\nThis patch changes SHA-1/ARM glue code to use these structures.\n\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/5b12a73c1fb036209fe35e2a1d93ecf67ccef576"},{"sha":"335961a42b30f06645ac8eea748a49306ce092b2","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"ARM: add support for bit sliced AES using NEON instructions\n\nBit sliced AES gives around 45% speedup on Cortex-A15 for encryption\nand around 25% for decryption. This implementation of the AES algorithm\ndoes not rely on any lookup tables so it is believed to be invulnerable\nto cache timing attacks.\n\nThis algorithm processes up to 8 blocks in parallel in constant time. This\nmeans that it is not usable by chaining modes that are strictly sequential\nin nature, such as CBC encryption. CBC decryption, however, can benefit from\nthis implementation and runs about 25% faster. The other chaining modes\nimplemented in this module, XTS and CTR, can execute fully in parallel in\nboth directions.\n\nThe core code has been adopted from the OpenSSL project (in collaboration\nwith the original author, on cc). For ease of maintenance, this version is\nidentical to the upstream OpenSSL code, i.e., all modifications that were\nrequired to make it suitable for inclusion into the kernel have been made\nupstream. The original can be found here:\n\n    http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=6f6a6130\n\nNote to integrators:\nWhile this implementation is significantly faster than the existing table\nbased ones (generic or ARM asm), especially in CTR mode, the effects on\npower efficiency are unclear as of yet. This code does fundamentally more\nwork, by calculating values that the table based code obtains by a simple\nlookup; only by doing all of that work in a SIMD fashion, it manages to\nperform better.\n\nCc: Andy Polyakov <appro@openssl.org>\nAcked-by: Nicolas Pitre <nico@linaro.org>\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/335961a42b30f06645ac8eea748a49306ce092b2"},{"sha":"981a6d29aadb42310777cc3e10780294fa727a01","author":{"email":"f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk","name":"Russell King"},"message":"CRYPTO: Fix more AES build errors\n\nBuilding a multi-arch kernel results in:\n\narch/arm/crypto/built-in.o: In function `aesbs_xts_decrypt':\nsha1_glue.c:(.text+0x15c8): undefined reference to `bsaes_xts_decrypt'\narch/arm/crypto/built-in.o: In function `aesbs_xts_encrypt':\nsha1_glue.c:(.text+0x1664): undefined reference to `bsaes_xts_encrypt'\narch/arm/crypto/built-in.o: In function `aesbs_ctr_encrypt':\nsha1_glue.c:(.text+0x184c): undefined reference to `bsaes_ctr32_encrypt_blocks'\narch/arm/crypto/built-in.o: In function `aesbs_cbc_decrypt':\nsha1_glue.c:(.text+0x19b4): undefined reference to `bsaes_cbc_encrypt'\n\nThis code is already runtime-conditional on NEON being supported, so\nthere's no point compiling it out depending on the minimum build\narchitecture.\n\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/981a6d29aadb42310777cc3e10780294fa727a01"},{"sha":"3386adf712e05f46cc604bf0c6bc484f792c8c79","author":{"email":"52f8f9962b7f38d8269c63c0859d68147c8d10f0@redhat.com","name":"Mikulas Patocka"},"message":"crypto: arm-aes - fix encryption of unaligned data\n\nFix the same alignment bug as in arm64 - we need to pass residue\nunprocessed bytes as the last argument to blkcipher_walk_done.\n\nSigned-off-by: Mikulas Patocka <mpatocka@redhat.com>\nCc: stable@vger.kernel.org\t# 3.13+\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/3386adf712e05f46cc604bf0c6bc484f792c8c79"},{"sha":"c718b4eba1dd8750131e75c8c9afb6ae569714b2","author":{"email":"1f0aa498f7c1bee2bd6061b97aca51d7b122cec0@iki.fi","name":"Jussi Kivilinna"},"message":"ARM: 8119/1: crypto: sha1: add ARM NEON implementation\n\nThis patch adds ARM NEON assembly implementation of SHA-1 algorithm.\n\ntcrypt benchmark results on Cortex-A8, sha1-arm-asm vs sha1-neon-asm:\n\nblock-size      bytes/update    old-vs-new\n16              16              1.04x\n64              16              1.02x\n64              64              1.05x\n256             16              1.03x\n256             64              1.04x\n256             256             1.30x\n1024            16              1.03x\n1024            256             1.36x\n1024            1024            1.52x\n2048            16              1.03x\n2048            256             1.39x\n2048            1024            1.55x\n2048            2048            1.59x\n4096            16              1.03x\n4096            256             1.40x\n4096            1024            1.57x\n4096            4096            1.62x\n8192            16              1.03x\n8192            256             1.40x\n8192            1024            1.58x\n8192            4096            1.63x\n8192            8192            1.63x\n\nChange-Id: I43f856e247de8ee60dd723626195dad825d1be66\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nTested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/c718b4eba1dd8750131e75c8c9afb6ae569714b2"},{"sha":"94abff9b95bdff9d49a7b750453aca47295ab48e","author":{"email":"1f0aa498f7c1bee2bd6061b97aca51d7b122cec0@iki.fi","name":"Jussi Kivilinna"},"message":"ARM: 8120/1: crypto: sha512: add ARM NEON implementation\n\nThis patch adds ARM NEON assembly implementation of SHA-512 and SHA-384\nalgorithms.\n\ntcrypt benchmark results on Cortex-A8, sha512-generic vs sha512-neon-asm:\n\nblock-size      bytes/update    old-vs-new\n16              16              2.99x\n64              16              2.67x\n64              64              3.00x\n256             16              2.64x\n256             64              3.06x\n256             256             3.33x\n1024            16              2.53x\n1024            256             3.39x\n1024            1024            3.52x\n2048            16              2.50x\n2048            256             3.41x\n2048            1024            3.54x\n2048            2048            3.57x\n4096            16              2.49x\n4096            256             3.42x\n4096            1024            3.56x\n4096            4096            3.59x\n8192            16              2.48x\n8192            256             3.42x\n8192            1024            3.56x\n8192            4096            3.60x\n8192            8192            3.60x\n\nChange-Id: I8471b7baf6ca8973759c0d0cf993ba772b3edcb5\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nTested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/94abff9b95bdff9d49a7b750453aca47295ab48e"},{"sha":"69049fc621ad981e6563e1f62d1b1871bf96636c","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"crypto: create generic version of ablk_helper\n\nCreate a generic version of ablk_helper so it can be reused\nby other architectures.\n\nAcked-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/69049fc621ad981e6563e1f62d1b1871bf96636c"},{"sha":"b7530ba4f607c462679fb8fc77595891ffc22107","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"ARM: move VFP init to an earlier boot stage\n\nIn order to use the NEON unit in the kernel, we should\ninitialize it a bit earlier in the boot process so NEON users\nthat like to do a quick benchmark at load time (like the\nxor_blocks or RAID-6 code) find the NEON/VFP unit already\nenabled.\n\nReplaced late_initcall() with core_initcall().\n\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nAcked-by: Nicolas Pitre <nico@linaro.org>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/b7530ba4f607c462679fb8fc77595891ffc22107"},{"sha":"faaf164ab092c66a27c1e62bdb35a03401f6c344","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"ARM: add support for kernel mode NEON\n\nIn order to safely support the use of NEON instructions in\nkernel mode, some precautions need to be taken:\n- the userland context that may be present in the registers (even\n  if the NEON/VFP is currently disabled) must be stored under the\n  correct task (which may not be 'current' in the UP case),\n- to avoid having to keep track of additional vfpstates for the\n  kernel side, disallow the use of NEON in interrupt context\n  and run with preemption disabled,\n- after use, re-enable preemption and re-enable the lazy restore\n  machinery by disabling the NEON/VFP unit.\n\nThis patch adds the functions kernel_neon_begin() and\nkernel_neon_end() which take care of the above. It also adds\nthe Kconfig symbol KERNEL_MODE_NEON to enable it.\n\nChange-Id: Ia676a86fa98985ae94557168efc8cc40684ee80a\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nAcked-by: Nicolas Pitre <nico@linaro.org>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/faaf164ab092c66a27c1e62bdb35a03401f6c344"},{"sha":"a8837217119d0c2c6884f204fb86d223f3f0f038","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"ARM: pull in <asm/simd.h> from asm-generic\n\nChange-Id: I6fcdd3b73a84d082cad4220527d89e268ebb496a\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/a8837217119d0c2c6884f204fb86d223f3f0f038"},{"sha":"f606633aa0a592c5f81b60beb978733b68658805","author":{"email":"c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","name":"Paul Reioux"},"message":"arm: vfpmodule: Fix warning procfs vfp_bounce reporting failed\n\nCreation of procfs cpu/vfp_bounce fails because we're initialized too early. Fix\nthis by creating it on rootfs_initcall as before the NEON patches.","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/f606633aa0a592c5f81b60beb978733b68658805"},{"sha":"63e95bea54c09e753c0bc26e9ab2ded840c8085d","author":{"email":"a0b7b622a99434219a85e3f6ec66d9efb1743ad7@gmail.com","name":"Rox-"},"message":"s3ve3g: defcofnig: Enable NEON optimized AES and SHA1 routines","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/63e95bea54c09e753c0bc26e9ab2ded840c8085d"},{"sha":"40feb355cd68ef78ecc8b62d1a382a9c790ffc36","author":{"email":"13b5b7039a021b8cc9f1fde674d009cb5243a69d@google.com","name":"Sami Tolvanen"},"message":"arm: crypto: Add optimized SHA-256/224\n\nAdd Andy Polyakov's optimized assembly and NEON implementations for\nSHA-256/224.\n\nThe sha256-armv4.pl script for generating the assembly code is from\nOpenSSL commit 51f8d095562f36cdaa6893597b5c609e943b0565.\n\nCompared to sha256-generic these implementations have the following\ntcrypt speed improvements on Motorola Nexus 6 (Snapdragon 805):\n\n  bs    b/u      sha256-neon  sha256-asm\n  16    16       x1.32        x1.19\n  64    16       x1.27        x1.15\n  64    64       x1.36        x1.20\n  256   16       x1.22        x1.11\n  256   64       x1.36        x1.19\n  256   256      x1.59        x1.23\n  1024  16       x1.21        x1.10\n  1024  256      x1.65        x1.23\n  1024  1024     x1.76        x1.25\n  2048  16       x1.21        x1.10\n  2048  256      x1.66        x1.23\n  2048  1024     x1.78        x1.25\n  2048  2048     x1.79        x1.25\n  4096  16       x1.20        x1.09\n  4096  256      x1.66        x1.23\n  4096  1024     x1.79        x1.26\n  4096  4096     x1.82        x1.26\n  8192  16       x1.20        x1.09\n  8192  256      x1.67        x1.23\n  8192  1024     x1.80        x1.26\n  8192  4096     x1.85        x1.28\n  8192  8192     x1.85        x1.27\n\nWhere bs refers to block size and b/u to bytes per update.\n\nChange-Id: I83938010007660f7f3f77f2946c8d22557e3a327\nSigned-off-by: Sami Tolvanen <samitolvanen@google.com>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/40feb355cd68ef78ecc8b62d1a382a9c790ffc36"},{"sha":"de13a777d6948ec24fed1313de2dd95b0f9c7fed","author":{"email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org","name":"Ard Biesheuvel"},"message":"crypto: arm/aes update NEON AES module to latest OpenSSL version\n\nThis updates the bit sliced AES module to the latest version in the\nupstream OpenSSL repository (e620e5ae37bc). This is needed to fix a\nbug in the XTS decryption path, where data chunked in a certain way\ncould trigger the ciphertext stealing code, which is not supposed to\nbe active in the kernel build (The kernel implementation of XTS only\nsupports round multiples of the AES block size of 16 bytes, whereas\nthe conformant OpenSSL implementation of XTS supports inputs of\narbitrary size by applying ciphertext stealing). This is fixed in\nthe upstream version by adding the missing #ifndef XTS_CHAIN_TWEAK\naround the offending instructions.\n\nThe upstream code also contains the change applied by Russell to\nbuild the code unconditionally, i.e., even if __LINUX_ARM_ARCH__ < 7,\nbut implemented slightly differently.\n\nCc: stable@vger.kernel.org\nFixes: e4e7f10bfc40 (\"ARM: add support for bit sliced AES using NEON instructions\")\nReported-by: Adrian Kotelba <adrian.kotelba@gmail.com>\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nTested-by: Milan Broz <gmazyland@gmail.com>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>\n\nChange-Id: I8973ae15cb082993c954b573bef9baa7195157e7","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/de13a777d6948ec24fed1313de2dd95b0f9c7fed"},{"sha":"f45fa93be5dacd3ea8aab0dccb64e250e7d8f6df","author":{"email":"f2ad263351ded8bf8d0b90799bb8b9622c429cf8@gmail.com","name":"Zhao Wei Liew"},"message":"arm: crypto: gitignore: Ignore sha256-core.S\n\nSigned-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/f45fa93be5dacd3ea8aab0dccb64e250e7d8f6df"},{"sha":"e3b3de7e5e48739ad8f8308eb599f2a5e3505427","author":{"email":"f2ad263351ded8bf8d0b90799bb8b9622c429cf8@gmail.com","name":"Zhao Wei Liew"},"message":"msm8226-sec: Enable ARM optimized SHA-256\n\nAlso add a unified config for reference.\n\nSigned-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/e3b3de7e5e48739ad8f8308eb599f2a5e3505427"},{"sha":"fa47950e71bbec1fe2a50378a39f1af16ae7074a","author":{"email":"1f0aa498f7c1bee2bd6061b97aca51d7b122cec0@mbnet.fi","name":"Jussi Kivilinna"},"message":"crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once\n\nAdd crypto_[un]register_shashes() to allow simplifying init/exit code of shash\ncrypto modules that register multiple algorithms.\n\nChange-Id: Ic33e4e79ff65c094d94ea14d4e790b8deef8ec86\nSigned-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/fa47950e71bbec1fe2a50378a39f1af16ae7074a"},{"sha":"eb572938940635c5c0b915916acff5782e654433","author":{"email":"d77b46f71ad07d1c66a004715c9110750816d270@motorola.com","name":"Jason Hrycay"},"message":"msm: memutils:  memcpy, memmove, copy_page optimization\n\nPreload farther to take advantage of the memory bus, and assume\n64-byte cache lines.  Unroll some pairs of ldm/stm as well, for\nunexplainable reasons.\n\nFuture enhancements should include,\n\n- #define for how far to preload, possibly defined separately for\n  memcpy, copy_*_user\n- Tuning for misaligned buffers\n- Tuning for memmove\n- Tuning for small buffers\n- Understanding mechanism behind ldm/stm unroll causing some gains\n  in copy_to_user\n\nBASELINE (msm8960pro):\n======================================================================\nmemcpy 1000MB at 5MB       : took 808850 usec, bandwidth 1236.236 MB/s\ncopy_to_user 1000MB at 5MB : took 810071 usec, bandwidth 1234.234 MB/s\ncopy_from_user 1000MB at 5M: took 942926 usec, bandwidth 1060.060 MB/s\nmemmove 1000GB at 5MB      : took 848588 usec, bandwidth 1178.178 MB/s\ncopy_to_user 1000GB at 4kB : took 847916 usec, bandwidth 1179.179 MB/s\ncopy_from_user 1000GB at 4k: took 935113 usec, bandwidth 1069.069 MB/s\ncopy_page 1000GB at 4kB    : took 779459 usec, bandwidth 1282.282 MB/s\n\nTHIS PATCH:\n======================================================================\nmemcpy 1000MB at 5MB       : took 346223 usec, bandwidth 2888.888 MB/s\ncopy_to_user 1000MB at 5MB : took 348084 usec, bandwidth 2872.872 MB/s\ncopy_from_user 1000MB at 5M: took 348176 usec, bandwidth 2872.872 MB/s\nmemmove 1000GB at 5MB      : took 348267 usec, bandwidth 2871.871 MB/s\ncopy_to_user 1000GB at 4kB : took 377018 usec, bandwidth 2652.652 MB/s\ncopy_from_user 1000GB at 4k: took 371829 usec, bandwidth 2689.689 MB/s\ncopy_page 1000GB at 4kB    : took 383763 usec, bandwidth 2605.605 MB/s\n\nChange-Id: I843fe77192d61ce35a81e75d76fc09f0a472e98a\nSigned-off-by: Chris Fries <C.Fries@motorola.com>\n\nConflicts:\n\tarch/arm/mach-msm/Kconfig\n\tarch/arm/mach-msm/Makefile","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/eb572938940635c5c0b915916acff5782e654433"},{"sha":"79084056a43feaffcc5f81d811c2610711625dcf","author":{"email":"fdd63d6d2cf1fcca4a32e9bdba550776ff3f9f3c@motorola.com","name":"Hong-Mei Li"},"message":"arm: lib: Fix makefile bug\n\nWhen HAS_MACH_MEMUTILS is defined, two version of memcpy.S would\nbe built at the same time, fix the issue here.\n\nChange-Id: Ia4e9604c45c04ffaad4f481ab454e8ee3c4a4d95\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.mot.com/629464\nSLTApproved: Slta Waiver <sltawvr@motorola.com>\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/79084056a43feaffcc5f81d811c2610711625dcf"},{"sha":"3aa127efe85540276d281b4f3e9cd8406dd979f2","author":{"email":"bb05168246ed1a6b66d0e7b1ffb0c5e3707764ca@codeaurora.org","name":"Junjie Wu"},"message":"msm: rq_stats: Fix wrong usage of cpufreq_quick_get()\n\ncpufreq_quick_get() returns frequency in KHz, which is exactly what\ncur_freq expect. Remove the wrong multiplication.\n\nCRs-fixed: 645518\nChange-Id: Ia8b080a188023964f5eee77c8586828097d11ad4\nSigned-off-by: Junjie Wu <junjiew@codeaurora.org>\n\nConflicts:\n\tarch/arm/mach-msm/msm_rq_stats.c","distinct":true,"url":"https://api.github.com/repos/MSM8226-Samsung/android_kernel_samsung_s3ve3g/commits/3aa127efe85540276d281b4f3e9cd8406dd979f2"}]}