Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1549840

Re: Geode LX AES/RNG driver triggers warning

From One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: Geode LX AES/RNG driver triggers warning
Date 2017-01-03 16:00 +0100
Message-ID <sVyJh-7Mp-17@gated-at.bofh.it> (permalink)
References <sUffA-2Yb-5@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


On Sat, 31 Dec 2016 00:58:54 +0100
David Gstir <david@sigma-star.at> wrote:

> Hi!
> 
> I recently tested kernel v4.9 on my AMD Geode platform and noticed that its AES hardware driver triggers this warning on initialization:

...

> I narrowed it down to commit 6e9b5e76882c ("hwrng: geode - Migrate to managed API") which seems to introduce this. It looks to me like some issue between devres, the Geode hwrng and AES drivers which both use the same PCI device.

It does

> I'm no expert here, but I curious if this will cause any issues when using the hardware crypto drivers and also what's the best way to get rid of this?

Probably to create an mfd device that turns the PCI device into two MFD
devices and bind AES and hwrng one to each MFD device. Take a look in
drivers/mfd. That would also fix the uglies in mod_init for the rng
driver.

Alan

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Geode LX AES/RNG driver triggers warning David Gstir <david@sigma-star.at> - 2016-12-31 01:00 +0100
  Re: Geode LX AES/RNG driver triggers warning One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2017-01-03 16:00 +0100
    Re: Geode LX AES/RNG driver triggers warning PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2017-01-06 10:50 +0100
      Re: Geode LX AES/RNG driver triggers warning David Gstir <david@sigma-star.at> - 2017-01-06 14:30 +0100

csiph-web