[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFLxGvxxkMXQojHFLfCq3F5PiYqQHMHu3fQV3sMNbvYu-Qb1SQ@mail.gmail.com>
Date: Wed, 5 Jul 2017 23:32:37 +0200
From: Richard Weinberger <richard.weinberger@...il.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, elicooper@....com,
Thomas Meyer <thomas@...3r.de>, Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <x86@...nel.org>,
"open list:USER-MODE LINUX (UML)"
<user-mode-linux-devel@...ts.sourceforge.net>,
"open list:USER-MODE LINUX (UML)"
<user-mode-linux-user@...ts.sourceforge.net>
Subject: Re: [PATCH v2] um: Allow building and running on older hosts
Florian,
On Thu, May 25, 2017 at 8:36 PM, Florian Fainelli <f.fainelli@...il.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@...il.com>
Both patches applied. Thanks a lot for fixing these regressions!
--
Thanks,
//richard
Powered by blists - more mailing lists