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


Groups > linux.kernel > #1681867 > unrolled thread

Re: [PATCH v2] um: Allow building and running on older hosts

Started byRichard Weinberger <richard.weinberger@gmail.com>
First post2017-07-05 23:40 +0200
Last post2017-07-05 23:40 +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 v2] um: Allow building and running on older hosts Richard Weinberger <richard.weinberger@gmail.com> - 2017-07-05 23:40 +0200

#1681867 — Re: [PATCH v2] um: Allow building and running on older hosts

FromRichard Weinberger <richard.weinberger@gmail.com>
Date2017-07-05 23:40 +0200
SubjectRe: [PATCH v2] um: Allow building and running on older hosts
Message-ID<u00bF-3nZ-47@gated-at.bofh.it>
Florian,

On Thu, May 25, 2017 at 8:36 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:
> Commit a78ff1112263 ("um: add extended processor state save/restore
> support") and b6024b21fec8 ("um: extend fpstate to _xstate to support
> YMM registers") forced the use of the x86 FP _xstate and
> PTRACE_GETREGSET/SETREGSET. On older hosts, we would neither be able to
> build UML nor run it anymore with these two commits applied because we
> don't have definitions for struct _xstate nor these two ptrace requests.
>
> We can determine at build time which fp context structure to check
> against, just like we can keep using the old i387 fp save/restore if
> PTRACE_GETRESET/SETREGSET are not defined.
>
> Fixes: a78ff1112263 ("um: add extended processor state save/restore support")
> Fixes: b6024b21fec8 ("um: extend fpstate to _xstate to support YMM registers")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Both patches applied. Thanks a lot for fixing these regressions!

-- 
Thanks,
//richard

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web