From patchwork Tue Oct 20 04:49:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Neuling X-Patchwork-Id: 532778 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 633F11402B2 for ; Tue, 20 Oct 2015 15:49:33 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3E14F1A0B32 for ; Tue, 20 Oct 2015 15:49:33 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id E03AE1A0748 for ; Tue, 20 Oct 2015 15:49:12 +1100 (AEDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id B9F3B1402B2; Tue, 20 Oct 2015 15:49:12 +1100 (AEDT) Received: by localhost.localdomain (Postfix, from userid 1000) id B4CBDEEB148; Tue, 20 Oct 2015 15:49:12 +1100 (AEDT) From: Michael Neuling To: stewart@linux.vnet.ibm.com Date: Tue, 20 Oct 2015 15:49:02 +1100 Message-Id: <1445316544-12816-5-git-send-email-mikey@neuling.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445316544-12816-1-git-send-email-mikey@neuling.org> References: <1445316544-12816-1-git-send-email-mikey@neuling.org> Subject: [Skiboot] [PATCH 5/7] mambo: Advertise the sim supports 256M and 1TB segments in device tree X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: skiboot@lists.ozlabs.org, mikey@neuling.org MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Advertise the sim supports 256M and 1TB segments in device tree. If we don't have this, Linux will default to 256MB segments. Signed-off-by: Michael Neuling --- external/mambo/skiboot.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index aa19485..6ac9e1a 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -145,6 +145,8 @@ mysim of addprop $cpus_node int "#size-cells" 0 set cpu0_node [mysim of find_device "/cpus/PowerPC@0"] mysim of addprop $cpu0_node int "ibm,chip-id" 0 +set reg [list 0x0000001c00000028 0xffffffffffffffff] +mysim of addprop $cpu0_node array64 "ibm,processor-segment-sizes" reg set mem0_node [mysim of find_device "/memory@0"] mysim of addprop $mem0_node int "ibm,chip-id" 0