Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F60DC433FE for ; Wed, 17 Nov 2021 14:15:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5977461B54 for ; Wed, 17 Nov 2021 14:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238270AbhKQOSR (ORCPT ); Wed, 17 Nov 2021 09:18:17 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21047 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238286AbhKQOSK (ORCPT ); Wed, 17 Nov 2021 09:18:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637158510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NDuAh9ydG33nQ/5kdKqaUb4pA1g/jsmhAD4nowtB8q0=; b=dNdy4Mz31I46s5l+sggVpmAsEQyAOnEll6D9rk2qkC4Ov4ptBmSNK3NsomPSmpwGvnA3+m AtWWOl4tSl4cMcdhslXatFCsaYeO0hazQ82kucZ+90aeKBwELErXsnESMfVAMmTTwVKfE/ Y6Fc7/dTrtAQeIqydZAdg+I1/083vVA= Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-RUDmlkHKPSi-w0yn1YJWjw-1; Wed, 17 Nov 2021 09:15:09 -0500 X-MC-Unique: RUDmlkHKPSi-w0yn1YJWjw-1 Received: by mail-oo1-f72.google.com with SMTP id n19-20020a4a0c53000000b002c2729494aaso1761713ooe.22 for ; Wed, 17 Nov 2021 06:15:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=NDuAh9ydG33nQ/5kdKqaUb4pA1g/jsmhAD4nowtB8q0=; b=tgNvhBJ6tCb5SL7KHkLCfMBxQPz21ZZ7dS88NuYfK2qD8XfoJK84SGcJ+lO9aazVm8 cs0ybU3Dl3WJ1Ifj3+YULZ/KFp1aKmVu8JzPY/RnlhyUrTBpG/69Swlq5coaT3mY+EBp l4Y+96UhGFWBV8SG58HoVofABk7joqijLUsWQYesiMqVfSM7+eo+2A8fiXReewRxG5rB HcKqolUrLWDhWeZbByWGqzOh3vV5/XbBBsz/DeKml8+HGx/Hxa4BO4f+pkQe2vR5IkGa zFdrRc+R/kDVTMxhWiqlFCYK+OLDGIJxU7Z3vNPw6p71ioZEmcACoP3dnTf91CsFTZPH baWg== X-Gm-Message-State: AOAM533mGhMVbaRxIfJJegb4ok35WycVR1F5I3eJ2+XUm/vFrvfcQi5B L3/ruimljdZirFfs8Kl/AWkVdBOUxESv/sD3AQMn06fwUxSez2e8155pEhFKAkzmOv7sjGDbB7G 86vo44ecEeO7q X-Received: by 2002:a05:6808:178d:: with SMTP id bg13mr14567847oib.171.1637158508616; Wed, 17 Nov 2021 06:15:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIUkaPo+5JL68yqcgqUWzhvxOFFi1URuQME7OdHfDKEYHYLEe4Wuvsx7qhQJwyhWqct3Uphg== X-Received: by 2002:a05:6808:178d:: with SMTP id bg13mr14567818oib.171.1637158508414; Wed, 17 Nov 2021 06:15:08 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id s17sm2319497ooj.42.2021.11.17.06.15.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 06:15:08 -0800 (PST) Date: Wed, 17 Nov 2021 07:15:07 -0700 From: Alex Williamson To: Christoph Hellwig Cc: Yifeng Li , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v2] PCI: Add func1 DMA quirk for Marvell 88SE9125 SATA controller Message-ID: <20211117071507.775e12b8.alex.williamson@redhat.com> In-Reply-To: References: Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, 17 Nov 2021 02:12:04 -0800 Christoph Hellwig wrote: > On Tue, Nov 16, 2021 at 02:32:26PM +0000, Yifeng Li wrote: > > Like other SATA controller chips in the Marvell 88SE91xx series, the > > Marvell 88SE9125 has the same DMA requester ID hardware bug that prevents > > it from working under IOMMU. This patch adds its device ID 0x9125 to the > > Function 1 DMA alias quirk list. > > Btw, do we need to prevent vfio assignment for all devices with this > quirk? No, the alias is taken into account with grouping and IOMMU programming, it should work with vfio. Thanks, Alex