From patchwork Fri Nov 30 20:23:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirill A . Shutemov" X-Patchwork-Id: 10707143 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 47A051057 for ; Fri, 30 Nov 2018 20:23:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39A6928699 for ; Fri, 30 Nov 2018 20:23:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D00128653; Fri, 30 Nov 2018 20:23:54 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE 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 C134528699 for ; Fri, 30 Nov 2018 20:23:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5819E6B59F3; Fri, 30 Nov 2018 15:23:52 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 507496B59F4; Fri, 30 Nov 2018 15:23:52 -0500 (EST) 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 3D2DF6B59F5; Fri, 30 Nov 2018 15:23:52 -0500 (EST) 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 EA7FB6B59F3 for ; Fri, 30 Nov 2018 15:23:51 -0500 (EST) Received: by mail-pf1-f198.google.com with SMTP id 68so5327402pfr.6 for ; Fri, 30 Nov 2018 12:23:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; bh=kejzZd1gdJbIRKpTq0I/tO9kBSuAO/DO48MA4XWW4mY=; b=QiGXS0mYHacp3UuoML2pKd2/UqnRM690zVY91HWg7IGUNbQBym75+cQqKg+/J3F3yc Qc+KyV2VKJRB3N0Jj57xfGRjxFyJ1VT6Q6UXFbff6jOV/c3syTXx/XMXkJVwFJEDY8fa mKdbJg3Td4SHeTsKTfAo9aJ6W4xq+KkBncbP0+hW4ygyDYiPAY4/Kqco3UUG7XEAzIkh PRHPjcbIx25Xd+wOhPu0ZSApc3PfUKnjOJM1acDqtfNtjogTfpkeRyTmJifZthQi9VcX tRAYGZs6XIz5WLFF8ppQTBO27jsYegVwUZCPT08IyWUTROaC5uPnylJvfGifqo8ApAKh g+og== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: AA+aEWakBACDu/avofEi82KgHz2/j4Mfw2WEhiPx9CxWKgwgpLRd7iGM y3832uEM3QlSssxBmUe30i4OtXgOgtPDeq+ynC8HrnFbAn+4Xo5hfTXfqW/iRJL4EYW7do4KpUF CB1jSc8s7EvJMpmoQSJfFcJdvE/RlJ6Q5nMPL0ca5j+aMUKGGk1IMPc4VeePrRqqbzQ== X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr7037960plb.169.1543609431604; Fri, 30 Nov 2018 12:23:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/XrfEAQE7rlUAEQ4r1S+wIYha1uU5M7niBGWo1RPsKaeSEmDIuaeY7bNPvzfSUUaNYkEhGc X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr7037916plb.169.1543609430776; Fri, 30 Nov 2018 12:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543609430; cv=none; d=google.com; s=arc-20160816; b=iUMas4VYvU18hi1Vg+Hp3B/xTAqsBFxwRpVR38aeYmv5JWUowyJ7msuom5LkHAe062 NerjoH7NArz5qt4YpdOakRPnjE2C/BNOzLJPtxE6EvZdrlsULEmRZwIpts73/xLudIEU lUa4d36aIVTo+/BQBV2hQH35fnLjpB6ahEB34jExhC778fp3jVTZZrl8nP/xYt/RWQ+S MbmmgyNxas67YjBfeNPYU9wFBJR35BIIckAr+KFirCEPxSHEqIhyVoLhK8aSq5dB77R7 E9GmgC+xsJ8QrUYl/Id6Fm6cts3t6xibRLtbPPjeUJah/M9L5XaLqe0A1CdcCcd5LtKu oA7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=kejzZd1gdJbIRKpTq0I/tO9kBSuAO/DO48MA4XWW4mY=; b=hbZKsdlADxDfS8XVsJzYoJcOZ+5jha9wZ8v+/8Zq22Hujie6eDRzshkciMI2lX2LUI gKDziJdaHNQsnFtT6+Qd6U8aZoOGILdan2YV8lHv7tEc370z+THwj7/nk/Tr1udgmfXH tC1tibCvbs70sup0vfCPd/nDfcaaE1Dx50NS7wM4RVbtXk47f6pVmOeuJTcdZQ/Ii6Um HbmWflT2GHZ8t7E1kgN4wnG7pXQHFvgBAQ9hzaZTfL8BVahfIWYngwSt/dALDe7t2i5W DDslXRp/CNkFTN/qnYpFbeOESxrQQl3lP4jx/NeHC7tSQoHhW49SMGgksO2SxEYOyr1O agig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga02.intel.com (mga02.intel.com. [134.134.136.20]) by mx.google.com with ESMTPS id m3si6242816pld.331.2018.11.30.12.23.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Nov 2018 12:23:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 134.134.136.20 as permitted sender) client-ip=134.134.136.20; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Nov 2018 12:23:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,299,1539673200"; d="scan'208";a="294484490" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 30 Nov 2018 12:23:46 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id 73D87288; Fri, 30 Nov 2018 22:23:45 +0200 (EET) From: "Kirill A. Shutemov" To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org Cc: boris.ostrovsky@oracle.com, jgross@suse.com, bhe@redhat.com, hans.van.kranenburg@mendix.com, x86@kernel.org, linux-mm@kvack.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCHv2 0/2] Fixups for LDT remap placement change Date: Fri, 30 Nov 2018 23:23:26 +0300 Message-Id: <20181130202328.65359-1-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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 There's a couple fixes for the recent LDT remap placement change. The first patch fixes crash when kernel booted as Xen dom0. The second patch fixes address space markers in dump_pagetables output. It's purely cosmetic change, backporting to the stable tree is optional. v2: - Fix typo Kirill A. Shutemov (2): x86/mm: Fix guard hole handling x86/dump_pagetables: Fix LDT remap address marker arch/x86/include/asm/pgtable_64_types.h | 5 +++++ arch/x86/mm/dump_pagetables.c | 15 ++++++--------- arch/x86/xen/mmu_pv.c | 11 ++++++----- 3 files changed, 17 insertions(+), 14 deletions(-)