Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dCkkF-0000Qu-2A for mharc-grub-devel@gnu.org; Mon, 22 May 2017 06:39:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCkkD-0000Qm-3S for grub-devel@gnu.org; Mon, 22 May 2017 06:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCkkA-00018w-1y for grub-devel@gnu.org; Mon, 22 May 2017 06:39:21 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:16974) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCkk9-00018R-O5 for grub-devel@gnu.org; Mon, 22 May 2017 06:39:17 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4MAdC4M011674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2017 10:39:12 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v4MAdCg8022972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2017 10:39:12 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v4MAdBwO027825; Mon, 22 May 2017 10:39:11 GMT Received: from olila.local.net-space.pl (/10.175.199.137) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 May 2017 03:39:10 -0700 Date: Mon, 22 May 2017 12:39:06 +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: <20170522103906.GL30364@olila.local.net-space.pl> References: <1495149022-744961-1-git-send-email-eric.snowberg@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495149022-744961-1-git-send-email-eric.snowberg@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 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, 22 May 2017 10:39:22 -0000 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 Daniel