public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Paulo Alcantara <pcacjr@zytor.com>
To: "Ni, Ruiyu" <ruiyu.ni@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: Laszlo Ersek <lersek@redhat.com>,
	"Justen, Jordan L" <jordan.l.justen@intel.com>,
	Andrew Fish <afish@apple.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>,
	"Gao, Liming" <liming.gao@intel.com>,
	"Zeng, Star" <star.zeng@intel.com>,
	"Dong, Eric" <eric.dong@intel.com>,
	"Doran, Mark" <mark.doran@intel.com>,
	"Wu, Hao A" <hao.a.wu@intel.com>
Subject: Re: [PATCH v2 0/6] read-only UDF file system support
Date: Tue, 22 Aug 2017 10:14:48 -0300	[thread overview]
Message-ID: <bb43a219-6379-a881-e7a3-6edf4cdb1d35@zytor.com> (raw)
In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5B9F3CD8@SHSMSX104.ccr.corp.intel.com>

Hi,

I do apologize my late replies. At the moment, I'm only able to work on 
this during my free time. Thank you all for the reviews!

FWIW, my comments below.

On 8/20/2017 11:29 PM, Ni, Ruiyu wrote:
> Paulo,
> 1. Could you please run the ECC check tool (BaseTools\Source\Python\Ecc\)
>    "CRC" might need to be replaced with "Crc".
>    I also noticed some TAB key in file content.

Sure.

> 
> 2. Your current implementation uses HARD_DRIVE_DEVICE_PATH.
>    But with:
>       SignatureType = SIGNATURE_TYPE_UDF
>       MBRType = MBR_TYPE_PCAT
>       Signature = *
>    And later UdfDxe driver checks the SignatureType and MBRType.
>    I am not sure if it would be better to put the definitions in UEFI Spec,
>    since they are referenced by different modules.
>    I also noticed you use PARTITION_TYPE_OTHER for PartitionInfo.
>    When proposing to UEFI Spec, this also needs to be considered,
>    for example, add PARTITION_TYPE_UDF to spec.

Yes - I agree with you. My only concern is that UEFI specification 
doesn't either support UDF or there is any interest in supporting it, so 
by proposing an additional type for something that shouldn't be 
supported, might not work out.

(Andrew, any thoughts?)

"PARTITION_TYPE_OTHER" is also used when creating 
EFI_PARTITION_INFO_PROTOCOL for CDROM "El Torito" partitions, so either 
we could follow the same approach, or propose creating two other types: 
e.g., PARTITION_TYPE_ELTORITO and PARTITION_TYPE_UDF.

> 
> 3. The driver model part looks good.

Cool! Thanks for looking into that.

Paulo


  parent reply	other threads:[~2017-08-22 13:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 18:15 [PATCH v2 0/6] read-only UDF file system support Paulo Alcantara
2017-08-20 18:15 ` [PATCH v2 1/6] MdePkg: Add UDF volume structure definitions Paulo Alcantara
2017-08-20 18:15 ` [PATCH v2 2/6] MdeModulePkg/PartitionDxe: Add UDF file system support Paulo Alcantara
2017-08-20 18:15 ` [PATCH v2 3/6] MdeModulePkg: Initial UDF/ECMA-167 " Paulo Alcantara
2017-08-20 18:15 ` [PATCH v2 4/6] OvmfPkg: Enable UDF " Paulo Alcantara
2017-08-21 16:14   ` Laszlo Ersek
2017-08-20 18:15 ` [PATCH v2 5/6] ArmVirtPkg: " Paulo Alcantara
2017-08-21 15:35   ` Ard Biesheuvel
2017-08-21 16:11   ` Laszlo Ersek
2017-08-20 18:15 ` [PATCH v2 6/6] Nt32Pkg: " Paulo Alcantara
2017-08-21  2:29 ` [PATCH v2 0/6] read-only " Ni, Ruiyu
2017-08-21  2:37   ` Gao, Liming
2017-08-22 13:23     ` Paulo Alcantara
2017-08-22 13:14   ` Paulo Alcantara [this message]
2017-08-22 17:21     ` Andrew Fish
2017-08-22 17:56       ` Paulo Alcantara
2017-08-22 22:36         ` Andrew Fish
2017-08-22 17:58       ` Laszlo Ersek

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-list 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=bb43a219-6379-a881-e7a3-6edf4cdb1d35@zytor.com \
    --to=devel@edk2.groups.io \
    /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