LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START
@ 2018-04-25  2:05 Dou Liyang
  2018-04-25  7:01 ` David Rientjes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dou Liyang @ 2018-04-25  2:05 UTC (permalink / raw)
  To: x86, linux-kernel; +Cc: tglx, mingo, hpa, Dou Liyang

Now, Linux uses matrix allocator for vector assignment, the original
assignment code which used VECTOR_OFFSET_START has been removed.

So remove the stale macro as well

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
---
 arch/x86/include/asm/irq_vectors.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 404c5fdff859..57003074bd7a 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -34,11 +34,6 @@
  * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
  */
 #define FIRST_EXTERNAL_VECTOR		0x20
-/*
- * We start allocating at 0x21 to spread out vectors evenly between
- * priority levels. (0x80 is the syscall vector)
- */
-#define VECTOR_OFFSET_START		1
 
 /*
  * Reserve the lowest usable vector (and hence lowest priority)  0x20 for
-- 
2.14.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START
  2018-04-25  2:05 [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START Dou Liyang
@ 2018-04-25  7:01 ` David Rientjes
  2018-04-25  9:02 ` [tip:x86/urgent] " tip-bot for Dou Liyang
  2018-04-26  5:34 ` tip-bot for Dou Liyang
  2 siblings, 0 replies; 4+ messages in thread
From: David Rientjes @ 2018-04-25  7:01 UTC (permalink / raw)
  To: Dou Liyang; +Cc: x86, linux-kernel, tglx, mingo, hpa

On Wed, 25 Apr 2018, Dou Liyang wrote:

> Now, Linux uses matrix allocator for vector assignment, the original
> assignment code which used VECTOR_OFFSET_START has been removed.
> 
> So remove the stale macro as well
> 
> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>

This was removed in 4.15 by commit 69cde0004a4b ("x86/vector: Use matrix 
allocator for vector assignment").

Acked-by: David Rientjes <rientjes@google.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip:x86/urgent] x86/vector: Remove the macro VECTOR_OFFSET_START
  2018-04-25  2:05 [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START Dou Liyang
  2018-04-25  7:01 ` David Rientjes
@ 2018-04-25  9:02 ` tip-bot for Dou Liyang
  2018-04-26  5:34 ` tip-bot for Dou Liyang
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Dou Liyang @ 2018-04-25  9:02 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: hpa, linux-kernel, rientjes, mingo, douly.fnst, tglx

Commit-ID:  5a626a8dfb58a64a39f4351e3962e7320191f189
Gitweb:     https://git.kernel.org/tip/5a626a8dfb58a64a39f4351e3962e7320191f189
Author:     Dou Liyang <douly.fnst@cn.fujitsu.com>
AuthorDate: Wed, 25 Apr 2018 10:05:53 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Wed, 25 Apr 2018 10:56:24 +0200

x86/vector: Remove the macro VECTOR_OFFSET_START

Now, Linux uses matrix allocator for vector assignment, the original
assignment code which used VECTOR_OFFSET_START has been removed.

So remove the stale macro as well.

Fixes: commit 69cde0004a4b ("x86/vector: Use matrix allocator for vector assignment")
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Rientjes <rientjes@google.com>
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20180425020553.17210-1-douly.fnst@cn.fujitsu.com

---
 arch/x86/include/asm/irq_vectors.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 404c5fdff859..57003074bd7a 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -34,11 +34,6 @@
  * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
  */
 #define FIRST_EXTERNAL_VECTOR		0x20
-/*
- * We start allocating at 0x21 to spread out vectors evenly between
- * priority levels. (0x80 is the syscall vector)
- */
-#define VECTOR_OFFSET_START		1
 
 /*
  * Reserve the lowest usable vector (and hence lowest priority)  0x20 for

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip:x86/urgent] x86/vector: Remove the macro VECTOR_OFFSET_START
  2018-04-25  2:05 [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START Dou Liyang
  2018-04-25  7:01 ` David Rientjes
  2018-04-25  9:02 ` [tip:x86/urgent] " tip-bot for Dou Liyang
@ 2018-04-26  5:34 ` tip-bot for Dou Liyang
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Dou Liyang @ 2018-04-26  5:34 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: mingo, rientjes, hpa, tglx, linux-kernel, douly.fnst

Commit-ID:  e3072805c61167b85a30ceeef606620704db31f7
Gitweb:     https://git.kernel.org/tip/e3072805c61167b85a30ceeef606620704db31f7
Author:     Dou Liyang <douly.fnst@cn.fujitsu.com>
AuthorDate: Wed, 25 Apr 2018 10:05:53 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 26 Apr 2018 07:31:17 +0200

x86/vector: Remove the macro VECTOR_OFFSET_START

Now, Linux uses matrix allocator for vector assignment, the original
assignment code which used VECTOR_OFFSET_START has been removed.

So remove the stale macro as well.

Fixes: commit 69cde0004a4b ("x86/vector: Use matrix allocator for vector assignment")
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Rientjes <rientjes@google.com>
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20180425020553.17210-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/include/asm/irq_vectors.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 404c5fdff859..57003074bd7a 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -34,11 +34,6 @@
  * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
  */
 #define FIRST_EXTERNAL_VECTOR		0x20
-/*
- * We start allocating at 0x21 to spread out vectors evenly between
- * priority levels. (0x80 is the syscall vector)
- */
-#define VECTOR_OFFSET_START		1
 
 /*
  * Reserve the lowest usable vector (and hence lowest priority)  0x20 for

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-26  5:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25  2:05 [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START Dou Liyang
2018-04-25  7:01 ` David Rientjes
2018-04-25  9:02 ` [tip:x86/urgent] " tip-bot for Dou Liyang
2018-04-26  5:34 ` tip-bot for Dou Liyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).