1. 17 11月, 2019 17 次提交
  2. 01 11月, 2019 2 次提交
  3. 25 10月, 2019 4 次提交
  4. 23 10月, 2019 7 次提交
  5. 04 10月, 2019 3 次提交
    • T
      hwrng: omap3-rom - Fix missing clock by probing with device tree · 0c0ef9ea
      Tony Lindgren 提交于
      Commit 0ed266d7 ("clk: ti: omap3: cleanup unnecessary clock aliases")
      removed old omap3 clock framework aliases but caused omap3-rom-rng to
      stop working with clock not found error.
      
      Based on discussions on the mailing list it was requested by Tero Kristo
      that it would be best to fix this issue by probing omap3-rom-rng using
      device tree to provide a proper clk property. The other option would be
      to add back the missing clock alias, but that does not help moving things
      forward with removing old legacy platform_data.
      
      Let's also add a proper device tree binding and keep it together with
      the fix.
      
      Cc: devicetree@vger.kernel.org
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Adam Ford <aford173@gmail.com>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Fixes: 0ed266d7 ("clk: ti: omap3: cleanup unnecessary clock aliases")
      Reported-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      0c0ef9ea
    • T
      ARM: OMAP2+: Check omap3-rom-rng for GP device instead of HS device · 7fb61afb
      Tony Lindgren 提交于
      In general we should check for GP device instead of HS device unless
      the other options such as EMU are also checked. Otherwise omap3-rom-rng
      won't probe on few of the old n900 macro boards still in service in
      automated build and boot test systems.
      
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Adam Ford <aford173@gmail.com>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      7fb61afb
    • A
      crypto: arm64/gcm-ce - implement 4 way interleave · 11031c0d
      Ard Biesheuvel 提交于
      To improve performance on cores with deep pipelines such as ThunderX2,
      reimplement gcm(aes) using a 4-way interleave rather than the 2-way
      interleave we use currently.
      
      This comes down to a complete rewrite of the GCM part of the combined
      GCM/GHASH driver, and instead of interleaving two invocations of AES
      with the GHASH handling at the instruction level, the new version
      uses a more coarse grained approach where each chunk of 64 bytes is
      encrypted first and then ghashed (or ghashed and then decrypted in
      the converse case).
      
      The core NEON routine is now able to consume inputs of any size,
      and tail blocks of less than 64 bytes are handled using overlapping
      loads and stores, and processed by the same 4-way encryption and
      hashing routines. This gets rid of most of the branches, and avoids
      having to return to the C code to handle the tail block using a
      stack buffer.
      
      The table below compares the performance of the old driver and the new
      one on various micro-architectures and running in various modes.
      
              |     AES-128      |     AES-192      |     AES-256      |
       #bytes | 512 | 1500 |  4k | 512 | 1500 |  4k | 512 | 1500 |  4k |
       -------+-----+------+-----+-----+------+-----+-----+------+-----+
          TX2 | 35% |  23% | 11% | 34% |  20% |  9% | 38% |  25% | 16% |
         EMAG | 11% |   6% |  3% | 12% |   4% |  2% | 11% |   4% |  2% |
          A72 |  8% |   5% | -4% |  9% |   4% | -5% |  7% |   4% | -5% |
          A53 | 11% |   6% | -1% | 10% |   8% | -1% | 10% |   8% | -2% |
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      11031c0d
  6. 30 9月, 2019 5 次提交
  7. 27 9月, 2019 2 次提交