From: Alexander Pateenok <pateenoc@gmail.com>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Indirect call in vesafb driver
Date: Wed, 13 Mar 2019 14:54:18 +0000 [thread overview]
Message-ID: <20190313145418.bwta37cogo7a4qtt@K55DR> (raw)
Hi,
There're several indirect calls in inline assembly in vesafb driver
(drivers/video/fbdev/vesafb.c), and these calls cannot be automatically
changed to retpolines. It's in vesafb_pan_display():
73 __asm__ __volatile__(
74 "call *(%%edi)"
and in vesa_setpalette():
113 __asm__ __volatile__(
114 "call *(%%esi)"
Is there need to use CALL_NOSPEC ?
Thanks, Alex
next reply other threads:[~2019-03-13 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-13 14:54 Alexander Pateenok [this message]
2019-03-19 16:46 ` Indirect call in vesafb driver Alan Cox
2019-03-20 8:26 ` Gerd Hoffmann
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=20190313145418.bwta37cogo7a4qtt@K55DR \
--to=pateenoc@gmail.com \
--cc=b.zolnierkie@samsung.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@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