Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp6100310ybl; Tue, 27 Aug 2019 14:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHw8zuTFwjccbiovUCRfnULe88twQsYCrQD9cvDOnyckZkN11rimK2kIPTh3vjRHXe/1qJ X-Received: by 2002:a17:902:bcc2:: with SMTP id o2mr1007111pls.127.1566941340656; Tue, 27 Aug 2019 14:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566941340; cv=none; d=google.com; s=arc-20160816; b=s4mvhPQfQNlclI6FziKG3oSU4uzLPJzZEjhcwSX/sEDWio/U7czebQ+tbDgb0E0yrS +3pJEi33y7eL5E2XccyByJQu+UZ503u4k/1OoYfIuBnNRjlWqg7FRV7xZoXDDy0Du3xL wXhZG26QXN9slo8BE5wSDCvkIw6d4dX4uPzxso7N6vyNdDi5X9nfnOaYPZ4IvReIjbTi i26d/4jpYCUgVDdXtr6tpW+YXeGPuCQhR8zfLcV6MIeZWmot63PnbSIRoBlrQh38dIEG xlMrT81ms78HWl39YeMiWC9g7C2TG+RhpLTIFN9w8QM+V9B9rUgr5sH8wqOPNPtmsjyh kAEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dORKsa24CPlzONt8GkpEJmy5cgog5+v4B7b48TayOmE=; b=0sHt/1NVT25OlNiEadpWUUup4FYbeSwCFVDb9YSMOnXV6Zbm3XVDNr50BLPtV2d/qR mMVcSUkpONz9WQMqrcZT/ZKls9DSuu8NP6d4Lcmm8knLDptNpj8JsJ87rCfiR8/WT+/j PFOWSotvgRlqwiGk59NsY0KCSlDqn/evJQZGwuSghwKIjzfJpR1i6V9IJmKWxz56Lsqi YPF4B/8kabkZbOMIwoBZqD99Sl1GkEts1e+u3o07/zd7tQGXWbBK/jqSS87Thr2PRiNa t2YjlwirM50kn5dj3t8ZdOfhF3ZyxzpCqyTmRBYxLV9Ym83+qMtliy2455y92pOVShUK 76Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nlkQCqlr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y71si442633pgd.271.2019.08.27.14.28.43; Tue, 27 Aug 2019 14:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nlkQCqlr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729506AbfH0V1T (ORCPT + 99 others); Tue, 27 Aug 2019 17:27:19 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37612 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbfH0V1T (ORCPT ); Tue, 27 Aug 2019 17:27:19 -0400 Received: by mail-pf1-f194.google.com with SMTP id y9so228473pfl.4 for ; Tue, 27 Aug 2019 14:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dORKsa24CPlzONt8GkpEJmy5cgog5+v4B7b48TayOmE=; b=nlkQCqlrck9aDbUTfU3CWlCdu6TLRNvsh6KR2X92W6GvTwR6AqAinXCIHSB/UnnGrY SajnEjW0Tqve6lhnOdFa7OmT77RqUHoR3wCizuIHkWEqX2Zeo5GrV8nfKkzDr5pIV2NQ I/u7CLOKjWvEzDKRiqf244odsk1Wk1txvu+pClpOoD/WVwg95z5zckHo2tT84zGTo5Gg iBQr442MHY57rvvFnhoY5hPjaIh4hmgg3rCecQTiZaT6npNhGIy1qPZiu+Z0j/KnjqyU 4/wdx6qjtdWPYY6QC2fyxg3tKFqsjA9iAlojGPL/San5FlIV6cCMHq9271ZuTWgrcKTS 6ZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dORKsa24CPlzONt8GkpEJmy5cgog5+v4B7b48TayOmE=; b=e3gtsbhyJMw2QMSAKp+i6/DXd06ATtZ811EOEz35cXmuvYTCuwqvRDhYoR7ym8Z1tw dK2ab+13H8mAwE1pgsLVPdquGe2VoNLP/h3UMyEixiMu5BpA+ItY9tfdOk3olkRPALAr eNM9dYVxDjDEpUUVmbQ7smsDN7PENZOVDtZjF3wuROOEWKTYgOTV/LP26h1+A7Dho+mk L0r2J5VrgX/elaF5SRfDoX69G/s56AkZ1EEAEwcTBhZv29vSBN/xw4neKKoZtmgtbZ+L FBceN8/HGzfvuEpkkdtp6y3Wz7eJNsOhNTvJ7ghySW0gOEMz9XnJGdRMpal+QPLtn4G+ Xu7A== X-Gm-Message-State: APjAAAUmXx8AtHajyuqGUbWc2erZMo0BtZagZIG2xE+BzDNnv1THyqq6 PmX0V1/ckC3m2qJZ940KvTXTLqvh7E8siQ1Qk9bdUA== X-Received: by 2002:a63:60a:: with SMTP id 10mr432471pgg.381.1566941237865; Tue, 27 Aug 2019 14:27:17 -0700 (PDT) MIME-Version: 1.0 References: <20190711133915.GA25807@ziepe.ca> <20190711171808.GF25807@ziepe.ca> <20190711173030.GA844@archlinux-threadripper> <20190823142427.GD12968@ziepe.ca> <20190826153800.GA4752@archlinux-threadripper> <20190826154228.GE27349@ziepe.ca> <20190826233829.GA36284@archlinux-threadripper> <20190827150830.brsvsoopxut2od66@treble> <20190827170018.GA4725@mtr-leonro.mtl.com> <20190827192344.tcrzolbshwdsosl2@treble> In-Reply-To: <20190827192344.tcrzolbshwdsosl2@treble> From: Nick Desaulniers Date: Tue, 27 Aug 2019 14:27:06 -0700 Message-ID: Subject: Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status To: Josh Poimboeuf Cc: Leon Romanovsky , Nathan Chancellor , Jason Gunthorpe , Bernard Metzler , Doug Ledford , linux-rdma@vger.kernel.org, LKML , clang-built-linux , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 27, 2019 at 12:23 PM Josh Poimboeuf wrote: > > On Tue, Aug 27, 2019 at 08:00:18PM +0300, Leon Romanovsky wrote: > > On Tue, Aug 27, 2019 at 10:08:30AM -0500, Josh Poimboeuf wrote: > > > On Mon, Aug 26, 2019 at 04:38:29PM -0700, Nathan Chancellor wrote: > > > > Looks like that comes from tune_qsfp, which gets inlined into > > > > tune_serdes but I am far from an objtool expert so I am not > > > > really sure what kind of issues I am looking for. Adding Josh > > > > and Peter for a little more visibility. > > > > > > > > Here is the original .o file as well: > > > > > > > > https://github.com/nathanchance/creduce-files/raw/4e252c0ca19742c90be1445e6c722a43ae561144/rdma-objtool/platform.o.orig > > > > > > 574: 0f 87 00 0c 00 00 ja 117a > > > > > > It's jumping to la-la-land past the end of the function. > > > > How is it possible? > > Looks like a compiler bug. Nathan, Thanks for the reduced test case. I modified it slightly: https://godbolt.org/z/15xejg You can see that the label LBB0_5 seemingly points off into space. Let me play with this one more a bit, then I will file a bug and report back. -- Thanks, ~Nick Desaulniers