public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Josh Poimboeuf <jpoimboe@redhat.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Martin KaFai Lau <kafai@fb.com>,
	netdev@vger.kernel.org, bpf@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [RFC] Revert "bpf: Fix ORC unwinding in non-JIT BPF code"
Date: Mon, 8 Jul 2019 08:11:10 -0500	[thread overview]
Message-ID: <20190708130010.pnxlzi5vptuyppxz@treble> (raw)
In-Reply-To: <20190708124547.3515538-1-arnd@arndb.de>

On Mon, Jul 08, 2019 at 02:45:23PM +0200, Arnd Bergmann wrote:
> Apparently this was a bit premature, at least I still get this
> warning with gcc-8.1:
> 
> kernel/bpf/core.o: warning: objtool: ___bpf_prog_run()+0x44d2: sibling call from callable instruction with modified stack frame
> 
> This reverts commit b22cf36c189f31883ad0238a69ccf82aa1f3b16b.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Yes, I have been working on a fix.

The impact is that ORC unwinding is broken in this function for
CONFIG_RETPOLINE=n.

I don't think we want to revert this patch though, because that will
broaden the impact to the CONFIG_RETPOLINE=y case.  Anyway I hope to
have fixes soon.

-- 
Josh

  reply	other threads:[~2019-07-08 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 12:45 [PATCH] [RFC] Revert "bpf: Fix ORC unwinding in non-JIT BPF code" Arnd Bergmann
2019-07-08 13:11 ` Josh Poimboeuf [this message]
2019-07-08 13:17   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190708130010.pnxlzi5vptuyppxz@treble \
    --to=jpoimboe@redhat.com \
    --cc=arnd@arndb.de \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kafai@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox