From patchwork Thu Aug 22 21:15:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 1151829 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.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Dy572nfDz9sNy; Fri, 23 Aug 2019 07:16:27 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1i0uRP-0000mo-Qx; Thu, 22 Aug 2019 21:16:19 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1i0uRP-0000mh-34 for kernel-team@lists.ubuntu.com; Thu, 22 Aug 2019 21:16:19 +0000 Received: from mail-io1-f69.google.com ([209.85.166.69]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1i0uRO-0001hS-Lz for kernel-team@lists.ubuntu.com; Thu, 22 Aug 2019 21:16:18 +0000 Received: by mail-io1-f69.google.com with SMTP id x9so7934079ior.9 for ; Thu, 22 Aug 2019 14:16:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=J6zG1m58w2+ssLh6+frD5y70WNL7M5vuuOpNVc9jOxs=; b=AZHCNh7nC5D60wQCskRr+//EKqFuiJom6QJfREbzdag+aqXy7EC1ZPtF0lefqSq6ND x7u24FVRTco1TObg7NYdP/shIQ981w6d3gcceiu1IRfzqYBOb8jx+WxgdCg4tbjNHO0S 9Nq8nhuIuUlXQfwEbgWSP3HCwe7Pp/wpq7ij9c/Br3tDrlcsJlfse7AZ+TH1B3hNiwit dIrkD/tMea5pWAzapg3T8q6j3768RWH3AO07U/2K3RlDJB+piR+FPgtLvo7HMdTtUS8Y hBqj7HqBLFLh4MSBni2R1NH2F6ycYXtdz6nF9MLU+fByKxBzm1ssYsTIPLNHLxml9t6K lwWw== X-Gm-Message-State: APjAAAXN5gNODMuamMhV94DaWs1v0Sutt5h1gQWcHhO3ongFgZ3VzCPM zy3M+7LuRTrItxi6OmVlQwDC7iAVe7ACpUkezQhIcCJqxHIUyzGNTsvvzQTjbwg/Bz1ELChq4mF w/dxPVFziFuOrZ1jQZtas+Su+WgjCeBuZYOPFw55Uew== X-Received: by 2002:a6b:8ed7:: with SMTP id q206mr2245378iod.120.1566508577171; Thu, 22 Aug 2019 14:16:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEN/eJFjbcEIcTi2Ehoeoe6N1r2ihYPutld8FuXZr+ahTOxGkSo6o7XcSFoCUxjyoSXe8QYg== X-Received: by 2002:a6b:8ed7:: with SMTP id q206mr2245310iod.120.1566508576509; Thu, 22 Aug 2019 14:16:16 -0700 (PDT) Received: from xps13.canonical.com (c-71-56-235-36.hsd1.co.comcast.net. [71.56.235.36]) by smtp.gmail.com with ESMTPSA id c19sm391818ioi.22.2019.08.22.14.16.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 14:16:15 -0700 (PDT) From: dann frazier To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/4][SRU Bionic] arm64: Fix loading of large modules Date: Thu, 22 Aug 2019 15:15:51 -0600 Message-Id: <20190822211555.14078-1-dann.frazier@canonical.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1841109 All clean cherry-picks from upstream, except for one with a trivial context fix, noted in the s-o-b area. Ard Biesheuvel (2): arm64/kernel: kaslr: reduce module randomization range to 4 GB arm64/kernel: don't ban ADRP to work around Cortex-A53 erratum #843419 Arnd Bergmann (1): arm64: fix undefined reference to 'printk' Kim Phillips (1): arm64/kernel: rename module_emit_adrp_veneer->module_emit_veneer_for_adrp arch/arm64/Kconfig | 18 +++--- arch/arm64/Makefile | 5 -- arch/arm64/include/asm/module.h | 2 + arch/arm64/kernel/kaslr.c | 20 ++++--- arch/arm64/kernel/module-plts.c | 86 ++++++++++++++++++++++++++++- arch/arm64/kernel/module.c | 41 +++++++++++--- arch/arm64/kernel/reloc_test_core.c | 4 +- arch/arm64/kernel/reloc_test_syms.S | 12 +++- include/linux/sizes.h | 4 ++ 9 files changed, 153 insertions(+), 39 deletions(-) Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza