From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C66B6C433EF for ; Mon, 20 Sep 2021 08:13:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A8468610A8 for ; Mon, 20 Sep 2021 08:13:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235426AbhITIO3 (ORCPT ); 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