Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3754192ybi; Fri, 5 Jul 2019 13:17:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFmQLJV61nbO0mBxePa1Ce09Ne69cpbel+IzDV/QYQrzFYKBMhiCPJq3rbvP8+TPEt3J9D X-Received: by 2002:a63:5045:: with SMTP id q5mr7242716pgl.380.1562357845914; Fri, 05 Jul 2019 13:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562357845; cv=none; d=google.com; s=arc-20160816; b=fwrRpnI6bFEZt3sWAvGAUdP1NSrojIQbetTGBobREHnJDLtxdLN3ZZ+oTSFaIrF7FE TyA0y89TDee0jaQUMrzAubjlFL0Zk+DjG8XGMMaoNlSPPmoCVOMMpyhtAOAfLhPQEGuZ 7m9ukUqOOe4iKZeIfAkk7wKtPGK/0KMV7D5gJTewf4MgaCThjltt7+kWEB3m2KaGSJCv 0I4u0sDdRdjcBt+se5AYStkOhOt9D/sjCVDJuztcTMACVTKSTJjPuWlEJlVZaW17wcUO Wz1uGBbp9sTUeGaakLX0kUgK+hHyY7NlpWgF3tt9Po3EbAuktodl6WlFEsRV63u6k5YL qOYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:to:from:subject:message-id:dkim-signature:dkim-signature; bh=zMq4q1PF8YQVSzlLGDSa6cfQE/D6pqRcwhZb2tD5gtI=; b=Le7WSjrN6YwzCl7J9UShhMc5+RfCLNCgk4xwOrvV16p8zh8cRWNqm+WcuwxX4BtzzJ 5DrV6mFCj15GZdbUQIxrBWDeoznAgC6TNa8t83oIk8l6Qthmea5Gv+L0toIUX5Kev4J1 8JFHheLCr0+UjRe16YZI5XkN6m0TQ7zi8DZXkI1Zk8YXCP/8OSd4KI6Mvo01sQLI0pn2 Owe+//3bAIMJxESw3knxWCfwlOKF8TcOAeRoprcRA6W18qapyDzfTOaX0YGMFsZ0ilHE JQxd0GCw5ZSRuB36pYxQGtMjmjO/lEq28SCKVCBan9DwRT84yA94TYrGsbxvq1GUH3tA 8fAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Ify4ZdA1; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Ify4ZdA1; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l34si9768500pgm.44.2019.07.05.13.17.04; Fri, 05 Jul 2019 13:17:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Ify4ZdA1; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Ify4ZdA1; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbfGEUHP (ORCPT + 99 others); Fri, 5 Jul 2019 16:07:15 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:59652 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbfGEUHO (ORCPT ); Fri, 5 Jul 2019 16:07:14 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 938FA8EE1F7; Fri, 5 Jul 2019 13:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562357234; bh=OBIIiomNCsO92MOnn0j+HDJBu3oOCAUo34RxRZP8VxQ=; h=Subject:From:To:Date:From; b=Ify4ZdA14JSPLJ2wCMfHW6vWJgCGPoouCpcmg44h2mwIjZju4bbRl6USAzHgg0LHi LJFjafrt77eae1MS53r7W8YzrnVgKP9hbDGumwpNoplWZDru93pRqo6TfjmUqmzuNl oE5TMNmJzQIgBJ/Q6WtpBbWAYCufW/vDxjzbUYnU= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VuvkfAKMvSM9; Fri, 5 Jul 2019 13:07:14 -0700 (PDT) Received: from jarvis.lan (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 0FA958EE0CF; Fri, 5 Jul 2019 13:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562357234; bh=OBIIiomNCsO92MOnn0j+HDJBu3oOCAUo34RxRZP8VxQ=; h=Subject:From:To:Date:From; b=Ify4ZdA14JSPLJ2wCMfHW6vWJgCGPoouCpcmg44h2mwIjZju4bbRl6USAzHgg0LHi LJFjafrt77eae1MS53r7W8YzrnVgKP9hbDGumwpNoplWZDru93pRqo6TfjmUqmzuNl oE5TMNmJzQIgBJ/Q6WtpBbWAYCufW/vDxjzbUYnU= Message-ID: <1562357231.10899.5.camel@HansenPartnership.com> Subject: [PATCH 0/4] bring parisc linux into the modern age by adding ext4 support to the bootloader From: James Bottomley To: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Parisc List Date: Fri, 05 Jul 2019 13:07:11 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The parisc bootloader, palo, has understood how to read ext2/3 filesystems for decades. However, keeping an ext2/3 partition around simply to boot from is becoming a bit old, so add support for ext4 to the iplboot code. Note, this still doesn't fix ipl specific limitations, like the inability to read a disk beyond 2GB, so you will still need a low sector /boot partition for this. The assumptions I've made adding ext4 are that the only additional variables over ext2/3 are the variable group descriptor size support, conditioned on the EXT4_FEATURE_INCOMPAT_64BIT flag and extent based inodes conditioned on the EXT3_EXTENTS_FL (it's been renamed to EXT4_EXTENTS_FL now in libext2fs). Filesystem people interested in reviewing the extent handling code probably only need look at patch 3/4 iplboot: add ext4 support James --- James Bottomley (4): iplboot: eliminate unused struct bootfs iplboot: update the ext2_fs.h header iplboot: add ext4 support palo: add support for formatting as ext4 ipl/bootloader.h | 13 --- ipl/ext2.c | 256 +++++++++++++++++++++++++++++++++++++++++++------------ ipl/ext2_fs.h | 42 ++++++++- iplboot | Bin 45056 -> 45056 bytes palo/palo.c | 6 +- 5 files changed, 245 insertions(+), 72 deletions(-) -- 2.16.4