Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1479543
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: pstore/core: drop cmpxchg based updates |
| Date | 2016-09-09 00:10 +0200 |
| Message-ID | <sffG9-35c-13@gated-at.bofh.it> (permalink) |
| References | <s9Gg1-2I8-5@gated-at.bofh.it> <sffd8-2Fy-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 8, 2016 at 2:32 PM, Guenter Roeck <linux@roeck-us.net> wrote: > On Wed, Aug 24, 2016 at 03:09:35PM +0200, Sebastian Andrzej Siewior wrote: >> I have here a FPGA behind PCIe which exports SRAM which I use for >> pstore. Now it seems that the FPGA no longer supports cmpxchg based >> updates and writes back 0xff…ff and returns the same. This leads to >> crash during crash rendering pstore useless. >> Since I doubt that there is much benefit from using cmpxchg() here, I am >> dropping this atomic access and use the spinlock based version. >> >> Cc: Anton Vorontsov <anton@enomsg.org> >> Cc: Colin Cross <ccross@android.com> >> Cc: Kees Cook <keescook@chromium.org> >> Cc: Tony Luck <tony.luck@intel.com> >> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> >> Tested-by: Rabin Vincent <rabinv@axis.com> > > Great, one item taken off my task list. > > As Rabin suggested, this patch is needed for at least some ARM chips, > and should be applied to stable releases. Okay, I've annotated it now. > Reviewed-by: Guenter Roeck <linux@roeck-us.net> Thanks! -Kees -- Kees Cook Nexus Security
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: pstore/core: drop cmpxchg based updates Guenter Roeck <linux@roeck-us.net> - 2016-09-08 23:40 +0200 Re: pstore/core: drop cmpxchg based updates Kees Cook <keescook@chromium.org> - 2016-09-09 00:10 +0200
csiph-web