Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Tuesday, September 18, 2007 - 1:21 pm

Linus Torvalds wrote:


readl/writel is [slightly] faster, and possibility of using even-write 
__raw_writel() exists, in the old interface...

  ...but pci_iomap() is a bus-friendly wrapper that handles a few checks 
and function calls for you, even if you know your device is always MMIO.

A new pci_mmio_map() helper, to be used with 100% MMIO hardware, might 
help eliminate confusion.

	Jeff
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Mon Sep 17, 1:22 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 11:46 am)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Linus Torvalds, (Tue Sep 18, 12:03 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 12:07 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Linus Torvalds, (Tue Sep 18, 12:22 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 1:12 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Jeff Garzik, (Tue Sep 18, 1:21 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 2:02 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 3:16 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 3:20 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 3:21 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Nick Kossifidis, (Wed Sep 19, 8:07 am)