From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753538AbdIGCy6 (ORCPT ); Wed, 6 Sep 2017 22:54:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:39586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbdIGCy5 (ORCPT ); Wed, 6 Sep 2017 22:54:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E49C621B7D 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 From: Andy Lutomirski To: X86 ML Cc: Borislav Petkov , "linux-kernel@vger.kernel.org" , Linus Torvalds , Andy Lutomirski Subject: [PATCH 0/2] Fix resume failure due to PCID Date: Wed, 6 Sep 2017 19:54:52 -0700 Message-Id: X-Mailer: git-send-email 2.13.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1 is the fix. Patch 2 is a comment that would have kept me from chasing down a false lead. I've tested patch 2 using CPU hotplug and suspend/resume. I haven't tested hibernation or kexec because I don't know how. (If I do systemctl hibernate on my laptop, it happily writes out a hiberation image somewhere and then it equally happily ignores it on the next boot. I don't know how to test kexec.) I haven't tested the 32-bit version. I'll try to get to that tomorrow. Andy Lutomirski (2): x86/mm: Reinitialize TLB state on hotplug and resume x86/mm: Document how CR4.PCIDE restore works arch/x86/include/asm/tlbflush.h | 2 ++ arch/x86/kernel/cpu/common.c | 15 ++++++++++++++ arch/x86/mm/tlb.c | 44 +++++++++++++++++++++++++++++++++++++++++ arch/x86/power/cpu.c | 1 + 4 files changed, 62 insertions(+) -- 2.13.5