Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3281791pxu; Sun, 11 Oct 2020 04:09:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZKfiZuMeO2e+cC1Jiq6ZsdXiNCg9YLfV30cuDx8dRoxmn1I/fygapioMlgsdXDUzQkv/f X-Received: by 2002:aa7:c1d7:: with SMTP id d23mr8507819edp.205.1602414595548; Sun, 11 Oct 2020 04:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602414595; cv=none; d=google.com; s=arc-20160816; b=bXlWECMP2cnXg3Ud6ApLbbFRuBfncV9QNNebRDGD3Y+KxDq6/YrVxtvUFOZDb8KrIn /kEAlsq84qsQKfss8hWZaGq6TWhZF8Vg6tBZIivSdKQ6ClMSLk+JP/oSSKuMOP+7PZD3 F4rVkFNOxj22aETBpqGXFe0lME9PLIPMJ1dpVjAgHt1lFPqrYpqMgv9OobLNY9DaC0ze dWsWQA1WnimQf7rAhFvYD3arthCjFaPIEN1kdXci3qfSkva9rzOvsqP81I9glYTh575i ydfCBTRe/749YSu0bV5Fno6KCLwJksMWKeffZWATRCK62jR0HQ2rlki9sk9Zn1ySck3P aOrQ== 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=et8KSwo7ZuY1knITYz0pDwFHcnBsxQxwMZNMMJex3WA=; b=J8QR9a03l9ftrN4vDDZLySuZIGtl2j6jG2PQSwSnvVN70BhDPtBil5p4+qMrnY4GCj IJXfS8aqJj1/t1+F/XP7lUA+CWbabvwdVw68XOgTV3KHdM9OILk1w7NifeFHbQNNNvVT djaOGL5MNgeTjw2EsLoxGmaqfuWNRt6LjZr30xELDhTb4EVOKCHL8Lu1jpJ1FoC/H+9d K3T13JVxQP8N/lvVvlLlknDbjKna74LyVw3C7/eq/o1D3PmCKy2ux7RvgI1aOOsS5K3G rSHmZKukYdmGjL6ZkSrXm/LXd4DGaZTe5TLZQ17WOErfjIE+Unf+1XwVM5FjB+RVoDHy JTkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NAgLkiJF; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si149954ejr.8.2020.10.11.04.09.33; Sun, 11 Oct 2020 04:09:55 -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=@redhat.com header.s=mimecast20190719 header.b=NAgLkiJF; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733030AbgJJWlv (ORCPT + 99 others); Sat, 10 Oct 2020 18:41:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58799 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730800AbgJJTAd (ORCPT ); Sat, 10 Oct 2020 15:00:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602356416; 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: in-reply-to:in-reply-to:references:references; bh=et8KSwo7ZuY1knITYz0pDwFHcnBsxQxwMZNMMJex3WA=; b=NAgLkiJFXqO8Gf8IxG7zq5EECOzFt14AyuDK1j+xAvnBnX5XPCD9pyWqXsXrc0/TooUNj0 2YeXhZvuonKzUts6tCiJ25z1OxMO68RYDUIYuEWBO104Uq6Mx22jfK3KFQafqn6rnWLm6E JvWfHZ/MhMMgbOydzfA9V7q5zLuKym0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-507-oyaZPeUMPDixSdO_QkQz6w-1; Sat, 10 Oct 2020 13:44:23 -0400 X-MC-Unique: oyaZPeUMPDixSdO_QkQz6w-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C916E1005E5D; Sat, 10 Oct 2020 17:44:21 +0000 (UTC) Received: from treble (ovpn-112-146.rdu2.redhat.com [10.10.112.146]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A32655C1D0; Sat, 10 Oct 2020 17:44:19 +0000 (UTC) Date: Sat, 10 Oct 2020 12:44:15 -0500 From: Josh Poimboeuf To: Borislav Petkov Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Martin Schwidefsky , Vasily Gorbik , Masami Hiramatsu , x86 Subject: Re: [tip: objtool/core] x86/insn: Support big endian cross-compiles Message-ID: <20201010174415.zwopoy6vpficoqlr@treble> References: <160208761921.7002.1321765913567405137.tip-bot2@tip-bot2> <20201009203822.GA2974@worktop.programming.kicks-ass.net> <20201009204921.GB21731@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201009204921.GB21731@zn.tnic> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 09, 2020 at 10:49:21PM +0200, Borislav Petkov wrote: > On Fri, Oct 09, 2020 at 10:38:22PM +0200, Peter Zijlstra wrote: > > On Wed, Oct 07, 2020 at 04:20:19PM -0000, tip-bot2 for Martin Schwidefsky wrote: > > > The following commit has been merged into the objtool/core branch of tip: > > > > > > Commit-ID: 2a522b53c47051d3bf98748418f4f8e5f20d2c04 > > > Gitweb: https://git.kernel.org/tip/2a522b53c47051d3bf98748418f4f8e5f20d2c04 > > > Author: Martin Schwidefsky > > > AuthorDate: Mon, 05 Oct 2020 17:50:31 +02:00 > > > Committer: Josh Poimboeuf > > > CommitterDate: Tue, 06 Oct 2020 09:32:29 -05:00 > > > > > > x86/insn: Support big endian cross-compiles > > > > > > x86 instruction decoder code is shared across the kernel source and the > > > tools. Currently objtool seems to be the only tool from build tools needed > > > which breaks x86 cross compilation on big endian systems. Make the x86 > > > instruction decoder build host endianness agnostic to support x86 cross > > > compilation and enable objtool to implement endianness awareness for > > > big endian architectures support. > > > > > > Signed-off-by: Martin Schwidefsky > > > Co-developed-by: Vasily Gorbik > > > Signed-off-by: Vasily Gorbik > > > Acked-by: Masami Hiramatsu > > > Signed-off-by: Josh Poimboeuf > > > > This commit breaks the x86 build with CONFIG_X86_DECODER_SELFTEST=y. > > > > I've asked Boris to truncate tip/objtool/core. > > Yeah, top 4 are gone until this is resolved. Masami, I wonder if we even need these selftests anymore? Objtool already decodes the entire kernel. -- Josh