Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp902876ybk; Fri, 15 May 2020 17:15:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqFuMjnxAhJ+gcuXMlLvJDiiZshPAU2w+8pAZgErzIU0e7DSnwWi8s71Q4g6L5Q67qImCu X-Received: by 2002:a05:6402:3106:: with SMTP id dc6mr5086260edb.19.1589588123844; Fri, 15 May 2020 17:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589588123; cv=none; d=google.com; s=arc-20160816; b=hALXEbP2gK2tqOXY6Jfb6+NFiTiSNItJbjJrvchgcmuqBafi9UQArMcDeTj3iIn3Ev SiV2ZAe/95ttwgLzXYqtuvJFG9n5hB4LrwDbg9HtB/Z0OBOhJadh+YuBsygw1WS6R9uS 5E0EoGaMwcCs9xhLy1beZWvqjPkGHZ+gtzMfRG6mu50BklLVMCW1E9dPr42eXNFUfCwx IxIJyQhbvfgGRhpEeUKRjTpigayKgvh+YKEJuq4s5Bczvfm2ncmtTO6nTCvXxMYN6CIk utBgQZGgICpj94Bqy4ZV9wWljzDpk0QWO4Z2e4oKw0Bzve03mjpNtczNXpGwUFC0yVie StBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:subject:cc:to :from:date:user-agent:message-id; bh=tfZR82NZoK/Kwg7idnqwJPMeVbErfrGkU3mVgE5mav0=; b=gq2HjHNOWrn9WJWAz3cKMUs8a3DoHrCwYWNT+nZnTQprqEvj5Pfrw1jJx8X4BaaYlS HDxAwz1W94HoLA7bZWKxQP3arfszejY+8XfrRjTzCl2EPq1uhG/nCJFleIcRct5Hzdtf oapARn6pkRgKrToniJPgXtWoWqRV394OatZMD5YM6nLCox9xrRUOTtbQyK/H4OTWv5tI IkiTycPEhO2CCpz5mMHT0f+lEga2jvcpHCkQzHyPyZ80cfAnDzbqr6S3Bm05Y28z4l09 GLM6i0j8xsYm1dgkh/fFS9Vx0b6Vpsq/30Ks2HZw4NHm5I7tIVFlJoQiH0TWwsrvQ5qV UqUg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si2078716ede.211.2020.05.15.17.15.01; Fri, 15 May 2020 17:15:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726860AbgEPAKj (ORCPT + 99 others); Fri, 15 May 2020 20:10:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726198AbgEPAKi (ORCPT ); Fri, 15 May 2020 20:10:38 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60A88C061A0C for ; Fri, 15 May 2020 17:10:38 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jZkP1-00022C-Dp; Sat, 16 May 2020 02:10:07 +0200 Received: from nanos.tec.linutronix.de (localhost [IPv6:::1]) by nanos.tec.linutronix.de (Postfix) with ESMTP id CBCCDFF834; Sat, 16 May 2020 02:10:06 +0200 (CEST) Message-Id: <20200515234547.710474468@linutronix.de> User-Agent: quilt/0.65 Date: Sat, 16 May 2020 01:45:47 +0200 From: Thomas Gleixner To: LKML Cc: x86@kernel.org, "Paul E. McKenney" , Andy Lutomirski , Alexandre Chartre , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Mathieu Desnoyers , Josh Poimboeuf , Will Deacon , Tom Lendacky , Wei Liu , Michael Kelley , Jason Chen CJ , Zhao Yakui , "Peter Zijlstra (Intel)" Subject: [patch V6 00/37] x86/entry: Rework leftovers and merge plan Content-transfer-encoding: 8-bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Folks! This is V6 of the rework series. V5 can be found here: https://lore.kernel.org/r/20200512210059.056244513@linutronix.de The V6 leftover series is based on: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry-base-v6 which is the reworked base series from part 1-4 of the original 5 part series with a few changes which are described in detail below in the merge plan section. V6 has the following changes vs. V5: - Rebased on top entry-base-v6 - Addressed Stevens request to split up the hardware latency detector. This are 3 patches now as I couldn't resist to cleanup the timestamping mess in that code before splitting it up. - Dropped the KVM/SVM change as that is going to be routed differently. See below. The full series is available from: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry-v6-the-rest On top of that the kvm changes are applied for completeness and available from: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry-v6-full Merge plan: ----------- After figuring out that the entry pile and next are not really happy with each other, I spent quite some time to come up with a plan. The goal was to: - not let Stephen Rothwell grow more grey hair when trying to resolve the conflicts - allow the affected trees (RCU and KVM) to take a small part of the series into their trees while making sure that the x86/entry branch is complete and contains the required RCU and KVM changes as well. About 10 hours of patch tetris later the solution looks like this: I've reshuffled the patches so that they are grouped by subsystem instead of having the cross tree/subsystem patches close to the actual usage site in the x86/entry series. This allowed me to tag these subsytem parts and they contain just the minimal subset of changes to be able to build and boot. The resulting tag list is: - noinstr-lds-2020-05-15 A single commit containing the vmlinux.lds.h change which introduces the noinstr.text section. - noinstr-core-2020-05-15 Based on noinstr-lds-2020-05-15 and contains the core changes - noinstr-core-for-kvm-2020-05-15 Subset of noinstr-core-2020-05-15 which is required to let KVM pull the KVM async pagefault cleanup and base the guest_enter/exit() and noinstr changes on top. - noinstr-rcu-nmi-2020-05-15 Based on the core/rcu branch in the tip tree. It has merged in noinstr-lds-2020-05-15 and contains the nmi_enter/exit() changes along with the noinstr section changes on top. This tag is intended to be pulled by Paul into his rcu/next branch so he can sort the conflicts and base further work on top. - noinstr-core-2020-05-15 Based on noinstr-core-for-kvm-2020-05-15 and contains the async page fault cleanup which goes into x86/entry so the IDTENTRY conversion of #PF which also touches the async pagefault code can be applied on top This tag is intended to be pulled by Paolo into his next branch so he can work against these changes and the merged result is also target for the rebased version of the KVM guest_enter/exit() changes. These are not part of the entry-v6-base tag. I'm going to post them as a separate series because the original ones are conflicting with work in that area in the KVM tree. - noinstr-kcsan-2020-05015, noinstr-kprobes-2020-05-15, noinstr-objtool-2020-05-15 TIP tree internal tags which I added to reduce the brain-melt. The x86/entry branch is based on the TIP x86/entry branch and has the following branches and tags merged and patches from part 1-4 applied: - x86/asm because this has conflicting changes vs. #DF - A small set of preparatory changes and fixes which are independent of the noinstr mechanics - noinstr-objtool-2020-05-15 - noinstr-core-2020-05-15 - noinstr-kprobes-2020-05-15 - noinstr-rcu-nmi-2020-05-15 - noinstr-kcsan-2020-05015 - noinstr-x86-kvm-2020-05-15 - The part 1-4 patches up to 51336ff8b658 ("x86/entry: Convert double fault exception to IDTENTRY_DF") This is tagged as entry-v6-base The remaining patches in this leftover series will be applied on top. If this works for all maintainers involved, then I'm going to pull the tags and branches into the tip-tree which makes them immutable. If not, please tell me ASAP that I should restart the patch tetris session after hiding in a brown paperbag for some time to recover from brain melt. Thanks, tglx