Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2089581imm; Sat, 29 Sep 2018 10:10:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV62t+jCnU8QqbvYJEXPx+t0C+yvWtbPYUJiUQ64YbrPs7lqV0MD8bU6rP4q9XOhupK4QG0O/ X-Received: by 2002:a63:ad44:: with SMTP id y4-v6mr3572999pgo.138.1538241007610; Sat, 29 Sep 2018 10:10:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538241007; cv=none; d=google.com; s=arc-20160816; b=LfKkInxuBn9rMTBPNew8g5E5seXEgfkVmxw/BLr+4W1tUHtVfC+sNc2nA3Vc/7AYG9 xF2u/krCoE4rxrcz98/RaW9pBB4+F5ED84Heto0cuqX+KI0qZ3Qf+B8kz6gYUDAIayQr q419Y5ODz+IHykibgogdBB/ghCAMZZJ/yhTuwuknLyGRpm53Q73v/YSIbJ/ArRxN6SVE CCZjFty44A9aszdSG1M/b4c8Fxrxh4ct5CkQIJlYDA4Q5sockpJ9Bgl4QX0Qwy/X5fMI 518vDqIDaag1Q3BE7vuhx8zhMiXR4SS5mblMG44dHJnfu7Pf37R252t+1o52lQ2OTy+8 IWZg== 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=TFuZ7URGJ6vUPt5bHlIkCker/8xCsN5faRB2Azawn0A=; b=noJvdsHiEU+ctDgbHTWqyNyq1a6T2ZI4RMm6sqOXzuyv9oahnK/p5eVQx3YjOBUwVG m43ctiJJkwaArSh3HpJS7DHsOU11OSIDp0cVb0X+yDUrNQo1UU9kZ5U7erIWGy9croDe hrlRYZ4dlvdajiTEC+/neaddRdhHSjk/Q7V/LUTD2zukjulPlsaB8qUdVdo+cId1LDB6 K6JpRVFLcNO5oU4h6LuOn4Mjp2zO4JGhHNI+ykUxw9hIPPYjdAwDh2y266jttnifdlOu g0Cnv8WZhcUhsI6llHxxphHxAsWwqp0sgZ6LRt4Tz0BL76uKNIYiRe0Z1JKDZaeeZpbN NhXw== 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 k23-v6si7347909pgl.633.2018.09.29.10.09.53; Sat, 29 Sep 2018 10:10:07 -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 S1728522AbeI2Xi6 (ORCPT + 99 others); Sat, 29 Sep 2018 19:38:58 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:47163 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728364AbeI2Xi6 (ORCPT ); Sat, 29 Sep 2018 19:38:58 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1847406|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03275;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.CxVtNp2_1538240951; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CxVtNp2_1538240951) by smtp.aliyun-inc.com(10.147.41.121); Sun, 30 Sep 2018 01:09:11 +0800 Date: Sun, 30 Sep 2018 01:09:10 +0800 From: Guo Ren To: Christoph Hellwig Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com Subject: Re: [PATCH V6 03/33] csky: Kernel booting Message-ID: <20180929170909.GG27796@guoren-Inspiron-7460> References: <20180928161305.GB19827@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928161305.GB19827@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 28, 2018 at 09:13:05AM -0700, Christoph Hellwig wrote: > > +phys_addr_t __init_memblock memblock_end_of_REG0(void) > > +{ > > + return (memblock.memory.regions[0].base + memblock.memory.regions[0].size); > > +} > > No need for the braces. Ok. > > + if (memblock.memory.cnt > 1) { > > + zone_size[ZONE_NORMAL] = PFN_DOWN(memblock_start_of_REG1()) - min_low_pfn; > > + zhole_size[ZONE_NORMAL] = PFN_DOWN(memblock_start_of_REG1()) - max_low_pfn; > > Please brake lines after 80 characters. Ok. > > > + pr_info("C-SKY: https://github.com/c-sky/csky-linux\n"); > > I don't think this belongs into the kernel log. Ok, remove it. Best Regards Guo Ren