[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] sparc64: Don't use devspec to determine the OBP path
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] sparc64: Don't use devspec to determine the OBP path |
Date: |
Mon, 22 May 2017 12:39:06 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, May 18, 2017 at 05:10:22PM -0600, Eric Snowberg wrote:
> Don't use devspec to determine the OBP path on SPARC hardware. Within all
> versions of Linux on SPARC, the devspec returns one of three values:
> "none", "vnet-port", or "vdisk". Unlike on PPC, none of these values
> are useful in determining the OBP path.
>
> Before this patch grub-ofpathname always returned the wrong value
> for a virtual disk. For example:
>
> % grub-ofpathname /dev/vdiskc2
> vdisk/address@hidden:b
>
> After this patch it now returns the correct value:
>
> % grub-ofpathname /dev/vdiskc2
> /address@hidden/address@hidden/address@hidden:b
>
> Orabug: 24459765
>
> Signed-off-by: Eric Snowberg <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel