Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754633AbdGJQz0 (ORCPT ); Mon, 10 Jul 2017 12:55:26 -0400 Received: from mail-he1eur01on0103.outbound.protection.outlook.com ([104.47.0.103]:36304 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754359AbdGJQzV (ORCPT ); Mon, 10 Jul 2017 12:55:21 -0400 Authentication-Results: googlegroups.com; dkim=none (message not signed) header.d=none;googlegroups.com; dmarc=none action=none header.from=virtuozzo.com; Subject: Re: KASAN vs. boot-time switching between 4- and 5-level paging To: "Kirill A. Shutemov" Cc: Dmitry Vyukov , Alexander Potapenko , "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , linux-arch@vger.kernel.org, "linux-mm@kvack.org" , LKML , kasan-dev References: <20170525203334.867-1-kirill.shutemov@linux.intel.com> <20170525203334.867-8-kirill.shutemov@linux.intel.com> <20170526221059.o4kyt3ijdweurz6j@node.shutemov.name> <71e11033-f95c-887f-4e4e-351bcc3df71e@virtuozzo.com> <75acbed7-6a08-692f-61b5-2b44f66ec0d8@virtuozzo.com> <20170710123346.7y3jnftqgpingim3@node.shutemov.name> From: Andrey Ryabinin Message-ID: Date: Mon, 10 Jul 2017 19:57:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170710123346.7y3jnftqgpingim3@node.shutemov.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: PS1PR0301CA0022.apcprd03.prod.outlook.com (2a01:111:e400:c6c0::32) To HE1PR0801MB2729.eurprd08.prod.outlook.com (2a01:111:e400:7baf::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9f0a6104-f875-49ae-b0bb-08d4c7b4708e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:HE1PR0801MB2729; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2729;3:x3g/ClwtmTkQOHDUco87ptcNvcG7zNOAc0e3foMKYBDs+SEiFvUaBjPUT53aQTIv//oFgz9QNYGqJfzlUAYM7M1NqxuN9CditP2Y2sPClLNwMlbvy66zuvpzTAtT7egHO2FwZWyY+g37kRFn6NF2Yfeb+B6O9yh6k+bVAj5sKwLRXWzpfFXyov67XtByEuIUUNlZGNpi865eWwmdS+dMlXTMnY37hWcmKV0qs0Uj5bFSPleDaEw+Gr+uzlq5WdrkKY2qyqn4Mi8dB1/nZB1gKlsKR9pCgt3ZLWML/pPTDhTe1LGVaoMXUUJlt8MYoJUjVWTsi0S84KQ/QUCe8UZZ5Mrg+fZd0skBmzSw02At9gHfWwIaLAxa59wLbNyzR7BqC6E/VhznF7z2wmcQxBf3ZPAzR7hizL1/z7U0bMuzU47uetIY+qLToVAp1/b97CifE6q4idjdjCPNL/D6mZG2OxR00WpBCidBcCgR5Ge10j4MhdtNBPfIa75HeTtrNQOnPPChAW0HNU9UU3AKZ+1JD9fqn/T0BK4wEcUdeEwGWLs9NF6afXN/EygyjFLUDChAW/ePFsWvUbvGPwUUhum3tx21Bxue8Mx5leTeNKLa92kg8EoZj1gBC5KIroVBWs69+k3cb3PNC5IjBEcJ4BAVe22+9LhswBTFUSikTNc15n8/hAPMTep8HIDif1J6zwFHU17d+Y4A5HQTBbgoTKbfznSCTw05MQBmH/Dw9Jkr6Go= X-MS-TrafficTypeDiagnostic: HE1PR0801MB2729: X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2729;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nMRD4yw0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:HE1PR0801MB2729;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:HE1PR0801MB2729; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjI3Mjk7NDp5L00rKyt0L3l2R2hLRlRvQm9UdzJSZTBL?= =?utf-8?B?UFFubWVJTWtRSSs3bDMzbmM4MDZFUnNkb0MzakttWmlQbUN1bkpXdHYwOVE1?= =?utf-8?B?aWdxcWZqWS96cVkwK2pKYlNrMXlySEZvVzlRcUJFZXNOL0pJSzhUd0kzdWNI?= =?utf-8?B?c3dYM0dFSDlybnJIRDBoVFNQeW50dVdrOHRhZmsrYlZ3dDZnVU1RQUZSZTJ3?= =?utf-8?B?bFRqY0VlQ1VnckNQMlluZTRabGwvQTQzckV0UWR2b2gwekNxRW1na0J0bUtq?= =?utf-8?B?Q2tRN3kwSWR3b0hPOFkxMmY0YW1IZ1FMT0JxdXpGVzN4V0JIdkM1N0lpUDU4?= =?utf-8?B?OTFFSWpaOVNKbUZ5bkc5QVYxMlNZNm10eHFsNTdZbkRBV0EzSTQ4VnZueGQ3?= =?utf-8?B?WHJmWXRMVVZ1NEVoM0h3bkQzazhadGM2Y3c2ZFhaRG1FbnZzeFd1L0dtSFBD?= =?utf-8?B?UXA0TzB0N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2cTN0UTdOaE15V0xjVmljMGJKb2tMeXZGZHpQSm82QTBkVEhHbTRUZkor?= =?utf-8?B?RUMxTFJDSkpGZWF1dGFwQjRieU1RYnlYNVJOVlFKNlZmNVVvNlJCMUxmVk9B?= =?utf-8?B?WDVoczBCejFRSmVra1FhS09iZ3N5Qm00cG1CUjd2aUU1Uk1CSTlza3ZKcjJW?= =?utf-8?B?WHkrSUlvM1BGT1lTN0FtMi93TXJGVFM0Q2FWTGxYSURzRjlIR1Zzcmxodmc4?= =?utf-8?B?Tnp6c2lTZWgxN2Vxa1ZYVmhnVmtjYytIOVNBOTFBd0dxbmlQTGN0aVVpcitQ?= =?utf-8?Q?4AEjgR4lrd8YX+ILFB4=3D?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6049001)(6009001)(39450400003)(39830400002)(39400400002)(39410400002)(377454003)(24454002)(2950100002)(53936002)(6916009)(4326008)(38730400002)(478600001)(23676002)(110136004)(229853002)(36756003)(65806001)(6246003)(6116002)(3846002)(25786009)(65956001)(66066001)(6666003)(31696002)(189998001)(50986999)(86362001)(7416002)(76176999)(305945005)(54356999)(5660300001)(2906002)(230700001)(50466002)(83506001)(7736002)(42186005)(47776003)(31686004)(93886004)(8676002)(7350300001)(4001350100001)(54906002)(81166006)(33646002)(6486002)(77096006);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0801MB2729;H:[172.16.25.12];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjI3Mjk7MjM6bnlWQmhYZW84aVErK0drMDBkdGtlRnYy?= =?utf-8?B?d2psbDRYd3R0a1FTa21GMDZjeHFsVlhRaXdVV1Jhc3RRNXBuUERSMkI2cEpL?= =?utf-8?B?RE1SVmJ2ekNQdi9HeFJZZ2RDaVJocExjZEh2NEZGTWxWRXpwYlpGekZBNy85?= =?utf-8?B?TFQ4bG1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g/a556mhJh4grx10= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2729;7:PeuNfNxO1mOU7OSNabq03tSTmIvJBTMZdD/NXSY1h2kCmXM/i1W8dkEUb6zTZYS2YeooGNo+w2CRYLo5cM4X+l2MrxbTpvsoPhtHSnXHZ3I+fIZVWVj75xNp2KY16I9f0RkgI4HHyli30w4Ofwe82jbXGjBpnkAV66JEvDTgHMO65yPKjoer3NyIe/zbPAS5Ghg1AOvdfJaDXQbYjT2n2Qjwbp6+luZiqo2nOnF1WYmBchLjVKB5cbn3UJGwd/me1Op32IbNRWJKlOftpCaz4B/37gYtvQgqKlvKeaCB7kxcry6K54LptzuxmbRSLBiz9S0uQ4rFe/y4p7GiNBTzdtcvHpRzisT6SSlphLbrjkvgZ3T8m6G1Stpirn4+SqAjadpcUAuFMQHrine8mS+fWs5EWxe65VmYiGoDEwJc6//XG3js7a8EczKASsisxQVPvTYp9+gd7/F4qwOlMGk+1MjYFKYU2uj/bjAcg/6Kg1xTHE2fSA2tmsWvs3xk4js/btLaogsForOBNS7NNpVwXT7N4GldiP+E6dvpygbYTCbNSoXRK/AwZ0Y9zIEkBObWq6PCuMBxP53SIfOLR0K6Bh1HQ7CMyL/BU7NVrzG8sNf176QtRgLRPXI0njvs2ZTOfgQLbjZ3bFp0dBoE2HrqJzP1u7KZaScYFqOr4BUlX7jiyYrhosm3ERZVPxtGZCZ+5mKSRs2xbS5etLoEiGmaEsMCgElLfkXyVEQJaNF033/fO17fUTj+xdd46CiJH/U4HYFleHB3WyCEd8et7akIkNMRFFU2oGDbbTH3bQh0nwo= X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2729;20:NAeK9GT7wJa8g1SLcU+JZmvncfwjKjDuzG/mKaMe3nWWpSBToCkmx8ERpxRkcOO7oSH5/wP3LGLI6DHQ9v7WNH36co54CWouU3s3h2MNxLPcfTvc+04TKXAN7LQYlcmaaxxX+u4njwdFmc5El/zoS4fTDWilzaDLWMy4U07MBfE= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 16:55:04.3300 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2729 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 22 On 07/10/2017 03:33 PM, Kirill A. Shutemov wrote: > > [Sorry for loong delay.] > > The patch works for me for legacy boot. But it breaks EFI boot with > 5-level paging. And I struggle to understand why. > > What I see is many page faults at mm/kasan/kasan.c:758 -- > "DEFINE_ASAN_LOAD_STORE(4)". Handling one of them I get double-fault at > arch/x86/kernel/head_64.S:298 -- "pushq %r14", which ends up with triple > fault. > > Any ideas? > > If you want to play with this by yourself, qemu supports la57 -- use > -cpu "qemu64,+la57". > I'll have a look.