Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp546109ybk; Fri, 15 May 2020 07:29:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNOpvizbpzBJabf4ZyXRo/7/KqxPfvz13ElQWvnGWmXg0LlCrTxaANgY05ELOlVt/wSilT X-Received: by 2002:a50:f09a:: with SMTP id v26mr3146374edl.343.1589552954254; Fri, 15 May 2020 07:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589552954; cv=none; d=google.com; s=arc-20160816; b=c6f7JTvCY9+5+kHLh5VE9nMyhiDjRJAzPAxJMHqAxD0DSnVpWPmHD1xISB/8REX4+M hunSNBEGwXoCzccHEjOS/mVKWWVkDFyFTzfc0ZcJuoMILe/gpEZ9R5Q3koX/FK2Kb6q6 dK+QHrT0H2Pj7fkdRpkq1aN2S3n7nl3xX3Nc8tMUcna/4JPV9iM/u2skG8m330jp2Yf2 R/3MwZH5a4Fi0DBab4kmJJXFSiafu2CXht0EKeZPkvqS2u4dxhMIkc7Bb1YGkvJRYZGM jCLIBGWdK1WjEXi3EL4i2Je01NlrYQHOSvuJ/rEp1V1zCrx48ZMy1HnsgeKeSYke6wUC tiYg== 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=53n0NXxNogGd/faDRXKVA/bWobWfXTC9lWKhBDbKv8I=; b=ZhUxUdP4CJFKifIB/IwinRBx2bX/RU+PFuMsIAag4QeZuZ892JdVcdUfs6vGjkjtSW D+trxPPVGHQl3Od3PVQ8hwa4quuLAoLAMJt4aO1vbjfAyMCXD9yG6QyM4wVSy6blqVzV RCkJ8w3uVM6onjLgQcOhJxCMj+oiHsSZ+WLVpdKpTv5L4hnludiIP9buaDLZbf2RuZnp pvW3PMV8mGf6vkD0yTnMIZTMo3I8qObFtNV/SBrCObkV4MOF9lmM6ryE+AIuwOrhu+4Y sXJ5c6nz4uwxvg8hIfoJkK/c6Wp7Rg4bdBsu2a6PWwSLd8ovcUkKYX7DD3vXXcuuQr4p El4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mehKCxEZ; 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 p16si1162348edt.222.2020.05.15.07.28.51; Fri, 15 May 2020 07:29:14 -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=mehKCxEZ; 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 S1726185AbgEOO10 (ORCPT + 99 others); Fri, 15 May 2020 10:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726144AbgEOO10 (ORCPT ); Fri, 15 May 2020 10:27:26 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA5FC061A0C; Fri, 15 May 2020 07:27:26 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id a4so1037397pgc.0; Fri, 15 May 2020 07:27:26 -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; bh=53n0NXxNogGd/faDRXKVA/bWobWfXTC9lWKhBDbKv8I=; b=mehKCxEZtPNkQpDx0oskocLvG7NqA4fkwi1nzfp/DL6XUhZeUGQyhh8OKJqroIdvcc f0Z02rs/kq5fx8LwLA/4HMHsnIWyjjYfp3vMuZrrcjiLZUE6IMugbRUxlLBHlsL7Od64 8fqJQnGVKGzQrYU8DXxxzIRJEJ+Q+3uSdg8YOyBL/K9fxgyp26zcPuk/Etkkxnf4PGg2 rX36wn8V/tZty5sO4IdIra7L5yyDQ6LTzlr7zjakz/+POV/t0Vo4GcP607WF2ftVXS8L GGAGDKBDF+vsh8P+k9/O9E4Z1xrAa9/X4FylchFHv5pGteJdUJCMl4MvWvaZTM+3CeIB y3MA== 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; bh=53n0NXxNogGd/faDRXKVA/bWobWfXTC9lWKhBDbKv8I=; b=JqpOLdgrZevS8EPikxczfgrl0auX36DRJUN2C8XX2HFAcU9fCJqU2CnwOa0k3dldAC dmD/ux+vq2pOwYspmUrlSiFgAcmimLC0VeUmBqQwcuN8NQZRhX7YJAbe4Z5whMmaFukR 6Xlv8ivYNsnBWcjnYNLBx8ovIwu4tVSx60dWoufi15rpAbR4iibYGlTx8V/FvTEYtoFF Wau6B4hNyL8f+TXfGjbnbzLCzVBR2qLwGS7VCtlXM2pylhZN5HLkZTy2++Yt+EwmB8vs +N7t8+gE4FMOlahM+atJ2bkIc7ybofpsJDjYwAQAi3YIqJWN3N0gDN9z34CE7JgKpzUY WTpw== X-Gm-Message-State: AOAM532nIXvpLzr3b0PSZDRWtygOayv2LpJdwvmm09atRrjkMPVdgsMn 84KRtR62GaO0ja2EGJiLn4UQPiw3EdmnWASUGvw= X-Received: by 2002:a62:f908:: with SMTP id o8mr4096022pfh.170.1589552845598; Fri, 15 May 2020 07:27:25 -0700 (PDT) MIME-Version: 1.0 References: <20200515105537.4876-3-vadivel.muruganx.ramuthevar@linux.intel.com> <202005152142.AWvx4xc5%lkp@intel.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 15 May 2020 17:27:19 +0300 Message-ID: Subject: Re: [PATCH v7 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC To: kbuild test robot Cc: "Ramuthevar,Vadivel MuruganX" , Linux Kernel Mailing List , "open list:MEMORY TECHNOLOGY..." , devicetree , kbuild-all@lists.01.org, Miquel Raynal , Richard Weinberger , Vignesh R , Arnd Bergmann , Brendan Higgins , Thomas Gleixner , Boris Brezillon , Anders Roxell , masonccyang@mxic.com.tw 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 Fri, May 15, 2020 at 5:25 PM Andy Shevchenko wrote: > On Fri, May 15, 2020 at 4:48 PM kbuild test robot wrote: > > 440 reg = cpu_to_be32(*pdata++); > > > 441 writel(reg, ebu_host->hsnand + HSNAND_CMSG_0); > > 442 > > 443 reg = cpu_to_be32(*pdata); > > 444 writel(reg, ebu_host->hsnand + HSNAND_CMSG_1); > > On BE: > cpu_to_be32 -> no-op > writel() -> converts reg to LE > > On LE: > cpu_to_be32 -> converts to BE > writel() -> no-op (in terms of conversion) > > Seems to me that the proper API (if above is intended) should be swab32(). > But something tells me that above is broken (or my understanding is wrong). And perhaps it should use lo_hi_writeq() or something like that. -- With Best Regards, Andy Shevchenko