From nobody Mon Feb 9 23:44:53 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 982D4EB64DC for ; Wed, 21 Jun 2023 17:41:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231465AbjFURl2 (ORCPT ); Wed, 21 Jun 2023 13:41:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231394AbjFURk6 (ORCPT ); Wed, 21 Jun 2023 13:40:58 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23C61FC1; Wed, 21 Jun 2023 10:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687369253; x=1718905253; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=93F5iXdL1aFe8xiqIFZhy89J/IUrk/GxSpjv1QQ9jI0=; b=Z8qbCf8Z0LxVmME6ohW86Wh8NsnHGkbYvcMSipFRogEjfIR6GnerUzKa lMUZuJIDnhIPx4UF09M/N4LzVsM10pOJ5soGT4Nak1umU3j811iukXEB8 wAWCIepUOkl2esu+QpcqgARRUNzwklP2cITfLKY6jCDmEwzkrmPseNaHz ta5HvlO5w/vDFSWVJcPd9BwkwIvbVI+mrI+jQqEY2g0dAX3H6icHEdFsO ld1jiD1uq38YWVLe+sIW9J52OwhZd6s2yWRUuJLBRCd2J6aBjAA0jh+IB CaFGOGSFsB828Nrq9YypxRxoFkHXVo5A+qYoJFnBnfdgqCrjO/FUE1Aju g==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="359120683" X-IronPort-AV: E=Sophos;i="6.00,261,1681196400"; d="scan'208";a="359120683" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 10:40:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="717746145" X-IronPort-AV: E=Sophos;i="6.00,261,1681196400"; d="scan'208";a="717746145" Received: from unknown (HELO fred..) ([172.25.112.68]) by fmsmga007.fm.intel.com with ESMTP; 21 Jun 2023 10:40:36 -0700 From: Xin Li To: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, iommu@lists.linux.dev, linux-hyperv@vger.kernel.org, linux-perf-users@vger.kernel.org, x86@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, steve.wahl@hpe.com, mike.travis@hpe.com, dimitri.sivanich@hpe.com, russ.anderson@hpe.com, dvhart@infradead.org, andy@infradead.org, joro@8bytes.org, suravee.suthikulpanit@amd.com, will@kernel.org, robin.murphy@arm.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, dwmw2@infradead.org, baolu.lu@linux.intel.com, peterz@infradead.org, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, xin3.li@intel.com, seanjc@google.com, jiangshanlai@gmail.com, jgg@ziepe.ca, yangtiezhu@loongson.cn Subject: [PATCH v2 3/3] tools: Get rid of IRQ_MOVE_CLEANUP_VECTOR from tools Date: Wed, 21 Jun 2023 10:12:48 -0700 Message-Id: <20230621171248.6805-4-xin3.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230621171248.6805-1-xin3.li@intel.com> References: <20230621171248.6805-1-xin3.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Get rid of IRQ_MOVE_CLEANUP_VECTOR from tools. Signed-off-by: Xin Li --- tools/arch/x86/include/asm/irq_vectors.h | 7 ------- tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tools/arch/x86/include/asm/irq_vectors.h b/tools/arch/x86/incl= ude/asm/irq_vectors.h index 43dcb9284208..3a19904c2db6 100644 --- a/tools/arch/x86/include/asm/irq_vectors.h +++ b/tools/arch/x86/include/asm/irq_vectors.h @@ -35,13 +35,6 @@ */ #define FIRST_EXTERNAL_VECTOR 0x20 =20 -/* - * Reserve the lowest usable vector (and hence lowest priority) 0x20 for - * triggering cleanup after irq migration. 0x21-0x2f will still be used - * for device interrupts. - */ -#define IRQ_MOVE_CLEANUP_VECTOR FIRST_EXTERNAL_VECTOR - #define IA32_SYSCALL_VECTOR 0x80 =20 /* diff --git a/tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh b/tools= /perf/trace/beauty/tracepoints/x86_irq_vectors.sh index eed9ce0fcbe6..87dc68c7de0c 100755 --- a/tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh +++ b/tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh @@ -12,7 +12,7 @@ x86_irq_vectors=3D${arch_x86_header_dir}/irq_vectors.h =20 # FIRST_EXTERNAL_VECTOR is not that useful, find what is its number # and then replace whatever is using it and that is useful, which at -# the time of writing of this script was: IRQ_MOVE_CLEANUP_VECTOR. +# the time of writing of this script was: 0x20. =20 first_external_regex=3D'^#define[[:space:]]+FIRST_EXTERNAL_VECTOR[[:space:= ]]+(0x[[:xdigit:]]+)$' first_external_vector=3D$(grep -E ${first_external_regex} ${x86_irq_vector= s} | sed -r "s/${first_external_regex}/\1/g") --=20 2.34.1