Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp212120imu; Fri, 14 Dec 2018 17:54:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wb/lgJdV47U9TW7mtK3HgUSdNlqfMcDtwKp9DcBuA3/R5cuqPTzDe8CVZ7bGwAJJ+6wP4p X-Received: by 2002:a17:902:5601:: with SMTP id h1mr5111758pli.160.1544838897140; Fri, 14 Dec 2018 17:54:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544838897; cv=none; d=google.com; s=arc-20160816; b=w7cDVlkm15wylk/DtHn4mwI3nl3WtxvVhZUnUorNZ7+SMYZ87a156q0GSV7vgTanr8 XqdrVbLk3++DIT7YLuIi4QHJ8cGwpHjJq/Dh9Lmu7dFejpD0qSmvPIiPP3JFAKGM5gGi DO+4enEj6ak8n26vRF9CvSx3W0nftEJA2UO/e1hyu+dGr3DLtEbkPwB9sCokRX0cnslD ghy4pNw1HvUvyoajMGRNRhbR8ZjfZsCrhaM3WOIoMUO2zFGm7axQ/qdu6WudtMBbP9OW EHE1yrSnFlLZwg3hWXR+FlJTR9fmSyOgbuj/I7VmTljeJHOlIF+4j0m39C/73jlpOrt1 7yng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=5fLN/04WiJj7PmtbOE2x1OBSl08T5I2Ie0RV1VKgEUE=; b=DEcTcp/mOGP4WoS6SsVPJZhor2j/FUCT2ekEHUM2gbLC7lYmAoS2n3dt5BFthtRdHS /ZcUdE3Nzubuv1fIJunojXfcFS31uoTt/613xs3H7a+gyRwdP8jzrAxzfi5hq4J18sKe EJuUbI5XKHfRiVBkN2hH4IKY1XsnRTBxEsUGd2FZvnKCG0y5RF6JKYumuZGufmCd1ydF 8spgxBoFSZLn4x1SVB5zqWGeGiddODuMd6QyfgdN3wywN3CDX6D7F+Oa8hVpLJyNFrRy KI6CWCzYD6cJ2leDtrZO1ynylPy4tHmYKocMHh2oKFvgZKOYt8avCNprogRQo8wI7/tQ bY4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=O4lVycTG; 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 h20si5240929pgm.366.2018.12.14.17.54.41; Fri, 14 Dec 2018 17:54:57 -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=@lca.pw header.s=google header.b=O4lVycTG; 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 S1728987AbeLOBxv (ORCPT + 99 others); Fri, 14 Dec 2018 20:53:51 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33760 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbeLOBxv (ORCPT ); Fri, 14 Dec 2018 20:53:51 -0500 Received: by mail-qt1-f195.google.com with SMTP id l11so8399142qtp.0 for ; Fri, 14 Dec 2018 17:53:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5fLN/04WiJj7PmtbOE2x1OBSl08T5I2Ie0RV1VKgEUE=; b=O4lVycTGef9WbcDjIsKfE3bJhLwq67YI4yLwUOWamvak6Uiw8KPHpqQ+dhDX/c3J9R Nqb2iriXc3X/rmKaP9ORc4a+ixfnc9Z1V0RLEvJmWJDO2WpB83WPNHPTK5kzL59ugbnK aUWi73JGF9hYhNlR9osQuDe7aduYqIW0zBTHvxOcMGaaTopr7eCZ1B3vNjc/VmG5dhZn ZXtDtAYCLN4luInbAMA8axm3ounsd2CEXjPZ4l/JbKMXECpxPVvqYrueln3WZ2kwZ1TS 3+OJHQX6nXbGoGQSpG1RvBbGmqlPZVAHhdYy+mdF5kRM3SFgm0LVF9jvbrWg5Dogh/Yl nF1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5fLN/04WiJj7PmtbOE2x1OBSl08T5I2Ie0RV1VKgEUE=; b=EAiHFRFyCOizCf0En09+1JiqT1xAW7svCgtF8/E8Mn6OVFZJIfpOzCEUEpUXt7rVsC nnFlUD0VzSVNPI4HzAJd9ki3ooz9KveAD6B+wMlfj4WlWby0rLsbun3tSklM6oMJuINy BG0mPlayqQdKK3w+9VECJKKSTYTBzYwR2jCLi1WB+uDwkc+kBPhTkUonFk40NhvxQvzp lG6aCShf6VkworGJDetfpc7pXJI1X1SZmh4Jj64zoNkLZeiWvc+/usX2dv/6rmNwV6/S XYuyjTzKZYrSPBNCZ3rFwpGgJv6ohZoQGm5wNXldd1REwAJNuKawqNcUaDYrpxiUfYxL U9Zg== X-Gm-Message-State: AA+aEWa5pSf80q7pOBFCzgM6dPbmldHupFIV8rWZTcFKlBM9Pr4//sYR rcVyFSUXDraNy8Xkxe624bUlhTfTMsM= X-Received: by 2002:ac8:498c:: with SMTP id f12mr5147743qtq.130.1544838829975; Fri, 14 Dec 2018 17:53:49 -0800 (PST) Received: from ovpn-121-90.rdu2.redhat.com (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id j36sm4097194qtk.15.2018.12.14.17.53.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 17:53:49 -0800 (PST) Subject: Re: [PATCH v2] arm64: invalidate TLB just before turning MMU on To: Ard Biesheuvel Cc: Catalin Marinas , Will Deacon , Marc Zyngier , James Morse , AKASHI Takahiro , linux-arm-kernel , Kexec Mailing List , Linux Kernel Mailing List References: <20181213052259.56352-1-cai@lca.pw> <20181214040819.58625-1-cai@lca.pw> From: Qian Cai Message-ID: Date: Fri, 14 Dec 2018 20:53:48 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/14/18 2:23 AM, Ard Biesheuvel wrote: > On Fri, 14 Dec 2018 at 05:08, Qian Cai wrote: >> Also tried to move the local TLB flush part around a bit inside >> __cpu_setup(), although it did complete kdump some times, it did trigger >> "Synchronous Exception" in EFI after a cold-reboot fairly often that >> seems no way to recover remotely without reinstalling the OS. > > This doesn't make any sense to me. If the system gets into a weird > state out of cold reboot, how could this code be the culprit? Please > check your firmware, and try to reproduce the issue on a system that > doesn't have such defects. > I'll continue investigating those "Synchronous Exception" although it is kind of hard due to I don't have any source code of the firmware to confirm it is buggy or not. I did manage to reproduce this kdump issue on around 5 of those server running a fairly recent version of the firmware (07/01/2018). I don't have access to other large CPU machines.