Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp162173imm; Mon, 1 Oct 2018 08:07:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV619THUJzobWmo3FSQgZCy8Z6jTk5jWrAopOG2BEZcG91HEaRd1Gu1N3VPbCSCXXox1QK6k1 X-Received: by 2002:a63:4454:: with SMTP id t20-v6mr2187055pgk.102.1538406430920; Mon, 01 Oct 2018 08:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538406430; cv=none; d=google.com; s=arc-20160816; b=OyzmqZS0BDIoIs6J+EiD4vMy+/am5kB/kt6WsxIu7FoRCVQLtuP1RJyqIPW9RqcOhK yh5b+AcTSPbp7TATlxQNphYYMVbpmxpblcfis1tUqk23vH6872SYZv5QxPJvO5wTMolT JUTXBMw2JtFmdzYP5G0RF9fZyom71cavroupJWB9WK8dVf/g1JcQuifmOpJvuHzIKOHb MPlZZqwn9Isc3Z/bnjQ6aTN8pDolX/vWG4tay/ZaoC6o+IR14haSoz1NVUSFZb/iZ2Cy iVnhqz/Rr+l91CinpyKCgeh7KmjMKFQE0TfgEum51QrLeh3o4mKj9X7VwEK9VfDYRYZD KUHw== 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 :references:in-reply-to:mime-version:dkim-signature; bh=TPolmJ1kdOss+EaiRTsFGAWXsQSv/arorMt7WVyfd3M=; b=Yif9uI0krhmgb1zq5lRjF+HaStFFtvlNZvWmnSKXRWFtDgqwWCyHXaMZ8ZlZb5AOvJ 7bYT0CffVe6xAJxzpp9CVG6TpxqJ8q32NDPKW0iSW2NDfWwLBObdgSC/RUIxGam8fJyS PCVKs5WBsUKfgiIw0dqvDwqCq0QPsdtTCrYkhYXPB6E+BY0pJC8vuJjkCb6u403a82y5 XHv8acePX1fAme6dqo0wpO4hoxcqXMkwAlYL4cv8RzL1sGpy/JewHy5rcEZeZmKp1GHJ 3YBH27Y2zR9WWZn4xyG2nUEm7Ui3Hb/KPCUT/9EXdYIoQgQXrPeNe57eCVTWyz77W6p3 dDuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bQ5BrFzu; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si2996607pld.313.2018.10.01.08.06.56; Mon, 01 Oct 2018 08:07:10 -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=@linaro.org header.s=google header.b=bQ5BrFzu; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729541AbeJAVoV (ORCPT + 99 others); Mon, 1 Oct 2018 17:44:21 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:52554 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729448AbeJAVoV (ORCPT ); Mon, 1 Oct 2018 17:44:21 -0400 Received: by mail-it1-f195.google.com with SMTP id 134-v6so11725931itz.2 for ; Mon, 01 Oct 2018 08:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TPolmJ1kdOss+EaiRTsFGAWXsQSv/arorMt7WVyfd3M=; b=bQ5BrFzuf2SuVFYEaUiBpmiGi2wf0C9NsXhoFPK88qjdPuZ7zOlvzwxKFFkAsk01Gi W6WPZoXC9n9VU3htWkgs+bXqobz7NeUUVOoTJ8plChSS5I5JWSEbthNNbwv2ZMAhC7dh vyG/Z5Wmy3Wmjloeq8jYA3B3QZJEDO/YqBBpk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TPolmJ1kdOss+EaiRTsFGAWXsQSv/arorMt7WVyfd3M=; b=ShxwDz9hfcyAAyFBOg6EreIqTmLsyfgF6gJ/rpERU0qy2E0GuYrdJ9pIV2BYM9/yzZ qgs0i7U3GohWaUNPni8Xi8nI6/nVb3UUhYqeDNmzxCaHcYcbrOaSpb8xWzx/H/kMXaP4 4Re40yMZwPPxyaDmM9drNyQq90foNvkYpEgKQIsIuNX8ujpP4p09TnbcJhxNbsPUN0z1 rsbhfo6TBORsoJJn5FtgzhMqWK4ZxYfevFi1u2SGtjDvJPu/yY1OKtDj0UP4NbGggZjv tSmZnrgJNO3yugSlJmGuDhubdzsnFqR2KRm+1u7oFYAPtsYiaxu5FSFUSdgiZVUac+J7 rScQ== X-Gm-Message-State: ABuFfogoJz21pukXyau/tBkist607Y7HXJRwjbCHPoxPSHxOjrl9juNv dSkhtKhi/uvXFRsFA7+lETZuSVoJGvrf8FSIN7pfAA== X-Received: by 2002:a24:7804:: with SMTP id p4-v6mr6528471itc.123.1538406366837; Mon, 01 Oct 2018 08:06:06 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:5910:0:0:0:0:0 with HTTP; Mon, 1 Oct 2018 08:06:06 -0700 (PDT) In-Reply-To: <20181001150353.GA2634@lst.de> References: <20181001140910.086E768BC7@newverein.lst.de> <20181001141643.331EE68BC7@newverein.lst.de> <20181001150353.GA2634@lst.de> From: Ard Biesheuvel Date: Mon, 1 Oct 2018 17:06:06 +0200 Message-ID: Subject: Re: [PATCH v3 1/4] DYNAMIC_FTRACE configurable with and without REGS To: Torsten Duwe Cc: Masami Hiramatsu , Will Deacon , Catalin Marinas , Julien Thierry , Steven Rostedt , Josh Poimboeuf , Ingo Molnar , Arnd Bergmann , AKASHI Takahiro , linux-arm-kernel , Linux Kernel Mailing List , live-patching@vger.kernel.org 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 1 October 2018 at 17:03, Torsten Duwe wrote: > On Mon, Oct 01, 2018 at 04:52:27PM +0200, Ard Biesheuvel wrote: >> >> I guess we now have Kbuild/Kconfig support for this, no? I mean, we >> can now show/hide options depending on the capabilities of the >> toolchain. > > Config options depending on flags availability? > Yes. Note that 'make menuconfig' now prints the compiler version at the top, and kconfig options can now 'depend' on compiler features, although I must admit I don't know how it works. >> I am not saying it would be a better approach, though - I'd rather >> have a warning than have things silently disabled, but other people >> may think differently. > > Even then this switch has to be enabled, no matter who or what sets it. > Note that this patch leaves everything as-is. Only arm64 users with > "old" compilers would need to take action. > > Torsten >