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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 25CAFC3A5A1 for ; Mon, 26 Aug 2019 01:56:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9DC2320815 for ; Mon, 26 Aug 2019 01:56:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="qEUlffBn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728994AbfHZB4z (ORCPT ); Sun, 25 Aug 2019 21:56:55 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:22272 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbfHZB4z (ORCPT ); Sun, 25 Aug 2019 21:56:55 -0400 Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x7Q1uoqm018930 for ; Mon, 26 Aug 2019 10:56:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x7Q1uoqm018930 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566784611; bh=Xw+wxYvXUGE3fRV+Doiiivavq+mUL1vvPgjRzYtJ358=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qEUlffBnvbyTRi4uQhlTUH+vofgwb9EaW33590XA9MrcgGTzxogl/oHgBozFk3o+y dDlDvn619VpEhOGIcZgbOvezBV8e15WgO5j2bPZ28u3/T/xFnG5AOVo5mk810x4yEM hPG3ps/8mTkGsS7Ausrg+7oLoD7S3YiOiXO29Td/QYtpKKwu+Fhng5kKhl2oZkwM4/ iRmVXEldM/JCjJ6jK5WNJnJvlxl15g04T9dnVvHJx23jf8JpaPIChkW9rW3jLhmaqd J1gED6X+yT42OJUiAqwnDzEYTGFglAWCWfTMtLWmwVP/gFZuJtP31z/wrkRKZiYIg7 QgLFwkXGrp+gA== X-Nifty-SrcIP: [209.85.222.54] Received: by mail-ua1-f54.google.com with SMTP id y7so5179222uae.10 for ; Sun, 25 Aug 2019 18:56:51 -0700 (PDT) X-Gm-Message-State: APjAAAUE+TLfuN11oCZIqzhNwSbxxJUlv4nvSBqGD5pbsqvnlPQ3ICeg PpKWf01ZZQ7YlsYEM8AsUk9UeCY35knmhq9Bgn8= X-Google-Smtp-Source: APXvYqzdRMKAVamOOE+1e4sp/Bzd54Y2ifvgVrHPozgaBDgPJcD9G9g8zSB4pXJdG2r6CZRzYRRos2G+z4U8cxBoK20= X-Received: by 2002:ab0:4261:: with SMTP id i88mr7473666uai.95.1566784610044; Sun, 25 Aug 2019 18:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20190506223334.1834-1-nicoleotsuka@gmail.com> <20190506223334.1834-3-nicoleotsuka@gmail.com> <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> In-Reply-To: <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> From: Masahiro Yamada Date: Mon, 26 Aug 2019 10:56:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages To: Nicolin Chen Cc: Christoph Hellwig , Robin Murphy , Marek Szyprowski , vdumpa@nvidia.com, Russell King , Catalin Marinas , Will Deacon , Chris Zankel , Max Filippov , Joerg Roedel , David Woodhouse , Tony Lindgren , Andrew Morton , Stephen Rothwell , Thierry Reding , Kees Cook , iamjoonsoo.kim@lge.com, Wolfram Sang , linux-arm-kernel , Linux Kernel Mailing List , linux-xtensa@linux-xtensa.org, iommu@lists.linux-foundation.org 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 Hi Nicolin, On Sat, Aug 24, 2019 at 7:10 AM Nicolin Chen wrote: > > On Fri, Aug 23, 2019 at 09:49:46PM +0900, Masahiro Yamada wrote: > > > > Reverting this commit fixed the problem. > > We are having another problem with the new API and Christoph > submitted a patch at: https://lkml.org/lkml/2019/8/20/86 > > Would it be possible for you to test to see if it can fix? It is included in 5.3-rc6 I tested 5.3-rc6 in on my board, but I still see the same DMA fauilure. Masahiro > We can revert my fallback change after all, if Christoph's > patch doesn't work for you either. > > Thanks > Nicolin -- Best Regards Masahiro Yamada 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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 42441C3A5A1 for ; Mon, 26 Aug 2019 01:57:08 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (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 03A0F20815 for ; Mon, 26 Aug 2019 01:57:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="qEUlffBn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03A0F20815 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id B077917CB; Mon, 26 Aug 2019 01:57:07 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id C9E8717CA for ; Mon, 26 Aug 2019 01:57:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from conssluserg-06.nifty.com (conssluserg-06.nifty.com [210.131.2.91]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 523AF710 for ; Mon, 26 Aug 2019 01:57:06 +0000 (UTC) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x7Q1uoDi028780 for ; Mon, 26 Aug 2019 10:56:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x7Q1uoDi028780 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566784611; bh=Xw+wxYvXUGE3fRV+Doiiivavq+mUL1vvPgjRzYtJ358=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qEUlffBnvbyTRi4uQhlTUH+vofgwb9EaW33590XA9MrcgGTzxogl/oHgBozFk3o+y dDlDvn619VpEhOGIcZgbOvezBV8e15WgO5j2bPZ28u3/T/xFnG5AOVo5mk810x4yEM hPG3ps/8mTkGsS7Ausrg+7oLoD7S3YiOiXO29Td/QYtpKKwu+Fhng5kKhl2oZkwM4/ iRmVXEldM/JCjJ6jK5WNJnJvlxl15g04T9dnVvHJx23jf8JpaPIChkW9rW3jLhmaqd J1gED6X+yT42OJUiAqwnDzEYTGFglAWCWfTMtLWmwVP/gFZuJtP31z/wrkRKZiYIg7 QgLFwkXGrp+gA== X-Nifty-SrcIP: [209.85.222.42] Received: by mail-ua1-f42.google.com with SMTP id b2so3804094uak.3 for ; Sun, 25 Aug 2019 18:56:51 -0700 (PDT) X-Gm-Message-State: APjAAAWiBvDrHRPprh0u8HNzjD+06bQcEJ27ElX+GlQUOJYUulh5wkmy mJPUyEPBWgqzthUGgKiPtYnyh1Ha9UlK2/XV+Eg= X-Google-Smtp-Source: APXvYqzdRMKAVamOOE+1e4sp/Bzd54Y2ifvgVrHPozgaBDgPJcD9G9g8zSB4pXJdG2r6CZRzYRRos2G+z4U8cxBoK20= X-Received: by 2002:ab0:4261:: with SMTP id i88mr7473666uai.95.1566784610044; Sun, 25 Aug 2019 18:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20190506223334.1834-1-nicoleotsuka@gmail.com> <20190506223334.1834-3-nicoleotsuka@gmail.com> <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> In-Reply-To: <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> From: Masahiro Yamada Date: Mon, 26 Aug 2019 10:56:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages To: Nicolin Chen Cc: Tony Lindgren , Catalin Marinas , Will Deacon , Max Filippov , Christoph Hellwig , Stephen Rothwell , Russell King , Thierry Reding , linux-xtensa@linux-xtensa.org, Kees Cook , Andrew Morton , linux-arm-kernel , Chris Zankel , Wolfram Sang , Robin Murphy , Linux Kernel Mailing List , iommu@lists.linux-foundation.org, iamjoonsoo.kim@lge.com, David Woodhouse X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org Hi Nicolin, On Sat, Aug 24, 2019 at 7:10 AM Nicolin Chen wrote: > > On Fri, Aug 23, 2019 at 09:49:46PM +0900, Masahiro Yamada wrote: > > > > Reverting this commit fixed the problem. > > We are having another problem with the new API and Christoph > submitted a patch at: https://lkml.org/lkml/2019/8/20/86 > > Would it be possible for you to test to see if it can fix? It is included in 5.3-rc6 I tested 5.3-rc6 in on my board, but I still see the same DMA fauilure. Masahiro > We can revert my fallback change after all, if Christoph's > patch doesn't work for you either. > > Thanks > Nicolin -- Best Regards Masahiro Yamada _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 272EEC3A5A1 for ; Mon, 26 Aug 2019 01:57:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E935B20815 for ; Mon, 26 Aug 2019 01:57:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b0Bew+MP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="qEUlffBn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E935B20815 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8P4BOkwu9SH7tNqILXGSjbsrECIwEEidx+GoHZewS74=; b=b0Bew+MPelJbUm pLlVJUL45pOvmbS05zESlP6pmNce29rPTVZWhExlejZ/vuBb5PdXuvaJofXkGsEgQ5jkocd6fiTVV NC6vdEX2MdCpOOdyybI/Jz9NAq586ARCZP/mrNbZc3zYsn2HwN1aLDP5XpklHvTkHM67XKqQqOf5G YBfsnucu1JJUZTxHqxf2eA8EOUxmMoStydZju0yKi9wdRMGOPTqKtLQoO13LpxbpKvLndmgxi55// FapZKZrX2zghVoX/T5D5BfXjXUzosyR71w+5yRy4dX7XjcHZy4PEwNrzXqdYdbJbwnx14h9x5mVHM 15wvoMl5YfbB/nkn0JMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i24G2-0000Qm-Nq; Mon, 26 Aug 2019 01:57:22 +0000 Received: from conssluserg-06.nifty.com ([210.131.2.91]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i24Fy-0000PT-CJ for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2019 01:57:20 +0000 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x7Q1uofa028779 for ; Mon, 26 Aug 2019 10:56:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x7Q1uofa028779 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566784611; bh=Xw+wxYvXUGE3fRV+Doiiivavq+mUL1vvPgjRzYtJ358=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qEUlffBnvbyTRi4uQhlTUH+vofgwb9EaW33590XA9MrcgGTzxogl/oHgBozFk3o+y dDlDvn619VpEhOGIcZgbOvezBV8e15WgO5j2bPZ28u3/T/xFnG5AOVo5mk810x4yEM hPG3ps/8mTkGsS7Ausrg+7oLoD7S3YiOiXO29Td/QYtpKKwu+Fhng5kKhl2oZkwM4/ iRmVXEldM/JCjJ6jK5WNJnJvlxl15g04T9dnVvHJx23jf8JpaPIChkW9rW3jLhmaqd J1gED6X+yT42OJUiAqwnDzEYTGFglAWCWfTMtLWmwVP/gFZuJtP31z/wrkRKZiYIg7 QgLFwkXGrp+gA== X-Nifty-SrcIP: [209.85.222.47] Received: by mail-ua1-f47.google.com with SMTP id m23so5178516uaq.11 for ; Sun, 25 Aug 2019 18:56:51 -0700 (PDT) X-Gm-Message-State: APjAAAXF4Vn8JN71S/jn30ErqJvOkroc7LXoApsoRVVUPdOvidw5je4y m4C/Xwdd24DJ97EORgeJRqxp+ieD3aWCkpvqhEU= X-Google-Smtp-Source: APXvYqzdRMKAVamOOE+1e4sp/Bzd54Y2ifvgVrHPozgaBDgPJcD9G9g8zSB4pXJdG2r6CZRzYRRos2G+z4U8cxBoK20= X-Received: by 2002:ab0:4261:: with SMTP id i88mr7473666uai.95.1566784610044; Sun, 25 Aug 2019 18:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20190506223334.1834-1-nicoleotsuka@gmail.com> <20190506223334.1834-3-nicoleotsuka@gmail.com> <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> In-Reply-To: <20190823221103.GA3604@Asurada-Nvidia.nvidia.com> From: Masahiro Yamada Date: Mon, 26 Aug 2019 10:56:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages To: Nicolin Chen X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190825_185718_629784_ED0164F3 X-CRM114-Status: GOOD ( 15.01 ) 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: Tony Lindgren , Catalin Marinas , Will Deacon , Max Filippov , Christoph Hellwig , Marek Szyprowski , Stephen Rothwell , Joerg Roedel , Russell King , Thierry Reding , linux-xtensa@linux-xtensa.org, Kees Cook , Andrew Morton , linux-arm-kernel , Chris Zankel , Wolfram Sang , Robin Murphy , Linux Kernel Mailing List , iommu@lists.linux-foundation.org, iamjoonsoo.kim@lge.com, David Woodhouse Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Nicolin, On Sat, Aug 24, 2019 at 7:10 AM Nicolin Chen wrote: > > On Fri, Aug 23, 2019 at 09:49:46PM +0900, Masahiro Yamada wrote: > > > > Reverting this commit fixed the problem. > > We are having another problem with the new API and Christoph > submitted a patch at: https://lkml.org/lkml/2019/8/20/86 > > Would it be possible for you to test to see if it can fix? It is included in 5.3-rc6 I tested 5.3-rc6 in on my board, but I still see the same DMA fauilure. Masahiro > We can revert my fallback change after all, if Christoph's > patch doesn't work for you either. > > Thanks > Nicolin -- Best Regards Masahiro Yamada _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel