Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dFMEn-00005O-Bh for mharc-grub-devel@gnu.org; Mon, 29 May 2017 11:05:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFMEl-0008W3-Jk for grub-devel@gnu.org; Mon, 29 May 2017 11:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFMEi-00062X-FV for grub-devel@gnu.org; Mon, 29 May 2017 11:05:39 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:24333) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFMEi-00062P-5h for grub-devel@gnu.org; Mon, 29 May 2017 11:05:36 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4TF5XNT029353 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 May 2017 15:05:33 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v4TF5X6t028381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 May 2017 15:05:33 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v4TF5U1M020330; Mon, 29 May 2017 15:05:31 GMT Received: from olila.local.net-space.pl (/10.175.224.189) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 29 May 2017 08:05:30 -0700 Date: Mon, 29 May 2017 17:05:26 +0200 From: Daniel Kiper To: Eric Snowberg Cc: grub-devel@gnu.org, phcoder@gmail.com Subject: Re: [PATCH] sparc64: Don't use devspec to determine the OBP path Message-ID: <20170529150526.GQ30364@olila.local.net-space.pl> References: <1495149022-744961-1-git-send-email-eric.snowberg@oracle.com> <20170522103906.GL30364@olila.local.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170522103906.GL30364@olila.local.net-space.pl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2017 15:05:40 -0000 On Mon, May 22, 2017 at 12:39:06PM +0200, Daniel Kiper wrote: > 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/disk@2:b > > > > After this patch it now returns the correct value: > > > > % grub-ofpathname /dev/vdiskc2 > > /virtual-devices@100/channel-devices@200/disk@2:b > > > > Orabug: 24459765 > > > > Signed-off-by: Eric Snowberg > > Reviewed-by: Daniel Kiper Pushed! Daniel