From mboxrd@z Thu Jan 1 00:00:00 1970 From: "hch-jcswGhMUV9g@public.gmane.org" Subject: Re: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation Date: Sat, 19 May 2018 08:38:57 +0200 Message-ID: <20180519063857.GA18076@lst.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7-Mmb7MZpHnFY@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Helge Deller Cc: "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org" , "linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-c6x-dev-jPsnJVOj+W6hPH1hqNUYSQ@public.gmane.org" , "linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-hexagon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alexey Brodkin , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , James Bottomley , "linux-m68k-cunTk1MwBs8S/qaLPR03pWD2FQJk+8+b@public.gmane.org" , "openrisc-cunTk1MwBs9a3B2Vnqf2dGD2FQJk+8+b@public.gmane.org" , "green.hu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "linux-alpha-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:34395 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbeESGeJ (ORCPT ); Sat, 19 May 2018 02:34:09 -0400 Date: Sat, 19 May 2018 08:38:57 +0200 From: "hch@lst.de" Subject: Re: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation Message-ID: <20180519063857.GA18076@lst.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Helge Deller Cc: Alexey Brodkin , "hch@lst.de" , "deanbo422@gmail.com" , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "nios2-dev@lists.rocketboards.org" , "linux-m68k@lists.linux-m68k.org" , "linux-alpha@vger.kernel.org" , "linux-hexagon@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" , "iommu@lists.linux-foundation.org" , "green.hu@gmail.com" , "openrisc@lists.librecores.org" , "linux-arm-kernel@lists.infradead.org" , "monstr@monstr.eu" , "linux-parisc@vger.kernel.org" , "linux-c6x-dev@linux-c6x.org" , "linux-arch@vger.kernel.org" , "sparclinux@vger.kernel.org" , James Bottomley Message-ID: <20180519063857.wyfr4tRuYKiE_J_p2XGrHaNCcm6XC30vPbZ3hINW8JI@z> On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "hch-jcswGhMUV9g@public.gmane.org" Subject: Re: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation Date: Sat, 19 May 2018 08:38:57 +0200 Message-ID: <20180519063857.GA18076@lst.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org" , "linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-c6x-dev-jPsnJVOj+W6hPH1hqNUYSQ@public.gmane.org" , "linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-hexagon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alexey Brodkin , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , James Bottomley , "linux-m68k-cunTk1MwBs8S/qaLPR03pWD2FQJk+8+b@public.gmane.org" , "openrisc-cunTk1MwBs9a3B2Vnqf2dGD2FQJk+8+b@public.gmane.org" , "green.hu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "linux-alpha-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" Return-path: In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7-Mmb7MZpHnFY@public.gmane.org> List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (hch@lst.de) Date: Sat, 19 May 2018 08:38:57 +0200 Subject: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> List-ID: Message-ID: <20180519063857.GA18076@lst.de> To: linux-snps-arc@lists.infradead.org On Fri, May 18, 2018@10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "hch@lst.de" Date: Sat, 19 May 2018 06:38:57 +0000 Subject: Re: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation Message-Id: <20180519063857.GA18076@lst.de> List-Id: References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7-Mmb7MZpHnFY@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Helge Deller Cc: "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org" , "linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-c6x-dev-jPsnJVOj+W6hPH1hqNUYSQ@public.gmane.org" , "linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-hexagon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alexey Brodkin , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , James Bottomley , "linux-m68k-cunTk1MwBs8S/qaLPR03pWD2FQJk+8+b@public.gmane.org" , "openrisc-cunTk1MwBs9a3B2Vnqf2dGD2FQJk+8+b@public.gmane.org" , "green.hu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "linux-alpha-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de Date: Sat, 19 May 2018 08:38:57 +0200 Subject: [OpenRISC] [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> Message-ID: <20180519063857.GA18076@lst.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (hch at lst.de) Date: Sat, 19 May 2018 08:38:57 +0200 Subject: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation In-Reply-To: <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> References: <20180511075945.16548-1-hch@lst.de> <20180511075945.16548-3-hch@lst.de> <0c5d27e9-2799-eb38-8b09-47a04c48b5c7@gmx.de> Message-ID: <20180519063857.GA18076@lst.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, May 18, 2018 at 10:05:51PM +0200, Helge Deller wrote: > This patch seems to fix the dma issues I faced on my 32bit B160L parisc box. > > So it leaves only one open issue on parisc: > Now every 32 bit parisc system is unnecessarily non-coherent. I diagree with those comments, let me resend the refactored patch to make it more clear.