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,SIGNED_OFF_BY, 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 67F49C43461 for ; Thu, 10 Sep 2020 18:43:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2CCC621D91 for ; Thu, 10 Sep 2020 18:43:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599763400; bh=yy030r62gwfducdQmMvkAmEKfj6P7kj+0hTpI8I3lOY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Nx2FfY02f8bC6Kxf4fWsDohiAhXohwvMXGT61bBHQUl4sYyhyYpWshJDRy4U8w8k8 PWOjXi3y+CfTHRcPE/2pWgBvHWGQxD6KQO4owJKnTbiUSDLuXmr9kGV0pdHJE6Ueqc s+LYmLSzXjhwfEV+vCcbkBjQUf/0HdrI3CW8FoPw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726976AbgIJSnQ (ORCPT ); Thu, 10 Sep 2020 14:43:16 -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-Google-Smtp-Source: ABdhPJy+jchPNAOwGP+KNIMYqdpVqnrsL4xX8ntPRCH549LF5iQzWhwqkjz2WczcZQva+Hj27kd1qg== 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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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 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.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 E0824C43461 for ; Thu, 10 Sep 2020 18:20:33 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 309DE206DB for ; Thu, 10 Sep 2020 18:20:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 309DE206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BnRyQ6KLjzDqZC for ; Fri, 11 Sep 2020 04:20:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.166.196; helo=mail-il1-f196.google.com; envelope-from=robherring2@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BnRvc5ptQzDqFw for ; Fri, 11 Sep 2020 04:18:04 +1000 (AEST) Received: by mail-il1-f196.google.com with SMTP id b17so6621026ilh.4 for ; Thu, 10 Sep 2020 11:18:04 -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=fPLkGFiR9fdZqfETfGGE5Te6cWkJ2yfgReIyuhUIfIvGQU/Eoo3E6yXJZHcpF3J36I /YGtbqcbXjBTwME2Uwylnpx0i+1199OEzMOuwKCITya7AgRffcu7yxoEJZX5WwmzQ5Oi bbIsykTxEG+6Rm81+IKZTqN3u+Kf2+KscWsrVpA1JDrVE3IoK7v3FxHB+D02EfNqjxlV Cm8cfDqTXmwRynccjvbCVf5tX93yLTdwjkjaPMr5VfQUmTbeoxdHTySzHr2VEctc0z2o HoTcg720ZiGwJuT52zLKrvUYPiKYlvxIwOZqRfM3c7cL3TIJrrv48VW8u+x/aDytQV9B BYYg== X-Gm-Message-State: AOAM533aM4h0Osna2t3aywr6x5gLGL0QhkYd7yGTHps4kDjqkeYRcZ8m BghD1XHjkjHrs5IPpKSANA== X-Google-Smtp-Source: ABdhPJy+jchPNAOwGP+KNIMYqdpVqnrsL4xX8ntPRCH549LF5iQzWhwqkjz2WczcZQva+Hj27kd1qg== 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 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> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: roy.zang@nxp.com, lorenzo.pieralisi@arm.com, jingoohan1@gmail.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, kishon@ti.com, minghuan.Lian@nxp.com, devicetree@vger.kernel.org, robh+dt@kernel.org, mingkai.hu@nxp.com, linux-pci@vger.kernel.org, bhelgaas@google.com, andrew.murray@arm.com, gustavo.pimentel@synopsys.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 9C2C1C43461 for ; Thu, 10 Sep 2020 18:19:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26B03206A2 for ; Thu, 10 Sep 2020 18:19:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="N63ag51E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26B03206A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pOGZq8s9mOKYwim844cO3OG1k9eV3W6gMhRcgDWud4M=; b=N63ag51ENHvFmA69RfAq6Eq3v 036rhZP/VFBlCbV+GYl/zanlWmJDbur1tSr1JkN+wP2Bi82bcqB5hYl+10CLKi3Zm1+rvszOT56Uy vlPtw9k9PEVtW5YlwgG1PFdc6POy9CSCoDlYDvEx7QhafSuCBorAWK2ThEcrQuhj9xLP+/WiqU/N9 yWLYLqhbdhyCSsJ1c6h7PtI9miNJeSiIAhnzrQ/kRHtGq8W9dM2uPg4UCTasSsz2gk1eEVmBAYtON TS1BoAK2eefCGwKf4zkMRbdcvwhN+0cf9TDGUFKwanhbIZmVYC672AnMhsJjgj8OzoKwuidjKUQl0 5jErUv1kw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGR93-0000VT-Sw; Thu, 10 Sep 2020 18:18:05 +0000 Received: from mail-il1-f195.google.com ([209.85.166.195]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGR90-0000V0-TY for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 18:18:03 +0000 Received: by mail-il1-f195.google.com with SMTP id t18so5979007ilp.5 for ; 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=lf2Z4XlklYoDzOH4INiur6+8r34kibnnwff+vxrznoWfDj/PUMLaFFM5SUzpV9vJ0I PPKJmoU27IeH2aU8GjOa69uLRvDlWhMwAYYmJvHq2fyKMqCz6cnX0vDkzkvqb/085/xV PB19tcUwZCRhq5NxxCoqYHQT9ADRJ5zYKrkY/0IPXmw8pVsSM9Ta6pBQSQ71AYwKUnQH qCMDB/1RLlikg2PBNQ6Rr2vVFyE0hAIoxr5gbJyfT4PiRB0Ub92n3De/fHCpgVaSMen+ ltzeYch918zKxZJQ3j9QZyTdptG3IAaC4F8HEueG8RRxrx69wJisiEU8ntUa9SwxXxD7 +N7A== X-Gm-Message-State: AOAM531BhuYFIUgq4FW6yPIpY3HSZezGwAOy7EJE0eHsBlMsRDmvzkjz o0/HbUsqW73ra1gtCCa3Fw== X-Google-Smtp-Source: ABdhPJy+jchPNAOwGP+KNIMYqdpVqnrsL4xX8ntPRCH549LF5iQzWhwqkjz2WczcZQva+Hj27kd1qg== 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 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-Disposition: inline In-Reply-To: <20200811095441.7636-13-Zhiqiang.Hou@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_141802_966985_DCC96688 X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: roy.zang@nxp.com, lorenzo.pieralisi@arm.com, jingoohan1@gmail.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, kishon@ti.com, minghuan.Lian@nxp.com, devicetree@vger.kernel.org, robh+dt@kernel.org, mingkai.hu@nxp.com, linux-pci@vger.kernel.org, bhelgaas@google.com, andrew.murray@arm.com, gustavo.pimentel@synopsys.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel