Merge branch 'fixes' into next
Merge our fixes branch, primarily to bring in the ebb selftests build fix and the pkey fix, which is a dependency for some future work.
This commit is contained in:
@@ -698,13 +698,13 @@ restart_nx:
|
||||
|
||||
switch (cc) {
|
||||
|
||||
case ERR_NX_TRANSLATION:
|
||||
case ERR_NX_AT_FAULT:
|
||||
|
||||
/* We touched the pages ahead of time. In the most common case
|
||||
* we shouldn't be here. But may be some pages were paged out.
|
||||
* Kernel should have placed the faulting address to fsaddr.
|
||||
*/
|
||||
NXPRT(fprintf(stderr, "ERR_NX_TRANSLATION %p\n",
|
||||
NXPRT(fprintf(stderr, "ERR_NX_AT_FAULT %p\n",
|
||||
(void *)cmdp->crb.csb.fsaddr));
|
||||
|
||||
if (pgfault_retries == NX_MAX_FAULTS) {
|
||||
|
@@ -306,13 +306,13 @@ int compress_file(int argc, char **argv, void *handle)
|
||||
lzcounts, cmdp, handle);
|
||||
|
||||
if (cc != ERR_NX_OK && cc != ERR_NX_TPBC_GT_SPBC &&
|
||||
cc != ERR_NX_TRANSLATION) {
|
||||
cc != ERR_NX_AT_FAULT) {
|
||||
fprintf(stderr, "nx error: cc= %d\n", cc);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
/* Page faults are handled by the user code */
|
||||
if (cc == ERR_NX_TRANSLATION) {
|
||||
if (cc == ERR_NX_AT_FAULT) {
|
||||
NXPRT(fprintf(stderr, "page fault: cc= %d, ", cc));
|
||||
NXPRT(fprintf(stderr, "try= %d, fsa= %08llx\n",
|
||||
fault_tries,
|
||||
|
@@ -7,7 +7,7 @@ noarg:
|
||||
# The EBB handler is 64-bit code and everything links against it
|
||||
CFLAGS += -m64
|
||||
|
||||
TMPOUT = $(OUTPUT)/
|
||||
TMPOUT = $(OUTPUT)/TMPDIR/
|
||||
# Toolchains may build PIE by default which breaks the assembly
|
||||
no-pie-option := $(call try-run, echo 'int main() { return 0; }' | \
|
||||
$(CC) -Werror $(KBUILD_CPPFLAGS) $(CC_OPTION_CFLAGS) -no-pie -x c - -o "$$TMP", -no-pie)
|
||||
|
Reference in New Issue
Block a user