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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Luis R. Rodriguez <mcgrof@...>, Alan Cox <alan@...>, linux-kernel <linux-kernel@...>, John W. Linville <linville@...>, linux-wireless <linux-wireless@...>
Date: Tuesday, September 18, 2007 - 4: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, 4:22 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 2:46 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Nick Kossifidis, (Wed Sep 19, 11:07 am)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 6:16 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 3:07 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Jeff Garzik, (Tue Sep 18, 4:21 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 6:20 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 4:12 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Benjamin Herrenschmidt, (Tue Sep 18, 6:21 pm)
Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices, Luis R. Rodriguez, (Tue Sep 18, 5:02 pm)