Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623890 > unrolled thread

Re: [PATCH] x86/mpx, selftests: Only check bounds-vs-shadow when we keep shadow

Started byDave Hansen <dave.hansen@linux.intel.com>
First post2017-04-14 22:00 +0200
Last post2017-04-14 22:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] x86/mpx, selftests: Only check bounds-vs-shadow when we  keep shadow Dave Hansen <dave.hansen@linux.intel.com> - 2017-04-14 22:00 +0200

#1623890 — Re: [PATCH] x86/mpx, selftests: Only check bounds-vs-shadow when we keep shadow

FromDave Hansen <dave.hansen@linux.intel.com>
Date2017-04-14 22:00 +0200
SubjectRe: [PATCH] x86/mpx, selftests: Only check bounds-vs-shadow when we keep shadow
Message-ID<twfxU-5eR-9@gated-at.bofh.it>
On 04/06/2017 07:23 AM, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@suse.de>
> 
> The check between the hardware state and our shadow of it is
> checked in the signal handler for all bounds exceptions,
> even for the ones where we don't keep the shadow up2date.
> This is a problem because when no shadow is kept the handler
> fails at this point and hides the real reason of the
> exception.
> 
> Move the check into the code-path evaluating normal bounds
> exceptions to prevent this.

Looks good to me.

Acked-by: Dave Hansen <dave.hansen@linux.intel.com>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web