drivers/crypto/qcom-rng.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
The qcom-rng driver supports both ACPI and device tree based systems. ACPI support was broken when the hw_random interface support was added. This small series gets that working again. This fix was boot tested on a Qualcomm Amberwing server (ACPI based) and on a Qualcomm SA8775p Automotive Development Board (DT based). I also verified that qcom-rng shows up in /proc/crypto on both systems. Changes since v2: - Simplify ACPI fix based on what's done with other drivers (Brian) Changes since v1: - Use qcom_prng_ee_match_data instead of qcom_prng_match_data for the true skip_init to match previous behavior (Ernesto) - Reordered patches so fix is first (Dmitry) Brian Masney (2): crypto: qcom-rng: fix support for ACPI-based systems crypto: qcom-rng: rename *_of_data to *_match_data drivers/crypto/qcom-rng.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.46.0
On Thu, Sep 05, 2024 at 08:25:19PM -0400, Brian Masney wrote: > The qcom-rng driver supports both ACPI and device tree based systems. > ACPI support was broken when the hw_random interface support was added. > This small series gets that working again. > > This fix was boot tested on a Qualcomm Amberwing server (ACPI based) and > on a Qualcomm SA8775p Automotive Development Board (DT based). I also > verified that qcom-rng shows up in /proc/crypto on both systems. > > Changes since v2: > - Simplify ACPI fix based on what's done with other drivers (Brian) > > Changes since v1: > - Use qcom_prng_ee_match_data instead of qcom_prng_match_data for the > true skip_init to match previous behavior (Ernesto) > - Reordered patches so fix is first (Dmitry) > > Brian Masney (2): > crypto: qcom-rng: fix support for ACPI-based systems > crypto: qcom-rng: rename *_of_data to *_match_data > > drivers/crypto/qcom-rng.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > -- > 2.46.0 All applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
On Thu, Sep 05, 2024 at 08:25:19PM -0400, Brian Masney wrote: > The qcom-rng driver supports both ACPI and device tree based systems. > ACPI support was broken when the hw_random interface support was added. > This small series gets that working again. > > This fix was boot tested on a Qualcomm Amberwing server (ACPI based) and > on a Qualcomm SA8775p Automotive Development Board (DT based). I also > verified that qcom-rng shows up in /proc/crypto on both systems. > Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com> Regards, Bjorn > Changes since v2: > - Simplify ACPI fix based on what's done with other drivers (Brian) > > Changes since v1: > - Use qcom_prng_ee_match_data instead of qcom_prng_match_data for the > true skip_init to match previous behavior (Ernesto) > - Reordered patches so fix is first (Dmitry) > > Brian Masney (2): > crypto: qcom-rng: fix support for ACPI-based systems > crypto: qcom-rng: rename *_of_data to *_match_data > > drivers/crypto/qcom-rng.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > -- > 2.46.0 >
© 2016 - 2024 Red Hat, Inc.