Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1299201pxa; Sat, 15 Aug 2020 14:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkV28BaGRbNHd2D5c6ICemJgp4OIYqsY4iORGb10z2FcTRK5A3ffXPE9H9VPNC5Gx9iZSI X-Received: by 2002:a17:906:4d89:: with SMTP id s9mr8072813eju.365.1597528652789; Sat, 15 Aug 2020 14:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597528652; cv=none; d=google.com; s=arc-20160816; b=jpYJ3YkrOiV/04SNoCcAwFoqZuYGzl30fCBxWwUvbmTkmjhJi0Hdy8yZnKPEn97AJM xWN7QdfnptsdQgw0O2R57n7zpJOQLffZkdtA78E+H6qWmFib1GWnUdWOjuBTyTs5NksM wtB+6SFXHv7S5HOW0erO/+SCs3/ys+ZC5khLZXw14xITPKHQ1lOz0M3UJjVO85CkmjFx MSAqICptVLSJChmakcxSKoSSwc3UrTTmbHALj0vxcqdyG8czjdjWDWmgkz1usR8HNwZ0 Yq3J/qCN+djkqj0x1BlPyrrV6j2bbWkFcOhFh8HRutTbL4Baa79uGMBYOFYy3eCvX6xr PS8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version; bh=rG/hrU2Ww7sujyHE52Vg9lvoHgoxqwezvr7KUxfxeX4=; b=k1LG4SUzcAdNeLnsa/0fhWaJyc1rZnuW9q4K3wbyeig8juSSWXEoe2Nkowvkvhzo9t 14garaHnD1OJrbyE5o1SHP6F0rmLIAmwar3faesSnUjIKYkafJvPU0d8Is9069y1ASnt HsVn3VgKCXH1wEL+kbv+WyL4NBqTIIi21xo33kJsbt4JsZPB9Efi+55gUJyef1r0Mkxc oUbnqVs9Y4/sZGb2XnECdtWnt6GxTl6+JUHmRZ5P+pWZwT+NiDS7gAFbckKSMUYQwldo h0NIinndedV1FXtiY8p784AcahekPX8QQkHhoNcKusg+2g7O+5FiqbOLFP6z9tQ13zkg 2gYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si7888767ejy.466.2020.08.15.14.57.09; Sat, 15 Aug 2020 14:57:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729364AbgHOVzw (ORCPT + 99 others); Sat, 15 Aug 2020 17:55:52 -0400 Received: from disco-boy.misterjones.org ([51.254.78.96]:53374 "EHLO disco-boy.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729024AbgHOVzu (ORCPT ); Sat, 15 Aug 2020 17:55:50 -0400 Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k6xBl-002LGO-TT; Sat, 15 Aug 2020 15:29:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 15 Aug 2020 15:29:41 +0100 From: Marc Zyngier To: Thomas Gleixner , Yunfeng Ye Cc: Shiyuan Hu , Hewenliang , linux-kernel@vger.kernel.org Subject: Re: [PATCH] genirq/affinity: show managed irq affinity correctly In-Reply-To: <877du355o1.fsf@nanos.tec.linutronix.de> References: <877du355o1.fsf@nanos.tec.linutronix.de> User-Agent: Roundcube Webmail/1.4.7 Message-ID: <11bb7a215cd8757f298d9f9608ed125c@misterjones.org> X-Sender: maz@misterjones.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: tglx@linutronix.de, yeyunfeng@huawei.com, hushiyuan@huawei.com, hewenliang4@huawei.com, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@misterjones.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-13 09:08, Thomas Gleixner wrote: > Yunfeng Ye writes: [...] > You are looking at the wrong file. /proc/irq/$IRQ/smp_affinity* is the > possible mask. If you want to know to which CPU an interrupt is affine > then look at /proc/irq/$IRQ/effective_affinity* > > If effective_affinity* is not showing the correct value, then the irq > chip affinity setter is broken and needs to be fixed. In order to reassure myself that nothing was untoward in GIC-land, I went in and looked at an ITS-based VM running whatever is in Linus' tree today. I see the effective affinity being correctly setup, and being as expected a subset of the affinity. This is without isolcpu though. In any case, I'd be interested in understanding what this patch is trying to solve, really. M. -- Who you jivin' with that Cosmik Debris?