Received: by 10.213.65.16 with SMTP id m16csp272893imf; Mon, 12 Mar 2018 03:23:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELtIGZRPrT173Lrssm0fbVqX0BYXiEV607qRCwEPU4LZerrPtqm74hS7YQfEecUV7Z/hJhll X-Received: by 2002:a17:902:8f89:: with SMTP id z9-v6mr7469213plo.370.1520850199312; Mon, 12 Mar 2018 03:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520850199; cv=none; d=google.com; s=arc-20160816; b=RAzTp0brJS+d7QCOercfHCO+bKQvyjB2VVRmqxJBFSZP1xC8Ud76Ues8Y30ZS3MfMP plFbp1Rc6NW/ViAThSXkj5U7/DMaDsabCRvsSl6MzLZmnxJgM9GwwmgWAnptwXHun7OO Slai+896BcPa4F+m8H/4GNPpvlF+mhXiy0nizL3GZmFblEmYsChgUqUXmw+WutgZQpy5 zcwvLQztcilJIGEeQtlPSma3yRcSZTBUP/Zv9PZmppqXwDcJRHAe2Q+VlMDCCIAkjgI+ YmSO5DNVmL/p1wnvezQgv5uHl1zs4ATMOT41zBSr0OTSQSnRqC6gMJyRRvlbXOhhlpLd 0i2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=KJdpXM2NMXvL0WLrShFY/R1LFLxRWt3BBkmDij1feV8=; b=yMZQTnhh1wm7NFWDqRQTbtugHs4hitcbTX8bjulY7V6+wRqL63P7jhAsquDnRwp9f7 AUevGIlaHk7TlIwBJnlxOMgF46G9enBAc/yVxHsENeLeBud4zvkTERc22v4T3Rcno+ax ofSPd0bTOIYr6yeiJT4JAS1+TKMuUM9DG8GQVdCxXkPQpY7yOEFkEtNKl+Ajye9Hp8Wk YKpYpUqmIjdlul0q1znwuBYiSnhrOjFOYPoggkdq2wFEBIVlI0OQT4V+kTt9t92Y1L6y Or3UfVx/Mou5JK21HNsM6X/dBlZjVnAVU1EylGHB/mVC4k5/XyFzDlcnOb0JD/6EfwYF 28iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=tplP0Jzs; 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 97-v6si5751707pld.142.2018.03.12.03.23.05; Mon, 12 Mar 2018 03:23:19 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=tplP0Jzs; 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 S1752603AbeCLKWE (ORCPT + 99 others); Mon, 12 Mar 2018 06:22:04 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:35417 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752511AbeCLKWC (ORCPT ); Mon, 12 Mar 2018 06:22:02 -0400 Received: by mail-wr0-f178.google.com with SMTP id n12so3933181wra.2 for ; Mon, 12 Mar 2018 03:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=KJdpXM2NMXvL0WLrShFY/R1LFLxRWt3BBkmDij1feV8=; b=tplP0Jzs0uGE4m6FfifAKJBH+vrJGzMKcafnKUSoM7P2ULhmGukjec9eodqkj5SjKT AVYqljaZgz+vD3+UwLg+ic9Ohut6VZqCob+YF9HYOyyaNy/GF72pwKgjIpuoUHceFE5g +Y1AjjTgOCWVcuC5BMdeEQuRcoazFq2LG2VfxkG8V3gsFUR9xmIg4wxM7GAh5Hlkfv/B UHjoIMY5x4pChULbQ0AhjJ7S54/1FjVjlTqMIZzy+cwoeyH+8VF/hQEpjKsDoa9BytJe Jt8J6104/woIGgaYnadoyDts9NLZO/Ls5ZFhf2Coow2uOhmYMouPFE25ECG9lGwCzVby XXdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to; bh=KJdpXM2NMXvL0WLrShFY/R1LFLxRWt3BBkmDij1feV8=; b=AZAkUq1/um0bG3T0/pSaWXMCWvJYPnvlCD1ax/vl7l9Idkt/jPuCaLRhMiAqjOrukE 0wMfXgmsdR92aS3oMKEyNqWblCJBwHDnmgq3K2oN5YPLmmPrWU4+4hrx8CXkLS3dQvgK 8oTVhssIpfihj0Jjim4PH3W0Ht+28DgUC/dyCMzDjRU/T7jrGHyjmKe9aYzOvIPMLsy9 59k4hyFlZRwqY39jQcpfro3ya8iB4VGkp8ZBLiWsZO3qiUvtMMdc4soq8G6RU5krclTR Wl5IfI8Q5n1TL/okm9SnQc8P9QGJaq/kBFu+xL28ManoWm/xEWJ4PM0cx1dEjJJf6Sb5 tatA== X-Gm-Message-State: AElRT7H26jv7HeFIEv6OX9X2StZXADEplhUCt8KCW1PLcBz32RCTqKfo /ZH3VtAtgKNwJuIYbBHsF+SrVKdU X-Received: by 10.223.197.139 with SMTP id m11mr5574715wrg.198.1520850120350; Mon, 12 Mar 2018 03:22:00 -0700 (PDT) Received: from [173.194.76.109] ([149.199.62.254]) by smtp.gmail.com with ESMTPSA id q71sm6245276wmg.40.2018.03.12.03.21.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 03:21:59 -0700 (PDT) Reply-To: monstr@monstr.eu Subject: Re: Bug: Microblaze stopped booting after 0fa1c579349fdd90173381712ad78aa99c09d38b To: "Alvaro G. M." , Rob Herring Cc: "linux-kernel@vger.kernel.org" References: <20180309125106.GA1644@salem.gmr.ssr.upm.es> <20180312075252.GA15895@salem.gmr.ssr.upm.es> From: Michal Simek Message-ID: <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> Date: Mon, 12 Mar 2018 11:21:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180312075252.GA15895@salem.gmr.ssr.upm.es> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qs5TyyfJsgZ0V8t5661EJRg3kr8vPLGLp" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qs5TyyfJsgZ0V8t5661EJRg3kr8vPLGLp Content-Type: multipart/mixed; boundary="fyIaaO2IWtkt217vS6I1OxN265do5Dq3n"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: "Alvaro G. M." , Rob Herring Cc: "linux-kernel@vger.kernel.org" Message-ID: <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> Subject: Re: Bug: Microblaze stopped booting after 0fa1c579349fdd90173381712ad78aa99c09d38b References: <20180309125106.GA1644@salem.gmr.ssr.upm.es> <20180312075252.GA15895@salem.gmr.ssr.upm.es> In-Reply-To: <20180312075252.GA15895@salem.gmr.ssr.upm.es> --fyIaaO2IWtkt217vS6I1OxN265do5Dq3n Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 12.3.2018 08:52, Alvaro G. M. wrote: > On Fri, Mar 09, 2018 at 01:05:11PM -0600, Rob Herring wrote: >> On Fri, Mar 9, 2018 at 6:51 AM, Alvaro G. M. = wrote: >>> Hi, >>> >>> I've found via git bisect that 0fa1c579349fdd90173381712ad78aa99c09d3= 8b >>> makes microblaze unbootable. >>> >>> I'm sorry I can't provide any console output, as nothing appears at a= ll, >>> even when setting earlyprintk (or at least I wasn't able to get anyth= ing >>> back!). >> >> Ah, looks like microblaze doesn't set CONFIG_NO_BOOTMEM and so >> memblock_virt_alloc() doesn't work for CONFIG_HAVE_MEMBLOCK && >> !CONFIG_NO_BOOTMEM. AFAICT, microblaze doesn't really need bootmem and= >> it can be removed, but I'm still investigating. Can you try out this >> branch[1]. >> >> Rob >> >> [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git >> microblaze-fixes >=20 > Hi, Rob! >=20 > This branch does indeed solve the issue. My microblaze system is now > booting as it did before, and everything seems normal now. Thanks! >=20 > Tested-by: Alvaro Gamez Machado >=20 I have tested it and I can also confirm that your two patches are fixing issue with 809d0e2c: 00240034 26000000 746f6f62 206d656d 4.$....&bootmem 809d0e3c: 6f6c6c61 666f2063 33353220 62203830 alloc of 25308 b 809d0e4c: 73657479 69616620 2164656c 00000000 ytes failed!.... 809d0e5c: 00000000 0029003c 06000000 6e72654b ....<.).....Kern 809d0e6c: 70206c65 63696e61 6e202d20 7320746f el panic - not s Can you please update that second commit with reasonable description and send it out? I will take it via my tree and will send pull request to Lin= us. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs --fyIaaO2IWtkt217vS6I1OxN265do5Dq3n-- --qs5TyyfJsgZ0V8t5661EJRg3kr8vPLGLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlqmVMIACgkQykllyylKDCGXSgCeMZt2C0qmf47qQYyAE1cQXSVn jGUAoIErefelcRo9pgDnx3PMih0mh19n =JP6G -----END PGP SIGNATURE----- --qs5TyyfJsgZ0V8t5661EJRg3kr8vPLGLp--