All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jambunathan K <jambunathan@netxen.com>
To: xen-devel@lists.xensource.com
Cc: sanjeev@netxen.com
Subject: pciback_field_is_dup needs a fix
Date: Fri, 09 Mar 2007 01:09:19 +0530	[thread overview]
Message-ID: <45F06667.8080705@netxen.com> (raw)

Shouldn't pciback_field_is_dup(dev, field->offset) be scoped to include 
the base_offset as well?

Currently with xen-3.0.4 the issue is this:

Adding of  PCI_PM_CTRL (at offset 4)  to the 'config_fields list' gets 
skipped because it ends up being a duplicate of PCI_COMMAND (at offset 4 
as well).  As a result when a PCI device behind a PCI frontend does a 
power up using pci_enable_device() the following message gets flashed on 
the console.

pciback 0000:0b:00.3: Driver tried to write to a read-only configuration 
space field at offset 0x84, size 2. This may be harmless, but if you 
have problems with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with details of 
your device obtained from lspci.

Thanks,
Jambunathan K.

             reply	other threads:[~2007-03-08 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08 19:39 Jambunathan K [this message]
2007-03-08 19:43 ` pciback_field_is_dup needs a fix Jambunathan K
2007-03-08 20:43 ` Chris
2007-03-09  9:18 ` Keir Fraser
2007-03-09 21:26   ` [PATCH] [pciback] " Chris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F06667.8080705@netxen.com \
    --to=jambunathan@netxen.com \
    --cc=sanjeev@netxen.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.