From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH RFC] tpm_crb: Fix AMD Zen on-chip fTPM detection Date: Fri, 16 Jun 2017 14:41:56 -0600 Message-ID: <20170616204156.GA4151@obsidianresearch.com> References: <20170616182951.398757-1-manuel.lauss@gmail.com> <20170616192544.GA31769@obsidianresearch.com> <20170616195748.GA1624@obsidianresearch.com> <20170616202718.GB1624@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Manuel Lauss Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Fri, Jun 16, 2017 at 10:35:11PM +0200, Manuel Lauss wrote: > > What do you mean 'mapping that fails already' ? The report you gave > > above shows the failure is on the other region: > > > > tpm_crb MSFT0101:00: can't request region for resource [mem 0xdd84f000-0xdd84ffff] > > the address seems to change every boot (it's one of the two MSFT0101 devices) > but it's always the first call to devm_ioremap_resource() in tpm_crb.c > line 454 that fails: > > priv->iobase = devm_ioremap_resource(dev, &io_res); I have no idea why that would fail, based on your proc file it should not, you need to figure out what is going on.. Jason ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot