mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gaurav Kohli <gkohli@codeaurora.org>
To: Robin Murphy <robin.murphy@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Cc: linux-arm-msm@vger.kernel.org, jannh@google.com
Subject: Query : Regarding csdb barrier with llvm compiler
Date: Tue, 31 Mar 2020 14:55:08 +0530	[thread overview]
Message-ID: <77aec890-d514-8e13-2322-55e61f587236@codeaurora.org> (raw)
In-Reply-To: <6ffd3fc0-4d9f-364b-4ab0-b90147689334@codeaurora.org>

<Resending again, saw some failure messages on previous mail>

Hi ,

Right now we are using array_index_nospec api in linux kernel and using 
in the place where we think speculative out of bound access may happen.

This thing is applicable with GCC tool chain, as for GCC we have to use 
builtin api to place csdb in the required places.

Recently llvm toolchain comes with hardening option which will place 
csdb in the required places, Do we have any plan to use this thing in 
linux kernel.

Regards
Gaurav

-- 
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center,
Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.

           reply	other threads:[~2020-03-31  9:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <6ffd3fc0-4d9f-364b-4ab0-b90147689334@codeaurora.org>]

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=77aec890-d514-8e13-2322-55e61f587236@codeaurora.org \
    --to=gkohli@codeaurora.org \
    --cc=catalin.marinas@arm.com \
    --cc=jannh@google.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robin.murphy@arm.com \
    --cc=will.deacon@arm.com \
    /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

all inboxes | Powered by JetHome®