Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1298319
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andy Lutomirski <luto@amacapital.net> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks |
| Date | Sun, 27 Dec 2015 03:20:02 +0100 |
| Message-ID | <qK96a-F3-5@gated-at.bofh.it> (permalink) |
| References | <qJlVM-3uz-1@gated-at.bofh.it> <qJogV-4ZL-1@gated-at.bofh.it> <qJzcm-33x-3@gated-at.bofh.it> <qJGQx-84B-1@gated-at.bofh.it> <qJUqt-8ap-7@gated-at.bofh.it> <qJYu6-2cC-21@gated-at.bofh.it> <qK8Wu-BU-3@gated-at.bofh.it> <qK96a-F3-3@gated-at.bofh.it> |
| X-Original-To | Tony Luck <tony.luck@gmail.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qHGb8NkNKMk6/cCXDHAEiUjK1j2spPTXkr9nKsFV87M=; b=ITndoPEUX2LesJyfng2nio0QhndicMXUF0mbG3uaA5Oc+W63FFKtN38HEJPY+Apbet lgRlrS7s9nMmSaZYocCa6mUOPyDmhSTs+NCCTwitI7v6qO26sEaaKaC/kIyMXBJyNigg InTDyGer/auYC+6QAFNCywL/Z+QrwbnLS1LIvzoj/BeVm0KVtiJd9sxdawa5mewlNzbm mJEhYzH9alF0fE5rd9kIYD7JKa4x0sEEw/hrGUOK/Ea4CJP1bdq68e4q3dE7UFFu0jRp 0wUF145UCYu9xWBymvq/ovo8Wp5ACAzA6F4NddNa//XL6E3wTvzqvVYCvsGNeGAXQyVO KXrA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=qHGb8NkNKMk6/cCXDHAEiUjK1j2spPTXkr9nKsFV87M=; b=MmO5kaRFWuDMi2nIblmDR+1Ol2g461hVhWWALg/pYn9F6mAF/nahzrmMlPKNukqkpC PUrBaMG/5gMQhVjrvspvdQEOUmwOpXJcdJjmVOgR1hH4mppTKGoGWOZMvy7sYO7Uzq9p ZgPRlclwwH4UuiAq39/PZCleJkgAo1eVRzPGxmlrYnJnZLoRT9N/hAPg2HiV+HcxrCHI 1K2wMB+noRTRM24x0752FXnx+xP80gewdloOR002v19SDgduc4oVKIbKQP0kTHTSyVjI v5A36hpu66dc4cC6HWwH4fuclaam42tP5FVT0e5tj6KJb3z6Ota0YyF9FC521rm7idy+ UlcQ== |
| X-Gm-Message-State | ALoCoQl6K1GZEwb8CyRaMOuBj7qY29Qg6BJNd1RdGd1d4+IFN98ygDfyXoefs0bpmv8RDKOzUwOu0XQ7QyLrHuAFKOQChLlUzQ== |
| X-Received | by 10.202.73.135 with SMTP id w129mr17379156oia.48.1451182638672; Sat, 26 Dec 2015 18:17:18 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Borislav Petkov <bp@alien8.de>, linux-nvdimm <linux-nvdimm@ml01.01.org>, X86 ML <x86@kernel.org>, "elliott@hpe.com" <elliott@hpe.com>, "linux-mm@kvack.org" <linux-mm@kvack.org>, Andrew Morton <akpm@linux-foundation.org>, "Williams, Dan J" <dan.j.williams@intel.com>, Ingo Molnar <mingo@kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| X-Original-Date | Sat, 26 Dec 2015 18:16:59 -0800 |
| X-Original-Message-ID | <CALCETrU3OCVJoBWXcdmy-9Rr3d3rJ93606K1vC3V9zfT2bQc2g@mail.gmail.com> |
| X-Original-References | <20151224214632.GF4128@pd.tnic> <ce84932301823b991b9b439a4715be93f1912c05.1451002295.git.tony.luck@intel.com> <20151225114937.GA862@pd.tnic> <5FBC1CF1-095B-466D-85D6-832FBFA98364@intel.com> <20151226103252.GA21988@pd.tnic> <CALCETrUWmT7jwMvcS+NgaRKc7wpoZ5f_dGT8no7dOWFAGvKtmQ@mail.gmail.com> <CA+8MBbL9M9GD6NEPChO7_g_HrKZcdrne0LYXdQu18t3RqNGMfQ@mail.gmail.com> <CALCETrUhqQO4anRK+i4OdtRBZ9=0aVbZ-zZtuZ0QHt-O7fOkgg@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1298319 |
Show key headers only | View raw
On Sat, Dec 26, 2015 at 6:15 PM, Andy Lutomirski <luto@amacapital.net> wrote: > On Sat, Dec 26, 2015 at 6:08 PM, Tony Luck <tony.luck@gmail.com> wrote: >> On Sat, Dec 26, 2015 at 6:54 AM, Andy Lutomirski <luto@amacapital.net> wrote: >>> On Dec 26, 2015 6:33 PM, "Borislav Petkov" <bp@alien8.de> wrote: >>>> Andy, why is that? It makes the exception handling much simpler this way... >>>> >>> >>> I like the idea of moving more logic into C, but I don't like >>> splitting the logic across files and adding nasty special cases like >>> this. >>> >>> But what if we generalized it? An extable entry gives a fault IP and >>> a landing pad IP. Surely we can squeeze a flag bit in there. >> >> The clever squeezers have already been here. Instead of a pair >> of 64-bit values for fault_ip and fixup_ip they managed with a pair >> of 32-bit values that are each the relative offset of the desired address >> from the table location itself. >> >> We could make one of them 31-bits (since even an "allyesconfig" kernel >> is still much smaller than a gigabyte) to free a bit for a flag. But there >> are those external tools to pre-sort exception tables that would all >> need to be fixed too. Wait, why? The external tools sort by source address, and we'd squeeze the flag into the target address, no? --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHV4 0/3] Machine check recovery when kernel accesses poison Tony Luck <tony.luck@intel.com> - 2015-12-24 22:10 +0100
[PATCHV4 2/3] x86, ras: Extend machine check recovery code to annotated ring0 areas Tony Luck <tony.luck@intel.com> - 2015-12-24 22:20 +0100
[PATCHV4 1/3] x86, ras: Add new infrastructure for machine check fixup tables Tony Luck <tony.luck@intel.com> - 2015-12-24 22:20 +0100
[PATCHV4 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@intel.com> - 2015-12-24 22:20 +0100
Re: [PATCHV4 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Borislav Petkov <bp@alien8.de> - 2015-12-24 22:50 +0100
[PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@intel.com> - 2015-12-25 01:20 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Borislav Petkov <bp@alien8.de> - 2015-12-25 13:00 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks "Luck, Tony" <tony.luck@intel.com> - 2015-12-25 21:10 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Borislav Petkov <bp@alien8.de> - 2015-12-26 11:40 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-26 16:00 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@gmail.com> - 2015-12-27 03:10 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 03:20 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 03:20 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@gmail.com> - 2015-12-27 08:00 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Borislav Petkov <bp@alien8.de> - 2015-12-27 11:20 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 13:30 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Boris Petkov <bp@alien8.de> - 2015-12-27 14:30 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 14:30 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Borislav Petkov <bp@alien8.de> - 2015-12-27 14:40 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 14:50 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Dan Williams <dan.j.williams@intel.com> - 2015-12-28 03:50 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-27 13:20 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@gmail.com> - 2015-12-31 00:40 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Tony Luck <tony.luck@gmail.com> - 2015-12-31 21:40 +0100
Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks Andy Lutomirski <luto@amacapital.net> - 2015-12-31 22:30 +0100
csiph-web