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=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 2D835CA9ED9 for ; Tue, 5 Nov 2019 07:56:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 60DDA20717 for ; Tue, 5 Nov 2019 07:56:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="IkDvSQs/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60DDA20717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E58186B0003; Tue, 5 Nov 2019 02:56:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E0A696B0006; Tue, 5 Nov 2019 02:56:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF75F6B0007; Tue, 5 Nov 2019 02:56:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0179.hostedemail.com [216.40.44.179]) by kanga.kvack.org (Postfix) with ESMTP id B71FC6B0003 for ; Tue, 5 Nov 2019 02:56:33 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 4A7D84DA6 for ; Tue, 5 Nov 2019 07:56:33 +0000 (UTC) X-FDA: 76121466666.19.flag26_562f668625059 X-HE-Tag: flag26_562f668625059 X-Filterd-Recvd-Size: 3582 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Tue, 5 Nov 2019 07:56:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1572940591; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:References:To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=lkzbMGkHWur9AlJl2ovp2V95ZZOPOfTo0f2kTkXCsE0=; b=IkDvSQs/az3DFv9gUi3fpjQeEArA7LQDwXm0NBWZ9MJRYpQqtvYRzRM1Dux1HxfKWC DgcU8Jw72tg+0KB87VYheeVFGSiz/AqTGd6PDWYstsUZQC4U4FLdbmKBThz/NyK1PIQ4 0E7FIg8QGOgfHjM8wwMwvPjMafQH3RsI5kkLymXbZ/rZCSzXeEpCQD6UYvByfetmngd6 AV1bhp4MrwuWa4WbUXdVWw1mzk8+RORaefFkvQD1Mnn3NY1ecqBCegUU4jeIuNTaDCVm 09Kz8P/r4dGPDtamVyiVMy53fdpWREZz63W3PrinCJ+w2LrZof37mV88lZ9njTr0eRyI rZoA== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPhXL9XuxvA4F2rcIKuJAVhUjF3LQQ==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:89c0:ebfc:49a6:a8ac:11b0:71e8] by smtp.strato.de (RZmta 44.29.0 AUTH) with ESMTPSA id q007c8vA57uRiD4 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 5 Nov 2019 08:56:27 +0100 (CET) Subject: Bug 205201 - overflow of DMA mask and bus mask From: Christian Zigotzky To: Christoph Hellwig , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Olof Johansson References: <2242B4B2-6311-492E-BFF9-6740E36EC6D4@xenosoft.de> <84558d7f-5a7f-5219-0c3a-045e6b4c494f@xenosoft.de> <20181213091021.GA2106@lst.de> <835bd119-081e-a5ea-1899-189d439c83d6@xenosoft.de> <76bc684a-b4d2-1d26-f18d-f5c9ba65978c@xenosoft.de> <20181213112511.GA4574@lst.de> <008c981e-bdd2-21a7-f5f7-c57e4850ae9a@xenosoft.de> <20190103073622.GA24323@lst.de> <71A251A5-FA06-4019-B324-7AED32F7B714@xenosoft.de> <1b0c5c21-2761-d3a3-651b-3687bb6ae694@xenosoft.de> <3504ee70-02de-049e-6402-2d530bf55a84@xenosoft.de> Message-ID: <46025f1b-db20-ac23-7dcd-10bc43bbb6ee@xenosoft.de> Date: Tue, 5 Nov 2019 08:56:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <3504ee70-02de-049e-6402-2d530bf55a84@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi All, We still have DMA problems with some PCI devices. Since the PowerPC=20 updates 4.21-1 [1] we need to decrease the RAM to 3500MB (mem=3D3500M) if= =20 we want to work with our PCI devices. The FSL P5020 and P5040 have these=20 problems currently. Error message: [=C2=A0=C2=A0 25.654852] bttv 1000:04:05.0: overflow 0x00000000fe077000+4= 096 of=20 DMA mask ffffffff bus mask df000000 All 5.x Linux kernels can't initialize a SCSI PCI card anymore so=20 booting of a Linux userland isn't possible. PLEASE check the DMA changes in the PowerPC updates 4.21-1 [1]. The=20 kernel 4.20 works with all PCI devices without limitation of RAM. We created a bug report a month ago. [2] Thanks, Christian [1]=20 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit= /?id=3D8d6973327ee84c2f40dd9efd8928d4a1186c96e2 [2] https://bugzilla.kernel.org/show_bug.cgi?id=3D205201