Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1663857pxb; Mon, 20 Sep 2021 02:12:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM4A36rmT6IxFZMRJeaPWS6hT09ogqVsAYQHj67FuUctCDBItmcfDDFAyhzNUfjg/Tdp/1 X-Received: by 2002:aa7:d459:: with SMTP id q25mr27306183edr.62.1632129136499; Mon, 20 Sep 2021 02:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632129136; cv=none; d=google.com; s=arc-20160816; b=iiXvb9eZy9RbGM5Pi7kSZdbPFeSxe+j2kF1Sh09D7UMHqTlCNZXgqwodG/VWhuQytS cVvi4JBDG4iOlpLR2GcQZCZ5vwi5vK223ow/hMWCd5Zz1nZZdDP1P6CStodl2WDPH1FE drYp9mqOmqda0VV+efiEU4VvmEcew6tWsRfgaS2RDUw4L+STghHrrwAqMcOYhzCoxZpj 3DSEFpWzfpHapHVTcMpQgUlGiLHKlO2nqMJzwh0/ljMRPdgp2FI6WNl8QPptKPVwvcfE ReMZanQhyaarqsaadPHeLOOhH/rYnG4bIB3yAEC629zn+rJS70900o9OuccrI8Eqh1JU soIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=b+EZmOLgmy+dgk3Mzx5MHEUWiPmqBae2EMyOSDvYa8o=; b=EFsOFZ5gfpWyOpaUj/vbGAuBfTxfiLBGzadHNi4hTUPBN5EDyfnffFiO3xdj12qBep w986wL+Sq364tTitGk8TbayvPHtg5ovGrDsHPTbYF5QdbRhQTJNV5HuUDO7RAtY5JBpl YAzei5BleQg5pnzLGUuptY9UYa8d/S1qS3vMxS7AtnVvxgu065KjO+7NwGRsuAvnbyiA MwM5h+7SYWkuzqBRf9XsBR8/lMpE6Ucm1jcRb9IWM9rvqrYwCwiRSfiXovGyuvOHqPVI DnUlclLZfzv0+yVVtj10pVZdeAv4T/b20DugVcPz8JOshcgs18e8aM208XBQzNgaq3Me KD8w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si16041021ejm.415.2021.09.20.02.11.52; Mon, 20 Sep 2021 02:12:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbhITE6k (ORCPT + 99 others); Mon, 20 Sep 2021 00:58:40 -0400 Received: from mga05.intel.com ([192.55.52.43]:51037 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbhITE6i (ORCPT ); Mon, 20 Sep 2021 00:58:38 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10112"; a="308606107" X-IronPort-AV: E=Sophos;i="5.85,307,1624345200"; d="scan'208";a="308606107" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2021 21:57:11 -0700 X-IronPort-AV: E=Sophos;i="5.85,307,1624345200"; d="scan'208";a="702257181" Received: from agluck-desk2.sc.intel.com (HELO agluck-desk2.amr.corp.intel.com) ([10.3.52.146]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2021 21:57:10 -0700 Date: Sun, 19 Sep 2021 21:57:09 -0700 From: "Luck, Tony" To: Borislav Petkov Cc: Yazen Ghannam , X86 ML , LKML Subject: Re: [PATCH 2/4] x86/mce: Get rid of machine_check_vector Message-ID: References: <20210917105355.2368-1-bp@alien8.de> <20210917105355.2368-3-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210917105355.2368-3-bp@alien8.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 17, 2021 at 12:53:53PM +0200, Borislav Petkov wrote: > @@ -126,7 +123,9 @@ struct mca_config { > ser : 1, > recovery : 1, > bios_cmci_threshold : 1, > - __reserved : 59; > + /* Proper #MC exception handler is set */ > + initialized : 1, > + __reserved : 58; Does this __reserved field do anything useful? It seems to just be an annoyance that must be updated each time a new bit is added. Surely the compiler will see that these bitfields are in a "u64" and do the math and skip to the right boundary without this. -Tony