Received: by 10.213.65.68 with SMTP id h4csp1048109imn; Wed, 14 Mar 2018 08:06:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELs3LzzEXN1xj0Sk/l3sbGlPICYznJgRh45b3iTDIvGYIZqYbSL7YHFNOj/fy8+utJS/rHX6 X-Received: by 2002:a17:902:b495:: with SMTP id y21-v6mr4439290plr.313.1521039978844; Wed, 14 Mar 2018 08:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521039978; cv=none; d=google.com; s=arc-20160816; b=O9eaFiCCwfsvfDHfz4fQAH4DxFU6AvazgI/WzndMBlYIcXpLVdNyQ3UtVicQb89L7X u84trY82aawOb78A2JD/omEP8dig+87BKSC0Dy8TsA5UzOVSC7CfaYSMqQ+upxdt6cw2 ckfq0ZPwazYBHsFgqi4u12CCT+8IHjk88hvTDPbR0gKIc5Fmjv0aRSHpcW4wol5AlY/t ECgvq5NLJEaa0bvwr1Jh7KgUuoe23d8i8QTSeHiw1XoGrYiqTOTeQWPSnvcQFGsym2ME aUiVPAXzma2W31ssYUtepkohbTRmoxpqVLsSuwJV44v1vF7smUhPcgWYB/6K837ymKnR QFjw== 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:references:cc:to:from:subject:reply-to:dkim-signature :arc-authentication-results; bh=09GyzNiWWXChRTdhAHZde8WtRWPFKXirfgUwJcfuUAQ=; b=Z77qeATzrC/IZ0s5ovloBP5yemag6QB5oEbc+Gxx3ZqZ52eF9lRPns565mMK1L8NrI eNWbN6qa9w18WCpKiK1g15UQJ4NWyIlyBxudNAjAGprVgg8xWE7X3vi+PzqtQts3jRa3 9VfReyjRVCJeGFOEs3AqcZcIX1qnBqnSAXArDnuBeWQup6ysOyObBoQGCfETuTFfxKjt siaYcw6wDwDmfbGpCPtpBDjY8foOpdx5ppuIutgfSXKTj0BIBHJW+CqRCPyxkGvtlzeq MY39eQ7RQG7dHe0Rg+A7mbgaFILKtbHjYqYh6i62HiayXHqCObCRGLFZzO+BeSp+7O2j ulSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=qEdpRDGf; 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 w22-v6si2071554plq.196.2018.03.14.08.06.01; Wed, 14 Mar 2018 08:06:18 -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=qEdpRDGf; 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 S1752406AbeCNPEl (ORCPT + 99 others); Wed, 14 Mar 2018 11:04:41 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:41330 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeCNPEj (ORCPT ); Wed, 14 Mar 2018 11:04:39 -0400 Received: by mail-wr0-f169.google.com with SMTP id f14so5078243wre.8 for ; Wed, 14 Mar 2018 08:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to; bh=09GyzNiWWXChRTdhAHZde8WtRWPFKXirfgUwJcfuUAQ=; b=qEdpRDGfl7DgzrO7VtE1B8IOzVCsuSZYiKt4kY9rJOOggK6WSsS7lvtqj8uR7nkUzL VKYddwL33UM4IVKmQzUeBCkzM1sFhQYAXF2v6cPOILwpLeduk0o0EPVvKzdHy6E15i3e Hw0Yq7itDH9DomBbaZ60YxfjBly3CiZqrrjVUbEssWJJu8Si2WtvvHsYsr+2f2CBcaBp ygTaxtmJ3QJ9i5st+g5P4Q5v9HGGahNW5X2vmN4NTqNmuXtpGeKd0VipXCfWryji6Crr Qr2sEKTh3AK+O/dmeCY4dAeFOiUlr9+hSND8ubB0kHXA8UXJXc+1NDWFR4/cqEPOwTLa Awuw== 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:from:to:cc:references :message-id:date:user-agent:mime-version:in-reply-to; bh=09GyzNiWWXChRTdhAHZde8WtRWPFKXirfgUwJcfuUAQ=; b=mfbfoLfh1lmN8yUIlCe2F7RWu2TtfYgrGaBU8U8F4CSWI2MiurNS+2ua5pCJMLwfka AU1EyXPE2zjY1tYmdsGr0D9WX/Y+L8zMguasI0xOkyOIqxtPDvLK99Ll+zRDcJGNf1n2 U2E75RjFX9AeW0fCQ9VTI5nq6cTFRlyCvmcRfliVCtmjzpAbb/6KYcK1PkwBj2mSsnmp kpkVb3fPe/+Am38RKfRgQXpRPb63Gl8CBF83ZW6uvfXQn5ABQWVl55KldFtpbSc5MQnw /YTPje5/VHspDYs8Nil8YDqV94H65IeSFGG4sOLuk2V9bASPR3GmHErNO9/fhq+g40Ar qEjQ== X-Gm-Message-State: AElRT7FHDVmW2f6mQ1kj4mX9hSRjwYxoS7Nq4aHA+NYWQeqipzaotijd u2IgAS1D0gYRpqik4t+UHQ9mIDJ0 X-Received: by 10.223.183.193 with SMTP id t1mr3918694wre.168.1521039878412; Wed, 14 Mar 2018 08:04:38 -0700 (PDT) Received: from [64.233.184.109] ([149.199.62.254]) by smtp.gmail.com with ESMTPSA id z73sm572829wrb.88.2018.03.14.08.04.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 08:04:36 -0700 (PDT) Reply-To: monstr@monstr.eu Subject: Re: Bug: Microblaze stopped booting after 0fa1c579349fdd90173381712ad78aa99c09d38b From: Michal Simek 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> <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> Message-ID: <4d5dc903-0e88-e1b9-9761-43a84865c45b@monstr.eu> Date: Wed, 14 Mar 2018 16:04:31 +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: <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XVxKwh5F00jj53KUQKTj6Ck0nS5AWfERm" 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) --XVxKwh5F00jj53KUQKTj6Ck0nS5AWfERm Content-Type: multipart/mixed; boundary="chwdbNl9btemPMxnHAJzCChmolv9r8Yie"; 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: <4d5dc903-0e88-e1b9-9761-43a84865c45b@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> <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> In-Reply-To: <242c2823-258b-d3bb-cd0a-e4eee6b979c6@monstr.eu> --chwdbNl9btemPMxnHAJzCChmolv9r8Yie Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 12.3.2018 11:21, Michal Simek wrote: > 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 0fa1c579349fdd90173381712ad78aa99c09d= 38b >>>> makes microblaze unbootable. >>>> >>>> I'm sorry I can't provide any console output, as nothing appears at = all, >>>> even when setting earlyprintk (or at least I wasn't able to get anyt= hing >>>> 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 an= d >>> 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 >> >> Hi, Rob! >> >> This branch does indeed solve the issue. My microblaze system is now >> booting as it did before, and everything seems normal now. Thanks! >> >> Tested-by: Alvaro Gamez Machado >> >=20 > I have tested it and I can also confirm that your two patches are fixin= g > issue with >=20 > 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 >=20 > Can you please update that second commit with reasonable description an= d > send it out? I will take it via my tree and will send pull request to L= inus. >=20 I couldn't wait to fix current issue till 4.16 is done that's why I have sent that patches with updated commit message to lkml. 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 --chwdbNl9btemPMxnHAJzCChmolv9r8Yie-- --XVxKwh5F00jj53KUQKTj6Ck0nS5AWfERm 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) iEYEARECAAYFAlqpOf8ACgkQykllyylKDCFlmACeNWsqJIbmfylPILGyFh+qwyTP sHQAoInVLk3+kq50k7pIWq1iaRMePu1j =hyu5 -----END PGP SIGNATURE----- --XVxKwh5F00jj53KUQKTj6Ck0nS5AWfERm--