Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3867902img; Mon, 25 Mar 2019 21:00:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfxNroqGlCOUtVjoswgvA+v6uRqa3UC5/KPrXxJLfhZ0fINF/WLDNj6VZzCAS0F7+2QHDh X-Received: by 2002:a65:5b44:: with SMTP id y4mr9513460pgr.446.1553572845731; Mon, 25 Mar 2019 21:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553572845; cv=none; d=google.com; s=arc-20160816; b=OdUcYMsnyOgwoEb6URvCrzkZ1Z+08m75CMyuBnuIrGeznxD8YMJGEeRNzhChqptI+N 1egqPp9u/jmGQMhsXKmgSpYL5zgRKPTFg/qnQkzRU5vBz+I5mUfy72leinqwWg75oeBn jVRhm41SMyrX5sHUYqMXhmSLsJmKYiTG8/bi53kODntvtbiNxGAzbpxFFLS+jFJIcimu mSaX7cx2M58xuQaUMIm5IdLZJAhmcUQDRjI/l8kiadCm6+PlZplEXqN2iH8JE94xv9jk u/AVK0AoM3ozrd9gGG2tAPAuoen8ymTszcNYcJTFnXBu+B0ikTLp7Druyz43Ej/B159M KFsw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=iRH1s9YJiR31RJ2pG6ORxQtgVj/UdG3ppK8QCCdxAA0=; b=UypVORMEhK0vzMY+Nxle2XeBbvb45wF4hT2o8KWdUF8SZW1qjGCrNND5rgSlXwfxsC GQ5AcBBboYB3MlFl3DldOR3UdklBS2hcEqfSWMR3z6mHqGNVsDSgTfLh4OhJtTPEy56+ kdS2WOnLWKxYCdPs6VpMzta6v4KgGxXWSX5j9h4UuXMjJZFUo0u4689/AVJYhUVjHb4/ PFZJ43WydFQRdKXo8pU9UAxD2qrKrBqh77RQhyVGVLC6wb7TpRpkIzX8UoEE42Nnw5oq 3VZAWWjZnoziqFUpx4Qo59S7QWSiwXHrMHT9rHavkCj1n4zO+UDTWXpv1bkvoAN4oNUj vxTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=g4m4GWyM; 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 b7si16445068pla.195.2019.03.25.21.00.30; Mon, 25 Mar 2019 21:00:45 -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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=g4m4GWyM; 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 S1730971AbfCZD6H (ORCPT + 99 others); Mon, 25 Mar 2019 23:58:07 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:34772 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729681AbfCZD6G (ORCPT ); Mon, 25 Mar 2019 23:58:06 -0400 Received: by mail-wm1-f66.google.com with SMTP id o10so1384403wmc.1 for ; Mon, 25 Mar 2019 20:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iRH1s9YJiR31RJ2pG6ORxQtgVj/UdG3ppK8QCCdxAA0=; b=g4m4GWyMNOWkRVyfb+owJZVT4jIOlAsRd9tFpObihKfpMBk2r+gA09kyiKy7vhtftA Gp303w373mNuTgqCMyjNjIQYNmObPu7Y5fCeE74mockFkoKhwOaM+PCT1wzEe4+fzucf nsWmWXDPWlT7tLjdCsx5s8WdiI0aDxWOUf++Z7bSElLuSJF33gDapD09sDncRUK/0R45 kIrtvdMYDgCOiMOnNOFhyzih8gK0H1VC89JGKB9DgHGIApuUvLvLSUZxnnSJd6cko0Ce JLuoz3j7whiOF/uzLTdSXFPTzE1ak0eoYKrYD9Bovk9tac9jEVz7QX3rV+t/BnL+nPEG swqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iRH1s9YJiR31RJ2pG6ORxQtgVj/UdG3ppK8QCCdxAA0=; b=nn+7z5kRU68rGF2GOqwO5SQqXvr4g0cVT8GB8Rhdi+M6kCow0FQSVQssPDApIlPqF6 2rt37xzJOS5N4GVcTSvLYOBseEOd00JGrT3wUD0MEEEC1iiqnTVC4CYjDxd5r6PvFOGe xsisHw/B5dzC+KD2AdT0Tpwd53F3dJWT/VfoMt193dgjAv15xnpXQkO1jSSffCmoBKoe ZDAc/zt0E4H0x1abrk53WlHL0InDMqDznYOBZYoWMAlOf8pAUHqyzqFIUl2j6RVRe9fW pCQ72oiOgYBlyz4NQEMlePFyQwZbCD048QfA6ZDiVKYM2MwFFLlCEeMC+hFtdMg/M+j9 ZuHw== X-Gm-Message-State: APjAAAVskdoKd0YBN364PZVxpya1MVs1g9QlbqRKJzjqJRekxSd8jq6P eMSx+4PQRcIy85ODQnNfZEhsArfZt9goQAs72BNgnw== X-Received: by 2002:a7b:cf18:: with SMTP id l24mr5300725wmg.132.1553572684717; Mon, 25 Mar 2019 20:58:04 -0700 (PDT) MIME-Version: 1.0 References: <20190325083027.6393-1-anup.patel@wdc.com> <20190325113748.GA27843@infradead.org> In-Reply-To: <20190325113748.GA27843@infradead.org> From: Anup Patel Date: Tue, 26 Mar 2019 09:27:53 +0530 Message-ID: Subject: Re: [PATCH v3] RISC-V: Always compile mm/init.c with cmodel=medany and notrace To: Christoph Hellwig Cc: Anup Patel , Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org" , Mike Rapoport , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.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 Mon, Mar 25, 2019 at 5:08 PM Christoph Hellwig wrote: > > > +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? Sure, I will more the flags together. > > > +/* > > + * The setup_vm() is called from head.S with MMU-off. > > s/The //g Okay, I will update. > > Otherwis looks fine: > > Reviewed-by: Christoph Hellwig Regards, Anup