Received: by 10.223.148.5 with SMTP id 5csp6782553wrq; Wed, 17 Jan 2018 19:01:35 -0800 (PST) X-Google-Smtp-Source: ACJfBotsmoNYn7bjunapL2eORtF/xmMNtM45vRvrjuKU04qCht8Ghs6b8XbPbpulcXZUCH0c84Qi X-Received: by 10.159.240.139 with SMTP id p11mr16918188plr.92.1516244495362; Wed, 17 Jan 2018 19:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516244495; cv=none; d=google.com; s=arc-20160816; b=SWOgCaRAT1rlFkY3bIjwKJDCzWir2W9k9MM7+wu4hbm7oXE64VWXDFVVTOPCph7r6x b9uqkhtSZ+NN684FQzoctrIcSFbSiUTlr2BGa2qsYwngBXMVNnjwCa0IYdsLi6M/cUmC ncvbgiBn+n276sZzxfOICBXubJ9To3CWplB4kBpKP5NUrJDBw6UFcRhaznQIQISKol0E /wHGqkgh71a2qwDKaikJgkgdrOtjslD5anwpbglrhrMKcmIUWiUs1AbPTVJpm6Hj00Qe 8XujGe3zhAeOjZty4TnfnCFyUWLq8U5CiN0mmmawlHnNMxiMWjfQWTZKTAYsvbM7l8sp iTUg== 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:arc-authentication-results; bh=vdwi4PEvfamiO/9Ujw+HHt8CycPQ+WKQeXOdBwIR+PI=; b=Q/tSsimNQIMBLoq9mcyI+OIvfvJUwWBELIAhSdxGrHyObetRWD/kX4tth4BsHM+OVe faF951krgJ1D+Iws8y5t/svSdDveo0Ptc4XMt7w8VVrCIes/z6//HLnAFg3sm4YkMyTz 43LVZvzlMuXCDH6QeIitMKQrIGtClWR01sTKs0tGo7HK4uUCOvzIDDWbZ6ZwRhCecgRw nn4d+39xAsTKiwgjXDtXSJ1h8C0dwxlm6mnnJ0tmZ9+qXHIBDTLHC3FUkKMszRAqb+WP aF4HuQf/b34CCwE75VRepHCZ2ZdNNcYGgSk1KoiU2HjLNsjRG7tsG7oPwVdyoFulDCKX 8c0g== ARC-Authentication-Results: i=1; mx.google.com; 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 d9si5651918plj.186.2018.01.17.19.01.21; Wed, 17 Jan 2018 19:01:35 -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; 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 S1753810AbeARDA5 (ORCPT + 99 others); Wed, 17 Jan 2018 22:00:57 -0500 Received: from mga04.intel.com ([192.55.52.120]:50327 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753390AbeARDAu (ORCPT ); Wed, 17 Jan 2018 22:00:50 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2018 19:00:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,375,1511856000"; d="scan'208";a="196486705" Received: from avandeve-mobl.amr.corp.intel.com (HELO [10.254.101.160]) ([10.254.101.160]) by fmsmga005.fm.intel.com with ESMTP; 17 Jan 2018 19:00:47 -0800 Subject: Re: kexec reboot fails with extra wbinvd introduced for AME SME To: Linus Torvalds , Dave Young Cc: Yu Chen , Thomas Gleixner , Juergen Gross , Tony Luck , Boris Ostrovsky , Borislav Petkov , Rui Zhang , Dan Williams , Ingo Molnar , Kexec Mailing List , Linux Kernel Mailing List , ebiederm@redhat.com, Tom Lendacky , Baoquan He References: <20171213025256.GA1913@dhcp-128-65.nay.redhat.com> <20171213155746.GA29572@yu-chen.sh.intel.com> <20171214092429.GA2004@dhcp-128-65.nay.redhat.com> <20180104031537.GA1819@dhcp-128-65.nay.redhat.com> <20180117072123.GA1866@dhcp-128-65.nay.redhat.com> <20180118014705.GA1812@dhcp-128-65.nay.redhat.com> From: Arjan van de Ven Message-ID: <2f4f1e37-2be0-4609-0e7b-33d67815bd30@linux.intel.com> Date: Wed, 17 Jan 2018 19:00:47 -0800 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; format=flowed 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 > Does anybody have any other ideas? the only other weird case that comes to mind; what happens if there's a line dirty in the caches, but the memory is now mapped uncached. (Which could happen if kexec does muck with MTRRs, CR0 or other similar things in weird ways)... not sure what happens in CPU, a machine check for cache inclusion violations is not beyond the imagination and might be lethal this would explain a kexec specific angle versus general normal (but rare) use of wbinvd. other weird case could be cached mmio (not common, but some gpus and the like can do it) with iommu/VT-D in the middle, and during kexec VT-D shutting down the iommu before the wbinvd. This would be... highly odd... but this report already is in highly odd space.