Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3838405rwb; Tue, 16 Aug 2022 09:32:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LSDQcxG/x8iWONtPg1mfryyh79Wsas7LUWnejQtsWTqQ0jrXvLgExmukwxU7AFTQytTHZ X-Received: by 2002:a17:902:eb8d:b0:170:9d92:40c5 with SMTP id q13-20020a170902eb8d00b001709d9240c5mr22664652plg.60.1660667572156; Tue, 16 Aug 2022 09:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660667572; cv=none; d=google.com; s=arc-20160816; b=krHhcQnQekuWIoyeKBDkjTz8WEOD/X3dqJS9/4lHqmtk2VRpHa0Zx4ljd0mDlZ8/vW mW8kM97rfAx6sqixXSFtAmBPF5zKBiWeTvybv1Dqco/ioTv/y3mDVPy/3PxHEV7NcIxI FE9yfZjyD//r0zyj3BIjW/kgr7vW/ProttNP/kiHTfTWkqh+Vv7n6d1WbLBN3MOMWaPm ahKygHVJHK2qU2WkVN5I4xcKe5UveaSho/EJo97xqNNezkiTUP/Ioe2aopnxT7AadZIR yL8bwhy/M8UoAkeFC9A2duxbxLnep06DZJd7m909HmdKb25RwWm4ShAeKGlSgvVGOkTF bAXA== 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:dkim-signature; bh=2fwMADbtDpI+CH6P8ENX6R0i+vMfUPrX5FIL+CZHwSA=; b=V3eOOrZRKiOAP6jvJVBjVFRTIHgaeLyDXT/4FuFdT3kM7C6+ZPdNQmuZs9BMeIl1UK fBywlAogPgCZC9YcTD4CYgl3I0ELwbMTTbYzqxEMYVzhYwrjA4AnXvS78+31fAVixGbB zNAUUCTtX4PWoMVVnC/KN2W/0nQqGDfZPf7K5dog1B34JdqwIdcjGUVVPBT8TQGxKYJk qTxzyyKeAVgEXsJ4K4D9ynwJuRzcHKnz4mxscyQulZQQx31prdRloEveKEHvhNGnRzbr KzUoJdlh5ol9iY5wPYpp3AZyg7IAwfW0DQcZINUfiJL3P2XLv2iG2B6eGtiqBuf5Isph b7KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eb2+6gOz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 30-20020a630d5e000000b003fe22d6bdc4si14319437pgn.802.2022.08.16.09.32.29; Tue, 16 Aug 2022 09:32:52 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eb2+6gOz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236027AbiHPPvh (ORCPT + 99 others); Tue, 16 Aug 2022 11:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236248AbiHPPvR (ORCPT ); Tue, 16 Aug 2022 11:51:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20B9D4CA28; Tue, 16 Aug 2022 08:47:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9EAE2B819FD; Tue, 16 Aug 2022 15:47:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40DE4C433D7; Tue, 16 Aug 2022 15:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660664861; bh=aKvPsohDSBJiB5TXkIrXCiYFnaesf9dXCifjErQ/bac=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eb2+6gOzqLdZ2ntVfzTUs91xjwjOpKOPMdF5cKSFodnKDZgNmDwZ8BqZQS3zRkFsm DTuLYD52oHbGuFTEKZiGyKa7kvc+/y+rIl2m9En+BMYt74dj7Lus0edrG3/bVqlPLK 9r5JgmjAfTTKSpYbl22uc9FVE7q9L6ZBJ1SgLRLZ2qwQtOh4aznAbifi5oW+NdHzGO eGEq8yJSoBeJQ9HfxxGZs1ShlILf5tG2Q79bWI+xko2RcDoCQe1UvoC0LxWM49t2rq YUYhTmqT0HGhot3p7xxHFC7rzwJ/SorzaZ9+TUGuRyGdAcVrZDvG9Z2IKWApChYpoy 5yrk4d8Ozsvqg== Date: Tue, 16 Aug 2022 17:47:32 +0200 From: Lorenzo Pieralisi To: Dexuan Cui Cc: Jeffrey Hugo , "wei.liu@kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "bhelgaas@google.com" , "linux-hyperv@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Michael Kelley (LINUX)" , "robh@kernel.org" , "kw@linux.com" , "helgaas@kernel.org" , "alex.williamson@redhat.com" , "boqun.feng@gmail.com" , Boqun Feng , Carl Vanderlip Subject: Re: [PATCH] PCI: hv: Only reuse existing IRTE allocation for Multi-MSI Message-ID: References: <20220804025104.15673-1-decui@microsoft.com> <0f19cc67-ccb1-7cd1-5475-d2ec0e1abfc0@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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, Aug 10, 2022 at 09:51:23PM +0000, Dexuan Cui wrote: > > From: Jeffrey Hugo > > Sent: Thursday, August 4, 2022 7:22 AM > > ... > > > Fixes: b4b77778ecc5 ("PCI: hv: Reuse existing IRTE allocation in > > compose_msi_msg()") > > > Signed-off-by: Dexuan Cui > > > Cc: Jeffrey Hugo > > > Cc: Carl Vanderlip > > > --- > > > > I'm sorry a regression has been discovered. Right now, the issue > > doesn't make sense to me. I'd love to know what you find out. > > > > This stopgap solution appears reasonable to me. > > > > Reviewed-by: Jeffrey Hugo > > Hi Lorenzo, Bjorn and all, > Would you please take a look at the patch? I am not very happy with this patch, it is a temporary solution to a potential problem (or reworded: we don't know what the problem is but we are fixing it anyway - in a way that is potentially not related to the bug at all). If the commit you are fixing is the problem I'd rather revert it, waiting to understand the problem and to rework the code accordingly. I don't think b4b77778ecc5 is essential to Hyper-V code - it is a rework, let's fix it and repost it when it is updated through the debugging you are carrying out. In the meantime we can revert it to fix the issue. Thanks, Lorenzo