From patchwork Sat Mar 24 17:44:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shea Levy X-Patchwork-Id: 890475 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=shealevy.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tAbbPCV9"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 407nrQ6pJjz9s33 for ; Sun, 25 Mar 2018 04:45:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Fxeh/MOuZ/vxRl8ZndlHRG3/O0hk7ppGYSGpUtZ//5E=; b=tAbbPCV97m9Eld xvme+8dMqBjO5vAQnMf/W9m2X3CZ1gKnXJMHd12xpTO0qNjb/3+e+PwiMRESB2LCV/4eIBWw2L5S5 2mERp3ITy1SJTF+ESY/xJyALeHaxsAMPDNLeUwUHAkhdFCf1zWfoCgqktbTxevzKav6+Vtn9XpGa1 LTpIWfS1p+Nf8KkOtoP9tswRfGcNDE9BkqAcQp7yI+ICooFAs02uJ8/pJUwVeUcE2wGEGXftyzkjJ kQBUqrhddRir+6SEZIIB4GWbgHaHgIiPwB5MtI9u+xWTvUsZm8uu0Wt/JnFkbNxhyTsf96aKqrBgc MDQCg7EvOwIK992VWF1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eznEq-0004LB-Ao; Sat, 24 Mar 2018 17:45:56 +0000 Received: from smtprelay0230.hostedemail.com ([216.40.44.230] helo=smtprelay.hostedemail.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1eznEn-0004I8-07; Sat, 24 Mar 2018 17:45:54 +0000 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 8418D52B8; Sat, 24 Mar 2018 17:45:39 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, shea@shealevy.com, :::::::::::::::::::::::::, RULES_HIT:41:355:379:541:973:988:989:1260:1345:1381:1437:1534:1538:1566:1711:1714:1730:1747:1777:1792:1978:2393:2559:2562:3138:3139:3140:3141:3142:3865:3867:3868:3870:3871:3874:5007:6261:6737:10004:10848:11658:11914:12048:12533:13069:13149:13230:13311:13357:14384:14394:21080:21627, 0, RBL:71.235.10.46:@shealevy.com:.lbl8.mailshell.net-62.4.0.191 64.201.201.201, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:ff, MSBL:0, DNSBL:neutral, Custom_rules:0:0:0, LFtime:20, LUA_SUMMARY:none X-HE-Tag: lip00_4e58164841614 X-Filterd-Recvd-Size: 1322 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:45:38 +0000 (UTC) From: Shea Levy To: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-m68k@lists.linux-m68k.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Subject: [PATCH 00/16] Generic infrastructure for unloading initramfs Date: Sat, 24 Mar 2018 13:44:42 -0400 Message-Id: <20180324174458.26423-1-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180324_104553_110017_3DA7B908 X-CRM114-Status: UNSURE ( 2.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.5 (++) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [216.40.44.230 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [216.40.44.230 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 2.5 SUSPICIOUS_RECIPS Similar addresses in recipient list -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patch series extracts out code for unloading the initramfs that was identical across 14 architectures, and moves those architectures to the common code path. Additionally, RISC-V is newly moved to the common code path. In addition to reducing duplication, this allows us to bring future improvements (such as generalizing existing "keep initrd" command line options) to multiple architectures at once.