linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pci_generic_config_write32() access size problem
@ 2015-09-28 22:08 Bjorn Helgaas
  2015-09-28 22:42 ` Rob Herring
  0 siblings, 1 reply; 10+ messages in thread
From: Bjorn Helgaas @ 2015-09-28 22:08 UTC (permalink / raw)
  To: Rob Herring; +Cc: Russell King, linux-pci

Hi Rob,

Russell pointed out a problem with 1f94a94f67e1 ("PCI: Add generic config
accessors").  pci_generic_config_write32() does a read/modify/write if the
size is less than 32 bits, so I think we have problem if this is used with
8- or 16-bit registers that contain RW1C bits.  Any thoughts on how we can
fix this?

Bjorn

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-01 16:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 22:08 pci_generic_config_write32() access size problem Bjorn Helgaas
2015-09-28 22:42 ` Rob Herring
2015-09-28 23:05   ` Russell King - ARM Linux
2015-09-29 16:47     ` Rob Herring
2015-09-29 17:06       ` Russell King - ARM Linux
     [not found]       ` <CADaLNDndQ6qZ2yuGuff6=cTm565in5e75AjkcX8MJmH2BCwyEw@mail.gmail.com>
2015-09-30 21:30         ` Rob Herring
     [not found]           ` <CADaLNDmjv+SkRxtGDToUTxo4DKFF+yd2LRmte=k4-HRsGOHYVg@mail.gmail.com>
2015-09-30 21:53             ` Rob Herring
2015-10-01  7:46               ` Thierry Reding
2015-10-01 15:45                 ` Ray Jui
2015-10-01 16:11                 ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).