Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp368074rdb; Mon, 18 Sep 2023 19:06:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHCIUVzajjxNhg8oMM0RDEK+Zt3feqFrQnhVBhp5nSIW/XuB+VrWuGcRNAOoiFC1GoT+bh0 X-Received: by 2002:a17:90a:c4f:b0:267:70a8:abff with SMTP id u15-20020a17090a0c4f00b0026770a8abffmr9116371pje.29.1695089185918; Mon, 18 Sep 2023 19:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695089185; cv=none; d=google.com; s=arc-20160816; b=DmruiZy03OZ0Rh4e3uQZQXsg+hhm6DquiYbaONEZYhoYLz3m34/TpTTpNgvEinPPJe NUr+NAcJ6FlQW4k1EjVbKgOwukw/DQhpyckI7C9ybMefvpnPPeNC/zfBqvLd0C/DSK9i EEf9a4eOnlqTQLDM6GHoK4WpUQHkN6U1upjxIT76N5bPL2cj6JsjpVrYqYPW4sNpvdJe bKwkjvxQ7Xxf048ku/8aYSKpJRE2Hqu+q03rbp989veF0EFDzpC7trIa1avy1mgZT6I4 XXFAaA8mekBbi+chuyz2uLBeyh+LFMiLFjubFLPF08xWuXwavyJhe6lgy1bmuNrpBlSM h4OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=mGW7UJ921F2lqbPln9a/p0i49suUeiMYTKN+LrbaPgc=; fh=sv9TbEkfvjSw6GeHZfiJBrLlmVUXPWGhP8Y1ju690VY=; b=MivQhkb7JVgpHL1gufRrin2XlfcqpJq85c/uflAudzM+TSkuo6BfVR5Y/2rbPbVRX2 jGwYjPZ1Jfju4PEArqHJRY25XSFrPu1U6cZNBjpm6PUS++6oHi4zm3qIT7ok/GXZrvBQ bY0UACkQbg1vtHkca8Zc+Ko+xNgB2zYkTlIZkD/bUipENH+ZhE57TZAD1klTsVzkKKaD R1dm5zOxO00TmGc8QHp/MVXBNDWXcIBYqAYSNvvv+puygSFpCHmILBYpea1YTQADL0Ij SNc7qV2CDjFV/cNtmawwdsBSVulD8TeJR6L9IPGa/itznXjRbrGuXCE4phBrgL1jBDuI caUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F3+iWSX4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b22-20020a631b16000000b0056c4d97e157si453250pgb.377.2023.09.18.19.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 19:06:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F3+iWSX4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4B3498228837; Mon, 18 Sep 2023 17:59:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230249AbjISA5o (ORCPT + 99 others); Mon, 18 Sep 2023 20:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjISA5n (ORCPT ); Mon, 18 Sep 2023 20:57:43 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 226DE10B; Mon, 18 Sep 2023 17:57:38 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695085056; 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: in-reply-to:in-reply-to:references:references; bh=mGW7UJ921F2lqbPln9a/p0i49suUeiMYTKN+LrbaPgc=; b=F3+iWSX4NecHuDd+ipCo5K5BTOlsMrcCBcUjVCoWE7oxh6EbOgvfDwa1PXdNWsF6XHySRZ HZv41f7UUJRBPa7vkJKaPoyLj0uHf1YrVNjT65X+TRPaTpzlu8XMnZH7Er2WTxYKDkzCYx 8Q3V8Ff7RcvcqXKId5jwmRDB5tiq3dNt0sBd67hSyv+iMkL15SvENZKZeD+cuAgqfjY4fR 35l0uWmYUwdAS2SH0kevX125d4sFzeLM8+EuOBiwoNfAlB4dmHeX3qrJwY8v9HMQBZUVSS D7DOOY0rYfWmDEVwKodYi+MjTUJKhhjAdhbxMJ/c+MgyTE7Wjs4C2xBu6F2NpA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695085056; 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: in-reply-to:in-reply-to:references:references; bh=mGW7UJ921F2lqbPln9a/p0i49suUeiMYTKN+LrbaPgc=; b=n3qcZ3nfCekra8vxrSWyDkxn9OH0z6qYLOkrAUkCsBLF77P9aWc9dVOiiVFTsLL+4csvGI /I+w7A1sVZyP+cAA== To: Jason Gunthorpe Cc: Shannon Nelson , alex.williamson@redhat.com, kevin.tian@intel.com, reinette.chatre@intel.com, kvm@vger.kernel.org, brett.creeley@amd.com, linux-kernel@vger.kernel.org, Leon Romanovsky Subject: Re: [PATCH vfio] vfio/pci: remove msi domain on msi disable In-Reply-To: <20230919003251.GR13795@ziepe.ca> References: <20230914191406.54656-1-shannon.nelson@amd.com> <20230918141705.GE13795@ziepe.ca> <87led3xqye.ffs@tglx> <20230918233735.GP13795@ziepe.ca> <87a5tjxcva.ffs@tglx> <20230919000215.GQ13795@ziepe.ca> <874jjrxb43.ffs@tglx> <20230919003251.GR13795@ziepe.ca> Date: Tue, 19 Sep 2023 02:57:35 +0200 Message-ID: <871qevx9mo.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 17:59:14 -0700 (PDT) On Mon, Sep 18 2023 at 21:32, Jason Gunthorpe wrote: > On Tue, Sep 19, 2023 at 02:25:32AM +0200, Thomas Gleixner wrote: > >> > I don't think we need to try and fix that.. >> >> We might want to detect it and yell about it, right? > > It strikes me as a good idea, yes. If it doesn't cost anything. It should not be expensive in the interrupt allocation/deallocation path, where hardware needs to be accessed anyway. So one extra read is not the end of the world. Thanks, tglx