Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1799292pxb; Mon, 20 Sep 2021 05:42:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1yCJK8EMNhAxlq3tW6Y7txllfM0m6/hWuCDHr7dhyztM+F6UY5mYWSkcmg0RXUFkkQoTF X-Received: by 2002:a05:6602:2cc5:: with SMTP id j5mr18448062iow.156.1632141768554; Mon, 20 Sep 2021 05:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632141768; cv=none; d=google.com; s=arc-20160816; b=kcT5wYgLXaOEz0BH+GPlX77NN1C1jf9+IJR1bOo/n+bve1dgRxnLQ7oMiLuZFAg7V3 SRac+G1+7WDoZWm4KBzt+7/qxvk/l7v3cQI4wegDBfLMYTfE0++iBBNFgkuwso/D/iMj lmGiKgqIcHCo2N4OL0GUWYHynOaks0vfPwmgH4FKxdSSTmLZaUqHBjGTLOsF71hfMyam /XAMchhL+RdkIqkV05kI6uSmjxruPoAP0yAmL+G/KpVqU7JufuHswVxlnvPCcOroV8F6 8RaRECkYQjlSx1xU0LWQFvrNGXq3ufuFBoOkVTKcZ2zR/SM7VvXmjaXCkUrDZ9oCPCps U9Rw== 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:dkim-signature; bh=/cgsPmDylT/xYQpxHIFB96D9RMykjPseOGDkp3zq2eU=; b=R6LHgi+y8qOhVwcUZEZeYJItNEHszxCYxY9WG6ELx+LOgMBszSQTE74GRWB0HYS7LT x0wcOgzVU6oQlPQDOWoJ0S434pM83bbrFpvZyWdeN2zcC56bP5gqEM82+CCMrKY4kWFn GdClveqTZCex3irlyfzbgbICFXUhONNRCs9VpYbLzC+c9BgDAGkJY/nzGkg9atkqKFrb ogpDdAMgsYARDk2peuGFG+kPm9vSgXNQknA7ey94Gf6g0TN3OMBb5arqo2u8YfCned/j MAY+V187xd9Cc0TPqH6BMIgiwOeHghHX3Qo4Ynyh4iXHT9S92DMy7Z/nm7EUkIUmj6Yw U1jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="T/56O0OD"; 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 h5si14877575iol.44.2021.09.20.05.42.36; Mon, 20 Sep 2021 05:42:48 -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="T/56O0OD"; 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 S235410AbhITIO3 (ORCPT + 99 others); Mon, 20 Sep 2021 04:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235387AbhITIO2 (ORCPT ); Mon, 20 Sep 2021 04:14:28 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACAC1C061574 for ; Mon, 20 Sep 2021 01:13:01 -0700 (PDT) Received: from zn.tnic (p200300ec2f0a2a0063d0dab944a9c04a.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:2a00:63d0:dab9:44a9:c04a]) (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 EB11C1EC0287; Mon, 20 Sep 2021 10:12:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1632125576; 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=/cgsPmDylT/xYQpxHIFB96D9RMykjPseOGDkp3zq2eU=; b=T/56O0ODvgMUzzTCwatcjNSFvw74w8rKo5O5/YBBtHA3h3c9ai0LoSXVfJf6jkso0P0c9F Q6LSDIWXu1mt0g/XZJz2dLnkcVWeLbJgECiuhN2Dfy8z2vGok0rSh1JJmPSWFgc2ulJ7B+ AkObsCGr70oZdwZvrS3SVhLBeX1s8+k= Date: Mon, 20 Sep 2021 10:12:51 +0200 From: Borislav Petkov To: "Luck, Tony" 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=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 19, 2021 at 09:57:09PM -0700, Luck, Tony wrote: > 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. It is there to tell you how many bits you have left so that you don't have to count each time. And updating it each time is simply Ctrl-x in vim. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette