linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Support EFI partition on NVIDIA Tegra devices
@ 2021-03-27 21:20 Dmitry Osipenko
  2021-03-27 21:20 ` [PATCH v1 1/3] mmc: core: Add raw_boot_mult field to mmc_ext_csd Dmitry Osipenko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dmitry Osipenko @ 2021-03-27 21:20 UTC (permalink / raw)
  To: Jens Axboe, Thierry Reding, Jonathan Hunter,
	Michał Mirosław, David Heidelberg, Peter Geis,
	Ulf Hansson, Adrian Hunter, Christoph Hellwig, Ard Biesheuvel,
	Davidlohr Bueso, Randy Dunlap, Ion Agorria, Svyatoslav Ryhel
  Cc: linux-tegra, linux-block, linux-efi

Hi,

This series adds support for gpt_sector=<sector> kernel parameter used
specifically by Android devices that are based on NVIDIA Tegra SoCs.
This parameter is supplied by downstream bootloader, it tells the
number of a sector where EFI entry is located on EMMC storage.

A year ago we tried to upstream the support of gpt_sector and then the
support of NVIDIA's proprietary partition table, which was suggested by
Christoph Hellwig, but that effort didn't get enough attention.

Now, a year later, we have more Tegra devices running mainline kernel
and the situation hasn't changed, we still need to support the quirks
needed for accessing internal EMMC storage of the Tegra devices.  This
time I'm trying to get back to variant with supporting the gpt_sector
parameter, but in a way which doesn't disturb anything other than the
EMMC of NVIDIA Tegra devices, which previously was suggested by
Christoph Hellwig as well.

Dmitry Osipenko (3):
  mmc: core: Add raw_boot_mult field to mmc_ext_csd
  mmc: block: Add mmc_bdev_to_card() helper
  partitions/efi: Support gpt_sector parameter needed by NVIDIA Tegra
    devices

 block/partitions/Kconfig   |   8 +++
 block/partitions/Makefile  |   1 +
 block/partitions/check.h   |   2 +
 block/partitions/core.c    |   3 ++
 block/partitions/efi.c     |  18 +++++++
 block/partitions/tegra.c   | 108 +++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/block.c   |  15 ++++++
 drivers/mmc/core/mmc.c     |   2 +
 include/linux/mmc/blkdev.h |  13 +++++
 include/linux/mmc/card.h   |   1 +
 10 files changed, 171 insertions(+)
 create mode 100644 block/partitions/tegra.c
 create mode 100644 include/linux/mmc/blkdev.h

-- 
2.30.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-29 18:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 21:20 [PATCH v1 0/3] Support EFI partition on NVIDIA Tegra devices Dmitry Osipenko
2021-03-27 21:20 ` [PATCH v1 1/3] mmc: core: Add raw_boot_mult field to mmc_ext_csd Dmitry Osipenko
2021-03-27 21:20 ` [PATCH v1 2/3] mmc: block: Add mmc_bdev_to_card() helper Dmitry Osipenko
2021-03-27 21:21 ` [PATCH v1 3/3] partitions/efi: Support gpt_sector parameter needed by NVIDIA Tegra devices Dmitry Osipenko
2021-03-29  6:18   ` Christoph Hellwig
2021-03-29 13:07     ` Dmitry Osipenko
2021-03-29 17:31   ` Davidlohr Bueso
2021-03-29 18:38     ` Dmitry Osipenko

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).