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 0319CC433E9 for ; Fri, 5 Mar 2021 22:20:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6E0E650B4 for ; Fri, 5 Mar 2021 22:20:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbhCEWT4 (ORCPT ); Fri, 5 Mar 2021 17:19:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:37902 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhCEWTw (ORCPT ); Fri, 5 Mar 2021 17:19:52 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 946A0AD73; Fri, 5 Mar 2021 22:19:51 +0000 (UTC) Date: Fri, 5 Mar 2021 23:19:51 +0100 From: Borislav Petkov To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH v1 1/1] scripts/decodecode: Decode 32-bit code correctly on x86_64 Message-ID: <20210305221951.GC2896@zn.tnic> References: <20210305183948.37738-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210305183948.37738-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 05, 2021 at 08:39:48PM +0200, Andy Shevchenko wrote: > On x86_64 host the objdump uses current architecture which is 64-bit > and hence decodecode shows wrong instructions. > > Fix it by supplying '-M i386' in case of ARCH i?86 or x86. At the beginning of the script says: # e.g., to decode an i386 oops on an x86_64 system, use: # AFLAGS=--32 decodecode < 386.oops What kind of oops are you decoding such that that doesn't work for you? Thx. -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg