Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932535AbdCFW2S (ORCPT ); Mon, 6 Mar 2017 17:28:18 -0500 Received: from mail-pg0-f47.google.com ([74.125.83.47]:32770 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932243AbdCFW16 (ORCPT ); Mon, 6 Mar 2017 17:27:58 -0500 From: Kees Cook To: linux-kernel@vger.kernel.org Cc: Kees Cook , Nobuhiro Iwamatsu , Qiuxu Zhuo , Ard Biesheuvel , Anton Vorontsov , Colin Cross , Tony Luck , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , "Rafael J. Wysocki" , Len Brown , Matt Fleming , Nathan Fontenot , Pan Xinhui , Daniel Axtens , Paul Gortmaker , Geliang Tang , linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-efi@vger.kernel.org, linux-doc@vger.kernel.org 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> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 24 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