[PATCH] ARM: shmobile: set proper DMA masks for Ether devices
Simon Horman
horms at verge.net.au
Wed Feb 12 18:45:33 EST 2014
On Wed, Feb 12, 2014 at 03:32:32PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 12-02-2014 5:35, Simon Horman wrote:
>
> >>Ether MAC is a DMA-capable device and so should have 'dev.dma_mask' and
> >>'dev.coherent_dma_mask' fields set properly, to reflect 32-bit DMA addressing
> >>ability. Currently, the code works without DMA masks but in the future, when
> >>support for NETIF_F_HIGHDMA & NETIF_F_SG would be added to the 'sh_eth' driver,
> >>the DMA masks should start to matter...
>
> >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
>
> >Hi Sergei,
>
> >please split this series up so there is a separate patch for each board.
>
> Hm, I, contrariwise, gathered all board patches in the single
> patch. Could you elaborate on why you deem it necessary to split it?
In my experience it helps to have the patches split out for two reasons:
1. If there is a problem on one board its patch can be reverted without
having to bother with making a partial revert in order to leave the
other boards alone.
2. It makes backporting easier in the case where there is interest in
one board but not another.
Moreover, the boards are separate entities and in general I would
like their patches to be separate. The same goes for SoCs.
I realise this is more fine-grained than what other maintainers prefer
but it is an approach that seems to work well for us.
More information about the linux-arm-kernel
mailing list