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