Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1481546
| From | Dave Hansen <dave.hansen@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] x86: do not skip PKRU register if debug registers are not used |
| Date | 2016-09-12 18:50 +0200 |
| Message-ID | <sgCAG-5NW-41@gated-at.bofh.it> (permalink) |
| References | <sfVm2-3Mp-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 09/10/2016 11:30 AM, Nicolas Iooss wrote:
> When commit c0b17b5bd4b7 ("x86/mm/pkeys: Dump PKRU with other kernel
> registers") made __show_regs() show PKRU, this register was only printed
> if the debug registers were not in their default state (there is an
> if(...) return; before).
>
> Change the logic to report PKRU value even when debug registers are in
> their default state.
Ahh, thanks for finding this. This looks like the correct fix to me.
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/1] x86: do not skip PKRU register if debug registers are not used Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2016-09-10 20:40 +0200 Re: [PATCH 1/1] x86: do not skip PKRU register if debug registers are not used Dave Hansen <dave.hansen@linux.intel.com> - 2016-09-12 18:50 +0200 [tip:mm/pkeys] x86/mm/pkeys: Do not skip PKRU register if debug registers are not used tip-bot for Nicolas Iooss <tipbot@zytor.com> - 2016-09-13 15:20 +0200 [tip:mm/pkeys] x86/mm/pkeys: Do not skip PKRU register if debug registers are not used tip-bot for Nicolas Iooss <tipbot@zytor.com> - 2016-09-13 16:10 +0200
csiph-web