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=-3.8 required=3.0 tests=BAYES_00, 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 402C0C433DF for ; Mon, 12 Oct 2020 17:40:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07FDE206DD for ; Mon, 12 Oct 2020 17:40:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404108AbgJLRkL (ORCPT ); Mon, 12 Oct 2020 13:40:11 -0400 Received: from smtprelay0185.hostedemail.com ([216.40.44.185]:59632 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403994AbgJLRkK (ORCPT ); Mon, 12 Oct 2020 13:40:10 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 8F957180A7FE8; Mon, 12 Oct 2020 17:40:09 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: alley73_5a1147a271fc X-Filterd-Recvd-Size: 2147 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Mon, 12 Oct 2020 17:40:08 +0000 (UTC) Message-ID: <73e18a141df7a9259ef47363152bc2595b00bda4.camel@perches.com> Subject: Re: [PATCH -v4] checkpatch: Check for .byte-spelled insn opcodes documentation on x86 From: Joe Perches To: Borislav Petkov Cc: Andrew Morton , X86 ML , Andy Whitcroft , LKML , Peter Zijlstra Date: Mon, 12 Oct 2020 10:40:07 -0700 In-Reply-To: <20201012173142.GI22829@zn.tnic> References: <20201009161423.14583-1-bp@alien8.de> <20201010105421.GA24674@zn.tnic> <4147e49c0b1251343181b5580d946c2273247927.camel@perches.com> <20201010161112.GC24674@zn.tnic> <20201012142148.GA22829@zn.tnic> <20201012171544.GH22829@zn.tnic> <5590cd3df8b28cdd077230dda8c99e80436bdcf3.camel@perches.com> <20201012173142.GI22829@zn.tnic> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-10-12 at 19:31 +0200, Borislav Petkov wrote: > On Mon, Oct 12, 2020 at 10:17:56AM -0700, Joe Perches wrote: > > Workie here. This is against -next. > > Nevermind - I had an old version in that branch. > > What I mind to, however, is: > > "adding a mechanism to only emit the message once per patched file (Joe)" > > This needs to happen for every .byte line which doesn't have a comment > documenting the binutils version. Why? I think it unnecessary. It's noisy and would also be duplicative in the code. /* binutils version x.y */ #define __ASM_CLAC ".byte 0x0f,0x01,0xca" #define __ASM_STAC ".byte 0x0f,0x01,0xcb" Both should not need separate binutils version info if added in a patch context.