From patchwork Sun Aug 6 12:21:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 131604 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp950913vqr; Sun, 6 Aug 2023 07:23:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENXFaqHoA752Y/ZSeuMbmWbc3CAlHiYHdHyu6KC+jDIOFg1lIi2aVxYAG8PGxHoOwohxqB X-Received: by 2002:a05:6512:280c:b0:4fb:744e:17db with SMTP id cf12-20020a056512280c00b004fb744e17dbmr5414894lfb.1.1691331821416; Sun, 06 Aug 2023 07:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691331821; cv=none; d=google.com; s=arc-20160816; b=rLVx2+GfBZoVvgj0FoeTKEV13XUs0lAcWtljDNI0xdCKVfFwpIjR3jUj8bQqpn+wFJ oixyfN8ujEd0S1zHQnV8vGRzFoBV3rPCUuNUzMxABXIOb+qGFU/cRtrBVIKdzXwgMkN3 1+ivKm/UEtxV0DjQZHIW8+8Asx8Rp9wjmy+TpmeNAZVMfJzGsOp6KvvLDQyZ61lWN9SB x55dxzHOZeppMY5zJexbtMhJi4mCNzHcfxXVtSZ/wOEg7rgwEAsSY34IwkKvTS/hpGlB QytbHz3Bt7qZOsH0L6Bm9iNLmjEdYcNDDLhf2ISI43NXFkcq4d5j9MNr9GyOmg8peC0x AWAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=Lj2o2lMy4Naxup/WI6x4iavrDazv2xdKBIHEdvWvGYk=; fh=wXKEBWyzOGGF1LH8cSduOQSvx6cQW+KdL+xalBZLyzo=; b=jQikVKjf7m2xT0NbEXFQCp27xkm6/1i/RQLb/sgUDvJfAkIJnruMLUtX6bUuFFhVWw Jzt/4E5I77two+38fQBPJpmqn/f7MP5Xqdl3EsjaxmqYL/4t+sGJCN5mEzLFoQpGE7Hg U7qG+kMnrQIC52Gp6dUirMWmlp6BQoze8+idyzdpTjPJNzZh70krphbhDs6+LSjQABoP NlBQ8q3R/sqjB5ETXvV4IuPoBvOQTjG335svDfoxMk3J4ZUYbvbV2re3iDrLuKmEv1Ce 233b4p6zlc/e/6jzierf1q7vjoIlhZEhfYglkbzOpkQ1ffgV9O5GWV+ofFe52db2+6iN MIFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JR4gvvSA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=R13j8xtN; 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=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u21-20020aa7d0d5000000b0052334df2190si1107594edo.169.2023.08.06.07.23.17; Sun, 06 Aug 2023 07:23:41 -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=@linutronix.de header.s=2020 header.b=JR4gvvSA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=R13j8xtN; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbjHFMVu (ORCPT + 99 others); Sun, 6 Aug 2023 08:21:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjHFMVt (ORCPT ); Sun, 6 Aug 2023 08:21:49 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8112F4; Sun, 6 Aug 2023 05:21:47 -0700 (PDT) Date: Sun, 06 Aug 2023 12:21:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691324505; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lj2o2lMy4Naxup/WI6x4iavrDazv2xdKBIHEdvWvGYk=; b=JR4gvvSAVQ2luaSxrRQahxfaU3Lut2HPhXRDp4VvMi4RBmkl1XydmI3IF79lj7nHMCX0xX jOeMO/Icgljg/MavVK/yMFxpRvxMSojgTOPQ9Ds4avQv4mwbm2sn85A8F52/6ToQAzKVfq LO1+L5GTQKBkaauqSJA55GrzTpDvgWiF0nGEsDxqglKMN4pnHGuMVko9CyvowPRxaMHDUm QCUfnIKX7lnHvPTD5JYPgTsWG7eZNXq58sIYHYi6j48PxO4kLIjIEKNaL5nUuYXlRTHKaq 5zBj3+BYf0okgEpm7PtSdI7LxEybkaeqoYIvmDFj7qGQ819Rga2CLPLGNC/Dzw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691324505; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lj2o2lMy4Naxup/WI6x4iavrDazv2xdKBIHEdvWvGYk=; b=R13j8xtNxnxwKCJA3eJNGY+lstH1VYUHi+piSQriVC8z3yGEwmBsQzxzKzufTTAFz5KqmW F4mgobINPp5dgUCQ== From: "tip-bot2 for Xin Li" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/apic] tools: Get rid of IRQ_MOVE_CLEANUP_VECTOR from tools Cc: Xin Li , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230621171248.6805-4-xin3.li@intel.com> References: <20230621171248.6805-4-xin3.li@intel.com> MIME-Version: 1.0 Message-ID: <169132450428.28540.15994029338286764122.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1769335566066785499 X-GMAIL-MSGID: 1773489955747431182 The following commit has been merged into the x86/apic branch of tip: Commit-ID: 6e3edb0fb5c0ee3ab1edc1fcfd159e7dd177ef0e Gitweb: https://git.kernel.org/tip/6e3edb0fb5c0ee3ab1edc1fcfd159e7dd177ef0e Author: Xin Li AuthorDate: Wed, 21 Jun 2023 10:12:48 -07:00 Committer: Thomas Gleixner CommitterDate: Sun, 06 Aug 2023 14:15:10 +02:00 tools: Get rid of IRQ_MOVE_CLEANUP_VECTOR from tools IRQ_MOVE_CLEANUP_VECTOR is not longer in use. Remove the last traces. Signed-off-by: Xin Li Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20230621171248.6805-4-xin3.li@intel.com --- 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/include/asm/irq_vectors.h index 43dcb92..3a19904 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 -/* - * 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 /* diff --git a/tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh b/tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh index eed9ce0..87dc68c 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=${arch_x86_header_dir}/irq_vectors.h # 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. first_external_regex='^#define[[:space:]]+FIRST_EXTERNAL_VECTOR[[:space:]]+(0x[[:xdigit:]]+)$' first_external_vector=$(grep -E ${first_external_regex} ${x86_irq_vectors} | sed -r "s/${first_external_regex}/\1/g")