Skip to contentSkip to conversation

pci-mmconfig fix for 2.6.9

PATCH long 2 participants 2 messages Nov 10, 2004

lore
Share & tools
lore

long

author
#0 lore raw
Quoted 1 line · On Wed, Nov 10, 2004 at 9:36 Greg KH wrote:

Your patch is line wrapped, and mime encoded.

On behalf of Sundar, I redo it.
Signed-off-by: Sundarapandian Durairaj

Thanks,
Long
---------------------------------------------------------------

arch/i386/pci/mmconfig.c +1 -4
diff -Naur linux-2.6.9/arch/i386/pci/mmconfig.c pcie-fix-linux-2.6.9/arch/i386/pci/mmconfig.c
@@ -30,7 +30,7 @@
 	u32 dev_base = pci_mmcfg_base_addr | (bus << 20) | (devfn << 12);
 	if (dev_base != mmcfg_last_accessed_device) {
 		mmcfg_last_accessed_device = dev_base;
-		set_fixmap(FIX_PCIE_MCFG, dev_base);
+		set_fixmap_nocache(FIX_PCIE_MCFG, dev_base);
 	}
 }
 
@@ -85,9 +85,6 @@
 		break;
 	}
 
-	/* Dummy read to flush PCI write */
-	readl(mmcfg_virt_addr);
-
 	spin_unlock_irqrestore(&pci_config_lock, flags);
 
 	return 0;
arch/x86_64/pci/mmconfig.c +0 -3
diff -Naur linux-2.6.9/arch/x86_64/pci/mmconfig.c pcie-fix-linux-2.6.9/arch/x86_64/pci/mmconfig.c
@@ -63,9 +63,6 @@
 		break;
 	}
 
-	/* Dummy read to flush PCI write */
-	readl(addr);
-
 	return 0;
 }
 
#1 lore raw
Quoted 5 lines · long
Quoted 1 line · On Wed, Nov 10, 2004 at 9:36 Greg KH wrote:

Your patch is line wrapped, and mime encoded.

On behalf of Sundar, I redo it.
Signed-off-by: Sundarapandian Durairaj

You didn't do it in the proper format :)

Please read Documentation/SubmittingPatches.

Also, I don't think you can add a "Signed-off-by:" on behaf of someone else, sorry.

And you forgot the full patch information in the body of the message.

We'll get there eventually...

thanks,

greg k-h