mbox series

[0/3] Cleanup mce_notify_irq usage

Message ID 20250114163722.34850-1-nik.borisov@suse.com (mailing list archive)
Headers show
Series Cleanup mce_notify_irq usage | expand

Message

Nikolay Borisov Jan. 14, 2025, 4:37 p.m. UTC
Here are 3 small patches that result in mce_notify_irq becoming private to core.c
and unexporting it. I have one pending question that I've put under the scissor
line in Patch 3. But overall they are pretty self-explanatory and obvious.

Nikolay Borisov (3):
  x86/mce/inject: Remova call to mce_notify_irq()
  x86/mce: Make mce_notify_irq() static
  x86/mce: Make mce_notify_irq() depend on CONFIG_X86_MCELOG_LEGACY

 arch/x86/include/asm/mce.h       |  2 --
 arch/x86/kernel/cpu/mce/core.c   | 44 +++++++++++++++++---------------
 arch/x86/kernel/cpu/mce/inject.c |  1 -
 3 files changed, 23 insertions(+), 24 deletions(-)

--
2.43.0

Comments

Zhuo, Qiuxu Jan. 15, 2025, 6:37 a.m. UTC | #1
> From: Nikolay Borisov <nik.borisov@suse.com>
> Sent: Wednesday, January 15, 2025 12:37 AM
> To: linux-edac@vger.kernel.org
> Cc: x86@kernel.org; linux-kernel@vger.kernel.org; bp@alien8.de; Nikolay
> Borisov <nik.borisov@suse.com>
> Subject: [PATCH 0/3] Cleanup mce_notify_irq usage

I tried to apply this series on top of the ras/core branch of the TIP tree, but there were some conflicts. 
Would it be better to rebase this series on top of the ras/core branch of the TIP tree?

  https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git   ras/core
Nikolay Borisov Jan. 15, 2025, 6:59 a.m. UTC | #2
On 15.01.25 г. 8:37 ч., Zhuo, Qiuxu wrote:
>> From: Nikolay Borisov <nik.borisov@suse.com>
>> Sent: Wednesday, January 15, 2025 12:37 AM
>> To: linux-edac@vger.kernel.org
>> Cc: x86@kernel.org; linux-kernel@vger.kernel.org; bp@alien8.de; Nikolay
>> Borisov <nik.borisov@suse.com>
>> Subject: [PATCH 0/3] Cleanup mce_notify_irq usage
> 
> I tried to apply this series on top of the ras/core branch of the TIP tree, but there were some conflicts.
> Would it be better to rebase this series on top of the ras/core branch of the TIP tree?
> 
>    https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git   ras/core


Sure, will do. It's based off master curently