Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1367506ybk; Thu, 14 May 2020 07:19:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLH+Ttdc0fqB3yJSvQ4cgd8IXD6LRmW02EBsmH7/Nw+Umj35dvxedGd6WQxPcYqN9/ZonX X-Received: by 2002:a17:906:1502:: with SMTP id b2mr4133451ejd.359.1589465954805; Thu, 14 May 2020 07:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589465954; cv=none; d=google.com; s=arc-20160816; b=o+SSnQ5kNbmoxhKV/aA/yqIAZ9x0CDr5T6Eq73haNZqCvUg6aKpUiVrNHorVFcLwWR zNZs4+xB1DGrAhUeklY4goEk/YalzTU60A080HK2JODcBM37dtUd/57NzERP3sbMT8ac RgPVNZnhVrdpQ/ZEfZPyE52mXpJpR0YGwWNtayyCEYn+VAUaOjWdTC8YA83GaOMCdyKp Fl0kd02LcIWZ2WeyevzcUyi9uFwR7dE1e5vPL0BSJp0fn8q1UHkirCZ+eDB61Fz6PBsV mVnAKqKd2NKCsQxG0S3HX9/c1uztg1Olqtt+SUKgySRcRlGMwJZQeg2UsAgYMIFxojkI SkMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L/7YnQ+kNL3Q5YC63tSTUBj8eb6tXih/NbkQSzEPndI=; b=VebYQunjbSkitPY+MaT3TkZHx8EqKA9wF0A96Q46b+lo7yFNhGuUl4+Ck8VJY2MkI6 a2AS1Zmpph+xKPP8frj0PGDx1iW0Vi2qT2Vj4qcpj41/OI+bUoPpP6WkPgwtJG7YNqOp j+2VlIvxxOmHQkuVOQZ7APUA2LcNCCLTQG7FOWoN+uurUZ++IKHWmo8+7+tXvTUgrrpY S63AKsfLTbDD6l1W4G72AoLClQvWuLt3hXCrxt/jKr949yEzkqDhV398H6W7VtF3OvpS D81r4juBcj0Tbjb9FT0s1vPJoINmue63kiikC15KhASkmG6orfgYYmJhIWuUk5m5aldM LxMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=HAbXWhxs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr15si2522710ejc.315.2020.05.14.07.18.50; Thu, 14 May 2020 07:19:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=HAbXWhxs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727122AbgENORD (ORCPT + 99 others); Thu, 14 May 2020 10:17:03 -0400 Received: from mail.skyhub.de ([5.9.137.197]:50774 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgENORD (ORCPT ); Thu, 14 May 2020 10:17:03 -0400 Received: from zn.tnic (p200300EC2F0BBD00DC45039F589BC722.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:bd00:dc45:39f:589b:c722]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4C9C31EC015C; Thu, 14 May 2020 16:17:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1589465822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=L/7YnQ+kNL3Q5YC63tSTUBj8eb6tXih/NbkQSzEPndI=; b=HAbXWhxsivatZF1kn9wC7NAG1048ANHXznHBvZEbZXYclfhh2RFuRzkmaduObDJKP8zpxT lvjUdlJUIIqOqqOWVwviDQHO9jRFcTkgCV7Es8/mqqy0wMPbxUEf62a+KplHFjuKXzm1ef l2su/xkwCsuIM35Wy4PhbVngMPKbpzs= Date: Thu, 14 May 2020 16:17:03 +0200 From: Borislav Petkov To: Thomas Gleixner Cc: LKML , x86@kernel.org, "Paul E. McKenney" , Andy Lutomirski , Alexandre Chartre , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Mathieu Desnoyers , Josh Poimboeuf , Will Deacon , "Peter Zijlstra (Intel)" , Tony Luck Subject: Re: [patch V4 part 1 29/36] x86/mce: Send #MC singal from task work Message-ID: <20200514141703.GD9266@zn.tnic> References: <20200505131602.633487962@linutronix.de> <20200505134100.957390899@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200505134100.957390899@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Tony. On Tue, May 05, 2020 at 03:16:31PM +0200, Thomas Gleixner wrote: > From: Peter Zijlstra > > Convert #MC over to using task_work_add(); it will run the same code > slightly later, on the return to user path of the same exception. > > Signed-off-by: Peter Zijlstra (Intel) > Signed-off-by: Thomas Gleixner > Reviewed-by: Frederic Weisbecker > --- > arch/x86/kernel/cpu/mce/core.c | 56 ++++++++++++++++++++++------------------- > include/linux/sched.h | 6 ++++ > 2 files changed, 37 insertions(+), 25 deletions(-) I like this: Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette