Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp72708pxj; Wed, 9 Jun 2021 16:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRuO5/MbmGaHOLLvh9N+4sW46RBrblNLtFb8dHil1ON75M97n4fSg1/9qNmMm5fQi9AYBU X-Received: by 2002:aa7:c450:: with SMTP id n16mr1864606edr.386.1623282972553; Wed, 09 Jun 2021 16:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623282972; cv=none; d=google.com; s=arc-20160816; b=OurZoBKmGcXLVDoH4WCaeuBZ/DcAlnw8mbdOaLx6Kvx6ZRI4YdH9ZYHq3t3iBaIdZg +vJ8eI03pvLY4ZZtrAhUhd8SuhJKvABiYTawXi4H+528LCXCg5fZmaeOmZRfS+l0qWAh W8OJbrc4XwaywKmaxHJzImuAxpRIX+Kd/VgAa3Kz+8HBd2uf/CwmvXCIWA0/8V79yK9p Sn+rMMoE7e+UvPpW6xZ7K8hmY5GdAGhULEp9/LW7GMQbvRkv17PNmC1d6eWz9HJxjVST dQ6+uypQBWhG5wZm8xkmCX2hggW+fe1G+Inv6kWaN+TAd9ker9ZrMVXOJ+L12dYUeflz mOVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=I8N1Lg6aLlgY3iCD2TCkxgwLYxPyIq0eUn542GgkUOk=; b=U878SuiICYl8FwC8G2+OflcNk/YEVvh/JtfNeE7jec2/zNccYE5+1boQNc9TzLRHTC PpczOuY3xkipRa/ULKNKsHJQxFDpSK29buQ7c54c8ptT1bO1jykLYVgthKTtz+CD+r2n aQmUvdvp0wb1yAfuDkWX0XUKgDOCBlRRpwB2/yQhEpr9nsOXFWxj6TB7iqwvinc9jE22 rj+TCNGkjejohCGeEYCLpsEgFMkiUNyBULAF4KJoEgVocLf84y1/VO9cIobGqXOwtrTX egVjJ7fZlkLq/m//7oeLoaS4QUqY6jspSHZoKvGvpSvwqef9r5GhFwZO6GJ97cN5nnQ5 +ATg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OzSw3MC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ha1si872682ejb.743.2021.06.09.16.55.48; Wed, 09 Jun 2021 16:56:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OzSw3MC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbhFIXyn (ORCPT + 99 others); Wed, 9 Jun 2021 19:54:43 -0400 Received: from mail-oi1-f169.google.com ([209.85.167.169]:41931 "EHLO mail-oi1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFIXyn (ORCPT ); Wed, 9 Jun 2021 19:54:43 -0400 Received: by mail-oi1-f169.google.com with SMTP id t40so97816oiw.8 for ; Wed, 09 Jun 2021 16:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=I8N1Lg6aLlgY3iCD2TCkxgwLYxPyIq0eUn542GgkUOk=; b=OzSw3MC3Gh28jgO8jPvZlsDZoR7nfums0Lvnoq0EqS3/pkdrd43aA4voAoO3yN+P4x kVsfkRaLZots7I7MYWwh8PyfgS3a399qoJYtQD0GTOzmZ3XqL2bWlNVX1QO0Y+Jx8hrU u/JGvebGaVn/ohrlcGh20Sa4zMjwYJfnmAnmJHnOIoRFP7Ct8h3TxruqxRc1qJcqPE90 k/D/ikHm+wCKRkZAFYUq769gf5Qo5XPhSniXzXSW5Pbh0zgYmtw3Z9J41XmVYqf0fa1B 1cIJAjQMAePYHf4qJ0y3YJUz4+oHWpLWK1aXknCat8ozr+prK0RKM6q/EHHaRtFaRr7C goJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=I8N1Lg6aLlgY3iCD2TCkxgwLYxPyIq0eUn542GgkUOk=; b=LsV10g2agLUKkZt6uweRGsGS3hguTgJOBOlGjXiOMo0Afh7BqlbRoKx+sQvTVMr7Qt jiWcszNW1MfvQNiELxY/+t9a6msYFQWlVkEwveZo+TYWzuFHwuh+A8rITvJOx/LsEEH7 5cU9MXjAqcRQEpv27yTgLDqnoKMrHvI14Fg1ptLYPuXg5twtBTkK7pkbrB0M+nq0PyqY ESplx4Bs7M4845WsSdoDmIrWtrPpDuIrsL+W6YMJiIl7baTONhIrtk9PWRu25M306rsQ +bxN94LFleqT8dtXAiji2yJDju7vE/MyXXCUr+QSoWQvALh7d6szl4irSxxV+yxFWQ6W yz9g== X-Gm-Message-State: AOAM5334eohO2pH39v6qQbhk7579dSi6Cuha6RE4ub40uqRuP2VR9rlb iQr+VYvtqJYxmUvGv1MeUjr4SaALVCN6np/QiNiIN2yVVtI= X-Received: by 2002:aca:1910:: with SMTP id l16mr1369486oii.69.1623282698554; Wed, 09 Jun 2021 16:51:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Austin Kim Date: Thu, 10 Jun 2021 08:51:28 +0900 Message-ID: Subject: Re: Reserving memory To: Sean Quinn Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 2021=EB=85=84 6=EC=9B=94 9=EC=9D=BC (=EC=88=98) =EC=98=A4=ED=9B=84 5:33, Se= an Quinn =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > Hi, > > Kernel newb here, sorry if this is could be sent to a more suitable list. > > I have an embedded project using a Zynq based SoM (Enclustra > MA-ZX2-10-2I-D9 SOM). We have a device using a DMA that writes data > into system SDRAM shared by the processing system/OS. > > [..] > 8<--- cut here --- > Unable to handle kernel paging request at virtual address deafe000 It seems that void *fdt contains deafe000, which is not handled by mmu. https://elixir.bootlin.com/linux/v5.4.124/source/scripts/dtc/libfdt/fdt.c int fdt_check_header(const void *fdt) { size_t hdrsize; if (fdt_magic(fdt) !=3D FDT_MAGIC) //<<-- exception point return -FDT_ERR_BADMAGIC;