All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avnish Chouhan <avnish@linux.ibm.com>
To: grub-devel@gnu.org
Cc: daniel.kiper@oracle.com, brking@linux.ibm.com,
	meghanaprakash@in.ibm.com,  mchang@suse.com, phcoder@gmail.com,
	Avnish Chouhan <avnish@linux.ibm.com>
Subject: [PATCH v4 0/5] NVMeoFC support on Grub
Date: Fri, 30 Aug 2024 17:10:59 +0530	[thread overview]
Message-ID: <20240830114104.32234-1-avnish@linux.ibm.com> (raw)

This patch series adds support of NVMeoFC on grub. It consists of five
patches.

Patch 1/5 (0001-ieee1275-powerpc-implements-fibre-channel-discovery-.patch):
grub-ofpathname doesn't work with fibre channel because there is no
function currently implemented for it.
This patch enables it by prividing a function that looks for the port
name, building the entire path for OF devices.

Patch 2/5(0002-ieee1275-implement-FCP-methods-for-WWPN-and-LUNs.patch):
This patch enables the fcp-targets and fcp-luns methods which are
responsible to get WWPNs and LUNs for fibre channel devices.
Those methods are specially necessary if the boot directory and grub
installation are in different FCP disks, allowing the dev_iterate()
to find the WWPNs and LUNs when called by searchfs.uuid tool.

Patch 3/5(0003-change-partition-parser.patch):
Usually grub will parse the PFW arguments by searching for the first occurence of the character ':'.
However, we can have this char more than once on NQN.
This patch changes the logic to find the last occurence of this char so we can get the proper values
for NVMeoFC

Patch 4/5(0004-ieee1275-add-support-for-NVMeoFC.patch):
This patch implements the functions to scan and discovery of NVMeoFC.

Patch 5/5(0005-ieee1275-ofpath-enable-NVMeoF-logical-device-transla.patch):
This patch add code to enable the translation of logical devices to the of NVMeoFC paths.

Avnish Chouhan (4):
  ieee1275: implement FCP methods for WWPN and LUNs
  ieee1275: change the logic of ieee1275_get_devargs()
  ieee1275: add support for NVMeoFC
  ieee1275: ofpath enable NVMeoF logical device translate

Diego Domingos (1):
  ieee1275/powerpc: implements fibre channel discovery for ofpathname

 grub-core/disk/ieee1275/ofdisk.c 
 grub-core/kern/ieee1275/openfw.c 
 grub-core/osdep/linux/ofpath.c   
 include/grub/util/ofpath.h       
 4 files changed

-- 
2.31.1


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

             reply	other threads:[~2024-08-30 11:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-30 11:40 Avnish Chouhan [this message]
2024-08-30 11:41 ` [PATCH v4 1/5] ieee1275/powerpc: implements fibre channel discovery for ofpathname Avnish Chouhan
2024-08-30 11:41 ` [PATCH v4 2/5] ieee1275: implement FCP methods for WWPN and LUNs Avnish Chouhan
2024-08-30 11:41 ` [PATCH v4 3/5] ieee1275: change the logic of ieee1275_get_devargs() Avnish Chouhan
2024-08-30 11:41 ` [PATCH v4 4/5] ieee1275: add support for NVMeoFC Avnish Chouhan
2024-08-30 11:41 ` [PATCH v4 5/5] ieee1275: ofpath enable NVMeoF logical device translate Avnish Chouhan
2025-02-12  8:14   ` Michael Chang via Grub-devel
2025-02-13  6:32     ` Avnish Chouhan

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=20240830114104.32234-1-avnish@linux.ibm.com \
    --to=avnish@linux.ibm.com \
    --cc=brking@linux.ibm.com \
    --cc=daniel.kiper@oracle.com \
    --cc=grub-devel@gnu.org \
    --cc=mchang@suse.com \
    --cc=meghanaprakash@in.ibm.com \
    --cc=phcoder@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.