- User Since
- Jan 20 2016, 6:04 AM (104 w, 1 d)
Yes, the recent toolchain works well.
Tue, Jan 16
It's already outdated
Merged as r302292
Mon, Jan 15
Fri, Jan 12
Please let me know if there are any objections to this patch. I'd like to have it commited on Monday.
Thu, Jan 11
Tue, Jan 9
Just tested on arm64 (LE), works fine.
Nov 16 2017
Closing this one as I'm going to change this function much more.
Nov 15 2017
Yes, sysctl shows all doorbells just fine
Nov 14 2017
Nov 2 2017
After some testing of all this CPU startup thing, I think it would be best to panic if any of AP fails to start.
The rest of the system is not prepared to handle the scenario when the cpumask has "holes" inside. I then can see hangs in various places: for example the smp_rendezvouz, returning from kdb_enter, but there still might be more such things which I couldn't find.
Oct 6 2017
Oct 2 2017
Sep 29 2017
Sep 22 2017
Oh, I indeed forgot to add -U9999 to the format-patch, sorry.
If I understood you correctly, you're referring to the part such as load_elf, lines 131-177.
The purpose of this code is to read the ELF header and store it as ehdr structure, which can be accessed by CPU. To do that, following algorithm is used:
- Read the ELF header structure and store it in the memory. Loader operates on blocks of data, so we're loading the whole chunk of data at once using "block read" operation.
- We might fall into sutuation, that some ELF header contents are BE-encoded while the loader runs as LE.
- An exact ehdr structure shape denepends on the ELF arch/bits/etc. and is generated during compilation.
Sep 21 2017
Kevin, is there any explanation for this change?
All ELF parsing code is machine-independent. Some architectures don't have instructions allowing choose of data endianness, so I don't see a way how could we avoid using generic byte-swap macros.
I've used instructions you mentioned in the machine-specific trampoline code, which is a part of ppc64-kernel bootstrap and where we no longer care about code interoperatibility.
Sep 20 2017
The Makefile.inc adds the -mlittle_endian flag to all dependencies automatically, including libstand32.