Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp158467imm; Mon, 1 Oct 2018 08:04:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV628QUH3d8vF28blEeaomePCfUaQFR4eI6UxzWxJWZFyKFuIP06tP3kzBRq5Dw7gv3kuCdZl X-Received: by 2002:a62:4799:: with SMTP id p25-v6mr11935224pfi.197.1538406263390; Mon, 01 Oct 2018 08:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538406263; cv=none; d=google.com; s=arc-20160816; b=Yi4AKmDgS3dGMXjxoT+aR9QY2elST+YqjuveJXqz9eHJexM0J0kODRLckZDm91DLk9 jpAkA2fVWC1kGD4yj9HUoKcXOhesLlwwoWOiWiSNBAx+CLe4k+uk6AoeDbYOiQek++o8 riYRV+d7+0KX39Bx3/n6iUUtv2Yv40Ur/UEKUpvp37ObNAsIBaOI5V3Jwbobay+jWp7w HU/Ad3RwhzMiGyZ491tdDXXgri4toggwmDGQjtkn43asZ1NpH+5wZaIYI7+DT0Y3jCAV zusIdpfr01rKBCVd0qJB6H6cZ2iHTAVPF7AFvS/8aWkZCKFvjLxz6U1KXjBHqnkVp6B2 kLOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9tD217nQw547itVnRaJ2k/SYPQUbmrnJ1ZBOmiIcOO4=; b=EfhnsQZvVOiQFgOYJp1vWeBHfDtCBxNn44n6j4NU0QVstBDK8l28jqyaAhIBLTX0Z1 31Nn28r5WILTV8Tihn5uBA169veKVP+Oc+XU+OoOxZFC/doaXUWWqK8kubaEcbqoYfH9 aoeF6mruvBXKtZPpGU8//jkbijIs2g2GRqJzHhkSE0m9AJhVx1+BVUyOTyI2GCdW3q9y Tsf5hsqG+lN7XKWwVrwTQQywkLTSFH/4TvS4PZB5PajvrADGaBdioBScrCQd5EDbgrdc yUF82aMzBEJG3wYISH0T8GrHpIzg7yZq8TfTpwCM9ca/+S0oKpMosz138eJGq5BxO3FR 8wHA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb5-v6si8936238plb.507.2018.10.01.08.04.08; Mon, 01 Oct 2018 08:04:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729548AbeJAVmJ (ORCPT + 99 others); Mon, 1 Oct 2018 17:42:09 -0400 Received: from verein.lst.de ([213.95.11.211]:38167 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729439AbeJAVmI (ORCPT ); Mon, 1 Oct 2018 17:42:08 -0400 Received: by newverein.lst.de (Postfix, from userid 2005) id 9625F68BC7; Mon, 1 Oct 2018 17:03:53 +0200 (CEST) Date: Mon, 1 Oct 2018 17:03:53 +0200 From: Torsten Duwe To: Ard Biesheuvel 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 Subject: Re: [PATCH v3 1/4] DYNAMIC_FTRACE configurable with and without REGS Message-ID: <20181001150353.GA2634@lst.de> References: <20181001140910.086E768BC7@newverein.lst.de> <20181001141643.331EE68BC7@newverein.lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > 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