From patchwork Sun Feb 18 20:49:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Segers X-Patchwork-Id: 874917 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mvGHpGuH"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=volatilesystems.org header.i=@volatilesystems.org header.b="IUSNOtik"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=volatilesystems.org header.i=@volatilesystems.org header.b="Hvt2dwxp"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zkzXb0yYCz9s06 for ; Mon, 19 Feb 2018 07:50:07 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1HLSmWdhuTqL88jPbD8UQSYU8mvkouEljQub6eGEEiU=; b=mvGHpGuH6B+JQg 1GhJHSXUn5xGHDOq9MGad/WeDrx8vmW3c8Cr0dGPog0ALe3BEwNsnB8svGlCpiOC24PINflKOQpY6 VzKR1jdPMrvtXcYpdJGRCXKFyMX1NUYPyJVamnZrbQTd5o34emXtg6iZTsmOtM0GrJulE9VC03GGe oqUtabupL1LEQ8hYDEtl8v/DkjMlDblsA1au5GfzJ7/76qBy77cFOrv59ip+X/D32pwiXZMGcuOSf 8qDfX00G/xeLhUC3aJimkYfv1QvVSBKuzKtXlWZe0B7oYpVOTv9uonv6Aqi+b1hygrtQvv+HmUmB2 q8+KkL4KnowHSfaMWMgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1enVuH-0000iB-7v; Sun, 18 Feb 2018 20:49:57 +0000 Received: from volatilesystems.org ([51.254.134.240]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1enVuD-0000fg-CJ for lede-dev@lists.infradead.org; Sun, 18 Feb 2018 20:49:54 +0000 Received: by volatilesystems.org (Postfix, from userid 112) id 235F322A24; Sun, 18 Feb 2018 21:49:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=volatilesystems.org; s=mail; t=1518986968; bh=fhpGGJfaWBKP5p3uTvAA/c4JbDso8qw+ZNziIerAjNE=; h=From:To:Subject:Date:From; b=IUSNOtikRerMqG3rIVC5j5RqLgWY/t3VBhs/Wn6kn4MUW7hf9nhxrJQG2pcu8ieif YkE3/5ZDYXzZcs2K0mzEZRrS3dl22Tz+SqcTpp00za4LOHI5QhzvDpT/Y2jZG2QDOd txlIqnlAKdZJyZyApxKqiuPRPiuX3gSrx+V1mKUo= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on atalanta X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from okeanos.lan (ip-81-11-199-164.dsl.scarlet.be [81.11.199.164]) by volatilesystems.org (Postfix) with ESMTPSA id 93E8D22A25 for ; Sun, 18 Feb 2018 21:49:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=volatilesystems.org; s=mail; t=1518986967; bh=fhpGGJfaWBKP5p3uTvAA/c4JbDso8qw+ZNziIerAjNE=; h=From:To:Subject:Date:From; b=Hvt2dwxpjMEXCl1tnvjiubu353lwEm1hPEFmZICZ+fHmTrUKi50OY8YAaN2QtjUdg W0huhK0BV6kxu+QvwJxNCxRgv5bP7/DFFq3i5HHF1bxqGlOXIvjufnSKtmWW3CxSOj r0BY7atkOpaS3k1xgnT6BZ57N9lRBVz4iG5cSL90= From: Stijn Segers To: lede-dev@lists.infradead.org Date: Sun, 18 Feb 2018 21:49:22 +0100 Message-Id: <20180218204922.697-1-foss@volatilesystems.org> X-Mailer: git-send-email 2.11.0 X-Virus-Scanned: clamav-milter 0.99.3 at atalanta X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180218_124953_572564_EBD400A4 X-CRM114-Status: GOOD ( 11.01 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Subject: [LEDE-DEV] [PATCH v2] x86/64: enable CONFIG_X86_VSYSCALL_EMULATION in 17.01 4.4 kernel config X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org CONFIG_X86_VSYSCALL_EMULATION is disabled by default on x86/64, but without it the new KAISER stuff it breaks kernel 4.4 in the way shown below: CC arch/x86/mm/kaiser.o arch/x86/mm/kaiser.c: In function 'kaiser_init': arch/x86/mm/kaiser.c:348:8: error: 'vsyscall_pgprot' undeclared (first use in this function) vsyscall_pgprot); ^ arch/x86/mm/kaiser.c:270:47: note: in definition of macro 'kaiser_add_user_map_early' int __ret = kaiser_add_user_map(start, size, flags); \ ^~~~~ arch/x86/mm/kaiser.c:348:8: note: each undeclared identifier is reported only once for each function it appears in vsyscall_pgprot); ^ arch/x86/mm/kaiser.c:270:47: note: in definition of macro 'kaiser_add_user_map_early' int __ret = kaiser_add_user_map(start, size, flags); \ ^~~~~ scripts/Makefile.build:269: recipe for target 'arch/x86/mm/kaiser.o' failed Signed-off-by: Stijn Segers --- target/linux/x86/64/config-default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default index 7d38df3030..bad7dddbe3 100644 --- a/target/linux/x86/64/config-default +++ b/target/linux/x86/64/config-default @@ -343,7 +343,7 @@ CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_PM_TIMER=y # CONFIG_X86_POWERNOW_K8 is not set CONFIG_X86_TSC=y -# CONFIG_X86_VSYSCALL_EMULATION is not set +CONFIG_X86_VSYSCALL_EMULATION=y CONFIG_X86_X2APIC=y # CONFIG_X86_X32 is not set CONFIG_XEN=y