From: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Jens Axboe" <axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>,
"Thierry Reding"
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Jonathan Hunter"
<jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
"Michał Mirosław"
<mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>,
"David Heidelberg" <david-W22tF5X+A20@public.gmane.org>,
"Peter Geis" <pgwipeout-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Stephen Warren"
<swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
"Nicolas Chauvet"
<kwizart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Ulf Hansson"
<ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"Adrian Hunter"
<adrian.hunter-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
"Billy Laws" <blaws05-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Andrey Danin <danindrey-JGs/UdohzUI@public.gmane.org>,
Gilles Grandou <gilles-4LeZiQkTMnPR7s880joybQ@public.gmane.org>,
Ryan Grachek <ryan-JnT2LfGw4MD1P9xLtpHBDw@public.gmane.org>,
linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v1 0/3] Introduce NVIDIA Tegra Partition Table
Date: Tue, 25 Feb 2020 02:18:38 +0300 [thread overview]
Message-ID: <20200224231841.26550-1-digetx@gmail.com> (raw)
Some NVIDIA Tegra devices have GPT entry at a wrong location and others may
even not have it at all. So either a custom workaround for GPT parsing or
TegraPT support is needed for those devices if we want to support them in
upstream kernel. The former solution was already rejected [1], let's try
the latter.
[1] https://patchwork.ozlabs.org/patch/1240809/
Big thanks to everyone who helped with figuring out the TegraPT format!
Dmitry Osipenko (3):
mmc: core: Add raw_boot_mult field to mmc_ext_csd
mmc: block: Add mmc_bdev_to_card() helper
partitions: Introduce NVIDIA Tegra Partition Table
arch/arm/mach-tegra/tegra.c | 35 +++
block/partitions/Kconfig | 8 +
block/partitions/Makefile | 1 +
block/partitions/check.c | 4 +
block/partitions/tegra.c | 373 ++++++++++++++++++++++++++++
block/partitions/tegra.h | 71 ++++++
drivers/mmc/core/block.c | 14 ++
drivers/mmc/core/mmc.c | 2 +
include/linux/mmc/card.h | 4 +
include/soc/tegra/bct.h | 42 ++++
include/soc/tegra/common.h | 9 +
include/soc/tegra/partition_table.h | 18 ++
12 files changed, 581 insertions(+)
create mode 100644 block/partitions/tegra.c
create mode 100644 block/partitions/tegra.h
create mode 100644 include/soc/tegra/bct.h
create mode 100644 include/soc/tegra/partition_table.h
--
2.24.0
next reply other threads:[~2020-02-24 23:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-24 23:18 Dmitry Osipenko [this message]
2020-02-24 23:18 ` [PATCH v1 1/3] mmc: core: Add raw_boot_mult field to mmc_ext_csd Dmitry Osipenko
[not found] ` <20200224231841.26550-2-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-01 10:50 ` Avri Altman
[not found] ` <MN2PR04MB699121991FCB80BE39FC106FFCE60-lFdnouXQuT6w2H5UOYkxGlM8qxBPnqtHvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2020-03-01 23:09 ` Dmitry Osipenko
2020-02-24 23:18 ` [PATCH v1 2/3] mmc: block: Add mmc_bdev_to_card() helper Dmitry Osipenko
2020-02-25 14:53 ` Ulf Hansson
2020-02-25 15:46 ` Dmitry Osipenko
[not found] ` <20200224231841.26550-3-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-02-27 0:40 ` kbuild test robot
2020-02-24 23:18 ` [PATCH v1 3/3] partitions: Introduce NVIDIA Tegra Partition Table Dmitry Osipenko
[not found] ` <20200224231841.26550-4-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-02-25 0:20 ` Stephen Warren
2020-02-25 1:35 ` Dmitry Osipenko
[not found] ` <44c22925-a14e-96d0-1f93-1979c0c60525-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2020-03-04 16:36 ` Ulf Hansson
2020-03-04 17:09 ` Dmitry Osipenko
[not found] ` <824a4d5f-8280-8860-3e80-68188a13aa3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-06 13:37 ` Ulf Hansson
[not found] ` <CAPDyKFric6pZbJ5-2qkwAFoeJ0c0kcha99zHJ12AUrWO6FQmgg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-03-06 16:52 ` Stephen Warren
2020-03-06 21:56 ` Dmitry Osipenko
2020-03-06 23:11 ` Dmitry Osipenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200224231841.26550-1-digetx@gmail.com \
--to=digetx-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=adrian.hunter-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org \
--cc=blaws05-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=danindrey-JGs/UdohzUI@public.gmane.org \
--cc=david-W22tF5X+A20@public.gmane.org \
--cc=gilles-4LeZiQkTMnPR7s880joybQ@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=kwizart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org \
--cc=pgwipeout-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=ryan-JnT2LfGw4MD1P9xLtpHBDw@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).