From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Subject: [PATCH 00/18] pstore: refactor internal APIs Date: Mon, 6 Mar 2017 13:55:14 -0800 Message-ID: <1488837332-71582-1-git-send-email-keescook@chromium.org> Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" To: linux-kernel@vger.kernel.org Cc: linux-efi@vger.kernel.org, linux-doc@vger.kernel.org, Matt Fleming , Pan Xinhui , Paul Gortmaker , Paul Mackerras , Anton Vorontsov , linux-acpi@vger.kernel.org, Nathan Fontenot , Len Brown , Kees Cook , Nobuhiro Iwamatsu , Geliang Tang , Tony Luck , Daniel Axtens , Qiuxu Zhuo , Ard Biesheuvel , "Rafael J. Wysocki" , Colin Cross , linuxppc-dev@lists.ozlabs.org List-Id: linux-acpi@vger.kernel.org For a long time I've been bothered by the complexity of argument passing in the pstore internals, which makes understanding things and changing things extremely fragile. With the proposal of a new backend (EPI capsules), and my attempts to reorganize things for the proposed multiple-pmsg frontend, I've spent some time refactoring the internal pstore API to pass a record structure instead of lots of arguments. This hugely simplifies things, and lets me document the API better, reduce memory copies, etc. Included in the series are a few bug fixes as well. If pstore backend authors could review the changes I've made in their drivers, I'd appreciate it. Hopefully I got it all right. :) And unless there are any objections, I'll put this into -next in a couple days. I intend to continue working on this to fix up the "ecc_notification_size" field and make it more generalized, and get multiple pmsg support added too, but I'd like to get this first series out for review first, since it's rather long already. Thanks! -Kees