Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1772219ybg; Sat, 19 Oct 2019 02:11:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxp35bXcOn+StHVljw9E24uVRjVnV2q8zEaZX7HR/I+krYz3mI0BTEjoqkSTbAAE5/tJQF X-Received: by 2002:a05:6402:21c2:: with SMTP id bi2mr14139120edb.8.1571476266014; Sat, 19 Oct 2019 02:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571476266; cv=none; d=google.com; s=arc-20160816; b=0z/420y1wJ47a19wIUZ9VXaGpTDv/fI3D3SL2q0SEi0cSpNPUB4PtFhOTvzWTsVD/G 7BGa74Stop4DnVB8JxsRhWymNTIlK+nkY0cOqEZcEP0+wDbtNBN6bpBXmPR0RrcgPGVT R09BDmIyHXnowMvnh0yhilJ/mw0tsG7P3G6LXyCt3j30l7SSm4fhnrFvI2FTN7DNPkuV 6Yt9p2sLTO1x3ctfsXc+66eJei80pmJAQE60WHu5L0cJN6csWneefLSR6bGWOxVZk+qq O11W+963Wi8o/pINBUOO7Cwmqve1u1GmL4cQ3SRCECPQGxjiM9MVy6G4wuBiAR4aEcZH U2/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dHnooVFY2SD/hhEM3K3r0PH8N73JFv2NbOv8bRM4m2E=; b=o2yuCmcc3GD+N+DFg89zRT4x1lvO5x4aVU5YvaWm3A6BGCDtADhVbcFhzTIWe4Fe3T ZxeykiWsAHc+08o1lsYnMQ+Yq1oxRgM+2XqR55n99t4ruFhwBok4mOHd7vU+P763HmIV ioRYfLFLUxulOcsx+UpWz8BWqvMZEp5h8Fg0vuFYpU6/tkLgKJA2hzv+YljhMe7Wsp20 51eu92gp5OSv/B+/glMnvcBPbRNZsJSHGtIWpxqN2faiq0c/bz+lW8zANBIjOuA5grBF Hj5EsBh+bjg4zqnIj51TfZtg836KzzuY4Te66ufBJsqfcqE/S6gMIU/XLziRrs2twP5+ GUpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fGjlwqaP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si5175193ejf.305.2019.10.19.02.10.42; Sat, 19 Oct 2019 02:11:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fGjlwqaP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443210AbfJRTAo (ORCPT + 99 others); Fri, 18 Oct 2019 15:00:44 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:35025 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443193AbfJRTAn (ORCPT ); Fri, 18 Oct 2019 15:00:43 -0400 Received: by mail-ua1-f68.google.com with SMTP id n41so2052582uae.2 for ; Fri, 18 Oct 2019 12:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dHnooVFY2SD/hhEM3K3r0PH8N73JFv2NbOv8bRM4m2E=; b=fGjlwqaPn26KxRb9o+F4zrhfo5SkElhAWo4zrZYkQX9pYzl+Gat5G9cEzwzzgLT0yN 01vXJtveJQV2qNvuL3dsYa3uHnA44CbQiyZWnm0OfAnXngfbQBE6/GoC7xkKTjBJoQ1W I3TlO2mOikI6Kr/w+ct+2TTOTmiNs0XrL0v8Qsjwm5i6295ZB9suC9+VQPpZngTAqbXp lbTN8AhrIsPleMkGbxdHNZqq0UgR8TbuoHXfoDLAHfBp5Dt4CXqh/ghNRZE/atlkwC4C f/z8a9w78sIenvmPm6uGln+51flj9Z7ABSXfofYGZvMWcJmJ0vLmRcx9Etw4H3lXK2ux qiHQ== 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=dHnooVFY2SD/hhEM3K3r0PH8N73JFv2NbOv8bRM4m2E=; b=F+Z1K9ZqJQ8jelnJh4CVmdY8ELCH1ko/RkJhz47SqmI0Gd5JXefqpZ64+yG+MSq9bU HUDSoi9GwnsZLtsuEjFffoLDj7PoS8ru7rasp5E/dJ53UwVUvXtqRwcL5L179ZGsFIoH GgEn4u8PyZbdLDhALSSgJtYSNbAkEOLp8vBmdOh4FTkofMvTmilbd1cN15gy2EvcNe6D wgZIFq+7PPb3yBlwen5A181oiivcxKfz3R2V0TFsZGX7Bty3BFxHA90iILdGoB0w+8zh JC/WF+TFLJh/ja1tg32oHlUsAcyOLuCcXaYk0cBKqTpSXQ4CV37Zt5roCL4snavikVUa hrRQ== X-Gm-Message-State: APjAAAUC3rV669fdES40vIrOleVZijGsQ9xfvQxhBFZKNomBRlbh80Qq bD/7CkHeLJZnjRHLm7UsH7N+mg7W6IlKmiWkBX6oNw== X-Received: by 2002:a1f:b202:: with SMTP id b2mr6191356vkf.59.1571425241664; Fri, 18 Oct 2019 12:00:41 -0700 (PDT) MIME-Version: 1.0 References: <20191018161033.261971-1-samitolvanen@google.com> <20191018161033.261971-6-samitolvanen@google.com> In-Reply-To: From: Sami Tolvanen Date: Fri, 18 Oct 2019 12:00:30 -0700 Message-ID: Subject: Re: [PATCH 05/18] arm64: kbuild: reserve reg x18 from general allocation by the compiler To: Nick Desaulniers Cc: Will Deacon , Catalin Marinas , Steven Rostedt , Ard Biesheuvel , Dave Martin , Kees Cook , Laura Abbott , Mark Rutland , clang-built-linux , Kernel Hardening , Linux ARM , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 10:32 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > and remove the mention from > > the LL/SC compiler flag override. > > was that cut/dropped from this patch? > > > > > Link: https://patchwork.kernel.org/patch/9836881/ > > ^ Looks like it. Maybe it doesn't matter, but if sending a V2, maybe > the commit message to be updated? True. The original patch is from 2017 and the relevant part of arm64/lib/Makefile no longer exists. I'll update this accordingly. > I like how this does not conditionally reserve it based on the CONFIG > for SCS. Hopefully later patches don't wrap it, but I haven't looked > through all of them yet. In a later patch x18 is only reserved with SCS. I'm fine with dropping that patch and reserving it always, but wouldn't mind hearing thoughts from the maintainers about this first. Sami