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=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED 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 8BA81C04E53 for ; Wed, 15 May 2019 10:48:51 +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 686C42084F for ; Wed, 15 May 2019 10:48:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 686C42084F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.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 AE8F42386; Wed, 15 May 2019 10:48:46 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 755542365 for ; Wed, 15 May 2019 09:59:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 869F18D for ; Wed, 15 May 2019 09:59:17 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AC54CAEBB; Wed, 15 May 2019 09:59:15 +0000 (UTC) Message-ID: <1557913582.2950.15.camel@suse.com> Subject: Re: Linux crash when using FTDI FT232R USB to serial converter on AMD boards. From: Oliver Neukum To: "StarostaCZ@gmail.com" , Joerg Roedel , Johan Hovold Date: Wed, 15 May 2019 11:46:22 +0200 In-Reply-To: <3e7ec2f2-ac47-a031-96ba-fa2b9f21ed2e@gmail.com> References: <04503197-a0a9-8b35-6c65-c10f296aab57@gmail.com> <20190429094847.GI26546@localhost> <20190503153716.GE11605@8bytes.org> <8748125e-f360-ff0e-ea15-699bce9e7747@gmail.com> <4e7f0267-eba8-81c3-4036-25924ea9df98@gmail.com> <1557911856.2950.10.camel@suse.com> <3e7ec2f2-ac47-a031-96ba-fa2b9f21ed2e@gmail.com> X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 X-Mailman-Approved-At: Wed, 15 May 2019 10:48:45 +0000 Cc: iommu@lists.linux-foundation.org, linux-usb@vger.kernel.org, Mathias Nyman 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: multipart/mixed; boundary="===============5435310735716584467==" Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org --===============5435310735716584467== Content-Type: multipart/alternative; boundary="=-+bxOBBkH1s/kUXUvw/wS" --=-+bxOBBkH1s/kUXUvw/wS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mi, 2019-05-15 at 11:43 +0200, StarostaCZ@gmail.com wrote: > As I wrote, I made new test on kernel Linux version > 5.1.0-050100-generic amd64: > > https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/ > > Same problem, system crash after a few seconds. Full kern.log: https://paste.ee/p/EmLsw Most helpful. First, try to replicate this with the iommu disabled. Secondly, make a proper bugreport mentioning the affected kernel version (5.1) Thirdly, if possible replicate this with the vanilla kernel from kernel.org > > > Unfortunately, I can't judge if the patch is there, but > I found, that this patch was added to kernel 5.0.2: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/iommu/amd_iommu.c?id=4e50ce03976fbc8ae995a000c4b10c737467beaa > > Can I somehow > verify that the patch is in this ubuntu kernel 5.1.0? You would need to look into the kernel source, but this is not necessary. Joerg's guess was incorrect. Regards Oliver --=-+bxOBBkH1s/kUXUvw/wS Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
On Mi, 2019-05-15 at 11:43 +0200, StarostaCZ@gmail.com wrote:
As I wrote, I made new test on kernel Linux version 5.1.0-050100-generic amd64:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/
Same problem, system crash after a few seconds. Full kern.log: https://paste.ee/p/EmLsw


Most helpful. First, try to replicate this with the iommu disabled.
Secondly, make a proper bugreport mentioning the affected kernel version (5.1)
Thirdly, if possible replicate this with the vanilla kernel from kernel.org


Unfortunately, I can't judge if the patch is there, but I found, that this patch was added to kernel 5.0.2:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/iommu/amd_iommu.c?id=4e50ce03976fbc8ae995a000c4b10c737467beaa
Can I somehow verify that the patch is in this ubuntu kernel 5.1.0?

You would need to look into the kernel source, but this is not necessary.
Joerg's guess was incorrect.

Regards
Oliver

--=-+bxOBBkH1s/kUXUvw/wS-- --===============5435310735716584467== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu --===============5435310735716584467==--