Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4872778ybi; Sat, 6 Jul 2019 15:43:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnvJQlnVqa6RsM1hfEIOH/d8593BAcQx1LOpj1x9US/+Fmu+/WXhjdFTI3t4VgWRBK3t+C X-Received: by 2002:a63:6011:: with SMTP id u17mr12926334pgb.117.1562453003084; Sat, 06 Jul 2019 15:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562453003; cv=none; d=google.com; s=arc-20160816; b=DvVZzJvl3bPe0ity4OvGiR97Rnc8ltQq+jTx0bX4MNNKMjU/Kh8qsydmUtKsX9L0lU CUcv3GUZMI2O5nItqh0osXwOuQjQ4p3zV9YdCqK4wS6KFEg6V2wISOeh4R2m9b7n70X2 AyofYuLp3yp8AWuYIL7pW93wzH1XxZ1YChdyD3Kih3eanBhQkXysVXDKQRqDA2xj065p uENfcJwm+RDjtVFJzho7LmGsdGVeo73vLWvXmpM6pB4KIXx+FWq0jsTNzIi1sexbgN2W RUf7Ili7t7JVMOltogL75inRzrz1vlWbyEko7732rsThrdpXxdGv9QJLmvwm6alyp+oQ 2u4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=n+ictAHIABdlYxV9reDagwuMhq6TDAmRYkMgCNdOUUA=; b=Xh7RppIcmlQY083Td+XVcdISLtILap/iYBx5rIZWHaxQFHF5sk/zX6mp5nApj5MJrg sHzPLdfKZ06s4P1Pv237cF+25gc+9sH0YH9+GYm8bJt1mVR7/dTVLigrll1+za6I9zUc wT830tJL6rtuXNbjTZovUDhqTxgwOkJBGgf+ja3+W/1TdK1iNxG89is5jQ43R3RQTKsc H1OOUqIzqguu3zMTx9lL7GcVyztvVCBZeXPkIdHPsWBsRNJdBjtfrm1hKk8KAoz3dDDc H/SMTiQoSUUAy713VNL0/3SIYZBIrlnoD99VdU935dXkYFnen936gfFQXEjwPNH1QsMN hDRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=PSjV6e3J; 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 m42si12084032pje.31.2019.07.06.15.43.05; Sat, 06 Jul 2019 15:43:23 -0700 (PDT) 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=@linux-foundation.org header.s=google header.b=PSjV6e3J; 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 S1726786AbfGFWla (ORCPT + 99 others); Sat, 6 Jul 2019 18:41:30 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46893 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbfGFWla (ORCPT ); Sat, 6 Jul 2019 18:41:30 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so12385297ljg.13 for ; Sat, 06 Jul 2019 15:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n+ictAHIABdlYxV9reDagwuMhq6TDAmRYkMgCNdOUUA=; b=PSjV6e3Jf59NKny8Di+u0rMsvs0iFq22a7M1HMvXNO9+bm2pMmuvZNsVlbRvbpMjl8 SwDlPx4mA7iahCxwM3NKsG5PmJgVa1/xm/1N7+j2GKZrw8UTWL+GqXy8SPPbDGq4kMx8 gU8+suXqHKKEdoKT4wo+Dt+Tjoe18SHVtoc6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n+ictAHIABdlYxV9reDagwuMhq6TDAmRYkMgCNdOUUA=; b=cOsUNkfstsKTN6afiH3897jXixXkytYFJLTDQkc3gBxyZtgoF9a1vrF22jmdT9gzhS b+A1/XIPRFLLbBHJ70wfj52PWOqeaah0ve8DzfDrpCBwWHxH/BpNWQ770GY0a8LYZqSs GseBEZhQntbBxDFCEke+ENadpWFMSDGiaq9POWJ64aZvZTFIedDSV4JDP52nV1HN46y9 Tl4LUR7MFK/gkhvjvxQ0yxx3d14PJ7ppW4eZFmDzFxE3CS9a9RAbaXJRY2OMlhglD2dn Zhrwbvd/HLF1hIArPrbS460bK/EN/u3XT01qqXjlzsu654QJl3auWnjmOB0DYg6qZLRv LLXg== X-Gm-Message-State: APjAAAX5r+/XdZKhgVqaNXseCkycMhMATbarZw++GMkJ0LQqnMEEf3t8 qXsleXBv+GhrrzaloOnV2KTYucCPOww= X-Received: by 2002:a2e:981:: with SMTP id 123mr6081445ljj.66.1562452887717; Sat, 06 Jul 2019 15:41:27 -0700 (PDT) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id s7sm2642131lje.95.2019.07.06.15.41.26 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jul 2019 15:41:26 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id c9so6695532lfh.4 for ; Sat, 06 Jul 2019 15:41:26 -0700 (PDT) X-Received: by 2002:ac2:59c9:: with SMTP id x9mr4917559lfn.52.1562452886160; Sat, 06 Jul 2019 15:41:26 -0700 (PDT) MIME-Version: 1.0 References: <20190704195555.580363209@infradead.org> <20190704200050.534802824@infradead.org> <20190705134916.GU3402@hirez.programming.kicks-ass.net> <20190706182728.435a89ed@gandalf.local.home> In-Reply-To: <20190706182728.435a89ed@gandalf.local.home> From: Linus Torvalds Date: Sat, 6 Jul 2019 15:41:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption To: Steven Rostedt Cc: Peter Zijlstra , Thomas Gleixner , Borislav Petkov , Ingo Molnar , Andrew Lutomirski , Peter Anvin , Dave Hansen , Juergen Gross , Linux List Kernel Mailing , He Zhe , Joel Fernandes , devel@etsukata.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt wrote: > > We also have to deal with reading vmalloc'd data as that can fault too. Ahh, that may be a better reason for PeterZ's patches and reading cr2 very early from asm code than the stack trace case. It's why the page fault handler delayed enabling interrupts, after all (which is one big reason NMI was special). Linus