All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: rcar: Fix postion of MSI enable bit
@ 2015-02-02  5:09 Nobuhiro Iwamatsu
  2015-02-24  1:22 ` Bjorn Helgaas
  2015-02-24  1:57 ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Nobuhiro Iwamatsu @ 2015-02-02  5:09 UTC (permalink / raw)
  To: bhelgaas; +Cc: linux-pci, phil.edworthy, horms+renesas, Nobuhiro Iwamatsu

Position of MSI enable bit is 31bit, not 28bit.
This fixes position of MSI bit necessary to initialize MSI.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
 drivers/pci/host/pcie-rcar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index bb36e27..eb12659 100644
--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -505,7 +505,7 @@ static int rcar_pcie_hw_init(struct rcar_pcie *pcie)
 
 	/* Enable MSI */
 	if (IS_ENABLED(CONFIG_PCI_MSI))
-		rcar_pci_write_reg(pcie, 0x101f0000, PCIEMSITXR);
+		rcar_pci_write_reg(pcie, 0x801f0000, PCIEMSITXR);
 
 	/* Finish initialization - establish a PCI Express link */
 	rcar_pci_write_reg(pcie, CFINIT, PCIETCTLR);
-- 
2.1.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <1422853483-14334-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>]

end of thread, other threads:[~2015-02-24  1:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  5:09 [PATCH] PCI: rcar: Fix postion of MSI enable bit Nobuhiro Iwamatsu
2015-02-24  1:22 ` Bjorn Helgaas
2015-02-24  1:57 ` Simon Horman
     [not found] <1422853483-14334-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>
2015-02-03 18:46 ` Phil Edworthy

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.