Re: 4.1: XPA breaks Alchemy

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

 



On Thu, Apr 07, 2016 at 07:58:13AM +0200, Ralf Baechle wrote:
> On Thu, Apr 07, 2016 at 01:06:58AM +0100, Paul Burton wrote:
> 
> > 
> > I don't suppose you'd be able to try this kernel branch?
> > 
> >     https://git.linux-mips.org/cgit/paul/linux.git/log/?h=v4.6-tlb
> > 
> >     git://git.linux-mips.org/pub/scm/paul/linux.git -b v4.6-tlb
> > 
> > I'm working on fixing up a number of issues with commit c5b367835cfc
> > ("MIPS: Add support for XPA.") but unfortunately don't have access to
> > any Alchemy systems to test it myself.
> 
> The unique architecural feature of Alchemy is that it has devices such as
> the PCI bus outside the low 4GB of physical address space.  So I'd
> suspect something is wrong there.
> 
> Everybody is running Sibyte 64 bit; I wonder if highmem with Sibyte is
> also affected.
> 
>   Ralf

Hi Ralf,

The problem is anywhere that formerly used 64 bit physical addresses
(CONFIG_PHYS_ADDR_T_64BIT) with a MIPS32 CPU (CONFIG_CPU_MIPS32), since
the XPA support essentially clobbered all that code with the XPA
implementation rather than treating them as the distinct cases that they
are. My fix is over here, and I'll submit it for merging in the v4.7
cycle (I guess I could submit now as it's a fix, but it's built atop
some rework of pgtable-bits.h to make it more readable so would need
that to go in too):

    https://git.linux-mips.org/cgit/paul/linux.git/commit/?h=v4.6-tlb&id=3a74e3b7bcb1b392da2400ff27ee4e41989dd54f

Thanks,
    Paul




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux