Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1294247pxk; Thu, 10 Sep 2020 11:44:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyslJjfg/VnxaWonXFxW5nUD2c5n28vlUHfaIg2MC6Eo7A15hQaHL3c9vbUp0kee2Uj6IXe X-Received: by 2002:aa7:c444:: with SMTP id n4mr10924757edr.200.1599763468177; Thu, 10 Sep 2020 11:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599763468; cv=none; d=google.com; s=arc-20160816; b=quZlhwW+7VJfO7KHpnUA1sXCzPwDfMqR/PLnNW89kbsd/uQvdu8roxtTXzNFtfeqW9 ecCrvB5BVU+1H/t80pPNk44D5vUdvHf11ygNhTIguY6H3xCxTsJSiRB3NMDAxK/g8BSf fC0GZGrKEtCeHHJInwyLOr21SmyuKMQ6BerQu0FHepVmYuX1chSHL1MHua3y/TQkPoD8 HTdwHdpLwTnkP1ZMfIX3ROCScvZRZsj1S2BhD7BVsbb7NdBmRb9BuCaspNa3Tj2LkR9V LM1yHXgGPH0yP8IZ4RBp2+CEStbQvD7FudfJKWqqapTxtfQjIbwb6zkMAADiBgNLBAiT mxrg== 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:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Km+ilfssoEe+/1p9cVPzW4JFS2R1ND0MVv0bL/RJ3KA=; b=dNVKL0l5uebF4rgJPAINtomEIpTbAMGQqosGHbP3NC5iqi1icYbsEJOVlnUQ/rz+T8 XsxNNs7QLcNkEACW53sfQWDZHhjUWeXjbNGA3NsHAm9dxIChFRFhjOxGZ+DtWtMB621l pfETF0Xw/rbNPxdeniJt4VXgRtwJkFJAVJUuOcyGvamrJHGzccDTlXmtxyTsX3zX/TVI PQcNxyQ7HiioO5YNcSxXAXo0Kmx/PjS0WSZJkCJro3FUe1uVj/MzY3kB+qMyeYGZ6UzV pcKFLi/IrFeZc0ybcu9jmV02/sJUP+bUBk24RfeHOxHRHYM0rQdN9LVBaykqkOjLssck r/rA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si4085250ejg.609.2020.09.10.11.44.03; Thu, 10 Sep 2020 11:44:28 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbgIJSnX (ORCPT + 99 others); Thu, 10 Sep 2020 14:43:23 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:44285 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgIJSSD (ORCPT ); Thu, 10 Sep 2020 14:18:03 -0400 Received: by mail-il1-f196.google.com with SMTP id h11so6563235ilj.11; Thu, 10 Sep 2020 11:18:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Km+ilfssoEe+/1p9cVPzW4JFS2R1ND0MVv0bL/RJ3KA=; b=Don4oH6oAOp/tlgJeGwCZCUutAuJsFfgbSasUuh9WPrbrCCB82IrespXJVuevda8F9 DuaZcM5dQEZWvNFifMHL/NK3QGQUxr67bjCejHvUz85ouPpeUb4TndyZL3pU0zZtcIbN FpvPszLWPHgQCoZGWm131wEUpf+TNgPtF3+kPfcD1cPJ8l6cg/2bnOPC/mBWmP4I4MB2 zdq68V24U6Yk7VEHwTutp9ljmS9dAhHGvagYmsrG4y7g3mIA5B8/t1iCnSO/rKX4KMSv HE3t/uZoixcSEpVzhETfPFrkparvXUKRvEhtRkJuX5DdgjpGWc1fVSeLIDlBOiLjOYUs N1MA== X-Gm-Message-State: AOAM531tgbCFurahPzoI7wlHrjE416ifkW4UJf8X7WZBzQe3f7DFEri2 J1PQZhZuV0TI6zZj/mNZ3w== X-Received: by 2002:a92:9186:: with SMTP id e6mr8300661ill.278.1599761882138; Thu, 10 Sep 2020 11:18:02 -0700 (PDT) Received: from xps15 ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id y10sm3147009ioy.25.2020.09.10.11.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 11:18:01 -0700 (PDT) Received: (nullmailer pid 622379 invoked by uid 1000); Thu, 10 Sep 2020 18:17:56 -0000 Date: Thu, 10 Sep 2020 12:17:56 -0600 From: Rob Herring To: Zhiqiang Hou Cc: bhelgaas@google.com, shawnguo@kernel.org, minghuan.Lian@nxp.com, leoyang.li@nxp.com, linuxppc-dev@lists.ozlabs.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, roy.zang@nxp.com, andrew.murray@arm.com, linux-pci@vger.kernel.org, lorenzo.pieralisi@arm.com, gustavo.pimentel@synopsys.com, mingkai.hu@nxp.com, linux-kernel@vger.kernel.org, jingoohan1@gmail.com, kishon@ti.com, devicetree@vger.kernel.org Subject: Re: [PATCHv7 12/12] misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers Message-ID: <20200910181756.GA622331@bogus> References: <20200811095441.7636-1-Zhiqiang.Hou@nxp.com> <20200811095441.7636-13-Zhiqiang.Hou@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200811095441.7636-13-Zhiqiang.Hou@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Aug 2020 17:54:41 +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The commit 0a121f9bc3f5 ("misc: pci_endpoint_test: Use streaming DMA > APIs for buffer allocation") changed to use streaming DMA APIs, however, > dma_map_single() might not return a 4KB aligned address, so add the > default_data as driver data for Layerscape PCIe controllers to make it > 4KB aligned. > > Signed-off-by: Hou Zhiqiang > --- > V7: > - New patch. > > drivers/misc/pci_endpoint_test.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Acked-by: Rob Herring