Re: [PATCH] MIPS: check return value of pgtable_pmd_page_ctor

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

 



On 7/21/2021 04:13, Huang Pei wrote:
> On Wed, Jul 21, 2021 at 12:23:39AM -0400, Joshua Kinard wrote:
>> On 7/20/2021 23:43, Huang Pei wrote:
>>> +. According to Documentation/vm/split_page_table_lock, handle failure
>>> of pgtable_pmd_page_ctor
>>>
>>> +. use GFP_KERNEL_ACCOUNT instead of GFP_KERNEL|__GFP_ACCOUNT
>>>
>>> Reported-by: Joshua Kinard <kumba@xxxxxxxxxx>
>>> Signed-off-by: Huang Pei <huangpei@xxxxxxxxxxx>

[snip]

> PS:
> 
> Latest Gentoo/MIPS stage3 is only available for big endian, is there any
> little endian stage3 available? 

At this time from us, unfortunately nothing recent.  I only focus on SGI
big-endian systems, as these are still the most widely-available (eBay) MIPS
systems that can still compile code within reasonable timeframes on Linux.

The Gentoo Embedded team has mipsel3 stages based on uclibc-ng from ~2018
available here:
https://gentoo.osuosl.org/experimental/mips/uclibc/mipsel3/

And some uclibc-ng mips32r2 stages, also 2018, here:
https://gentoo.osuosl.org/experimental/mips/uclibc/mips32r2/

Unfortunately, our support for more recent uclibc-ng-based builds has fallen
off the radar due to lack of upstream uclibc-ng activity.  I believe the
Embedded team is only focusing on musl libc-based build from now on.

There are some unofficial MIPS32 little-endian softfloat stages provided by
Manuel Lauss on his website here, albeit from 2018:
http://mlau.at/files/mips32-linux/

Last, if you truly need something to work with, I have had luck using the
OpenADK project's build system to coax musl-based big-endian rootfs tarballs
out of it in the past.  It's a very flexible build system and should be
capable of also generating mips32r* and little-endian builds as well.  It is
somewhat fickle, though, so you may have to kludge the build process at
times to get it to complete.  Depends very heavily on what packages you want
to build in.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@xxxxxxxxxx
rsa6144/5C63F4E3F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic



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

  Powered by Linux