From patchwork Wed Aug 22 15:30:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Zijlstra X-Patchwork-Id: 10573017 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 20CE6112E for ; Wed, 22 Aug 2018 15:46:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F9472B783 for ; Wed, 22 Aug 2018 15:46:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00DD92B79C; Wed, 22 Aug 2018 15:46:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 829C92B783 for ; Wed, 22 Aug 2018 15:46:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CAF3B6B2518; Wed, 22 Aug 2018 11:46:00 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C37316B2519; Wed, 22 Aug 2018 11:46:00 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ADB036B251A; Wed, 22 Aug 2018 11:46:00 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by kanga.kvack.org (Postfix) with ESMTP id 7995D6B2518 for ; Wed, 22 Aug 2018 11:46:00 -0400 (EDT) Received: by mail-pf1-f198.google.com with SMTP id p5-v6so1368128pfh.11 for ; Wed, 22 Aug 2018 08:46:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:message-id:user-agent:date:from :to:cc:subject; bh=K61e23rDPdYeAluFZncd/sjTQ7bcj6H5sIUK4bClOoY=; b=cGJcZxHjjdk3PpBIymkr6tHDr7IOvymQyrku69hXEo9LpspFOrH3nnCn5YLS1XvW03 afl52O7J2Q+l1uua0J48VVZxuHfAafssRXlmY/yU86/g8+sT7dnjIoPdjAXCjIqkXjPw vza7zGZwWLo8fcgVjzCKcY2OygaXP2XcOldIZ+2ZCkpPHKQ5IDck99O/PDQS9yh5bT3X M5eX2AQP0OiqbaRsVA0DdDBO8qnqpb6oCD1pya0C8cLu7lH/4jpvuzFYMhT4TwAncrxE G/f9VrfokClKr6J9Wu71JP7BhpH+XC2/3uz63sOtH/lpjfYC5BjEGDtjUptHJE5QbXdV d1qQ== X-Gm-Message-State: AOUpUlEUNA8ndvjun29jm/FfhDUZy2lbu7HzqzE9xV8+qd/AF/VAA1EV n+TCLSPBZGdkru7Qtga/RKvVtO0D+SwRKeraWr9V5i5Kg6pI3G6eT/hDnTLsAujxNUB73dUCneL razcH7GlHMerXW7yEmbcyWUmd9Q14QfX+cko9CbTb1/pUUmszX3fSA6Tf+p73uFxmgQ== X-Received: by 2002:a17:902:7845:: with SMTP id e5-v6mr53861763pln.197.1534952760184; Wed, 22 Aug 2018 08:46:00 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzGNf3FJDrK1K3Wqa9sNz5uDq1qs04AWgfP3vhIncWcNQy+66A0c6XmCW3W+HDLo7ottJoD X-Received: by 2002:a17:902:7845:: with SMTP id e5-v6mr53861731pln.197.1534952759567; Wed, 22 Aug 2018 08:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534952759; cv=none; d=google.com; s=arc-20160816; b=hjhZVU8RGqucxSEuRoNTeypa+QVw+OzDi8TcAjBE4K736GcCXFdwGBYd/q/FWdF0o+ g1sRKWtemqygDaqtp/C7allJpRI3BttpX7LFx7xoGA70pXk25wNsv0+2/krenA1NZ1zs 81tNoqX1uTpZH1g3TIZSX0maqe2La3Puc0Blp9BGOwhdjG0cl9iN4a1tsP3CeVQcPvk3 bc6gvXvxK5HwQ/MlMW15O0eHWgBcvlqjkT/yC7rSXlCRcKMVdeZZiqavgyM0uU7YuSKf WzEfSNsdbqtHoP84gPJycjFeHXf6/akEzICLtM9djDRrmKH1JDA1zgksFcFZ3hxOeHL/ zWQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:user-agent:message-id:dkim-signature :arc-authentication-results; bh=K61e23rDPdYeAluFZncd/sjTQ7bcj6H5sIUK4bClOoY=; b=wDMTz0U3jUuvN5F0481Mf4wwbfSubNHPrwmqogiNa6xtMyNEMM6CofKeGs3SsU/ePN GhZ0pVMTl/LsVArUuCOHzy7fk2tzlm476WiyZ4tfqh9HCUjnPwgN9RlLChlp8xe64o+M q3ZNnw4aQSNOE3D+H+hPNAdzHObx8whmCkWmSB/9ANLDaVNYeXz+1is2I6JZoSfq8STR vSVSlTSEVA5dWD0YxE1u7Pmqu+0zK75UlQw6YMirJWfo0YyOAbR5+I9plozKZGLvt74c 3lMR9iCTjQI0MBL/260QlptaHWQcWbe/mghhSmLZQOHcuQvOSX2p3IXxJVMiTnMLga2s FLAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=R6KWZH0v; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=peterz@infradead.org Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id d1-v6si1938162pla.103.2018.08.22.08.45.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Aug 2018 08:45:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=R6KWZH0v; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=peterz@infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Subject:Cc:To:From:Date:Message-ID: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=K61e23rDPdYeAluFZncd/sjTQ7bcj6H5sIUK4bClOoY=; b=R6KWZH0vSV6t8/lj1JCiR4/m1 5PIyK7rX9gK5Y9EzirpuwcUNlEXwU8kIuDYtmAs8z2ckcnniCptKk9DTsNhmsPNi+2J2aw14bBR7s ZE+Lb047mrx4lVCX3NQswZ4svQgSz2EB3Drudpmvhew64d6uNY4/llpTBQbEy0RTOoPM/0cmGYK62 Mu+j1qbl7cE+bBGfzs7QeNV+6XRUz2112bo1xD8HPxg304PDQHrXSlE072IW74hFAdj5GshxQZ/oq ajiTe6K5c0d1kWdhmFsAl17SD/qGp+5Wcnjw7uy1LRhrxhaIJao50RXmAEC0LNo0Hgg2DuQHMP1QB oAgP4FUTw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsVKM-0004RA-EH; Wed, 22 Aug 2018 15:45:46 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id B6E902024D722; Wed, 22 Aug 2018 17:45:44 +0200 (CEST) Message-ID: <20180822153012.173508681@infradead.org> User-Agent: quilt/0.65 Date: Wed, 22 Aug 2018 17:30:12 +0200 From: Peter Zijlstra To: torvalds@linux-foundation.org Cc: peterz@infradead.org, luto@kernel.org, x86@kernel.org, bp@alien8.de, will.deacon@arm.com, riel@surriel.com, jannh@google.com, ascannell@google.com, dave.hansen@intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/4] x86: TLB invalidate fixes X-Bogosity: Ham, tests=bogofilter, spamicity=0.031793, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here are a number of patches that fix a x86 TLB invalidation issue reported by Jann and some related things that came up while sorting this out. Please consider.