From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754791AbcBHPte (ORCPT ); Mon, 8 Feb 2016 10:49:34 -0500 Received: from smtprelay0047.hostedemail.com ([216.40.44.47]:50101 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752783AbcBHPtc (ORCPT ); Mon, 8 Feb 2016 10:49:32 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 40,2.5,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:2908:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:5007:6119:6261:7576:7875:7903:9545:10011:10400:10848:10967:11026:11232:11473:11658:11914:12043:12296:12438:12517:12519:12740:13069:13311:13357:14096:14097:14659:21080:30054:30070:30089:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:1:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: need22_52e076196ee39 X-Filterd-Recvd-Size: 2520 Date: Mon, 8 Feb 2016 10:49:28 -0500 From: Steven Rostedt To: Petr Mladek Cc: Torsten Duwe , Michael Ellerman , Jiri Kosina , Miroslav Benes , Jessica Yu , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH v7 04/10] ppc64 ftrace_with_regs configuration variables Message-ID: <20160208104928.3b86f8ff@gandalf.local.home> In-Reply-To: <20160208152306.GF30328@pathway.suse.cz> References: <20160204161527.5F3AC692CD@newverein.lst.de> <20160204162053.C76A7692D8@newverein.lst.de> <20160205140517.GE3305@pathway.suse.cz> <20160205094803.1e0c6c91@gandalf.local.home> <20160205161834.GF731@pathway.suse.cz> <20160206103243.GB3130@lst.de> <20160208103406.GC30328@pathway.suse.cz> <20160208121245.GA921@lst.de> <20160208152306.GF30328@pathway.suse.cz> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Feb 2016 16:23:06 +0100 Petr Mladek wrote: > >From 2b0fcb678d7720d03f9c9f233b61ed9ed4d420b3 Mon Sep 17 00:00:00 2001 > From: Petr Mladek > Date: Mon, 8 Feb 2016 16:03:03 +0100 > Subject: [PATCH] ftrace: Allow to explicitly disable the build of the dynamic > ftrace with regs > > This patch allows to explicitly disable > CONFIG_DYNAMIC_FTRACE_WITH_REGS. We will need to do so on > PPC with a broken gcc. This situation will be detected at > buildtime and could not be handled by Kbuild automatically. Wait. Can it be detected at build time? That is, does it cause a build error? If so, then you can have Kbuild automatically detect this and set the proper value. We do this with 'asm goto'. There's tricks in the build system that can change the configs based on if a compiler is broken or not. > > Also it fixes the prompt of DYNAMIC_FTRACE. The uppercase > better fits the style of the other menu entries. s/fixes/updates/ -- Steve > > This patch does not change the default value. > > Signed-off-by: Petr Mladek > Acked-by: Torsten Duwe > ---