Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp740964imn; Tue, 26 Jul 2022 08:07:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vTMyoFrtCSp1iPVIelweoIL+xJU/SlbtgaY1fQl47o9otytdguDinMLaAQAyTjWxeyw9Hv X-Received: by 2002:aa7:c685:0:b0:43b:aadc:af1b with SMTP id n5-20020aa7c685000000b0043baadcaf1bmr19190841edq.256.1658848024941; Tue, 26 Jul 2022 08:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658848024; cv=none; d=google.com; s=arc-20160816; b=szkR72YMhYRU5krjjWT7uVuYieNLdu7AbekHQZp+PQQNv1X83NysNtK3/oSgwuZDmg U40UhRZptpVcrGV8VLHcNKkFOKR3S5LCX3Wan5Si8PAx6lEhXAoyciSHhdw6c6cRngPz BkqqfciRfaCwmyFinRZBygmFUi+G9PKee+8X+1bNSQ2+QLhEoTT8EN8fZsWTNNVM+c9n NjipdVC4WhWpRWJmGNHWcYiCvKGJD8jsFmn2xzw+TC7Q9BT5dBgMmTAUCF/oC2SnkQ48 APF0B5Vy0RwSkd8enDAqC3uXWko4bG2nvj6j6Mf5GFftB4frDzgLm2zSkjyonNQoKfHy iqcw== 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=WpHEQnE8K/vPoI4Otp4u/E57Oasf5iTB9YBte/yldMI=; b=0AnEzjccWGykbwtX5xfOpdlcnT2jg6RnzyrYec4mNIwIzsGfLKAlZ16hDU0VEMvEOu Pd4LFXRpnbuWHw8u1+p/15VqRhmnSfSGAMMbixap9Niz7cCF8DYDrfNGHI+yypBp2NbX +0Q5k6qt+FEhgnbHCbWD+03QCEHWA3cwj/ia9Bj8eu1Mto0m84w+Tq2OjfM6jxzfdtHo WKt8hfl1XNsfLobv9Xkm4L/e+4/dPSYwJfvAmPbxJ0ozZyxvnCE//Wd2eIYOAFiPlNT6 z8VRxVtwnEhbymDwaIALWA3fDqhvS6To8SURohCN6N/rj386guFwKRntUi7dOmpd+gdq exMg== 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 qk16-20020a1709077f9000b0072f24977c82si16743849ejc.841.2022.07.26.08.06.39; Tue, 26 Jul 2022 08:07:04 -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 S239369AbiGZOi1 (ORCPT + 99 others); Tue, 26 Jul 2022 10:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239277AbiGZOiZ (ORCPT ); Tue, 26 Jul 2022 10:38:25 -0400 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F223F13F85; Tue, 26 Jul 2022 07:38:24 -0700 (PDT) Received: by mail-wr1-f54.google.com with SMTP id h8so20436272wrw.1; Tue, 26 Jul 2022 07:38:24 -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=WpHEQnE8K/vPoI4Otp4u/E57Oasf5iTB9YBte/yldMI=; b=iIIIkgkOQm601uXCbHpjR1m1Av3K/zVUGlLholiDwsQCsIaF7my7plncavf4mj7wff T2AHRm8a9M+gii4wU3TKPVbsaB3X/fuUPT+pJmn9TXAuKpe9iZSGRURuTc2I42xGdZgz PbWtlqmDfniShtTmDbdOXOCavLbNHcHYB5tAX7EarxtWHCzAhRY+eIWylVXjQ8mD5gzg /2Ha81kiqQ2VG4JwOyi1iyVk/XG22QzrwwD6NIaxE3rmVgkrxvyQEYFHnum8JN8+FqFL OXAwsnIurum2zsqI/VU2eaLHhOhfl1u6Xx+wwK4UowMqlBM+A6AOBHjMzuvWlJIhDMcD ZWtQ== X-Gm-Message-State: AJIora8oyyH22K8YCNu7kZUfjr9GJExEg7qaEcEEyG/PO8UYG43bc2Cn usH0VYM8eTI+5JJFOzhI3WGqNnq6Og8= X-Received: by 2002:adf:db8e:0:b0:21e:4536:a934 with SMTP id u14-20020adfdb8e000000b0021e4536a934mr11377937wri.331.1658846303394; Tue, 26 Jul 2022 07:38:23 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id r11-20020a5d498b000000b0021e42e7c7dbsm15037988wrq.83.2022.07.26.07.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 07:38:22 -0700 (PDT) Date: Tue, 26 Jul 2022 14:38:21 +0000 From: Wei Liu To: "Michael Kelley (LINUX)" Cc: Wei Liu , Joerg Roedel , Stephen Hemminger , KY Srinivasan , Haiyang Zhang , Dexuan Cui , "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: <20220726143821.ezgm5quwcdsagpwf@liuwe-devbox-debian-v2> References: <1658796820-2261-1-git-send-email-mikelley@microsoft.com> <20220726130909.jnj5etogffm4b2c5@liuwe-devbox-debian-v2> 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 01:48:35PM +0000, Michael Kelley (LINUX) wrote: > From: Wei Liu Sent: Tuesday, July 26, 2022 6:09 AM > > > > 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. > > I don't think this patch should go via hyperv-next. The helper > function is introduced in the linux-next patch in the irq/irqchip-next tree, > so this patch should go through irq/irqchip-next to avoid creating an > interdependency. This is fine too. Wei.