Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2147818ybi; Thu, 4 Jul 2019 05:59:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwH2mkPaQO0rzLg65WvN6mBLMHy6umnG733yhL21oNAMECoFqGdhsT+Si7YjA6JilAZ3SS6 X-Received: by 2002:a17:902:3381:: with SMTP id b1mr3306363plc.197.1562245189417; Thu, 04 Jul 2019 05:59:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562245189; cv=none; d=google.com; s=arc-20160816; b=yddptCNkbZwNNfJ+movY7d/dVs2eo6xpA1gDlOssGmCnK1khjxvHVCsZFgtk7crbpV zAKgwAxwxBs7hDG1CJl1G4LYfRsgk0HRBRAFt1f8W6buT+Lwwk6oovSFkX95IOvDpAPZ qTs3gyRhKZR0IfDH/irDbAK7JOt4eSuP9Lgz6JujwY20YeshSOTiB1ZD3jh0kDPkNfuV +z2jZcCykSRJf34TZcQVM+XWraSGnSA8uLJZkP1WcVN7P5FqlSkGcJ9ANUoeiq71N3IA RJeT920wqWVXoLYn340ypvvrQCcHX+qD//jnV6Gpods64eoU23a9b77KuNK16WZql+bY rtJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kWgzevDmuvIajrAhKn7sooJ9usPYNn9cO9bu1sTM2E0=; b=sXXiFrR8XdJGbTUnSN5Rx/Dx3G6ywa9/NHGiaKNsTAZpqAgB21p2dgKGzx5+Hw9bj9 o2DiyWLbL6ulS3SmswYcbY5vv0seNIfZXogM6LwheYDf2NCaI+5hq+aPwsiuZRkCD4wm da2FjR2F5ikoa3PP6bgFt+7JX5InvArE8IfZCc+p+tNoiAfI3qu07NLZ2TQuc+uxgznd o9YFadVk3jg3GRMf5IMaSLi/RGk5nuYMtcM0gc5kNlJos7UW8jRQ57ES1KXS2U69fsvZ bKs7I/ZsVRbbS2zevZZ0iHgeOEeExxJ/H2cAHbBBj5f1eCdCU00efJ1vHjYMY9+VlpFD C4fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qcAuhQT1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si3196501pfb.206.2019.07.04.05.59.34; Thu, 04 Jul 2019 05:59:49 -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=@kernel.org header.s=default header.b=qcAuhQT1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbfGDM50 (ORCPT + 99 others); Thu, 4 Jul 2019 08:57:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:59614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbfGDM5Z (ORCPT ); Thu, 4 Jul 2019 08:57:25 -0400 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BDD5A2189E; Thu, 4 Jul 2019 12:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562245045; bh=2hR0pY5iMZ0Mzal+gCP9kE9xa8QstyB6RpnG93AvzHs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qcAuhQT1PHD9pQKa/lHgF03Ldk6XALhEeSyrHW5bffmiBE++WtH6fMbLo4QYi/GOv 5kWfA0q69x+rOAudE46fTUW1sIDe1ZcpCqCNRI3XMFwpIYfyHDtSXjRf58d6tWTClv 7Zh4YprLD3emUcuAp8jtaju6FNfqcUxz02tWIQUM= Received: by mail-lj1-f180.google.com with SMTP id k18so6061650ljc.11; Thu, 04 Jul 2019 05:57:24 -0700 (PDT) X-Gm-Message-State: APjAAAX/3DQuFApZUyR9a5dL3+ZSR+ajoKfmzfq9fmN0yQQnGi05yRZU YvgGMwPlnHZRkI/KdybsK4rjc9g84CHLJCqhgj8= X-Received: by 2002:a2e:50e:: with SMTP id 14mr25223510ljf.5.1562245043093; Thu, 04 Jul 2019 05:57:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Krzysztof Kozlowski Date: Thu, 4 Jul 2019 14:57:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver" To: Peng Ma Cc: Vinod Koul , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Fabio Estevam , Leo Li , Andy Tang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Jul 2019 at 04:10, Peng Ma wrote: > > Hi Krzysztof, > > I am sorry, It is my mistake to forget about VF50 used EDMA IP with little endian. > The Register(CHCFG0 - CHCFG15) of our platform designed as follows: > *-------------------------------------------------------------------------------* > | Offset | Big endian Register| Little endian Register| > |---------------------|--------------------------|-----------------------------| > | 0x0 | CHCFG0 | CHCFG3 | > |---------------------|--------------------------|-----------------------------| > | 0x1 | CHCFG1 | CHCFG2 | > |---------------------|--------------------------|-----------------------------| > | 0x2 | CHCFG2 | CHCFG1 | > |---------------------|--------------------------|-----------------------------| > | 0x3 | CHCFG3 | CHCFG0 | > |---------------------|--------------------------|-----------------------------| > | ... | ...... | ...... | > |---------------------|--------------------------|-----------------------------| > | 0xC | CHCFG12 | CHCFG15 | > |---------------------|--------------------------|-----------------------------| > | 0xD | CHCFG13 | CHCFG14 | > |---------------------|--------------------------|-----------------------------| > | 0xE | CHCFG14 | CHCFG13 | > |---------------------|--------------------------|-----------------------------| > | 0xF | CHCFG15 | CHCFG12 | > *-------------------------------------------------------------------------------* > > So we need this patch, I make some changes,Please help me to test attatchment on VF50 board, > Thanks. With the patch VF50 boots fine. BTW, Colibri VF50 nicely boots from network almost out of the box so it is easy to add it to automated tests for simple boot tests. This way you do not have to manually test it on such platform... Best regards, Krzysztof