Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500652 > unrolled thread

[PATCH] x86: remove duplicate rtit status MSR macro

Started by"Longpeng(Mike)" <longpeng2@huawei.com>
First post2016-10-14 02:50 +0200
Last post2016-10-14 14:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] x86: remove duplicate rtit status MSR macro "Longpeng(Mike)" <longpeng2@huawei.com> - 2016-10-14 02:50 +0200
    Re: [PATCH] x86: remove duplicate rtit status MSR macro Borislav Petkov <bp@alien8.de> - 2016-10-14 12:00 +0200
    [tip:x86/urgent] x86: Remove duplicate rtit status MSR macro "tip-bot for Longpeng(Mike)" <tipbot@zytor.com> - 2016-10-14 14:30 +0200

#1500652 — [PATCH] x86: remove duplicate rtit status MSR macro

From"Longpeng(Mike)" <longpeng2@huawei.com>
Date2016-10-14 02:50 +0200
Subject[PATCH] x86: remove duplicate rtit status MSR macro
Message-ID<srYRb-2nn-9@gated-at.bofh.it>
The MSR_IA32_RTIT_STATUS has defined twice, so remove one.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
---
 arch/x86/include/asm/msr-index.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index 56f4c66..78f3760 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -88,7 +88,6 @@
 
 #define MSR_IA32_RTIT_CTL		0x00000570
 #define MSR_IA32_RTIT_STATUS		0x00000571
-#define MSR_IA32_RTIT_STATUS		0x00000571
 #define MSR_IA32_RTIT_ADDR0_A		0x00000580
 #define MSR_IA32_RTIT_ADDR0_B		0x00000581
 #define MSR_IA32_RTIT_ADDR1_A		0x00000582
-- 
1.8.3.1

[toc] | [next] | [standalone]


#1500815

FromBorislav Petkov <bp@alien8.de>
Date2016-10-14 12:00 +0200
Message-ID<ss7rr-810-19@gated-at.bofh.it>
In reply to#1500652
On Fri, Oct 14, 2016 at 08:42:20AM +0800, Longpeng(Mike) wrote:
> The MSR_IA32_RTIT_STATUS has defined twice, so remove one.
> 
> Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
> ---
>  arch/x86/include/asm/msr-index.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
> index 56f4c66..78f3760 100644
> --- a/arch/x86/include/asm/msr-index.h
> +++ b/arch/x86/include/asm/msr-index.h
> @@ -88,7 +88,6 @@
>  
>  #define MSR_IA32_RTIT_CTL		0x00000570
>  #define MSR_IA32_RTIT_STATUS		0x00000571
> -#define MSR_IA32_RTIT_STATUS		0x00000571
>  #define MSR_IA32_RTIT_ADDR0_A		0x00000580
>  #define MSR_IA32_RTIT_ADDR0_B		0x00000581
>  #define MSR_IA32_RTIT_ADDR1_A		0x00000582
> -- 

Acked-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

[toc] | [prev] | [next] | [standalone]


#1500891 — [tip:x86/urgent] x86: Remove duplicate rtit status MSR macro

From"tip-bot for Longpeng(Mike)" <tipbot@zytor.com>
Date2016-10-14 14:30 +0200
Subject[tip:x86/urgent] x86: Remove duplicate rtit status MSR macro
Message-ID<ss9MB-1cq-13@gated-at.bofh.it>
In reply to#1500652
Commit-ID:  c836eeda3e1e652d424bbbbb908f07eb7380448c
Gitweb:     http://git.kernel.org/tip/c836eeda3e1e652d424bbbbb908f07eb7380448c
Author:     Longpeng(Mike) <longpeng2@huawei.com>
AuthorDate: Fri, 14 Oct 2016 08:42:20 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 14 Oct 2016 14:14:20 +0200

x86: Remove duplicate rtit status MSR macro

The MSR_IA32_RTIT_STATUS is defined twice, so remove one.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: len.brown@intel.com
Cc: peterz@infradead.org
Cc: rafael.j.wysocki@intel.com
Cc: alexander.shishkin@linux.intel.com
Cc: ray.huang@amd.com
Cc: Aravind.Gopalakrishnan@amd.com
Cc: wu.wubin@huawei.com
Cc: srinivas.pandruvada@linux.intel.com
Cc: zhaoshenglong@huawei.com
Cc: vladimir_zapolskiy@mentor.com
Link: http://lkml.kernel.org/r/1476405740-80816-1-git-send-email-longpeng2@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 arch/x86/include/asm/msr-index.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index 56f4c66..78f3760 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -88,7 +88,6 @@
 
 #define MSR_IA32_RTIT_CTL		0x00000570
 #define MSR_IA32_RTIT_STATUS		0x00000571
-#define MSR_IA32_RTIT_STATUS		0x00000571
 #define MSR_IA32_RTIT_ADDR0_A		0x00000580
 #define MSR_IA32_RTIT_ADDR0_B		0x00000581
 #define MSR_IA32_RTIT_ADDR1_A		0x00000582

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web