From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06E9CC433E2 for ; Wed, 16 Sep 2020 14:04:50 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 623F022265 for ; Wed, 16 Sep 2020 14:04:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xjwbjybA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 623F022265 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 945A86B005C; Wed, 16 Sep 2020 10:04:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 91B258E0003; Wed, 16 Sep 2020 10:04:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 856C28E0001; Wed, 16 Sep 2020 10:04:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0098.hostedemail.com [216.40.44.98]) by kanga.kvack.org (Postfix) with ESMTP id 6A9AC6B005C for ; Wed, 16 Sep 2020 10:04:48 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 049563656 for ; Wed, 16 Sep 2020 14:04:48 +0000 (UTC) X-FDA: 77269095456.30.fan88_0e03d8c2711a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin30.hostedemail.com (Postfix) with ESMTP id 8156C180B31C5 for ; Wed, 16 Sep 2020 14:04:45 +0000 (UTC) X-HE-Tag: fan88_0e03d8c2711a X-Filterd-Recvd-Size: 5328 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Wed, 16 Sep 2020 14:04:44 +0000 (UTC) Received: from kernel.org (unknown [87.71.73.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FB6220936; Wed, 16 Sep 2020 14:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600265083; bh=vjT9vG5+3yp/xt4ZdTXRH4nnYrq6Zz1hIgyXzWpV/CY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xjwbjybAHtj33ndRCCkAiu8k9aM3x5UONFAamN+w8FRYz0P2tMaxUZwELYD6J9x5T kcnj4gTXIX/DXUM1zLXMIgdffznpjlOJeUpN7Mxgl0rnNsNcorWqVivGLmv2nT3hRw tnXEoHNNMQ8EA1tly5syKlCO+GqulbWkZ5lHrDbg= Date: Wed, 16 Sep 2020 17:04:37 +0300 From: Mike Rapoport To: Naresh Kamboju Cc: Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org, Andrew Morton , Catalin Marinas , Will Deacon Subject: Re: [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader Message-ID: <20200916140437.GL2142832@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 8156C180B31C5 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Sep 16, 2020 at 05:50:34PM +0530, Naresh Kamboju wrote: > arm64 boot failed on linux next 20200916. There is a fix at https://lore.kernel.org/linux-mm/20200916085933.25220-1-song.bao.hua@hisilicon.com/ > [ 0.000000] Linux version 5.9.0-rc5-next-20200916 > (TuxBuild@3aa8232c0e38) (aarch64-linux-gnu-gcc (Debian 9.3.0-8) 9.3.0, > GNU ld (GNU Binutils for Debian) 2.34) #1 SMP PREEMPT Wed Sep 16 > 10:13:15 UTC 2020 > [ 0.000000] Machine model: Freescale Layerscape 2088A RDB Board > [ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0600 (options '') > [ 0.000000] printk: bootconsole [uart8250] enabled > [ 0.000000] efi: UEFI not found. > [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please > fix your bootloader! > [ 0.000000] Unable to handle kernel paging request at virtual > address ffff0082ffffff70 > [ 0.000000] Mem abort info: > [ 0.000000] ESR = 0x96000044 > [ 0.000000] EC = 0x25: DABT (current EL), IL = 32 bits > [ 0.000000] SET = 0, FnV = 0 > [ 0.000000] EA = 0, S1PTW = 0 > [ 0.000000] Data abort info: > [ 0.000000] ISV = 0, ISS = 0x00000044 > [ 0.000000] CM = 0, WnR = 1 > [ 0.000000] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000827f9000 > [ 0.000000] [ffff0082ffffff70] pgd=0000000000000000, p4d=0000000000000000 > [ 0.000000] Internal error: Oops: 96000044 [#1] PREEMPT SMP > [ 0.000000] Modules linked in: > [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted > 5.9.0-rc5-next-20200916 #1 > [ 0.000000] Hardware name: Freescale Layerscape 2088A RDB Board (DT) > [ 0.000000] pstate: 20000085 (nzCv daIf -PAN -UAO BTYPE=--) > [ 0.000000] pc : __memset+0x148/0x188 > [ 0.000000] lr : memblock_alloc_try_nid+0xc4/0xdc > [ 0.000000] sp : ffffc305b2393cd0 > [ 0.000000] x29: ffffc305b2393cd0 x28: 000000008116237c > [ 0.000000] x27: 0000000080000000 x26: ffffc305b1b51000 > [ 0.000000] x25: 0000008380000000 x24: ffffc305b18014f8 > [ 0.000000] x23: ffffc305b27a0f30 x22: 0000000000000000 > [ 0.000000] x21: 00000000ffffffff x20: ffff0082ffffff70 > [ 0.000000] x19: 0000000000000090 x18: 0000000000000010 > [ 0.000000] x17: 0000000000001400 x16: 0000000000001c00 > [ 0.000000] x15: ffffc305b23a48c0 x14: ffffc305b23a48c0 > [ 0.000000] x13: fffffdfffe600000 x12: ffffc305b2393e44 > [ 0.000000] x11: 0000000000004aa8 x10: ffffc305b2393df4 > [ 0.000000] x9 : 0000000000000000 x8 : ffff0082ffffff70 > [ 0.000000] x7 : 0000000000000000 x6 : 000000000000003f > [ 0.000000] x5 : 0000000000000040 x4 : 0000000000000010 > [ 0.000000] x3 : 0000000000000080 x2 : 0000000000000080 > [ 0.000000] x1 : 0000000000000000 x0 : ffff0082ffffff70 > [ 0.000000] Call trace: > [ 0.000000] __memset+0x148/0x188 > [ 0.000000] cma_init_reserved_mem+0x9c/0x15c > [ 0.000000] cma_declare_contiguous_nid+0x288/0x308 > [ 0.000000] dma_contiguous_reserve_area+0x50/0x80 > [ 0.000000] dma_contiguous_reserve+0xfc/0x114 > [ 0.000000] arm64_memblock_init+0x42c/0x464 > [ 0.000000] setup_arch+0x27c/0x64c > [ 0.000000] start_kernel+0xa0/0x56c > [ 0.000000] Code: f101007f fa45a068 54fffc0b aa0303e2 (a9001d07) > [ 0.000000] random: get_random_bytes called from > print_oops_end_marker+0x34/0x78 with crng_init=0 > [ 0.000000] ---[ end trace 0000000000000000 ]--- > [ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task! > [ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill > the idle task! ]--- > > > -- > Linaro LKFT > https://lkft.linaro.org -- Sincerely yours, Mike.