Re: [PATCH 2/7] ARM: shmobile: r8a7779: Use ioremap() to map INTC2 registers

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

 



On Tue, Nov 17, 2020 at 5:37 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> > R-Car M2-W boots until DHCP timeout.  Could be due to either sh_eth or
> > the micrel PHY driver, or MDIO (replacing io{read,write}32() by
> > {read,write}l() in sh_eth.c doesn't help).
>
> My guess would be that the sh_eth_soft_swap() logic is wrong
> there, it seems to have been written in the SuperH days.

Coincidentally, we both got an email from the zero-day bot
today about sparse warnings in that driver:

https://lore.kernel.org/lkml/202011181609.lmqkyQnN-lkp@xxxxxxxxx/

Some of these relate to suspicious endianness conversion, though
the email itself was about missing __iomem annotations.

       Arnd



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux