Merge ~cypressyew/qa-regression-testing:phlin/test-520-arm64-exception into qa-regression-testing:master

Proposed by Po-Hsu Lin
Status: Merged
Merged at revision: 63c5ecc2c5a348f30c1daf1ad6b0f9fa1665422e
Proposed branch: ~cypressyew/qa-regression-testing:phlin/test-520-arm64-exception
Merge into: qa-regression-testing:master
Diff against target: 18 lines (+6/-1)
1 file modified
scripts/test-kernel-security.py (+6/-1)
Reviewer Review Type Date Requested Status
Steve Beattie (community) Approve
Review via email: mp+430372@code.staging.launchpad.net

Commit message

To get RANDOM_TRUST_CPU enabled on ARM64, we will need ARCH_RANDOM
to be enabled for ARM64 as well. This config support is available
with commit 1a50ec0b3b2e9a83f1b1245ea37a853aac2f741c in upstream tree:

    Author: Richard Henderson <email address hidden>
    Date: Tue Jan 21 12:58:52 2020 +0000

    arm64: Implement archrandom.h for ARMv8.5-RNG

Which has been applied to v5.6, but we don't have this in our Focal
kernel.

Restore the if statement for arm64 we have before 7fb27c11cc in q-r-t
to solve this issue.

Bug: https://bugs.launchpad.net/bugs/1990620

To post a comment you must log in.
Revision history for this message
Steve Beattie (sbeattie) wrote :

Thanks for the merge request. I tweaked the check to look for CONFIG_ARCH_RANDOM directly on arm64 rather than check for specific kernel versions, and merged the whole thing at https://git.launchpad.net/qa-regression-testing/commit/?id=63c5ecc2c5a348f30c1daf1ad6b0f9fa1665422e

review: Approve
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Thanks! The updated version seems much more robust.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches