Re: [PATCHv2] serial: xuartps: Get rid of register access macros.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2015-03-12 at 10:11PM +0100, Thomas Betker wrote:
> From: Thomas Betker <thomas.betker@xxxxxxxxxxxxxxxxx>
> 
> Get rid of cdns_uart_readl() and cdns_uart_writel() and just call
> readl() and writel() directly.
> 
> Most of the patch was created by search-and-replace (I had to convert a
> few lines manually, and break some lines longer than 80 columns):
> * s/cdns_uart_readl(/readl(port->membase + /g
> * s/cdns_uart_writel(\([^,]*\),/writel(\1, port->membase +/g
> 
> Signed-off-by: Thomas Betker <thomas.betker@xxxxxxxxxxxxxxxxx>
Acked-by: Sören Brinkmann <soren.brinkmann@xxxxxxxxxx>

I don't know whether there are any ramifications from migrating from
io(read|write) to (read|write)l. For most use-cases I assume it is fine.
But there are some folks plugging Zynq platforms into their x86(_64) PCIe
slots and use Zynq peripherals from the x86 host. Could such a case be
affected in any way by this migration?

	Sören
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux