On Tue, Sep 3, 2024 at 5:22 PM Brian Masney <bmasney@xxxxxxxxxx> 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. > Let's go ahead and fix this by adding a check for has_acpi_companion(). > > This fix was boot tested on a Qualcomm Amberwing server. > > Fixes: f29cd5bb64c2 ("crypto: qcom-rng - Add hw_random interface support") > Reported-by: Ernesto A. Fernández <ernesto.mnd.fernandez@xxxxxxxxx> > Closes: https://lore.kernel.org/linux-arm-msm/20240828184019.GA21181@eaf/ > Cc: stable@xxxxxxxxxxxxxxx > Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx> I found a cleaner and less intrusive way to fix this after looking through some other drivers, so let me post a v3. Sorry about the noise. Brian