Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2379419pxb; Mon, 20 Sep 2021 20:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFDcBjrdgiu93QnGVUPNBZSbUY7Yh4GSSE4DWs4brsRE63Dc9SdLd8z/S0IFtLUeragoWf X-Received: by 2002:a17:906:4093:: with SMTP id u19mr32754877ejj.110.1632195997586; Mon, 20 Sep 2021 20:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632195997; cv=none; d=google.com; s=arc-20160816; b=Y7dx2VVGRCoQmjQK3jKDV4pwmValVbk60P0Z4lvXc2gH8ezyn4NMAfDevBb/MToqr/ ohMunVaqUVQOV1q46PGQXI93rcgHckH4dUf6wQt+RTj7CA6WAR7L1xQCw+3RAA8Sx7Ic O/EiULogntLj8TayWkcc/P/t8TSIYYI8KCoKsKFWvASpGtPdS8TLdKQKNSq/KPZ3Xhvu g8tiiRKE6HsL+gXGGYKqOJtLnLAYwBV2VzPAdSmS8SBgQ0lIdgUPkJfbCMJ5Mm1BdP5r HmSFSSap0VodcHWOkTqqfAn0WxHvCScKnUNOCt71DMo6Lpv3gjaWpgM9JzKnoGm/1A+v TXAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=n4ylmNd980AaqDGBoPi69JBfbrwUVsmPgn1VSZMez1E=; b=Fv0npUoCEGkptF7qxmGFZo8v/uC7IHS3ssJ21lyIgC9uD3v6w10Jr6DMDXPZOJSmYz rfNlpCt7WxzUWlMYkGP1RqK5Zbij6RJo4JTrk9ho3kuRgCGUZp41gZ/K5eMYiDlQexE0 6CsO8V7JTk/25cMkhdarWWogFqd1eUbAhxSfP5Cj4mwLE0p96Xtkx3zU2QUasOaVtNc/ IHihLCC9sniNB8hsw5EP7IOwMtu1GMaTlGUuAiTl1+z98781KlG0BVMs3lwf5dCeU8O8 ln97jO1YLAmNhTSulUPOKb19rF8HJ+kXb20K7ySC+CNMsxxPoqPXe+hsGKztJbyVlbxy H5pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f3LBl4Wv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd8si17137632edb.521.2021.09.20.20.46.14; Mon, 20 Sep 2021 20:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f3LBl4Wv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244847AbhITXjn (ORCPT + 99 others); Mon, 20 Sep 2021 19:39:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:46180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239846AbhITXhh (ORCPT ); Mon, 20 Sep 2021 19:37:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83DC46124C; Mon, 20 Sep 2021 23:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632180763; bh=9VfWPpmolgcnU4FcIDFCZf2W+aZhBSZ8ekrhvSjR4iI=; h=From:To:Cc:Subject:Date:From; b=f3LBl4Wvlb+Rb0LRPqBh4ZqCbX9uFzJHYyp3w4dwHAFwPht5+VGjKSHFCcdgWlJA8 takGMgR6Wm4gClGUIPi9TpcVq6EAHQ3IVRULriCY9FDidReUZQGtripTcb259TzeCZ tRGB2J3eNOrZBaZBtuc4KzcHCZvDsc2TCdmfMUiuQq3ppaUwjR5zxBcp53rF21Fln6 sniaeurH9BPSzBmzuwjWcJowskNJDhbT98L40Ng493O4nGVtEGqDxANtCi/J65xCSR NyP6PEb0tBzc2rlv6p47shMrsQzUSPKoL4Y3YvQXEJv0eQs/AIpCrXJCybbmkZc2sv 81WeVbPdJWHyA== From: Frederic Weisbecker To: Peter Zijlstra , Catalin Marinas , Will Deacon Cc: LKML , Frederic Weisbecker , Ard Biesheuvel , James Morse , Quentin Perret , Mark Rutland Subject: [PATCH 0/4] arm64: Support dynamic preemption Date: Tue, 21 Sep 2021 01:32:33 +0200 Message-Id: <20210920233237.90463-1-frederic@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Traditionally the preemption flavour was defined on Kconfig then fixed in stone. Now with CONFIG_PREEMPT_DYNAMIC the users can overwrite that on boot with the "preempt=" boot option (and also through debugfs but that's a secret). Linux distros can be particularly fond of this because it allows them to rely on a single kernel image for all preemption flavours. x86 was the only supported architecture so far but interests are broader. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git preempt/arm HEAD: 351eaa68b5304b8b0e7c6e7b4470dd917475e65e Thanks, Frederic --- Frederic Weisbecker (3): sched/preempt: Prepare for supporting !CONFIG_GENERIC_ENTRY dynamic preemption arm64: Implement IRQ exit preemption static call for dynamic preemption arm64: Implement HAVE_PREEMPT_DYNAMIC Ard Biesheuvel (1): arm64: implement support for static call trampolines arch/Kconfig | 1 - arch/arm64/Kconfig | 2 ++ arch/arm64/include/asm/insn.h | 2 ++ arch/arm64/include/asm/preempt.h | 23 ++++++++++++++++++++++- arch/arm64/include/asm/static_call.h | 28 ++++++++++++++++++++++++++++ arch/arm64/kernel/Makefile | 4 ++-- arch/arm64/kernel/entry-common.c | 15 ++++++++++++--- arch/arm64/kernel/patching.c | 14 +++++++++++--- arch/arm64/kernel/vmlinux.lds.S | 1 + include/linux/entry-common.h | 3 ++- kernel/sched/core.c | 6 ++++-- 11 files changed, 86 insertions(+), 13 deletions(-)