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


Groups > linux.kernel > #1350679 > unrolled thread

Re: [tpmdd-devel] [PATCH] tpm_crb: fix: associate to the correct device

Started byJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
First post2016-03-05 00:40 +0100
Last post2016-03-05 00:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [tpmdd-devel] [PATCH] tpm_crb: fix: associate to the correct  device Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-05 00:40 +0100

#1350679 — Re: [tpmdd-devel] [PATCH] tpm_crb: fix: associate to the correct device

FromJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Date2016-03-05 00:40 +0100
SubjectRe: [tpmdd-devel] [PATCH] tpm_crb: fix: associate to the correct device
Message-ID<r97ua-5TD-1@gated-at.bofh.it>
On Thu, Feb 18, 2016 at 11:03:31AM -0700, Jason Gunthorpe wrote:
> > +	INIT_LIST_HEAD(&resources);
> > +	rc = acpi_dev_get_resources(device, &resources, crb_check_resource,
> > +				    priv);
> > +	if (rc < 0)
> > +		return rc;
> > +	acpi_dev_free_resource_list(&resources);
> 
> I wonder if the acpi_dev_free_resource_list is what kill's the
> resource name? Maybe that needs to be delayed until after the
> ioremap, which is best done with this back in crb_map_io  ??
> 
> Thanks for looking at this stuff,

I had almost forgotten this comment. I'll try this out as soon as
possible. Might well be the reason.

> Jason

/Jarkko

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web