]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: cadence: Write MSI data with 32bits
authorAlan Douglas <adouglas@cadence.com>
Thu, 11 Oct 2018 16:15:54 +0000 (17:15 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 12 Oct 2018 11:09:29 +0000 (12:09 +0100)
commit6ca9b30cb89243cb116b4553cc8fe87a9a51c7a2
tree058ae1c4f9f2d2e7f37f5c27dde6f891edef32b7
parent69391d83cd18b901eb9eb9059599497b2d69a21e
PCI: cadence: Write MSI data with 32bits

According to the PCIe specification, although the MSI data is only
16bits, the upper 16bits should be written as 0. Use writel
instead of writew when writing the MSI data to the host.

Fixes: 1dc878766286 ("PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller")
Signed-off-by: Alan Douglas <adouglas@cadence.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pcie-cadence-ep.c