From patchwork Thu Oct 2 21:25:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 38305 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 26817201F1 for ; Thu, 2 Oct 2014 21:27:58 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf124561wib.1 for ; Thu, 02 Oct 2014 14:27:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=mkNXgga2cBGZX7uZCHPxQh9iXRca4WMqCzeNcjDpm88=; b=Kj71UlYLiGv+JBEWIgoijWMuY0KMH8Edx8tOTtnZk7qhMei3qrRMStASURpStMbuQ2 WGtmyrxqW4CeA+H6XgER+w5xhpUosueqW2Mdv/EgI6h8ycPlN7OkWWZSRtmLo1EcrvVz Du0elx6O8uOqEvpS6n0OWBr/ebBf+7YFd/aNwcVhsEbog4hbopsdQwpyZKLUcnDrOlZI Xfr+bfYYrjbw4wi+kwGHLyUzAuONuFP5fnDlk42BNxQ/Vfu/XKUYsWkbo5bz0vSCzoem x2tgU+DIG0+cZqI8NQnfz1/BLxOMVdIKL46bOWjwTSwMNc9CDKMPcqurG+6NZbFLwRJP rnZA== X-Gm-Message-State: ALoCoQnaopD2uVtS6ZeH5oE6JjZt0K/MVj+vrAqnD+Dwo7VrZj2xqbLs8wY+CzWRrFlOHuiWMQP8 X-Received: by 10.112.131.33 with SMTP id oj1mr240231lbb.7.1412285277306; Thu, 02 Oct 2014 14:27:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.199 with SMTP id t7ls343649laa.3.gmail; Thu, 02 Oct 2014 14:27:57 -0700 (PDT) X-Received: by 10.112.156.129 with SMTP id we1mr1272870lbb.88.1412285277165; Thu, 02 Oct 2014 14:27:57 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id dy7si8408750lac.28.2014.10.02.14.27.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Oct 2014 14:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id s18so3198405lam.37 for ; Thu, 02 Oct 2014 14:27:57 -0700 (PDT) X-Received: by 10.112.163.103 with SMTP id yh7mr1200230lbb.73.1412285276962; Thu, 02 Oct 2014 14:27:56 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp132662lbb; Thu, 2 Oct 2014 14:27:56 -0700 (PDT) X-Received: by 10.224.103.66 with SMTP id j2mr2177077qao.13.1412285275573; Thu, 02 Oct 2014 14:27:55 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id i4si9413091qar.15.2014.10.02.14.27.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 02 Oct 2014 14:27:55 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZnsz-0007wl-Lh; Thu, 02 Oct 2014 21:26:05 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZnsx-0007wU-M6 for xen-devel@lists.xen.org; Thu, 02 Oct 2014 21:26:03 +0000 Received: from [85.158.143.35:5675] by server-2.bemta-4.messagelabs.com id 6D/12-04525-BE2CD245; Thu, 02 Oct 2014 21:26:03 +0000 X-Env-Sender: Suravee.Suthikulpanit@amd.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1412285161!13564479!1 X-Originating-IP: [207.46.100.134] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.12.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2629 invoked from network); 2 Oct 2014 21:26:02 -0000 Received: from mail-by2on0134.outbound.protection.outlook.com (HELO na01-by2-obe.outbound.protection.outlook.com) (207.46.100.134) by server-14.tower-21.messagelabs.com with AES256-SHA encrypted SMTP; 2 Oct 2014 21:26:02 -0000 Received: from BY2PR02CA003.namprd02.prod.outlook.com (10.255.247.23) by BY2PR02MB201.namprd02.prod.outlook.com (10.242.232.12) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Thu, 2 Oct 2014 21:25:59 +0000 Received: from BN1AFFO11FD017.protection.gbl (2a01:111:f400:7c10::115) by BY2PR02CA003.outlook.office365.com (2a01:111:e400:2c16::23) with Microsoft SMTP Server (TLS) id 15.0.1044.10 via Frontend Transport; Thu, 2 Oct 2014 21:25:58 +0000 Received: from atltwp01.amd.com (165.204.84.221) by BN1AFFO11FD017.mail.protection.outlook.com (10.58.52.77) with Microsoft SMTP Server id 15.0.1029.15 via Frontend Transport; Thu, 2 Oct 2014 21:25:58 +0000 X-WSS-ID: 0NCU678-07-67D-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp01.amd.com (Axway MailGate 5.3.1) with ESMTPS id 20374CAE7FE; Thu, 2 Oct 2014 16:25:55 -0500 (CDT) Received: from SATLEXDAG05.amd.com (10.181.40.11) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 2 Oct 2014 16:26:20 -0500 Received: from ssuthiku-fedora-lt.amd.com (10.180.168.240) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server id 14.3.195.1; Thu, 2 Oct 2014 17:25:55 -0400 From: To: , , , Date: Thu, 2 Oct 2014 16:25:34 -0500 Message-ID: <1412285135-25468-3-git-send-email-suravee.suthikulpanit@amd.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1412285135-25468-1-git-send-email-suravee.suthikulpanit@amd.com> References: <1412285135-25468-1-git-send-email-suravee.suthikulpanit@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(428002)(199003)(189002)(44976005)(19580405001)(19580395003)(48376002)(229853001)(31966008)(84676001)(20776003)(101416001)(76482002)(85852003)(47776003)(97736003)(50466002)(64706001)(102836001)(10300001)(99396003)(89996001)(120916001)(21056001)(93916002)(85306004)(4396001)(50226001)(86362001)(62966002)(68736004)(76176999)(87286001)(50986999)(87936001)(88136002)(92566001)(2201001)(92726001)(86152002)(80022003)(46102003)(53416004)(106466001)(77096002)(105586002)(33646002)(107046002)(104166001)(36756003)(95666004)(77156001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR02MB201; H:atltwp01.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB201; X-Forefront-PRVS: 03524FBD26 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-OriginatorOrg: amd4.onmicrosoft.com Cc: Suravee Suthikulpanit , xen-devel@lists.xen.org Subject: [Xen-devel] [V3 2/3] amd/seattle: Add early printk message for the platform X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: suravee.suthikulpanit@amd.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: From: Suravee Suthikulpanit Signed-off-by: Suravee Suthikulpanit Acked-by: Stefano Stabellini Reviewed-by: Julien Grall --- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/misc/arm/early-printk.txt b/docs/misc/arm/early-printk.txt index 1431751..f74e5cc 100644 --- a/docs/misc/arm/early-printk.txt +++ b/docs/misc/arm/early-printk.txt @@ -16,6 +16,7 @@ where mach is the name of the machine: - omap5432: printk with UART3 on TI OMAP5432 processors - sun6i: printk with 8250 on Allwinner A31 processors - sun7i: printk with 8250 on Allwinner A20 processors + - seattle: printk with pl011 for AMD Seattle processor The base address and baud rate is hardcoded in xen/arch/arm/Rules.mk, see there when adding support for new machines. diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk index 26fafa2..35b6253 100644 --- a/xen/arch/arm/Rules.mk +++ b/xen/arch/arm/Rules.mk @@ -100,6 +100,11 @@ EARLY_PRINTK_INC := pl011 EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0x7ff80000 endif +ifeq ($(CONFIG_EARLY_PRINTK), seattle) +EARLY_PRINTK_INC := pl011 +EARLY_PRINTK_BAUD := 115200 +EARLY_UART_BASE_ADDRESS := 0xe1010000 +endif ifneq ($(EARLY_PRINTK_INC),) EARLY_PRINTK := y