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 ED444CA9ED9 for ; Tue, 5 Nov 2019 08:08:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4420217F5 for ; Tue, 5 Nov 2019 08:08:33 +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="kLli6wp3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388070AbfKEIId (ORCPT ); Tue, 5 Nov 2019 03:08:33 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.81]:24547 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387954AbfKEIIc (ORCPT ); Tue, 5 Nov 2019 03:08:32 -0500 X-Greylist: delayed 543 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Nov 2019 03:08:31 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1572941310; 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=kLli6wp3iSjnqU2oV1mDDA5A3QhOmdN786F+RAlfR2DkWcb7Pys67GlPwER4d/eBvP rcaVZE8cHUCKsKEdnv13pzh/BIQOJ1ZyiL1IxuAsTzifl4V1TRay9d9ytjwWL4Q/+uFP /qoADknJaGmetJ/ti67iXQxLTBNIrnVPx7UQH+WojDgDw07AMW/TtksaNTSp6AslZF52 GoPTdFfTW2TA5NHRVoBaAm0aKJDW1UzuKeE05d17j9pJ83L7+nlAeo+sfrmikNVYw2Ei o1Pfaeo3mOFv1OXvpYjihr9wkrgnpV3LIgPVmd5spBrGbBLaSEXCQO6kQ1nvna0Dzo1T TTGQ== 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-Transfer-Encoding: 8bit Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, We still have DMA problems with some PCI devices. Since the PowerPC updates 4.21-1 [1] we need to decrease the RAM to 3500MB (mem=3500M) if we want to work with our PCI devices. The FSL P5020 and P5040 have these problems currently. Error message: [   25.654852] bttv 1000:04:05.0: overflow 0x00000000fe077000+4096 of DMA mask ffffffff bus mask df000000 All 5.x Linux kernels can't initialize a SCSI PCI card anymore so booting of a Linux userland isn't possible. PLEASE check the DMA changes in the PowerPC updates 4.21-1 [1]. The kernel 4.20 works with all PCI devices without limitation of RAM. We created a bug report a month ago. [2] Thanks, Christian [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8d6973327ee84c2f40dd9efd8928d4a1186c96e2 [2] https://bugzilla.kernel.org/show_bug.cgi?id=205201