Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1853400rwb; Fri, 19 Aug 2022 10:28:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR75TJih6EicAbhm/H2ER0LTgsDU98wlViHZds8hUq27QoqBsu7bbQYp9LnOdxqjJISPu9f9 X-Received: by 2002:a65:6d1a:0:b0:3fb:2109:7b87 with SMTP id bf26-20020a656d1a000000b003fb21097b87mr6945065pgb.127.1660930080352; Fri, 19 Aug 2022 10:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930080; cv=none; d=google.com; s=arc-20160816; b=YtpyHIopkIuWKttg/l5yLV2sNntxznRh5FRBZyffwfPwvARLDYbrCRnmmPUuHPvl1W ymGVt6/bmLjm9brxok9WTQtunxnEJZCNGIm0IAp/8DjxPvhL4yAvYzlpDujLM31zLbIk o+T8qbpXkRa63UfHTclaGtVaii+U28ulNdblsjNNoUObbzO1Dl8LGtrXi1aKiAywnfox cwkuoGo+OCxuB+Wy098w19Cx/By3osWZxxyugU6i+8tx7b8wYgyWV5+uv5mz2+uAVYvB dupjLPb9El9/C/ppOxbdtqqhK3NUFQovGMORuLNOiPDIAz/MCXzugJ3LE0hILQWswvoZ ul2Q== 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=sxgN3UpSGxFCTDm8l7AkBbvt36WRpMvVU8huEaNlcOs=; b=H3ssU8DZ4403NviBLbfbMA9DaJVTM+JSi3d1qsES0O31Sh+BfXPF6SCd9LLtAM/Of2 G/12D9e4nEwhdNrcn8cYRENuDPNceBg052pHNULHP8IQ8L0Na8HCTqGAVA3CtB+OlFzL 606zug0hmBTZvSo/R2gDmoK54mgF5e2zdRKnlYo0vXBZzpnVBgx3/UxLJ5RVmkY+hWRJ ggAMSLw0yoZtoPLf2TCUalRaHipgdJI2qkMSPfi1CflHB5FfQkprDZlwh4Mfmf1Ee3zx aHsWmQsSqGsXWZ7P7waiO8VQSGMqQlNQ0rtfFcz6R50v8WGRJY8Rxs0sZf99oJTLqFjC J3Yg== 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=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 i13-20020a63130d000000b003fea0415b5asi4393820pgl.834.2022.08.19.10.27.49; Fri, 19 Aug 2022 10:28:00 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351040AbiHSQEN (ORCPT + 99 others); Fri, 19 Aug 2022 12:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351334AbiHSQBU (ORCPT ); Fri, 19 Aug 2022 12:01:20 -0400 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 269ED6555F; Fri, 19 Aug 2022 08:53:15 -0700 (PDT) Received: by mail-wr1-f43.google.com with SMTP id r16so5659297wrm.6; Fri, 19 Aug 2022 08:53:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=sxgN3UpSGxFCTDm8l7AkBbvt36WRpMvVU8huEaNlcOs=; b=krMD8u17JLUs7BC7T89T+rrc9DGrJZxxZO1IEYiBVt6sjxFOZMRmcwm7D8ubrcK7ni Ed0Mlaic95bguHMxOg6+RpMEkgCJ2RCm7VRevKIfYzkgCsWbOXgGzouNU1BB2cmqzlHd TgwB8c28BD4iumsUVeM9C7A7hUXtzqQ1+k8rlJiZgVqmyY/rgI8jCBrILdSsgKAyNKvo tyZ5HULWC44kXKjyVqj1Rj6WyOlYIF6AN/EexmD7mDbeC2zN1Egmw41+JymTX3uHuaEH 0DkQUoOa14SXz6Bw0CmoEgTaRlOp0NstT3zMModZVKSPJQsCHWeflaFDE9NnT5LPgvpK C/7g== X-Gm-Message-State: ACgBeo02tuVb5NKUH+J7AlbnRgx6Tjhc8kkbmwl6Wikue9MCiCXpUDif bjiQiodSz8mgSdt0t+QdKZ8= X-Received: by 2002:a5d:6da6:0:b0:225:385a:7071 with SMTP id u6-20020a5d6da6000000b00225385a7071mr2224863wrs.351.1660924365060; Fri, 19 Aug 2022 08:52:45 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id m16-20020a05600c4f5000b003a603f96db7sm12280373wmq.36.2022.08.19.08.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 08:52:44 -0700 (PDT) Date: Fri, 19 Aug 2022 15:52:42 +0000 From: Wei Liu To: Bjorn Helgaas Cc: Dexuan Cui , quic_jhugo@quicinc.com, wei.liu@kernel.org, kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, lpieralisi@kernel.org, bhelgaas@google.com, linux-hyperv@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mikelley@microsoft.com, robh@kernel.org, kw@linux.com, alex.williamson@redhat.com, boqun.feng@gmail.com, Boqun.Feng@microsoft.com, Carl Vanderlip Subject: Re: [PATCH] PCI: hv: Fix the definiton of vector in hv_compose_msi_msg() Message-ID: <20220819155242.w32vcwobt4ucvpyv@liuwe-devbox-debian-v2> References: <20220815185505.7626-1-decui@microsoft.com> <20220815203545.GA1971949@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815203545.GA1971949@bhelgaas> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Aug 15, 2022 at 03:35:45PM -0500, Bjorn Helgaas wrote: > s/definiton/definition/ in subject > (only if you have other occasion to repost this) > > On Mon, Aug 15, 2022 at 11:55:05AM -0700, Dexuan Cui wrote: > > The local variable 'vector' must be u32 rather than u8: see the > > struct hv_msi_desc3. > > > > 'vector_count' should be u16 rather than u8: see struct hv_msi_desc, > > hv_msi_desc2 and hv_msi_desc3. > > > > Fixes: a2bad844a67b ("PCI: hv: Fix interrupt mapping for multi-MSI") > > Signed-off-by: Dexuan Cui > > Cc: Jeffrey Hugo > > Cc: Carl Vanderlip > > Looks like Wei has been applying most changes to pci-hyperv.c, so I > assume the same will happen here. I can take care of this one via hyperv-fixes, but ... > > > --- > > > > The patch should be appplied after the earlier patch: > > [PATCH] PCI: hv: Only reuse existing IRTE allocation for Multi-MSI > > https://lwn.net/ml/linux-kernel/20220804025104.15673-1-decui%40microsoft.com/ > > ... this patch looks to be rejected. Thanks, Wei.