Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3138178img; Mon, 25 Mar 2019 04:40:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVNGOXL3TcBUkqXvcfKDRkOf8VPOYgqI0tbmNNry0Ertxo/XmNru9s6eU0dVPzzDEQMdXL X-Received: by 2002:a63:6ec5:: with SMTP id j188mr22824951pgc.191.1553514015298; Mon, 25 Mar 2019 04:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553514015; cv=none; d=google.com; s=arc-20160816; b=suUUqFGcWZPgiV2PSHBXAPCxPzjIjqoa6LsJj4rFudNyO1jMwdAL0KJhAr1dIBh66c 5qNLYe+gPSX1v0qdKreZDum8VuiS5kV/pn0dLtRzqNR9BHolPs87qEkGFAcyc1MrUUrR 4mnCqS2mR7wzeC9P63vSoMA0/4lHYPYdF+zvwyAQdsBGS7xUBqKUUecXN5x+THJVHctF I2+uSSuaoOAuAl140eQT0gGSugJZD9yBq3PCVJ4lKLmW2ARPKbUE+C0lKpCI+c/JNEQV 2OO/qSWp4DU4tno+1iAKz5Bn94H9UeCEJJjkYjM6BIFRtXqfr/wculD9t0xUswLwXdx6 JVSA== 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:dkim-signature; bh=HB8KtTyGTKkOG4Yv5CY5a2rJ7KWBvHwNaT0PVghE7+k=; b=DaqGaCxHseVCyVTla79LVGwf1OYMYHeDLXKW0grWIBU/1w50VqUDBGoCLZwHnKAA3V 1CNry1fgiR+b6MAy1392wjjI0jdNmYCXdKDjY6VjAln4SS95IGKYS7/W9UEJtKdJEml9 XURMYm2v+ZiU1Xqc4S3IR612sCyPmi3eY8xGdOTFRYzGPCzpNCNjYE4oXFbfP0q1vgZs O0i8pOxUgl+ASuqHJFL6G8W7cfyLpPOes3B/riVKDLtSIkGKJnOOpNHkVTCIqUtjcCej nDYMRk3+/Qj9k4nwFepzsb/vfkwp8QuXgNHJqap/8kP09yddHrsEmSpaDbaXkRkpe888 jKIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HRMS1dmR; 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 b26si14031260pgf.81.2019.03.25.04.40.00; Mon, 25 Mar 2019 04:40:15 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HRMS1dmR; 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 S1731007AbfCYLh7 (ORCPT + 99 others); Mon, 25 Mar 2019 07:37:59 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36974 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728563AbfCYLh7 (ORCPT ); Mon, 25 Mar 2019 07:37:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HB8KtTyGTKkOG4Yv5CY5a2rJ7KWBvHwNaT0PVghE7+k=; b=HRMS1dmRSwGQHdYqG0PXZnKiE CrdyxP9r31gGBXuG/yBrtAOnkEl/IJ9jMMUioZVcXndRsbk3/lNZ00OPU6VxqGkDQXKcn9iPNmOWv pgbEDY2GmTJ2p6sjH/x+YLbiECtKWkFInhPnqNlNXwmng9/J36ONfmZFEtdO9sTIHGdXbg4d/jgX0 4BFiMRCwVzcJcqRLil0pkbExXk9MSHMFIriCWIwEjXIm3L8otkQ+rLUjsoaWiQ1w1jaDVkupWd4Wn tgFB6Mjx68sh26pPm30CYOVLrCCsMte0OA1DZUDCxE3uTCJBoWHVcgY7GQ+e6tvmuPiXChLQ2E8kW pBRPJDnPA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8NvI-0000NO-Hc; Mon, 25 Mar 2019 11:37:48 +0000 Date: Mon, 25 Mar 2019 04:37:48 -0700 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org" , Mike Rapoport , Christoph Hellwig , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" Subject: Re: [PATCH v3] RISC-V: Always compile mm/init.c with cmodel=medany and notrace Message-ID: <20190325113748.GA27843@infradead.org> References: <20190325083027.6393-1-anup.patel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190325083027.6393-1-anup.patel@wdc.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +ifdef CONFIG_FTRACE > +CFLAGS_REMOVE_init.o = -pg > +endif > + > obj-y += init.o > obj-y += fault.o > obj-y += extable.o > obj-y += ioremap.o > obj-y += cacheflush.o > + > +CFLAGS_init.o := -mcmodel=medany Can you keep the two flags adjustments togther, preferably towards the top of the file? > +/* > + * The setup_vm() is called from head.S with MMU-off. s/The //g Otherwis looks fine: Reviewed-by: Christoph Hellwig