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


Groups > linux.kernel > #1351825 > unrolled thread

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

Started byDave Hansen <dave.hansen@intel.com>
First post2016-03-07 18:40 +0100
Last post2016-03-07 18:40 +0100
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 v2] sparc64: Add support for Application Data Integrity  (ADI) Dave Hansen <dave.hansen@intel.com> - 2016-03-07 18:40 +0100

#1351825 — Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

FromDave Hansen <dave.hansen@intel.com>
Date2016-03-07 18:40 +0100
SubjectRe: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)
Message-ID<ra7ip-5Vi-3@gated-at.bofh.it>
On 03/02/2016 12:39 PM, Khalid Aziz wrote:
> --- a/include/uapi/asm-generic/siginfo.h
> +++ b/include/uapi/asm-generic/siginfo.h
> @@ -206,7 +206,10 @@ typedef struct siginfo {
>  #define SEGV_MAPERR	(__SI_FAULT|1)	/* address not mapped to object */
>  #define SEGV_ACCERR	(__SI_FAULT|2)	/* invalid permissions for mapped object */
>  #define SEGV_BNDERR	(__SI_FAULT|3)  /* failed address bound checks */
> -#define NSIGSEGV	3
> +#define SEGV_ACCADI	(__SI_FAULT|4)	/* ADI not enabled for mapped object */
> +#define SEGV_ADIDERR	(__SI_FAULT|5)	/* Disrupting MCD error */
> +#define SEGV_ADIPERR	(__SI_FAULT|6)	/* Precise MCD exception */
> +#define NSIGSEGV	6

FYI, this will conflict with code in -tip right now:

> http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=mm/pkeys&id=cd0ea35ff5511cde299a61c21a95889b4a71464e

It's not a big deal to resolve, of course.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web