Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5746938iog; Thu, 23 Jun 2022 04:41:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uBzrtDNrwRV9W0Vp+FFAwS5wN8ylk1NVMXzREWyQ/Hgqz/pFbIMjpy2PwbHRoR+n6Nzo+6 X-Received: by 2002:a05:6402:31f6:b0:435:5a08:d5e0 with SMTP id dy22-20020a05640231f600b004355a08d5e0mr10121656edb.308.1655984468801; Thu, 23 Jun 2022 04:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655984468; cv=none; d=google.com; s=arc-20160816; b=rpOeXFq+VvR+LdRIs4B8OE+7hSWHZEsiA7puyTcpWDiWebAMFWkB/vf7jowm/92Alf +ppy5+FLEiPh1RoBpa/yjuBClsL/tX7PxQw2kBwaWQjDWCFHiYQ/PodUvRSuQTyWC2g/ uwULaOH0DMIsZRtZDgqMEgaPpwWtvwGkldc7UyCj3wiU0TwZfIjjMJIEeF+fprU9B3/Y RztYcs+xsYEggC2nUjPUHIQo81/arqpugfJynWXmh9xRRJtwyhKGQy6b49I4LkGwr9xz b6SwHhokJdEiwd3nnSpfuGVFu97aY+w396xcm9YLiDfeAMmjRIFcTlOqINDF4nOKQ5bi IAOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/TMgAhx33aRrRLxXISVWmSQhdbxLRm7+NOqH/XHhjOA=; b=kuvAqHtRS8eUI3pnA8HmeyhtMK4nip1n2A/2thkFbXx0e4aHEYyBiPvoDidxbwzDKk B9W1WGDZe7AtseINWKiP6+Zo/1D6TOKtbCG9/YyUP2OB2hllZfLsZw8bE3EMPCzFdrlD H6wHiSRaBlicggeBgh7Ij0d/FiMgssj43D8f+7rLQB+nQ+mPk0zKD/KD3xZM0mfWcwcf toTUSA8IYmnJOdnBTXFyS0fORWXOybiWd4JcvdlwP1wIfoG0jblrT/KLeviwYkY1W/lD nd+lCio1WGkrbjjglcHGnykmhESP7y8Akj7F6d/QnfLUFO91QZh0B8V+xBqL/hfwv05E JXog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq10-20020a1709073f0a00b006fea2a02361si8676043ejc.371.2022.06.23.04.40.42; Thu, 23 Jun 2022 04:41:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231439AbiFWLdX (ORCPT + 99 others); Thu, 23 Jun 2022 07:33:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231419AbiFWLdX (ORCPT ); Thu, 23 Jun 2022 07:33:23 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD14713F26 for ; Thu, 23 Jun 2022 04:33:21 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id F0CE44D2; Thu, 23 Jun 2022 13:33:19 +0200 (CEST) Date: Thu, 23 Jun 2022 13:33:18 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, hch@lst.de, john.garry@huawei.com Subject: Re: [PATCH v2] iommu/dma: Add config for PCI SAC address trick Message-ID: References: <3f06994f9f370f9d35b2630ab75171ecd2065621.1654782107.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 22, 2022 at 02:12:39PM +0100, Robin Murphy wrote: > Thanks for your bravery! It already starts, with that patch I am getting: xhci_hcd 0000:02:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000f address=0xff00ffffffefe000 flags=0x0000] In my kernel log. The device is an AMD XHCI controller and seems to funciton normally after boot. The message disappears with iommu.forcedac=0. Need to look more into that...