From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753378AbeBTRiF (ORCPT ); Tue, 20 Feb 2018 12:38:05 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40104 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753129AbeBTRiD (ORCPT ); Tue, 20 Feb 2018 12:38:03 -0500 From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Steven Rostedt , Ingo Molnar , Thomas Gleixner , Linus Torvalds , Peter Zijlstra , Jason Baron , Borislav Petkov Subject: [PATCH v4 0/3] jump_label: Robustify jump label patching Date: Tue, 20 Feb 2018 11:37:50 -0600 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4: - Fix CONFIG_MODULES=n build by moving jump_label_invalidate_init() outside of the CONFIG_MODULES ifdef guard (reported by 0-day bot) v3: - Make init_kernel_text() global - Use braces in multi-line 'for' statements v2: - Refine the warning so that it doesn't warn about __init entries - (Do so by explicitly disabling __init entries) - Drop v1 patches which removed __init tracepoints Josh Poimboeuf (3): jump_label: Explicitly disable jump labels in __init code jump_label: Warn on failed jump_label patch extable: Make init_kernel_text() global arch/x86/kernel/unwind_orc.c | 3 +-- include/linux/jump_label.h | 3 +++ include/linux/kernel.h | 1 + init/main.c | 2 ++ kernel/extable.c | 2 +- kernel/jump_label.c | 27 ++++++++++++++++++++++----- 6 files changed, 30 insertions(+), 8 deletions(-) -- 2.14.3