From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71C6BC43603 for ; Thu, 19 Dec 2019 16:44:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45DB1227BF for ; Thu, 19 Dec 2019 16:44:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XYNY/1ju" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbfLSQoA (ORCPT ); Thu, 19 Dec 2019 11:44:00 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35220 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbfLSQoA (ORCPT ); Thu, 19 Dec 2019 11:44:00 -0500 Received: by mail-ed1-f67.google.com with SMTP id f8so5540462edv.2 for ; Thu, 19 Dec 2019 08:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q6MJKY5kaJhdcPD2Yij+K4j3QBznO/FzqxPRwZHg2tA=; b=XYNY/1juioQpuXWDwItjvluLKzqTb1s+LUDJh70eT+FynV6pmhNjrfR8rKpTN0Y4Vq 95LNMIm35iIung4zroafpJpZMFHIQW6gyl0nMe0sXzlo0Usj/osB8dJgXFazZDihbiKk TXHN/eqPdNOFXyC7+ATLgVoMdiY/9k9+NozPc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q6MJKY5kaJhdcPD2Yij+K4j3QBznO/FzqxPRwZHg2tA=; b=kvoZ10CM7AavKZ15rzJK6UsYeGjlF0gtcsYp+BC42aiznQ40+B10zdICp/HcSZngIL oFPO7JBAkIzb14qpED6gUiHk/SCBdqG2UqA0+pracGHtbQGxcZT0IsoqnaTkUKwluctD ym1P214AZujh11k7R2QewAGjDkteDOv7npZALpW5PT7vE+U6YNSXxhJemZ+N0XUMYZK8 SAddvPUriYj9W6dAyvVZKtBthj0VDB0PAKrqVXWLvGMzkogDn/XYc5cbuVWfySttfKnw ytHSURo3PonzrN+C/7w3xi9QUczP7I4jiK48esb8SjIUpVDQ9QcWnMULPcVL5aqbLU5t C0cQ== X-Gm-Message-State: APjAAAXVVfzZKwmo2PL/TMpW3ykF59g/VwaRxrrFqfbidB7biPVbVAXl fGh/vBzwjb7vyvM5LGQTd8e7aZrRJqw= X-Google-Smtp-Source: APXvYqwtVqeUaiHoZf0renc7H8tb9qZPiCuvB/h9WV6K4BFOU47pdQXSuxaa/2vlboAtjAAlrwn/SA== X-Received: by 2002:a50:fd15:: with SMTP id i21mr10206221eds.91.1576773838192; Thu, 19 Dec 2019 08:43:58 -0800 (PST) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com. [209.85.221.53]) by smtp.gmail.com with ESMTPSA id y21sm521772edu.70.2019.12.19.08.43.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 08:43:57 -0800 (PST) Received: by mail-wr1-f53.google.com with SMTP id y11so6663648wrt.6 for ; Thu, 19 Dec 2019 08:43:57 -0800 (PST) X-Received: by 2002:adf:ee92:: with SMTP id b18mr10865736wro.281.1576773336863; Thu, 19 Dec 2019 08:35:36 -0800 (PST) MIME-Version: 1.0 References: <20191205000957.112719-1-thgarnie@chromium.org> <20191219133452.GM2827@hirez.programming.kicks-ass.net> In-Reply-To: <20191219133452.GM2827@hirez.programming.kicks-ass.net> From: Thomas Garnier Date: Thu, 19 Dec 2019 08:35:25 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 00/11] x86: PIE support to extend KASLR randomization To: Peter Zijlstra Cc: Kernel Hardening , Kristen Carlson Accardi , Kees Cook , Herbert Xu , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , Andy Lutomirski , Juergen Gross , Thomas Hellstrom , "VMware, Inc." , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Rasmus Villemoes , Will Deacon , Masami Hiramatsu , Jiri Slaby , Boris Ostrovsky , Greg Kroah-Hartman , Alexios Zavras , Allison Randal , Linux Crypto Mailing List , LKML , virtualization@lists.linux-foundation.org, Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Thu, Dec 19, 2019 at 5:35 AM Peter Zijlstra wrote: > > On Wed, Dec 04, 2019 at 04:09:37PM -0800, Thomas Garnier wrote: > > Minor changes based on feedback and rebase from v9. > > > > Splitting the previous serie in two. This part contains assembly code > > changes required for PIE but without any direct dependencies with the > > rest of the patchset. > > ISTR suggestion you add an objtool pass that verifies there are no > absolute text references left. Otherwise we'll forever be chasing that > last one.. Correct, I have a reference in the changelog saying I will tackle in the next patchset because we still have non-pie references in other places but the fix is a bit more complex (for exemple per-cpu) and not included in this phase. I will add a better explanation in the next message for patch v11.