Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp387083ybi; Fri, 7 Jun 2019 09:39:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwE6aPktyaIWVULF+9bmHhzfC+uI4nT0q4MCXfIN2LQ2nv5ifj8JE6hplevtxSbcKctGr80 X-Received: by 2002:a17:90a:8a15:: with SMTP id w21mr6594914pjn.134.1559925543135; Fri, 07 Jun 2019 09:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559925543; cv=none; d=google.com; s=arc-20160816; b=UFNyLDn535BjpTL6bTaLhGXM6lc5tmhxrvazZ6iJypy9ymz623U5EVXq952lPL2f1J WsHH+oGnhYJNXEFCOfmMwkN3Ubp3ogRpIe8j4uuEEj+Nu88JMg3W3kUcSl25W4izPEwG kTDQ9G+X6OJu5dRvEaIqI383H6/PJUVQwS1LLvAlDS614GVIisj6mFsLkQxTMSNdOp0z aHr0Ao9ygxQhYZxJNquqkHhMljpG7TffPvlNtXEMa3tqxU7h0WuNcwdaJysZoBKURpKB YIuY4W+WgxG29iMUQma66G38SmfGwYhppUIb+8vTK4cP1S1JcFHb5QteX0Qs6Q/O00Nk H83Q== 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=7WjY5qaAv27ValKhUMq1yIoenSZ2j62xBkezoiC69Zs=; b=yDSIjNGFjhKEeOSEnCF2l1ZJgBdKEVAF4Ls8Xf/yxqy1yE0b8yaIUnSX+G7qLKqbSJ 3pR3kZ2OejQs0RIyBE36ICEvcnkE2jh7xD07WFFjunApRxKZ/xQmq2LxEkoFVZAM0jfb RlTq6I3JrgkaSfhu9jAEhOzLX4tkPc2J4ZuGnrkfdnfx2QSpxhZ+bEXMS5tNS2ZFhW7l tA37OmwQVBakJZOjxrdD0ERgMB5gwidrtgg8Vp8j5foqc0U0wveEZLkCkJD8rnnUy6oZ XOj97GYJZ1PgmQuyRdK6oPvUB2FAH/YkoT19rNLkBIDidGFuo32LnL5WEuCCedRqKrOp dJ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=jMmWqc0r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si2050235pgp.200.2019.06.07.09.38.43; Fri, 07 Jun 2019 09:39:03 -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=@alien8.de header.s=dkim header.b=jMmWqc0r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730670AbfFGQh0 (ORCPT + 99 others); Fri, 7 Jun 2019 12:37:26 -0400 Received: from mail.skyhub.de ([5.9.137.197]:58232 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728595AbfFGQhZ (ORCPT ); Fri, 7 Jun 2019 12:37:25 -0400 Received: from zn.tnic (p200300EC2F066300951FA2F4E0AD5C5F.dip0.t-ipconnect.de [IPv6:2003:ec:2f06:6300:951f:a2f4:e0ad:5c5f]) (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 D8A1E1EC051F; Fri, 7 Jun 2019 18:37:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1559925444; 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=7WjY5qaAv27ValKhUMq1yIoenSZ2j62xBkezoiC69Zs=; b=jMmWqc0rhKCK86ZQ6PX3bL6zsRp1FkI1o6MsFq1LkWHQN3VXu8MgR7qG6uhMI1Qd1WW6IY wrhpnqzTi5Fnz0OHUP4vpXcC9ZmMhi1YlKqMq5A2dr+AQYO2XAvlnVSeGCKwFcIS/nRYMV umWHi4erwF+jEu6tg26waThTvyjfIdE= Date: Fri, 7 Jun 2019 18:37:23 +0200 From: Borislav Petkov To: "Ghannam, Yazen" Cc: "Luck, Tony" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" Subject: Re: [PATCH v3 5/6] x86/MCE: Save MCA control bits that get set in hardware Message-ID: <20190607163723.GG20269@zn.tnic> References: <20190517163729.GE13482@zn.tnic> <20190517172648.GA18164@agluck-desk> <20190517174817.GG13482@zn.tnic> <20190517180607.GA21710@agluck-desk> <20190517193431.GI13482@zn.tnic> <20190517200225.GK13482@zn.tnic> <20190527232849.GC8209@cz.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 On Fri, Jun 07, 2019 at 02:49:42PM +0000, Ghannam, Yazen wrote: > Would you mind if the function name stayed the same? The reason is > that MCA_CTL is written here, which is the "init" part, and MCA_STATUS > is cleared. > > I can use another name for the check, e.g. __mcheck_cpu_check_banks() > or __mcheck_cpu_banks_check_init(). Nevermind, leave it as is. I'll fix it up ontop. I don't like that "__mcheck_cpu_init" prefixing there which is a mouthful and should simply be "mce_cpu_" to denote that it is a function which is run on a CPU to setup stuff. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.