Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753754AbdLNQVC (ORCPT ); Thu, 14 Dec 2017 11:21:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:38742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516AbdLNQU7 (ORCPT ); Thu, 14 Dec 2017 11:20:59 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2D7E21A23 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org X-Google-Smtp-Source: ACJfBotnmPgPIwqKFN+aTWWQXa3BIdxoXuBRk1d6OIrgTxV2BzhTPNUtYRP2QN0aZzpxTHL+iUjTUyQ0sIuAB2iEt3U= MIME-Version: 1.0 In-Reply-To: <20171214113851.647809433@infradead.org> References: <20171214112726.742649793@infradead.org> <20171214113851.647809433@infradead.org> From: Andy Lutomirski Date: Thu, 14 Dec 2017 08:20:37 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit forced To: Peter Zijlstra Cc: "linux-kernel@vger.kernel.org" , Thomas Gleixner , X86 ML , Linus Torvalds , Andy Lutomirsky , Dave Hansen , Borislav Petkov , Greg KH , Kees Cook , Hugh Dickins , Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , "Liguori, Anthony" , Will Deacon , "linux-mm@kvack.org" , "Kirill A. Shutemov" , Dan Williams Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 373 Lines: 8 On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > From: Thomas Gleixner > > In order to make the LDT mapping RO the access bit needs to be forced by > the kernel. Adjust the test case so it handles that gracefully. If this turns out to need reverting because it breaks Wine or something, we're really going to regret it.