Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp756252imk; Sun, 3 Jul 2022 08:07:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tqhjGWr9TYWY6SfwjYZJdfuwq+e2UDly8nofiJfXaULJ7/qH3DQoTUS8LB/sKVGptTJvXD X-Received: by 2002:a17:90b:e02:b0:1ef:71e5:a18a with SMTP id ge2-20020a17090b0e0200b001ef71e5a18amr9133530pjb.177.1656860838671; Sun, 03 Jul 2022 08:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656860838; cv=none; d=google.com; s=arc-20160816; b=Xozl50oO4qWNd11WjVGwwVQopzE6JntNFO9XUSuzpJj4HLUXUfNZqWct5QRlny+LBP yI72DmEd1gHX3sJgJ77oN3Yvb/RiBL8xPsQ19soGANBvzYwe3SReZJ3o9CchqGD6IVmU 4ACvXdRUgTzsDBa/3wFcljmU66nlSbhXB1QoKie2AAIRwAWF1fRtNgZqPkRCD5jGT5P2 vafRLXbvBI1rVr+OVUJma4ZVcgluSMfWGjmH+lZPLotF1t7DmItVX75iv8KmhY1jMjDH Eo5uCEufphshU65pXD/HXTnBQMhdoy7/00FMW5cwoa/kl17lwkdU2W/MPBTaXnWzccmW XYgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=4QgHhJo99e7BP4qELBN4r2lriKbWdLtk6/DKUxmzOGg=; b=rAByJ51kboOpUM6+q7ajrKJWa7AhgL85Jbwtx9SKg7Um73hIg2adytbYFih/HDBNli 2KdPWkkpJstdKjZIXJL2joQJcTaXVCMkZOosAfRsy9L9/61CYtjQgOdH86VtKk+s4/mN hg4XvZMLDglFHtzjP1ssLvimP0piVMrkX4RHv7wTMvTXVfNjD2Rhkh2zOWFP8trl3FBU qyLaXKIC0S5TWhQMScS68gndy0KVhBkht+ZVYvvXhArIVaW8CulYIA1m01SbvxqA5NfH kuIKMx2p22x4JwyH/E8xh5ixNzFL1cXhX3lAscUglD0cbX59ZAovQsIE1w0BvSJbI90i y4yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vh7pwmFr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca10-20020a056a00418a00b0052293a7e4a7si35700100pfb.20.2022.07.03.08.07.07; Sun, 03 Jul 2022 08:07:18 -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=@gmail.com header.s=20210112 header.b=Vh7pwmFr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbiGCPFl (ORCPT + 99 others); Sun, 3 Jul 2022 11:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231528AbiGCPFh (ORCPT ); Sun, 3 Jul 2022 11:05:37 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6A355F67; Sun, 3 Jul 2022 08:05:36 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id g4so12589247ybg.9; Sun, 03 Jul 2022 08:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4QgHhJo99e7BP4qELBN4r2lriKbWdLtk6/DKUxmzOGg=; b=Vh7pwmFrp/ki5XJ76jyI5hNuUV1PKQWxt+H19V/GLJ3etny3Ed4qf9e0QV9OMyCnks +V7tZtdw1VniQ6BdZSdBWajNOZDP/9WVdUA9+J37kLhzlbC4xMvQ7twWstXyRhygrgEk OySwdBIMfbZujBrURcg8GdeODfqyyz4SIitS0W7F6ysxNT0VLPBddMx3/a/GvGvQdxvo iMowCy/4ZchQtcTLw19pWaXjlYPd52toUo7sie8xXqMfjy5oNYUEW0ViDYOw6PUrk0C5 G34+Zs4D16S3OjNGlDvG+54xupVbs4o/Tt1NVLksn8dVuCTj0pxBkrj4yh/fdGcgDAoR 8k/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4QgHhJo99e7BP4qELBN4r2lriKbWdLtk6/DKUxmzOGg=; b=f7gj4nxyJRN8rpuvGLlRL5Fd604BNTO/M2NfLNvgAAVWW7tpKVrtzSXgvnGfAMjwkf jMl1qdOteDnK041H99yNuoLvR8+BWgJ+KVhLsbg77YgbI+KhEiLFh3ooNG8/9UbIyF/F PaWg0sVPN+08Gbd6u+hOU2K9rJQ83IA2Jg/E0SzO2Ou3lTUBZiYsnK+dEB8J5P+x//fV JII/yB2h4gR8xm027ySBpVy+RGcwLfB1WD2lbYufjFR9R9kMdhgzGFtBxx6B1/isONiK Mse3+G2s+LcC9BPDldDKN8vSVvt1r2KGZwZnbindVYDepGw5jFNnGvRPiBnibp5P1sgk PMkQ== X-Gm-Message-State: AJIora8FzhZOrikatcgazKy39ReDeqKyOwPMqQIYGehcsUhBUs+vUPZ2 GAyc9gai2tp/wd1YYQJ30R6icvyP93jPkAWtkpY= X-Received: by 2002:a25:858e:0:b0:66e:4898:63e2 with SMTP id x14-20020a25858e000000b0066e489863e2mr673140ybk.296.1656860735358; Sun, 03 Jul 2022 08:05:35 -0700 (PDT) MIME-Version: 1.0 References: <20220701200056.46555-1-samuel@sholland.org> <20220701200056.46555-8-samuel@sholland.org> In-Reply-To: <20220701200056.46555-8-samuel@sholland.org> From: Andy Shevchenko Date: Sun, 3 Jul 2022 17:04:58 +0200 Message-ID: Subject: Re: [PATCH v3 7/8] genirq: Return a const cpumask from irq_data_get_affinity_mask To: Samuel Holland Cc: Marc Zyngier , Thomas Gleixner , Bartosz Golaszewski , Bjorn Helgaas , Boris Ostrovsky , Borislav Petkov , Broadcom internal kernel review list , Chris Zankel , Colin Ian King , Dave Hansen , Dexuan Cui , Florian Fainelli , Guo Ren , "H. Peter Anvin" , Haiyang Zhang , Helge Deller , Ingo Molnar , Ivan Kokshaysky , "James E.J. Bottomley" , Jan Beulich , Joerg Roedel , Juergen Gross , Julia Lawall , "K. Y. Srinivasan" , Kees Cook , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Linus Walleij , Lorenzo Pieralisi , Mark Rutland , Matt Turner , Max Filippov , Maximilian Heyne , Oleksandr Tyshchenko , Rich Felker , Richard Henderson , Rikard Falkeborn , Rob Herring , Russell King , Serge Semin , Stefano Stabellini , Stephen Hemminger , Sven Schnelle , Thomas Bogendoerfer , Wei Liu , Wei Xu , Will Deacon , Yoshinori Sato , "list@263.net:IOMMU DRIVERS" , iommu@lists.linux.dev, linux-alpha@vger.kernel.org, linux-arm Mailing List , Linux on Hyper-V List , linux-ia64@vger.kernel.org, Linux Kernel Mailing List , "open list:BROADCOM NVRAM DRIVER" , linux-parisc@vger.kernel.org, linux-pci , Linux-SH , linux-xtensa@linux-xtensa.org, "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , xen-devel@lists.xenproject.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Fri, Jul 1, 2022 at 10:01 PM Samuel Holland wrote: > > Now that the irq_data_update_affinity helper exists, enforce its use > by returning a a const cpumask from irq_data_get_affinity_mask. > > Since the previous commit already updated places that needed to call > irq_data_update_affinity, this commit updates the remaining code that > either did not modify the cpumask or immediately passed the modified > mask to irq_set_affinity. When we refer to functions, we use parentheses, e.g. func(). -- With Best Regards, Andy Shevchenko