[PATCH v1 0/3] Support EFI partition on NVIDIA Tegra devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux