Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2245304pxb; Sat, 2 Oct 2021 10:44:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1jOeph5tRMCLnVL6kE2hMOmGEmocTGkuNBTGsDl0zj+3f1iq9OVvypMfjexYwWGW9xTpL X-Received: by 2002:a50:e046:: with SMTP id g6mr5432003edl.296.1633196694588; Sat, 02 Oct 2021 10:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633196694; cv=none; d=google.com; s=arc-20160816; b=Eeh1XDkNGuWAtkpnxYVC7wG04m814BKCzDlyFSGH+qVE0O1hteT46vHtwROkOmobvX 4bFdBZkObHoLujmWXikMaYf5yNhIsPWDffq+IxSb/G4q2JeHzCY/3EA6JdEiQbTjUcPT D8AI/kxuckhdIIFl3ycbCtJyemKqdNqrAcZRqtpfYAnTQAFIUflHyeDK0Bz3uV+z4tmC brPYVUEI3hxoCKL8f6oglWN2LnY3u6kYxYqhlo2QVBrivcjkvbgtbn96YdK7REY0xt+v b17A69CIf/pexb+pWLaR0ucyB6HcFixasMpI2InYqfybsNZR0CPA93dJM6khiN3z2wyI RhBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pCMhrtix1SaJdraOyPsvWpY4qULx6HH4b0l2FJCif+s=; b=zO3zWMGxmfq365tN+Vk2G+KmNMr5ydLaz6Rd1fgDZ6te3a2vcBddAYleJMjeqU06Fk P4nhAc52axtk1ZtQmMaWTBrMNYbTfjnbG9YPEkq2QvO62+rNTepZTj9zevbH/jbe9zfJ FJYaqb5tFf2oHGRG9pa7sD1B9jBd9xXtnjiXM8qNGiI7ZSuMm3heAFVP0/X+Xl6dlw7t aGiGpphu9GXvh321xIUawsIo7oLX6UTobkv8oGtorMeGmrV3djF8P4+4qhQ+64x4Hesw 6/bORAPAAzhxEeAUEmL7ITmNJMYVgW9V2CJYp/iwQ2zzAsLRjmRf46MKDEz72X9CIIU2 M+VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CqeIUySN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si14426119edd.303.2021.10.02.10.44.18; Sat, 02 Oct 2021 10:44:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CqeIUySN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233671AbhJBRUX (ORCPT + 99 others); Sat, 2 Oct 2021 13:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233451AbhJBRUW (ORCPT ); Sat, 2 Oct 2021 13:20:22 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA7EC0613EC; Sat, 2 Oct 2021 10:18:36 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id s69so15770512oie.13; Sat, 02 Oct 2021 10:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pCMhrtix1SaJdraOyPsvWpY4qULx6HH4b0l2FJCif+s=; b=CqeIUySNilx89Gfas5OSnD5d/nqOtklsn4cge6Lnskw9WHu6z0tpXYqThb/5oqmjba TmuPVhxeQPz7CBFCm0iFVtyJVeVZVdp8D38lq0Y/m18U6hhjTULrhjJ6ixCYbS/EWN1N 6UAXVMIviH5fQqLhFOGk1SqumVaA3GiDKHzoFIfWKd5nMCNesFk4igVR9Rxi7w5tF4Xq lBDXij3d88iEY2KpTB6ZAFXksHWFOoo3fASPl/sBKVHBoJdEDYiH7goDt0vwaFK1O+Zi g0Bud3wx/cht2Ov79p+dJdBITocNtyfkHS0n5MiKlRRBwaW/IOspkHAKNX9Ecxfn/f6x zZ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pCMhrtix1SaJdraOyPsvWpY4qULx6HH4b0l2FJCif+s=; b=ymExOmdhAOTcUBxA0/8pHdGdedxGHHcuZI/Oqif6S+VMxylDnISacZvcsPhBEi7aky MVD0SZss3QNueqp3JAgIZBkjpv9Mlg21HHXp3RDi8She77KOskAPOUGDS99JQdGdZK33 +Df5fHJ+D28w4jP11aB0i1mOawhNN8y8GR1iyxvH0f4/zRi82dxvQ0W5ORgTLjS+nl6z VU16rHdbUP8wvXOVuWESUOFB97VvdGML0WOHPmye1M6DnigMUmgM0X4y7UcRAClntLD0 kOiTTlcrSVbwX23u5zXInFg28diHmw5aQe1YtmcM3lMgYP+n1FhxQ7ONFsQ3JKz0Nuyf SeQA== X-Gm-Message-State: AOAM531tCkEsnqpkmnQMQBIlAvTnNeoyyNODchOaKZuuLBAUNaOpYn59 rPg9V/NRluzT82908it8AkS9G2aGv6JQlY97oACiowRv X-Received: by 2002:aca:6009:: with SMTP id u9mr1497495oib.71.1633195116215; Sat, 02 Oct 2021 10:18:36 -0700 (PDT) MIME-Version: 1.0 References: <20211002124012.18186-1-ajaygargnsit@gmail.com> In-Reply-To: From: Ajay Garg Date: Sat, 2 Oct 2021 22:48:24 +0530 Message-ID: Subject: Re: [PATCH] iommu: intel: remove flooding of non-error logs, when new-DMA-PTE is the same as old-DMA-PTE. To: Lu Baolu Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, "Tian, Kevin" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Lu for the reply. > > Isn't the domain should be switched from a default domain to an > unmanaged domain when the device is assigned to the guest? > > Even you want to r-setup the same mappings, you need to un-map all > existing mappings, right? > Hmm, I guess that's a (design) decision the KVM/QEMU/VFIO communities need to take. May be the patch could suppress the flooding till then? Thanks and Regards, Ajay