Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4219750pxu; Mon, 12 Oct 2020 12:40:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvbxIVIrJ96WRO4OIOFMuCq9+BXawnTV67yxmNU24JCzSpg2nmKpMz9DBVYnYVDkyVh4YF X-Received: by 2002:a17:906:30c5:: with SMTP id b5mr28392659ejb.460.1602531630373; Mon, 12 Oct 2020 12:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602531630; cv=none; d=google.com; s=arc-20160816; b=WnTAUugLL2EzOu9tOu8QBN5m84iWmmqWN9TPGTk2rX6fGgINxyBRD3KtGF3b+xSZgj XI7CDuwpZNG3PZwgyXSORXYgzk79jBbKGQ5TIz1/h9TWlNI8bvNL1aNbYiLMK1OcYwUO KVjUBM0R4LlQXwFvTuI6hLvwP2d/wysAbUTf57fspXPqehjfhLSBIWU6cWFIraCThuTU nalCMs551D3dIW+Nvsq4d/WCCZVejuwQ81JRrvaLK8PFBRwYl2UZYl9AaEKFwJd38rfU Y1e7p+yUDA6iRpfsRfy69vkng5iKOWDgl1dXykbx2ye615XQHMV57Tw7JJdo3Esoav8D ltvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:to:dkim-signature:dkim-signature:from; bh=zAGBr8RcuoICd4qF7JmAt3GQy9qhOMrKg4+LZEzCs7I=; b=PGVOeRkGQgBTCPFxg72Mavf/8xoBrkUfnCrVdF2KqwY18azSOq2/jyys4WPgpgMLGM XKmiaXCqrveZlG5i50PBO2M+gYNItdzyqU1705wPRsRvF+V+u/0XYrxDWab1J1I899Bl +rtHrng791w5wCKGbsH4+B2SF7V4mXZdx7StGmWriC8nA2QFBMfROTAt3dM8nJuBGL/A OeRdT/ZGa5drTwu5uH8pslwqDgPwBo0HYhjI0I0AnssBOUCv30xZVI3plVQR9RCxViS3 Les/Og2MebzRYEL8emCSAJ2hkgaKJMALlETdaFwFsos9zH9cd2y2Q40ZllmdA21VvlTl ggDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="em/+enAg"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=tta8OF6k; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si12938338edq.365.2020.10.12.12.40.06; Mon, 12 Oct 2020 12:40:30 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b="em/+enAg"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=tta8OF6k; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387594AbgJLThk (ORCPT + 99 others); Mon, 12 Oct 2020 15:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727198AbgJLThk (ORCPT ); Mon, 12 Oct 2020 15:37:40 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B940C0613D0 for ; Mon, 12 Oct 2020 12:37:40 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602531459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zAGBr8RcuoICd4qF7JmAt3GQy9qhOMrKg4+LZEzCs7I=; b=em/+enAgv/TMh+3ZDFKKaxCtVfPiQLPgMx8GGm4uGPeRlerT3cvcwHDBBeFcIe1opya7Pw gNrUe/kX32EDSTCd4SlUpZBtYbGyMiNPd9sLSwfOX+0TwyhckDi0WtQEUwyhjLJYRVb63t 4rpaCRH6eGdNzNGltRqldjiVhOn1buTfJYI6l3QTCk7wqvLGt7MKTC449O255p7/OCIVps vBhD3QSbXuX7egIcei0QjshLtr/OWbkqjCaYmCNwkWVXEk2RM6vk6VjxHO9j4qqQ0EWngR atGFi0cF7IrMDn3TPD4Lcrj3/dW6WfMeZh4vpS/ia6MwhlGRCc7G+iHr2/pn4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602531459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zAGBr8RcuoICd4qF7JmAt3GQy9qhOMrKg4+LZEzCs7I=; b=tta8OF6ktH1HopKhNPtT0t0oKAT66+2IavD/noxJAULo5Jv30IwUCytC6RfCEuZXUu6S6N zsjSeY2VJHB2b6DQ== To: Chris Friesen , LKML Subject: Re: IRQs in /proc/irq/* that aren't listed in /proc/interrupts? In-Reply-To: References: Date: Mon, 12 Oct 2020 21:37:38 +0200 Message-ID: <87wnzvp75p.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris, On Mon, Oct 12 2020 at 12:40, Chris Friesen wrote: > On one of my X86-64 systems /proc/interrupts starts with the following > interrupts (per-cpu info snipped): > > 0: IR-IO-APIC-edge timer > 4: IR-IO-APIC-edge serial > 8: IR-IO-APIC-edge rtc0 > 9: IR-IO-APIC-fasteoi acpi > 17: IR-IO-APIC-fasteoi ehci_hcd:usb1, hpilo > > > On this same system /proc/irq shows these interrupts: > > 0-15, 17 > > Is there any way to determine what the interrupts are that aren't listed > in /proc/interrupts? They are simply unused. > Six of them are affined to all CPUs, and I'm trying to affine as many > interrupts as possible to housekeeping CPUs to free up application > CPUs for low-latency operations. Affining unused and therefore disabled interrupts is a pretty pointless exercise. Thanks, tglx