Received: by 10.223.176.46 with SMTP id f43csp487327wra; Fri, 19 Jan 2018 22:17:11 -0800 (PST) X-Google-Smtp-Source: AH8x226nB1iYJtn14rHaJ0CnmN9EnweA7MBcGJm0tcAKJ8C7blf/r+3nT1YYel7CYB5iLjDjp/c+ X-Received: by 10.98.204.144 with SMTP id j16mr1195692pfk.101.1516429031439; Fri, 19 Jan 2018 22:17:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516429031; cv=none; d=google.com; s=arc-20160816; b=YdghHJd+8NJJdRH4zDEB94ni3iOjvvxjAkETFbFqoMMyhsqe5fsmw/uqPCoy87YP9s crrnIdb1I2/EC/+mNjoNE3Fgnf+mA5GXa1/J5JIl+Ez67e+v8onIKTMZBsY9we4Xd1FK WZJiyVTFJZgjF04Ges3Ih2n286GW4m89ylBL0UpVlRZIxAC3c2ZDZ5nFBOaTubfyVm+i qIeK6NN470FnCZSXu3l/MyYIhLGrwwLI/RoNp3IUnwFbPKjmIKK17NHSnNbwRJOi7Dwi 3VtLz8rkn76zhVBuhHON4Ul9XF35VfaRFMU+5jhLEyfYfHncSTLM3YhcFNLUNPfbusHB olIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=yDoyM0VbadjkJ8LodW4ArUmMPq+zWCjdlAHWr4rq3yQ=; b=ekB8pb9cHT7an7ZQgPSVtPx90HUVp7D4I3f9B1xxltjzZU9H6HHjU5m36oFNWLIxad 2EFtO5M/Xz2Iq0cgHDwlgGNoU+lmlfad1TICvy3+TABZYQ8OMllu9SLSFEMpWLEiz9AN nPqlTC1VGriZUdO7MhYJXwvxKgp/mM8e4fZpnIZLLfWaCzt8HLZpqAYVt3H2EZiW1eeH xIAgajCT6oXzRfd6pI8t5pxdhVeeRam+SI068bo09gjI9jZuWEz9uLufHn5ubJ7gzzyB HlFLzKU5LkP6Qx9nzK4H5cj31tXPsEluRztRmH0ZTWEHOj2as385E464y/sqzeXUHnOH qgGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=LIQ6NSrX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si10916620pfs.287.2018.01.19.22.16.56; Fri, 19 Jan 2018 22:17:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=LIQ6NSrX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbeATGQN (ORCPT + 99 others); Sat, 20 Jan 2018 01:16:13 -0500 Received: from mail-bl2nam02on0046.outbound.protection.outlook.com ([104.47.38.46]:63264 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750745AbeATGQE (ORCPT ); Sat, 20 Jan 2018 01:16:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yDoyM0VbadjkJ8LodW4ArUmMPq+zWCjdlAHWr4rq3yQ=; b=LIQ6NSrXO+qrsLDBcpvEfbFBnXOaOfjZmjxeFDouGj4Xz0wlXigDSKae90xMchz6dixtF42VJKK8uvJuG+5MqFPBaNbzyfqTkqugms7VoFyDhuv6yrDuTTfDrMis0Wiu5K62cJxO8NATy3r5ABoaWP9FmtzSxaG8aijQcNjdq1I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; Received: from [10.236.65.116] (165.204.78.1) by BN6PR12MB1139.namprd12.prod.outlook.com (10.168.226.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Sat, 20 Jan 2018 06:16:00 +0000 Subject: Re: Boot regression with bacf6b499e11 ("x86/mm: Use a struct to reduce parameters for SME PGD mapping") on top of -rc8 To: Gabriel C , Laura Abbott Cc: Borislav Petkov , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Brijesh Singh , X86 ML , Linux Kernel Mailing List References: <9fdddcb1-d122-7d52-9204-7066ada5ccba@redhat.com> <44505ab1-237b-88ea-1fb1-f80de9b3025a@redhat.com> From: Tom Lendacky Message-ID: <6277b77a-d4a0-5669-e5aa-7a850436227c@amd.com> Date: Sat, 20 Jan 2018 00:15:53 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: CY4PR0601CA0088.namprd06.prod.outlook.com (52.132.96.157) To BN6PR12MB1139.namprd12.prod.outlook.com (10.168.226.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8b446d36-7b1e-4e21-5f64-08d55fcd479b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7153060)(7193020);SRVR:BN6PR12MB1139; X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1139;3:+pemNg0x7ZT37RBlf0idrpoiyX6gpBrQJhHuJI6itZ/K9fxJoOcYutuauBYM3XsQ2Nch34Uryu0HfQLrvLO/fqyXiXjTp2T5CDBcsDIHoHuluVWXEv/B5B3P6T5vRyN7kGNs3/ClID12K1eqUy67WUJOP0o9HJg9yAq37tz0Qh9WB9HzUxyqyfd9iOKMQ060anhsb/uGIfx/FV4/MFcOsamzfAkzEZ9yrrvTGNttxZFWR2QVjxIYQKy+TIwDwp9s;25:e8OFRh+pyv5URGtIWNHs7O4PRxoH1evO09tMIOpsMICAZv0fnMUbxyMugvPcg7kHOcVP67bb/tuIUj46r0Q+ZqTng6SvYBy+k1IGpa6VrH3yrwq642yFltOPjFpIL8/VT4k4fLruvFyWNmc7OYtsWe/RljXxkHZRzVlpl+H5JV/8iU7XyTf5pfmeKrvRYMDmhV5JXa4b2lhEGb8aS0V7CKhxpESa6MSvR0yoiCJhTuB8bdYr8wiMAbCyXclgAoGYRWu3qgOOzpt0JWWpuKGf5vGkDwwUzH0xFOcdTpQkgbbJmFVA5br9350qcpH9HDNDvgyN7rG0LHguAGBDAqz6SQ==;31:24t5C/u645atGEsLL4TV3O8pmj3udWAchPanieGc9n/snJpLe2O2p5upGdNRjtaO6+qBPnJhoBAzLsY6iZ7mdG1jgp6pVGWBilcTMQDMQQH3SW4kbci9CiGmE2RCqx5yzoX7slxIWBPuzaOlmw23pwH811KgcgeYUmzcEjuDEHobtRp0p1Atwfb0nf1KTPO7w/pghUdLyeGwUHGECx49EH0p20pJFHKfP/OljG55QM8= X-MS-TrafficTypeDiagnostic: BN6PR12MB1139: X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1139;20:oOzNmm+iIjSmqzwc+WGRr+0WrelE70ciEHbZ2gtFnSEtWPzPIgdXiSX5jN3gJDwH0yQxxVPvrUwWsxcsShNZoso0Q3IdsjpLBoyHdpR1/uQ964OITX97TaXS/yEaj1G4Ewptud0tsov10CQA2xeb8aaeu+hlcYIk7sKsUwzJXvtX8dsDXPFak4RUfpUMshQoFvZEl8B8VypY7ypzHQJJydSrtjC/LV8QzUg4bGxpi9SBwdT9WJnaaxfWBTC2bHdNLygi6Kwv2TTnnVPBUzJ7fkLjrr0tsEEV2cXTbbs04JWJgIIkvwdq47X2NKGoDjnJKPBVaXeGm2NPqyypdX7CEzQuseVRRAzSZvaX2HA+WkfH10jl8LsHFfHiggXdLCfame459OMJVh5vsqvQYsR0ZadbbnTpNdiDxFn0EdypF4fKYaOig6gynaN90hD05iX9OLGpd8kTv002O54rkXbb2m1WORwcQbn7h5da2rAmpV22FgZRkhN7NB/9QEHmljKV;4:IHxUjHJMmxPtYxTF0hT3CHKeLlVEkyGola7qjmyakf1v3JaNe1YKr4nORQH7LQ/+oh0EN8b29HsRmLQjLDlDU9ouLNDQalYUnPPovXShSv8zYO00CX4OMjuLwQ8mAlbtJL4sEUkOXV8Pl/4pTN1V9Z2pUHFCy7MN9ximSdM6pan6OjFkYsMhSQBu+ATwG7KTTM5q/MMPwm9O5TeC9ZCoEFjONU/PZ6P2MHoIz2L9/woF3B/CMS+tAnja50FQQjmt60RcSI+mqulCtDK6N00Uf44dyvBdoMxQVxBzDO5YcfqG/hS9HBdMVCqKMHZ99L42cNmGh7XiFDosrBTHSXo633CeIy6bAphRqRhKvYbfgqo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(84791874153150); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231023)(2400081)(944501161)(6055026)(6041288)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:BN6PR12MB1139;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BN6PR12MB1139; X-Forefront-PRVS: 0558D3C5AC X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39860400002)(366004)(376002)(346002)(396003)(39380400002)(199004)(189003)(377424004)(31696002)(50466002)(64126003)(305945005)(966005)(7736002)(316002)(8936002)(110136005)(105586002)(2950100002)(72206003)(6306002)(54906003)(6666003)(81166006)(66066001)(8676002)(16526018)(47776003)(65806001)(81156014)(65956001)(65826007)(478600001)(83506002)(93886005)(16576012)(5660300001)(97736004)(58126008)(68736007)(6116002)(3846002)(36756003)(31686004)(90366009)(6246003)(25786009)(3260700006)(4326008)(106356001)(26005)(86362001)(52116002)(230700001)(39060400002)(77096007)(6486002)(575784001)(23676004)(229853002)(53546011)(76176011)(53936002)(2486003)(59450400001)(386003)(2906002)(52146003)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1139;H:[10.236.65.116];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyTUIxMTM5OzIzOlZsV0QwOVA4dVpvZmV6OWppQ0Uxb3NwU3NJ?= =?utf-8?B?YjF3eXlBeFo1L0xaMGN5bllXSFRrMHMveTdnTnEvaDBNWUphR2xWN05LRlp6?= =?utf-8?B?UUU2ZTRRWlpLSW5oOVBwcjgwWFZqcmlBOHFYQUlFTzBnNHo3dzkzdUl3Tnlx?= =?utf-8?B?Z21Qb2xBbU5YSVRIcDB1cVg0QktEYjJlckRMT0xJVDJaMG5sR01JZFE4NCtS?= =?utf-8?B?OFE3dFQwOEx6YkZDeHdCVzZjejlUNHJmMlVxQ1RNQks2blRGMlg0Y1ZhTlFo?= =?utf-8?B?TGpwMzVUdCs4TmdkajVpcjdFMHpXbENlRW9McWNCdDQ4Z1VxQjBSbTZyVmR5?= =?utf-8?B?b0p6MFdCVU9wWWJmYWVFNzJDNHpJRnZmS3R0cnc2YVBuWmVuWXBSczFSQVAw?= =?utf-8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Y7WFJ7utSHOGhVrpdxlh9bSv+GZP3+Ci54AcDzw5HbayxOGOHZEDyz9SKfcIupJ8BJpUqBBeoC2HUOOj5YzyuaN76dvTFfq0C3ZuMHRS1v70XyHzMlQhPcQWt8xs7C2Nf88vIz0E7CCoihrLQeNlnCT2g3jkT/eiAXQX6BzM2H6nOQ9cJk5MyLWjWGEOaoJhOO2xSxbk0zlPgdGoRp X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2018 06:16:00.3186 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b446d36-7b1e-4e21-5f64-08d55fcd479b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1139 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/19/2018 11:25 PM, Gabriel C wrote: > 2018-01-20 5:02 GMT+01:00 Laura Abbott : >> On 01/19/2018 06:23 PM, Gabriel C wrote: >>> >>> 2018-01-20 2:23 GMT+01:00 Laura Abbott : >>>> >>>> Hi, >>> >>> >>> Hi , >>> >>>> >>>> Fedora got multiple reports of an early bootup crash post -rc8. >>>> Bisection showed bacf6b499e11 ("x86/mm: Use a struct to reduce >>>> parameters for SME PGD mapping") . It doesn't revert cleanly >>>> but if I revert the few other changes in arch/x86/mm/mem_encrypt.c >>>> as well it boots up fine. >>>> >>>> Annoyingly, I can't seem to get any actual kernel logs even with >>>> earlyprintk. It just reboots immediately (triple fault?). This >>>> happens on both of my Lenovo machines and I can ask other reporters >>>> for details as well. >>>> >>> >>> I tested these patches on 2 Lenovo Ideapad both with Skylake CPUs >>> on a older dual Xeon box , on 2 Toshibas with AMD APUs , on a RYZEN box , >>> on dual EPYC box .. ofc on EPYC with mem_encrypt=on on the Intel CPUs >>> disabled. >>> >>> Also tested on top 4.14.13 , 4.14.14 as well on top 4.15.0-rc7 and on >>> current master/rc8++ without to see something like this. >>> >>> Also we pushed these patches on 4.14.13/14 and didn't got any reports >>> about >>> something like this. >>> >>> What Lenovo boxes are these ? maybe I find one to reproduce. >>> >>> >>>> $ git bisect log >>>> # bad: [ec835f8104a21f4d4eeb9d316ee71d2b4a7f00de] Merge tag >>>> 'trace-v4.15-rc4-3' of >>>> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace >>>> # good: [a8750ddca918032d6349adbf9a4b6555e7db20da] Linux 4.15-rc8 >>>> git bisect start 'origin/master' 'v4.15-rc8' >>>> # bad: [79683f80e4f07dba13cc08d0ebcf5c7b0aa1bf68] Merge tag >>>> 'mmc-v4.15-rc2-3' of >>>> git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc >>>> git bisect bad 79683f80e4f07dba13cc08d0ebcf5c7b0aa1bf68 >>>> # good: [161f72ed6dbe7fb176585091d3b797125d310399] Merge tag >>>> 'mac80211-for-davem-2018-01-15' of >>>> git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 >>>> git bisect good 161f72ed6dbe7fb176585091d3b797125d310399 >>>> # good: [88dc7fca18001fd883e5ace775afa316b68c8f2c] Merge branch >>>> 'x86-pti-for-linus' of >>>> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >>>> git bisect good 88dc7fca18001fd883e5ace775afa316b68c8f2c >>>> # bad: [d47924417319e3b6a728c0b690f183e75bc2a702] x86/intel_rdt/cqm: >>>> Prevent >>>> use after free >>>> git bisect bad d47924417319e3b6a728c0b690f183e75bc2a702 >>>> # good: [fc90ccfd286eabb05ec54521367df8663cf0bbbf] Revert "x86/apic: >>>> Remove >>>> init_bsp_APIC()" >>>> git bisect good fc90ccfd286eabb05ec54521367df8663cf0bbbf >>>> # bad: [bacf6b499e11760aef73a3bb5ce4e5eea74a3fd4] x86/mm: Use a struct to >>>> reduce parameters for SME PGD mapping >>>> git bisect bad bacf6b499e11760aef73a3bb5ce4e5eea74a3fd4 >>>> # good: [1303880179e67c59e801429b7e5d0f6b21137d99] x86/mm: Clean up >>>> register >>>> saving in the __enc_copy() assembly code >>>> git bisect good 1303880179e67c59e801429b7e5d0f6b21137d99 >>>> # first bad commit: [bacf6b499e11760aef73a3bb5ce4e5eea74a3fd4] x86/mm: >>>> Use a >>>> struct to reduce parameters for SME PGD mapping >>>> >>>> >>>> Configuration is at >>>> >>>> https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/commit/?h=rawhide >>>> Note that I do think this is something in the Fedora configuration >>>> because a generic "make defconfig" booted just fine. >>> >>> >>> But maybe some of the Fedora patches ? >>> >>> Can you try an kernel with the config but without any patches ? >>> Or a defconfig and just enable CONFIG_AMD_MEM_ENCRYPT ? >>> >> >> The bisect was a vanilla kernel without Fedora patches. > > Ok . I did an build ( v4.15-rc8-225-g8dd903d2cf7b ) on my AMD > Workstation ( EPYC CPU ) I've tried multiple config combinations on my EPYC system and have not been able to reproduce this issue and have not had any boot issues with mem_encrypt=on or mem_encrypt=off. I don't have access to a non-AMD box at the moment, but I'm really scratching my head on this one. > with your 64bit config and one on the Ideapad ( Intel i7-6498DU ) .. > I disabled Selinux since I don't use it here and module signing. > > Also with your config my serial setup won't work and the kernel hangs > but mem_encrypt=on/off works just fine. If your using the EPYC serial device and you haven't enabled legacy serial device support (if your BIOS supports that), then you're using it as a platform device. The fedora config has not set the CONFIG_X86_AMD_PLATFORM_DEVICE setting so you won't get the module to load and give you serial output. I'm confused when you say the kernel hangs but mem_encrypt=on/off works just fine, can you explain that a bit more? > > Also I notice on the Workstation it takes forever to boot untill > 'DMA-API' reports out-of-memory > ( dunno how much memory it need but the box has 128GB of RAM ).. I haven't seen this before. Thanks, Tom > > > Can you tell us your Lenovo models please ? > > Reagrds, > > Gabriel C >