mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] crypto: qcom-rng: fix support for ACPI-based systems
@ 2024-09-06  0:25 Brian Masney
  2024-09-06  0:25 ` [PATCH v3 1/2] " Brian Masney
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Brian Masney @ 2024-09-06  0:25 UTC (permalink / raw)
  To: herbert
  Cc: davem, quic_omprsing, neil.armstrong, quic_bjorande,
	linux-arm-msm, linux-crypto, linux-kernel, ernesto.mnd.fernandez,
	quic_jhugo

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-13 10:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06  0:25 [PATCH v3 0/2] crypto: qcom-rng: fix support for ACPI-based systems Brian Masney
2024-09-06  0:25 ` [PATCH v3 1/2] " Brian Masney
2024-09-06  0:44   ` Dmitry Baryshkov
2024-09-06  0:25 ` [PATCH v3 2/2] crypto: qcom-rng: rename *_of_data to *_match_data Brian Masney
2024-09-06  0:52   ` Dmitry Baryshkov
2024-09-06  2:04 ` [PATCH v3 0/2] crypto: qcom-rng: fix support for ACPI-based systems Bjorn Andersson
2024-09-13 10:31 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®