[Ubuntu 15.10] Support P8 VMX crypto driver - bug fixes

Bug #1484519 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Tim Gardner
Wily
Fix Released
High
Tim Gardner

Bug Description

VMX driver require VSX code enable in kernel ppc in order to access VSX instruction. Otherwise it'll fail in
boot if VMX is as built in or when modprobe vmx-crypto is done.

This bug fix were already submitted although still in cryptodev tree.

crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions
2d6f0600b2cd755959527230ef5a6fba97bb762a

 powerpc: Uncomment and make enable_kernel_vsx() routine available
72cd7b44bc99376b3f3c93cedcd052663fcdf705

Also tracking bugs found in CTR and GHASH on LE machines, both already fixed waiting for submit to community and test.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-128937 severity-high targetmilestone-inin1510
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1484519/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-08-18 13:23 EDT-------
> Also tracking bugs found in CTR and GHASH on LE machines, both already
> fixed waiting for submit to community and test.

Bug fix for CTR and Ghash bug are already applied on crypto-dev tree, waiting to drop in upstream

http://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=3c5f0ed78e976be705218cad62acf6a68e9d121e

http://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=1d4aa0b4c1816e8ca92a6aadb0d8f6b43c56c0d0

Revision history for this message
bugproxy (bugproxy) wrote : From 2d6f0600b2cd755959527230ef5a6fba97bb762a

------- Comment on attachment From <email address hidden> 2015-08-19 22:47 EDT-------

crypto: vmx - Adding enable_kernel_vsx() to access VSX
instructions

Revision history for this message
bugproxy (bugproxy) wrote : From 72cd7b44bc99376b3f3c93cedcd052663fcdf705

------- Comment on attachment From <email address hidden> 2015-08-19 22:48 EDT-------

powerpc: Uncomment and make enable_kernel_vsx() routine
available

Revision history for this message
bugproxy (bugproxy) wrote : From 1d4aa0b4c1816e8ca92a6aadb0d8f6b43c56c0d0

------- Comment on attachment From <email address hidden> 2015-08-19 22:48 EDT-------

crypto: vmx - Fixing AES-CTR counter bug

Revision history for this message
bugproxy (bugproxy) wrote : From 3c5f0ed78e976be705218cad62acf6a68e9d121e

------- Comment on attachment From <email address hidden> 2015-08-19 22:49 EDT-------

crypto: vmx - Fixing GHASH Key issue on little endian

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-08-19 22:53 EDT-------
Attached patches comment #7 to #10 are those to fix bugs related in this bugzilla.

Thanks for your support!

------- Comment From <email address hidden> 2015-08-19 22:55 EDT-------
(In reply to comment #12)
> Attached patches comment #7 to #10 are those to fix bugs related in this
> bugzilla.
>
> Thanks for your support!

These patches are back ported from unstable.git in Ubuntu repository.

summary: - [Ubuntu 15.04] Support P8 VMX crypto driver - bug fixes
+ [Ubuntu 15.10] Support P8 VMX crypto driver - bug fixes
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team)
status: New → Triaged
importance: Undecided → High
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Will these patches make the 4.3 merge window ?

Changed in linux (Ubuntu Wily):
assignee: Canonical Kernel Team (canonical-kernel-team) → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-08-24 19:55 EDT-------
They were pulled into next tree.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

ad614d671fa2992ed04152f3f1f60eff03cfa1f9 crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions
0542ec4ccc834e29929a09de0ececacb850a0549 powerpc: Uncomment and make enable_kernel_vsx() routine available
8d00755c1775977842d59c6fc9f02a5c6f84006a crypto: vmx - Fixing GHASH Key issue on little endian
5a0efec9c553b8378a5d0be4839b82c86dcf19c6 crypto: vmx - Fixing AES-CTR counter bug

Changed in linux (Ubuntu Wily):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package linux - 4.2.0-10.11

---------------
linux (4.2.0-10.11) wily; urgency=low

  [ Andy Whitcroft ]

  * Release Tracking Bug
    - LP: #1495208
  * No change rebuild to avoid issues with leading zero bytes on
    internal module signing key. (see launchpad bug 1494943)

  [ Ming Lei ]

  * [Config] SERIAL_8250_DW=y for arm64

  [ Upstream Kernel Changes ]

  * drm/i915: Move WaBarrierPerformanceFixDisable:skl to skl code from chv
    code
    - LP: #1484486
  * drm/i915/gen8: Add infrastructure to initialize WA batch buffers
    - LP: #1484486
  * drm/i915/gen8: Re-order init pipe_control in lrc mode
    - LP: #1484486
  * drm/i915/gen8: Add WaDisableCtxRestoreArbitration workaround
    - LP: #1484486
  * drm/i915/gen8: Add WaFlushCoherentL3CacheLinesAtContextSwitch
    workaround
    - LP: #1484486
  * drm/i915: Bail out early if WA batch is not available for given Gen
    - LP: #1484486
  * drm/i915/gen8: Add WaClearSlmSpaceAtContextSwitch workaround
    - LP: #1484486
  * drm/i915: Update WaFlushCoherentL3CacheLinesAtContextSwitch
    - LP: #1484486
  * drm/i915/gen9: Implement WaDisableKillLogic for gen 9
    - LP: #1484486
  * drm/i915: Enable WA batch buffers for Gen9
    - LP: #1484486
  * drm/i915/gen9: Add WaDisableCtxRestoreArbitration workaround
    - LP: #1484486
  * drm/i915: Update wa_ctx_emit() macro as per kernel coding guidelines
    - LP: #1484486
  * drm/i915/gen9: Add WaFlushCoherentL3CacheLinesAtContextSwitch
    workaround
    - LP: #1484486
  * drm/i915/gen9: Add
    WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken
    - LP: #1484486
  * drm/i915:skl: Add WaEnableGapsTsvCreditFix
    - LP: #1484486
  * drm/i915/skl: revert duplicated WaBarrierPerformanceFixDisable:skl
    - LP: #1484486
  * drm/i915/skl: Don't expose the top most plane on gen9 display
    - LP: #1484486
  * drm/i915/skl WaDisableSbeCacheDispatchPortSharing
    - LP: #1484486
  * drm/i915/skl: WaIgnoreDDIAStrap is forever, always init DDI A
    - LP: #1484486
  * drm/i915: reduce indent in i9xx_hpd_irq_handler
    - LP: #1484531
  * drm/i915: reduce duplicate conditions in i9xx_hpd_irq_handler
    - LP: #1484531
  * drm/i915: reduce indent in intel_hpd_irq_handler
    - LP: #1484531
  * drm/i915: group all hotplug related fields into a new struct in
    dev_priv
    - LP: #1484531
  * drm/i915: add for_each_hpd_pin to iterate over hotplug pins
    - LP: #1484531
  * drm/i915: simplify conditions for skipping the 2nd hpd loop iterations
    - LP: #1484531
  * drm/i915: put back the indent in intel_hpd_irq_handler
    - LP: #1484531
  * drm/i915: merge the two hpd loops in intel_hpd_irq_handler to one
    - LP: #1484531
  * drm/i915: simplify condition for digital port
    - LP: #1484531
  * drm/i915: abstract away platform specific parts from hpd handling
    - LP: #1484531
  * drm/i915: Handle HPD when it has actually occurred
    - LP: #1484531
  * drm/i915: Set power domain for DDI-E
    - LP: #1484531
  * drm/i915: Set alternate aux for DDI-E
    - LP: #1484531
  * drm/i915/skl: enable DDI-E hotplug
    - LP: #1484531
  * drm/i915/bxt: fix DDI PHY vswing scale value setting
    - LP: #1494163
  * drm/i915/skl: Buf...

Read more...

Changed in linux (Ubuntu Wily):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.