Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2176212ybh; Fri, 17 Jul 2020 11:06:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUJ89oIFT029SxhOtIOAd+5YoN786D7Ay3OFOLW3vi9YP51QUpp0mL/OuCm5tsr9e4jSLS X-Received: by 2002:a17:907:42d0:: with SMTP id nz24mr10197365ejb.135.1595009179786; Fri, 17 Jul 2020 11:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595009179; cv=none; d=google.com; s=arc-20160816; b=052PggghBqD1eJM2/spmVsbfat08Jwz6svBwK8xQN0L8reCM3JiVazDxQcdsSypXZE Jvyea2TERlAGG0QY8epeMIa2nr5uIgqeNm0gtHLcO4ZPuiRwWGN4kEPEanUg5gNuIkjd Ot1LttGmQ/TcThFDdpo1Ss6wkIeiBYlSLlfEJ5O8oC71O+CRzObmYoSES6IbAE7wfQtJ qw6OZ681/C11V+8vwkGtdkp58OjsDhEEYXH9ZO+NVFRq9TzSIZPlBWoPryQ4a5ehCc3F sSKzu4vq+0N1KHSrSUjWT+Af3qOavDGX2ffcROg3d/K6Y44AMbgjY/tv5bZNvEnx26Hs qqJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=MFqlQql/xgvIKcog4jA9Vr0Sp/CJwfok5/ddr620+uU=; b=jvAHh13AWB7JZnF97lpSxvb7iPMekTE1BFOCo2f9JIR2Mgk+9CCFzXZ1Qppu5n7+Qq coQ8ziQL91dYEuZJOqUdGw/XHTpNt2zTOLoyyglgWF/T9007dhLaLIY8vzhHuS4tHqli KOEpY0aMtzYSKbTuYHA4CmZSEw+8cAcWcXoYizKtdNzyfBUdQ3HshT+ZqCWyAuOch9Nr IhRLz/GXiTtf6NspsgREhBAwwSJVTDd5w5tGJBpRi2DIQvLOHwKScuGTRIq8bgryyGgw igP5DCWlbbktlGM9j418WJkDsr1GRJeshvEYndFAmJAGeGMKt9gJi4kLsJKuB9BbqEAe hfqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si5833043edr.239.2020.07.17.11.05.56; Fri, 17 Jul 2020 11:06:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726786AbgGQSFu (ORCPT + 99 others); Fri, 17 Jul 2020 14:05:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:38420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbgGQSFu (ORCPT ); Fri, 17 Jul 2020 14:05:50 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 65C06206F4; Fri, 17 Jul 2020 18:05:47 +0000 (UTC) Date: Fri, 17 Jul 2020 14:05:45 -0400 From: Steven Rostedt To: Sami Tolvanen Cc: Peter Zijlstra , Masahiro Yamada , Will Deacon , Greg Kroah-Hartman , "Paul E. McKenney" , Kees Cook , Nick Desaulniers , clang-built-linux , Kernel Hardening , linux-arch , linux-arm-kernel , linux-kbuild , LKML , linux-pci@vger.kernel.org, X86 ML , Josh Poimboeuf , Matt Helsley Subject: Re: [RFC][PATCH] objtool,x86_64: Replace recordmcount with objtool Message-ID: <20200717140545.6f008208@oasis.local.home> In-Reply-To: References: <20200624203200.78870-1-samitolvanen@google.com> <20200624203200.78870-5-samitolvanen@google.com> <20200624212737.GV4817@hirez.programming.kicks-ass.net> <20200624214530.GA120457@google.com> <20200625074530.GW4817@hirez.programming.kicks-ass.net> <20200625161503.GB173089@google.com> <20200625200235.GQ4781@hirez.programming.kicks-ass.net> <20200625224042.GA169781@google.com> <20200626112931.GF4817@hirez.programming.kicks-ass.net> <20200717133645.7816c0b6@oasis.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jul 2020 10:47:51 -0700 Sami Tolvanen wrote: > > Someone just submitted a patch for arm64 for this: > > > > https://lore.kernel.org/r/20200717143338.19302-1-gregory.herrero@oracle.com > > > > Is that what you want? > > That looks like the same issue, but we need to fix this on x86 instead. Does x86 have a way to differentiate between the two that record mcount can check? -- Steve