Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp660164imn; Tue, 26 Jul 2022 06:13:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tA5REESGPHO1BLuFhUXUvLK+OPd5l28R11rBaTWqYBtWbc9yaoI8jIaiiAhWlGEg3H4gXw X-Received: by 2002:a17:906:9beb:b0:72b:4a68:ffdf with SMTP id de43-20020a1709069beb00b0072b4a68ffdfmr14416053ejc.21.1658841205833; Tue, 26 Jul 2022 06:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658841205; cv=none; d=google.com; s=arc-20160816; b=jVu8GLIMWeKHoDvbJN+dEDHeO7984No6XUpo1DFvprp/Jw1cMEaYnSFtlEji/y1cSX PZ6xUx/HkfHxYA8rRpa5yg6QIeF0ilc5gT2fsqUTMtm9ioyL+iXkrsUlyCnxFSWlQvj3 09jHC0e21GfH0G/eTFMa9koTUcEbCNc8h/WDaJaJfJ55dB0kGYmnfb+3yh5J7nQHfm4A gYpskJnBO1SwwdjAMfZnnPk8QU9v7wrdSbPRxu069OoUFH6u5W7dgHXUE8jXY5eiOBAM W8ZYay2uK6/NA8cAOK9869beAzAcuyE4zlrnFcrVM0PyvNkmCpOo+iGxlUbDXn8lLM3h 93zg== 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=LUMaKXkVvWIJpdA+4n1XBPobt062sN0oITrvSdAqdAY=; b=rFpxZvPM2j5f39ugIYq8pVpH1WVSHJxyoi6rA6JmQwrqJI8vDNs6c6YFZHXQBlkJIX j7ruRSmwl4dLVBkI6eolYT+B1gZE31SNyWCz6Hsf7vrEo5kWWdjaUp9+nowAh1fLH05a /3gn4YRz+3SgM5nlfLFvpm2bQJ+vwOEVuNAiCKa9wVNzbx8ZSijaNE92PcR5ho65Jqiu OOi190MtbrMjWA9t3c39Jgf0GfoQECdvr6R+KQiNrElOYukbPlF7Vodl9X1lt0YeqERR PONpngJwWn7xzNwCeJI2JjWOYXvASMoUZM5dof8cbdxqfXqVZ2hnpcZt/Zlq3hQyQTXh A0mA== 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 hr34-20020a1709073fa200b0072ecfeec4cbsi18212015ejc.463.2022.07.26.06.12.50; Tue, 26 Jul 2022 06:13:25 -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 S233385AbiGZNJS (ORCPT + 99 others); Tue, 26 Jul 2022 09:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239094AbiGZNJO (ORCPT ); Tue, 26 Jul 2022 09:09:14 -0400 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D12A72315A; Tue, 26 Jul 2022 06:09:13 -0700 (PDT) Received: by mail-wr1-f51.google.com with SMTP id l15so16026049wro.11; Tue, 26 Jul 2022 06:09:13 -0700 (PDT) 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:references :mime-version:content-disposition:in-reply-to; bh=LUMaKXkVvWIJpdA+4n1XBPobt062sN0oITrvSdAqdAY=; b=FT1+me17OUffyiyYaPbSXk7po6TiLWjLo6G4wL9qfQerSzvE3Idaau0Nz0R4G8aPOl YjaE4GFl+Twx6qhnMb+jxF5+jgyvwJmdobrpha0zmVpx5Zb8N2d8hSQG2VePJko6dTHf 2WhXfMZT/qM2zuFu1pa2BBR2EdViDZ8LZdtT3+dvAx1UqV7m7wEhgSTMrw4N80We3xIQ PC1rjTKSNeAkvQbKXhzDuxOGwS3MlOIc8bTd8/0sI8ZB8f+6JzFuoad21hrGbTCKoF+p 6foD9DnQaIifSh6pNc+bKjj5FDp+A2OOFd+VtShBYjjYJ3O3ER/gTqW9kiGiaawqjM5b ducw== X-Gm-Message-State: AJIora/hVhMUw+hiGrmvLp8XAVvhl88Bbp8V+3t1BEBUepCUlTp8EFnS SdGc26/O19PRGtrs1T5cNPk= X-Received: by 2002:a5d:62cf:0:b0:21e:6e8c:34a8 with SMTP id o15-20020a5d62cf000000b0021e6e8c34a8mr9768554wrv.154.1658840952226; Tue, 26 Jul 2022 06:09:12 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id bg17-20020a05600c3c9100b003a04d19dab3sm3225732wmb.3.2022.07.26.06.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 06:09:11 -0700 (PDT) Date: Tue, 26 Jul 2022 13:09:09 +0000 From: Wei Liu To: Joerg Roedel Cc: Michael Kelley , sthemmin@microsoft.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, will@kernel.org, robin.murphy@arm.com, samuel@sholland.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, iommu@lists.linux.dev Subject: Re: [PATCH 1/1] iommu/hyper-v: Use helper instead of directly accessing affinity Message-ID: <20220726130909.jnj5etogffm4b2c5@liuwe-devbox-debian-v2> References: <1658796820-2261-1-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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 Tue, Jul 26, 2022 at 09:15:58AM +0200, Joerg Roedel wrote: > Hi Michael, > > On Mon, Jul 25, 2022 at 05:53:40PM -0700, Michael Kelley wrote: > > Recent changes to solve inconsistencies in handling IRQ masks #ifdef > > out the affinity field in irq_common_data for non-SMP configurations. > > The current code in hyperv_irq_remapping_alloc() gets a compiler error > > in that case. > > > > Fix this by using the new irq_data_update_affinity() helper, which > > handles the non-SMP case correctly. > > > > Signed-off-by: Michael Kelley > > Please add a fixes tag. > > Where is the change which breaks this currently, in some subsystem tree > or already upstream? > The offending patch aa081358 is in linux-next. > In case it is still in a maintainers tree, this patch should be applied > there. Here is my > > Acked-by: Joerg Roedel I can take this patch via hyperv-next. This is a good improvement anyway. Thanks, Wei. > > for that. >