Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp943049imm; Fri, 28 Sep 2018 09:15:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV63akmKU5HNxvJzqQU1JZhTYzimFloQl32i7KLQWXnvLR3Y2s5xs4yfCT54cqTpz3wfFg+Wo X-Received: by 2002:a63:c14a:: with SMTP id p10-v6mr15763315pgi.305.1538151317537; Fri, 28 Sep 2018 09:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538151317; cv=none; d=google.com; s=arc-20160816; b=d2AvdwYnRzpsnNb3k5gsNskpQ/Zl+cL09dli72LS2BRFdoQt0kmeJ40ghlWRmDxPtr m4mpZMe6oP+S2UZ8ckKWJqVOVKC9TArq+vSiNZP1yZqvQwbT7srrufXF1kNDoeqzVN8B pubbJV25hWp3+qS1WYTyD525D/E67A0mjEDlqSOSy3netvGPnDpihkxk1Y5QlQl+z94C FDznS6Cgt7Lf8+9Z/F1z1/oOYx46MI5rucOGPNbrB578EyIeUmVWblCrgwLIudbTGwM6 j+KNkVYJNLlI4A7BzR5SZEIOkKFc4rE3mPNvABZHEUy9deWAVR0Yy5IaMTm9vY5pB5bY Uy8g== 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=8fo/iWbl2vAeVQlPNp9/eo8WmURP6snScnT2BfqgI1g=; b=lt0rqeRBvtdK8MnnwE2R5kV6QmSx17umftmeKPEfF/4ZM59Hi1FjO36bocdvu2SdWA dG3e8bKVsl0/B28MV4tFEvjkYm32GUlPEBHWOFwopTq2OgNvEVW/khXcKr3lrxM8yZ1V mNc54SH0SYE2hgQ4tOwuVl888j8FeTxDmYDd25tHE2QMr/r+/xzTKVbmKOhrhTN6BCsL MwWw456H5n67N+iZuQbqZU8k3f6zVXYYtr7v38n24ln+TWSZe9u9VNQPv0+IReUpMVaS 2hS8zu8Yw7vdmuW+wxRXSgnRVDpjBg/FhHZxLL8YfUDzIv9YaTn5HiPpGNVFWFwDQyj5 ul3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=eH5FFgNi; 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 h125-v6si5332803pfg.138.2018.09.28.09.15.02; Fri, 28 Sep 2018 09:15:17 -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=eH5FFgNi; 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 S1729474AbeI1Whk (ORCPT + 99 others); Fri, 28 Sep 2018 18:37:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56044 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728643AbeI1Whk (ORCPT ); Fri, 28 Sep 2018 18:37:40 -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=8fo/iWbl2vAeVQlPNp9/eo8WmURP6snScnT2BfqgI1g=; b=eH5FFgNi9dT1MMo1/X3Q4Nx5r EjBbuQimA4yh6vez0oIZOuBc38LKK7VRgxxZTuUyohRHdcZT/EddjJ1ba3w97EITtACxeWL6hOQSr vjsXrP7KI/dK4CAO0Yz29PdPmYklc+QU9hy9kZWJ8tuQHTX3kON4d4rQAQ4clmRRr09s9VKQSRqKk pZ981rnYgfOxIlnkB2sTC8e0k7TMwVP8q2YFBoY/xPLHMUpRaN4bh30uMX5xNKz+6OfHfAXC4VJi6 bKgA7pZ1wwHntETIMpI+1BBL/UoGmnTU/L+IqY21nlTnHICW2dNE2Tur/Jae6WH+wUhw5J876/usG wtu7Fg2xw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5vO5-0006sJ-Py; Fri, 28 Sep 2018 16:13:05 +0000 Date: Fri, 28 Sep 2018 09:13:05 -0700 From: Christoph Hellwig To: Guo Ren 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: <20180928161305.GB19827@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 > +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. > + 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. > + pr_info("C-SKY: https://github.com/c-sky/csky-linux\n"); I don't think this belongs into the kernel log.